Hi guys, I'd like to do some modding on Just Cause 2.
Gibbed/Rick has made some nice tools for viewing the archives that come with the game and the files inside them.
Unfortunately, the filenames are hashed, so his tool uses a list of known file names to identify files in the archives.
However, only something like ~10% of filenames are known. I'd like to improve on this, but I'm not really sure where to start.
How do people tend to go about discovering filenames/paths to create a filelist?
Important information: this site is currently scheduled to go offline indefinitely by December 1st 2023.
If you wish to donate to attempt the preservation of tools and software somewhere else before it goes down, check the GoFundMe
If you wish to donate to attempt the preservation of tools and software somewhere else before it goes down, check the GoFundMe
Creating a Just Cause 2 filelist
Re: Creating a Just Cause 2 filelist
The typical way is to hook the hashing function in the game so you can log all calls, IIRC, Just Cause 2 doesn't use precomputed hashes for anything aside from property names.
https://blog.gib.me/
Don't ask me about localization tools; if you don't have the resources to develop them yourself you don't need them.
Don't ask me about localization tools; if you don't have the resources to develop them yourself you don't need them.
Re: Creating a Just Cause 2 filelist
I'd put this off for a little while, back on it now.
Is that what you did, yeah? Any tips to share about the process? Maybe the address of the hashing function? I can't seem to find it. It would probably have a load of bitwise shifts and xors in it, yeah?The typical way is to hook the hashing function in the game
