If you want to help us maintaining this wiki, check out our discord server: https://discord.gg/3u69jMa 

Extract Game Audio Using UCC

From SWRC Wiki
Jump to navigation Jump to search

The Republic Commando UCC can be used to extract the in-game sounds from Star Wars: Republic Commando. The voice lines and sound effects for Star Wars: Republic Commando are all stored in the Sounds folder. They are packed into UAX archives, which cannot be opened except with Unreal Engine tools. The Unreal Editor that ships with Star Wars: Republic Commando can extract each of these sounds individually. UCC provides the batchexport commandlet, which can unpack an entire UAX archive into wave audio format at once. Extracting the in-game audio from Star Wars: Republic Commando in bulk requires this command line tool.

First, ensure that you have installed the Republic Commando UCC by downloading the executable and placing it in your game's System directory.

Next, open a command line. Windows systems will have Powershell installed by default. Open Powershell by navigating to the System folder, then pressing shift and right clicking. This will open a context menu which shows "Open Powershell Window Here".

Next, ensure that you have created the folder where your output files will be stored. For this example we've called the folder OutputFolder and placed it in System.

Finally, type the following command into the command line. This command calls UCC and asks it to extract all the sounds in InputUAX, and copy them as WAV files to OutputFolder. The paths have been formatted so that they will work with Powershell: if you are using the legacy Command Prompt or a Unix shell the syntax will look slightly different.

Note that the full path to the UAX archive is not needed: the engine can find it using just the name. The path to the output folder must be provided.

./ucc.exe batchexport "InputUAX.uax" sound wav ".\\OutputFolder"