Minimaul's Saints Row 2, Saints Row: The Third, Saints Row IV and Gat Out Of Hell tools

I've uploaded rev67 to the first post:
  • ExtractStreamingSoundbank and BuildStreamingSoundbank now extract and repack subtitles that are attached to voice clips. The parameters on these tools have changed!
  • ExtractStreamingSoundbank and BuildStreamingSoundbank now automatically tries to select the right codebooks for revorb. You can also override this manually with the /codebooks:<codebook file> parameter.
  • BuildStrings and ExtractStrings now work correctly on non-latin characters - so they should work on Russian/Polish/Japanese. The parameters on these tools have changed! These tools now also use an XML file format rather than an awkward text file format.
  • ExtractStrings now automatically finds your xtbl files inside the game's original packfiles and uses those.
  • Finding your game install directory is now much more reliable and should even work for cases where your game installed to a different Steam library.
 
I've uploaded rev67 to the first post:
  • ExtractStreamingSoundbank and BuildStreamingSoundbank now extract and repack subtitles that are attached to voice clips. The parameters on these tools have changed!
  • ExtractStreamingSoundbank and BuildStreamingSoundbank now automatically tries to select the right codebooks for revorb. You can also override this manually with the /codebooks:<codebook file> parameter.
  • BuildStrings and ExtractStrings now work correctly on non-latin characters - so they should work on Russian/Polish/Japanese. The parameters on these tools have changed! These tools now also use an XML file format rather than an awkward text file format.
  • ExtractStrings now automatically finds your xtbl files inside the game's original packfiles and uses those.
  • Finding your game install directory is now much more reliable and should even work for cases where your game installed to a different Steam library.
Nice! Would it be possible to fix SR:TT string tools too?
 
Hey, would you be able to post an example of command to extract strings? This
Code:
ThomasJepp.SaintsRow.ExtractStrings.exe -xtbl="G:\misc_tables.vpp_pc" customize_de.le_strings
doesn't work anymore.
You want something more like:
Code:
ThomasJepp.SaintsRow.ExtractStrings.exe sriv customize_de.le_strings

If you run the tool with no parameters in a command prompt it'll show you what options are available. The first parameter is the game the strings are from - that tells the tool where to look for string names - and also what format to use. SR2 is awkwardly different from SRTT, SRIV & SRGOOH. Valid options are sr2, sr3/srtt, sr4/sriv and gooh/srgooh.
 
Eh, would it be possible to add an option to convert these files to TXT? Changing all strings from this:
Code:
"EAM_ELECTROBLAST": "ELECTRO BLAST"
To this:
Code:
    <String Name="EAM_ELECTROBLAST">ELECTRO BLAST</String>
In three mods with four languages... That'll hurt.
 
Eh, would it be possible to add an option to convert these files to TXT? Changing all strings from this:
Code:
"EAM_ELECTROBLAST": "ELECTRO BLAST"
To this:
Code:
    <String Name="EAM_ELECTROBLAST">ELECTRO BLAST</String>
In three mods with four languages... That'll hurt.
You could do it pretty quickly with a Regex based search & replace, but I'll make a one-way conversion tool for the old .txt format to the new .xml format. The new format stores some extra data at the top that you'll have to fill in, but I can't produce files for non-English characters if I don't have that extra data.
 
Here it is. Use it like:

Code:
ThomasJepp.SaintsRow.ConvertStrings.exe "static_us.txt"

It'll ask you two questions - the language of the file and the game the file was from, then produce an XML file in the same directory as the original .txt file.

convertstrings.png
 

Attachments

  • ConvertStrings.zip
    73.6 KB · Views: 360
Here it is. Use it like:

Code:
ThomasJepp.SaintsRow.ConvertStrings.exe "static_us.txt"

It'll ask you two questions - the language of the file and the game the file was from, then produce an XML file in the same directory as the original .txt file.

View attachment 9679
Thank you so much for this, it works like a charm. :D
 
Back
Top