Leaderboard


Popular Content

Showing content with the highest reputation on 05/22/2020 in all areas

  1. 2 points

    Version 1.1.0

    845 downloads

    Introduction The audio files of Star Wars: Knights of the Old Republic and Star Wars: Knights of the Old Republic II – The Sith Lords (KOTOR) contain extra headers of what seem to be superfluous data that obfuscate access to the original audio outside of the video games. Most audio software will refuse to open the files, or interpret the extra bytes as audio data, leading to glitches. It has also been observed anecdotally that files lacking an appropriate header may fail to playback in certain releases of the games. SithCodec is an application that can automatically detect and remove an extraneous header from a KOTOR audio file, or alternatively prepend a KOTOR header to a standard audio file and allow for the introduction of new audio content to these games. Running SithCodec SithCodec requires Windows (32-bit or 64-bit). Make sure to extract SithCodec to a folder where you have read & write permission. The code is not signed (because code signing costs an extortionate amount of money) so your firewall may warn you about running an unrecognized application. Commands Commands in SithCodec are executed by combining keywords into certain command sequences that the application recognizes. Input may be passed as command-line arguments when SithCodec is launched, or entered manually through a command- line interface if the application is launched without any command-line arguments. Keywords may be entered in short form (dash followed by a single letter) or long form (double dash followed by a full word). SithCodec keywords are not case sensitive, but—depending on your operating system—other data that you input may be, such as the names of files. Help Screen Entering -h or --help will display the help screen, showing a list of all keywords and their function. -d, --decode decode audio -e, --encode encode audio -f, --format set output audio format -m, --music streammusic format -s, --sfx streamsounds format -v, --vo streamwaves/streamvoice format -a, --all all files -l, --list list files & formats -i, --in input path -o, --out output path -h, --help display this menu -c, --commands display list of commands -x, --examples display example commands -q, --quit exit application Commands Screen Entering -c or --commands will display a screen with the list of all valid commands. -d -i=[input path] -d -i=[input path] -o=[output path] -d -a -d -a -i=[input path] -d -a -o=[output path] -d -a -i=[input path] -o=[output path] -e -f -[format] -i=[input path] -e -f -[format] -i=[input path] -o=[output path] -e -a -f -[format] -e -a -f -[format] -i=[input path] -e -a -f -[format] -o=[output path] -e -a -f -[format] -i=[input path] -o=[output path] -l -l -i=[input path] -l -o=[output path] -l -i=[input path] -o=[output path] Examples Screen Entering -x or --examples will display some example commands. Encode all files in SFX format from the input path, to the output path: -e --all -f --sfx- -i=in_folder -o=out_folder Decode a file, outputting to a new file: -d -i=oldfile.old -o=newfile.new Decode a file without specifying output, possibly overwriting the original: -d -i=file.wav List all files & formats in a given directory, printing to the console: -l -i=my_folder List all files & formats in the current directory, printing to a file: -l -o=file.txt Batch Files SithCodec comes with batch files that are set up with commands for some common operations. decode.bat This file will decode all files located in a folder called "in" (no matter what their format) and save the new files in a folder called "decoded". encode_music.bat This file will encode all files located in a folder called "in" and save the new files in a folder called "music". encode_sfx.bat This file will encode all files located in a folder called "in" and save the new files in a folder called "sfx". encode_vo.bat This file will encode all files located in a folder called "in" and save the new files in a folder called "vo". Copyright SithCodec is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. SithCodec is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with SithCodec. If not, see https://www.gnu.org/licenses/. All trademarks (including logos and icons) are used for identification purposes only and are the property of their respective owners. Star Wars and related items are trademarks and/or copyrights of Lucasfilm Ltd. SithCodec is not affiliated with or endorsed by Lucasfilm Ltd., their subsidiaries, associates, or employees, or any Star Wars license holder. Donations If you enjoy my mods and would like to show your support in a monetary manner, you may do so via PayPal with this donation link. For various legal and ethical reasons, this is entirely optional and is not a requirement to downloading or using any of my mods. I also do not create specific mods for hire. I make mods as a hobby and will most likely do so regardless of any donations or lack thereof, but modding does take up a lot of my time and every bit helps.
  2. 2 points
    View File SithCodec Introduction The audio files of Star Wars: Knights of the Old Republic and Star Wars: Knights of the Old Republic II – The Sith Lords (KOTOR) contain extra headers of what seem to be superfluous data that obfuscate access to the original audio outside of the video games. Most audio software will refuse to open the files, or interpret the extra bytes as audio data, leading to glitches. It has also been observed anecdotally that files lacking an appropriate header may fail to playback in certain releases of the games. SithCodec is an application that can automatically detect and remove an extraneous header from a KOTOR audio file, or alternatively prepend a KOTOR header to a standard audio file and allow for the introduction of new audio content to these games. Running SithCodec SithCodec requires Windows (32-bit or 64-bit). Make sure to extract SithCodec to a folder where you have read & write permission. The code is not signed (because code signing costs an extortionate amount of money) so your firewall may warn you about running an unrecognized application. Commands Commands in SithCodec are executed by combining keywords into certain command sequences that the application recognizes. Input may be passed as command-line arguments when SithCodec is launched, or entered manually through a command- line interface if the application is launched without any command-line arguments. Keywords may be entered in short form (dash followed by a single letter) or long form (double dash followed by a full word). SithCodec keywords are not case sensitive, but—depending on your operating system—other data that you input may be, such as the names of files. Help Screen Entering -h or --help will display the help screen, showing a list of all keywords and their function. -d, --decode decode audio -e, --encode encode audio -f, --format set output audio format -m, --music streammusic format -s, --sfx streamsounds format -v, --vo streamwaves/streamvoice format -a, --all all files -l, --list list files & formats -i, --in input path -o, --out output path -h, --help display this menu -c, --commands display list of commands -x, --examples display example commands -q, --quit exit application Commands Screen Entering -c or --commands will display a screen with the list of all valid commands. -d -i=[input path] -d -i=[input path] -o=[output path] -d -a -d -a -i=[input path] -d -a -o=[output path] -d -a -i=[input path] -o=[output path] -e -f -[format] -i=[input path] -e -f -[format] -i=[input path] -o=[output path] -e -a -f -[format] -e -a -f -[format] -i=[input path] -e -a -f -[format] -o=[output path] -e -a -f -[format] -i=[input path] -o=[output path] -l -l -i=[input path] -l -o=[output path] -l -i=[input path] -o=[output path] Examples Screen Entering -x or --examples will display some example commands. Encode all files in SFX format from the input path, to the output path: -e --all -f --sfx- -i=in_folder -o=out_folder Decode a file, outputting to a new file: -d -i=oldfile.old -o=newfile.new Decode a file without specifying output, possibly overwriting the original: -d -i=file.wav List all files & formats in a given directory, printing to the console: -l -i=my_folder List all files & formats in the current directory, printing to a file: -l -o=file.txt Batch Files SithCodec comes with batch files that are set up with commands for some common operations. decode.bat This file will decode all files located in a folder called "in" (no matter what their format) and save the new files in a folder called "decoded". encode_music.bat This file will encode all files located in a folder called "in" and save the new files in a folder called "music". encode_sfx.bat This file will encode all files located in a folder called "in" and save the new files in a folder called "sfx". encode_vo.bat This file will encode all files located in a folder called "in" and save the new files in a folder called "vo". Copyright SithCodec is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. SithCodec is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with SithCodec. If not, see https://www.gnu.org/licenses/. All trademarks (including logos and icons) are used for identification purposes only and are the property of their respective owners. Star Wars and related items are trademarks and/or copyrights of Lucasfilm Ltd. SithCodec is not affiliated with or endorsed by Lucasfilm Ltd., their subsidiaries, associates, or employees, or any Star Wars license holder. Donations If you enjoy my mods and would like to show your support in a monetary manner, you may do so via PayPal with this donation link. For various legal and ethical reasons, this is entirely optional and is not a requirement to downloading or using any of my mods. I also do not create specific mods for hire. I make mods as a hobby and will most likely do so regardless of any donations or lack thereof, but modding does take up a lot of my time and every bit helps. Submitter JCarter426 Submitted 05/21/2020 Category Modding Tools  
  3. 1 point

    Version 1.0

    2,264 downloads

    Summary In Star Wars: Knights of the Old Republic, the player, like all party members, would occasionally say things during combat and when performing other actions. In the second game, however, the player is mute. This mod restores the player soundset for Star Wars: Knights of the Old Republic II - The Sith Lords. The critical files needed for the original player soundset to function were actually always there, but they were in various states of disuse. This mod fixes them up and restores the player's voice. There are different soundsets for male and female players and they are the same ones as in the first game. Installation Run Player_Soundset_Restoration.exe. Uninstallation Remove the installed files. Compatibility This mod must be installed before any mods that patch soundset.2da. This mod does not use TSLPatcher to patch soundset.2da; it uses a hard 2DA install because the exact line numbers are necessary for the player soundset to work. It feels dirty, but I have to do it. Credits KOTOR Tool – Fred Tetra TSLPatcher – stoffe, with updates by Fair Strides SSF Editor– stoffe Permissions Mod JC's Player Soundset Restoration for K2 Mod Author JCarter426 Game Star Wars: Knights of the Old Republic II - The Sith Lords Attribution Preference "Player Soundset Restoration by JCarter426" or "uses JC's Player Soundset Restoration" or some other reasonable phrasing. This mod is released under the following licenses: Attribution Only License Attribution Only License (AOL) * You've got mods! * The creator of this mod has authorized the contents of this mod for public use. Other modders are free to use and edit materials from this mod and include them in other mods. This license applies to everyone equally and no further explicit permission from the original mod creator is required, provided the terms of this license are followed. The user must provide clear attribution for the source and creator(s) of these materials, following the specified attribution preference. The file that contains this attribution must be included along with all the other mod contents. (For example, crediting the original mod creator in your mod's description on a website, but not in any file someone would actually download, would be a violation.) The user must include any additional credits as indicated. This license applies only for the use of these materials in other mods (i.e. a form of software accessed within a video game). This license does not grant the user unlimited power to distribute these contents, edited or unedited, even if attribution is granted. These materials are being offered to encourage the creation of new mods that alter the game experience. (For example, distributing these materials as a mod resource on another website, or uploading the entirety of the mod as a "new" mod without really changing anything, would not be in the spirit of this license.) Where appropriate, it would be nice to provide a link to the original mod and/ or tag the original mod creator. However, this is not mandated. This is just a polite suggestion. Disclaimers WHOEVER STEPS ON THIS WILL GET A NASTY SHOCK. THAT HURT, I BET! I'M THE LAST THING YOU'LL EVER SEE. SILENT AND DEADLY. Donations If you enjoy my mods and would like to show your support in a monetary manner, you may do so via PayPal with this donation link. For various legal and ethical reasons, this is entirely optional and is not a requirement to downloading or using any of my mods. I also do not create specific mods for hire. I make mods as a hobby and will most likely do so regardless of any donations or lack thereof, but modding does take up a lot of my time and every bit helps.
  4. 1 point
    Apparently, I'm one of only a few individuals who still has access to the CSLU Toolkit, software that can output phonemes based on an audio and text sample. Historically, this has been pretty much the only way to generate LIP files for KOTOR so characters' lips will flap when they talk. LipSynchEditor converts from CLSU's PHN format to the LIP format, but to do that you need the PHNs first... unless you want to make lips manually, but that isn't practical. Unfortunately, the Center for Spoken Language Understanding's servers have been offline for a long time. As such, it's currently impossible for new users to install the software required to generate these PHN files. Only a few veterans like myself still have it installed. And I can't even guarantee I'll have access to it forever. It's currently installed on my old computer, but not on my newer system that I built after the servers were offline. I doubt the computer that does have it will last forever, so it's probably only a matter of time before I lose access to CSLU too. Until then, though, I'm able and willing to generate lips on request. And I've gotten a few requests already. Now, I don't want to make a habit of this and get stuck as the guy who does everybody's lips for them because making lips with the CSLU Toolkit is a long, boring process. What I can do for you, though, is tell you can do for me so I don't have to do all of it for you. If you follow the instructions below and send me all the necessary files, all I have to do is hit a button and send stuff back to you. And I have no problem doing that. CSLU requires three things: 1) audio of everything you want to create a lip saved as an individual mono WAV files; 2) a text file accompanying each audio file that contains the words spoken in that line of dialogue; 3) a master list matching each audio file to each text file so it knows what to process. First, you need your VO files in the mono WAV format that the CSLU Toolkit wants. If your VO is new, you merely have to make sure to save it in this format. If you're working with VO from the game, you'll need to convert it first. The game VO files are generally MP3 files with extra bytes added at the start of the file to confuse us. Stripping this header will restore them to regular MP3 files. This can be done with a batch script and you can read up on that here. That will make them MP3, but they still need to be converted to WAV. Any old audio converter can do this. Freemake Audio Converter is one I use for Windows. Alternatively, you can use the Miles Sound Tools to play and convert the VO directly from the original game format to mono WAV. Next, you need to write out all the words spoken in every line and save them as text files. I typically name the text files the same as the audio files. You then need a list of all your audio and text files. This is the most tedious part of the process, but fortunately I've attached batch scripts below to make this easier. text.bat will create blank text files for each audio file. You still have to type the dialogue into them, but at least you won't have to worry about the file names. list.bat will create the master list. It will search for every WAV file and create a line in the list for each one, saving all this as lips.txt. My script assumes each text file is named the same as each audio file, so if you want to use this script, that's required. Send me: 1) all your mono WAV files; 2) all your transcribed text files; 3) your master list of everything to process. Once I have all of those, I can run CSLU's script to generate PHNs and send them along. I can also batch convert to LIP if you want, because that isn't nearly as big a deal as all the above. If you want me to make lips files for you, post a comment below with the necessary files attached or linked, and I'll get to work. Lip Batch Scripts.zip
  5. 1 point
    If I recall correctly, GetTag() always returns a lowercase string anyway.
  6. 1 point
    There is no function to get the ResRef. The game doesn't store that value. That's why vanilla items typically use the same value for both Tag and ResRef, so yes, using GetTag is the right function. Unless he is wearing an item from a mod, in which case all bets are off.
  7. 1 point
    Looking for a voice actor with a relatively decent mic and a somewhat authoritative voice. If you're interested please PM me!
  8. 1 point
    I asked because k1r has a bug that k_pas_morph++ was missing the ++. You may want to check that it is correct in the module. Adding it back gave me the tack dialog every single time. At least I think it did, as the first tack I selected had the dialog fire and the second tack was rulan. So, small sample size, but... Also to answer a question you asked in another thread, I did not have HK in my party yet rulan turned into HK.