giofrida wrote: ↑Sat Dec 04, 2021 6:03 pm
Hey!
Just wanted to contribute to the thread by posting my "unscrambler" tool that you can use to decypher .ini.scrambled configuration files you can find inside the bin folder of the game. Maybe it's not very useful for extracting models, but I don't think it deserves its own thread.
This tool was made after reverse engineering the part of the code responsible of deciphering these files, and basically it uses a XOR key to (de)cypher the text and a 4 bytes checksum (also computed with a XOR key).
The C source code and the compiled exe of the tool are available here.
Usage is very simple:
kboykboy wrote: ↑Sat Dec 04, 2021 12:57 pm
i made an extractor and super basic model import script for blender, as of right now my extractor is broken but i will share it once i fix it, along with the blender script of course, and will post the code on GitHub for both
Hey that's awesome! By the way, does your extractor handle audio as well ? Was it successful at extracting the music for example ?
kboykboy wrote: ↑Sat Dec 04, 2021 12:57 pm
i made an extractor and super basic model import script for blender, as of right now my extractor is broken but i will share it once i fix it, along with the blender script of course, and will post the code on GitHub for both
I want to develop a tool where I can access language files, but I couldn't solve it. Is there anyone who can help?
lazenes wrote: ↑Tue Dec 07, 2021 8:07 pm
I want to develop a tool where I can access language files, but I couldn't solve it. Is there anyone who can help?
what kinda of language files? there is a folder called "localization" and it has stuff for subtitles, that what you are after?
Luriam wrote: ↑Tue Dec 07, 2021 1:51 pm
Hey that's awesome! By the way, does your extractor handle audio as well ? Was it successful at extracting the music for example ?
Excited to hear more about it
the audio appears to use a modified version of the WWise .wem format
been kinda busy lately so i haven't been able to work on it too much but i will upload the extractor in 1-2 days, i had it working so it could extract the entire game but it didn't have the file names or paths, i made it so it now reads the paths but right now its having an issue where its only extracting 40gb of the 70gb it should be extracting, so once i find out why its doing that i will upload, and i also plan on eventually making a full gui app for viewing files before extracting and am also gonna work on actually making mod tools
Luriam wrote: ↑Tue Dec 07, 2021 1:51 pm
Hey that's awesome! By the way, does your extractor handle audio as well ? Was it successful at extracting the music for example ?
Excited to hear more about it
the audio appears to use a modified version of the WWise .wem format
turns out its a normal .wem with an extra header added to it, if you remove the first 24 bytes it can be opened in foobar
kboykboy wrote: ↑Thu Dec 09, 2021 8:36 am
been kinda busy lately so i haven't been able to work on it too much but i will upload the extractor in 1-2 days, i had it working so it could extract the entire game but it didn't have the file names or paths, i made it so it now reads the paths but right now its having an issue where its only extracting 40gb of the 70gb it should be extracting, so once i find out why its doing that i will upload, and i also plan on eventually making a full gui app for viewing files before extracting and am also gonna work on actually making mod tools
lazenes wrote: ↑Tue Dec 07, 2021 8:07 pm
I want to develop a tool where I can access language files, but I couldn't solve it. Is there anyone who can help?
what kinda of language files? there is a folder called "localization" and it has stuff for subtitles, that what you are after?
Carpethop wrote: ↑Thu Dec 09, 2021 3:58 pm
Does it also extract weights and textures?
a friend made a tool to convert textures to .dds, he will upload it soon.
as of right now the mesh tool does not do anything with skeletal data, gonna work on that soon
alright here is the extractor, run the exe, copy the path to your runtime folder and paste it into the console, press enter then copy and paste the path to your output folder, press enter again and it will start extracting, it will extract the entire game, the game doesn't use compression so except the extracted size to be the same as the game size, and expect it to take a couple hours to extract everything, texture files have the extension .pc_tex and models are .pc_prim, a friend made a tool to convert textures to .dds and while i was busy he updated my blender mesh plugin, he is busy right now but he will upload both soon
kboykboy wrote: ↑Sat Dec 11, 2021 7:43 am
alright here is the extractor, run the exe, copy the path to your runtime folder and paste it into the console, press enter then copy and paste the path to your output folder, press enter again and it will start extracting, it will extract the entire game, the game doesn't use compression so except the extracted size to be the same as the game size, and expect it to take a couple hours to extract everything, texture files have the extension .pc_tex and models are .pc_prim, a friend made a tool to convert textures to .dds and while i was busy he updated my blender mesh plugin, he is busy right now but he will upload both soon
Nice work, seems to work perfectly! Is there any chance of this being open sourced? Someone might be able to help contribute and add repacking into it.