- Nov 4, 2017
- 241
- 409
Hey,
After days of banging my head against a wall I've created a tool that can extract all* assets from .rpack archives.
I know there's been tools around for a while now that can extract stuff from an .rpack archive, but I think they all require you to know what the filepaths are for the assets (or they try to get around that by brute-force guessing.)
This tool is different because I've found a way to get a full* path list for the files stored in a .rpack archive.
To be precise, each .rpack file includes an index that lists all the paths it includes. This index is normally encrypted (or obfuscated at least) but once a asset query has been performed, a decrypted copy will be stored in memory. By performing a full memory dump for the application and then sifting through the data, a full lists of paths can be generated.
Once the path list has been generated, the same general process is used as with the already existing tools. (if you know the path you can just have the rpack-library decrypt it for you)
To use it, just extract the folder, copy into it the game.rpack and/or image.rpack file you want decrypted, and run ExtractStuff.exe
So far I have only tested it on "Fleeting Iris v0.83", but it should work for all games.
If you find a game that it doesn't work for please let me know and I will try to fix it.
(*The method is not completely fool-proof but it should get 95%+ of the files)
Changelog:
08/01/2018
Updated to version 1.1
Instead of being a mix of python script & dummy rpgmaker game, the whole thing is now a C program compiled as a single exe file. The image extraction is a fair bit faster, but it still takes a couple minutes for archives with thousands of images. Source code is included.
After days of banging my head against a wall I've created a tool that can extract all* assets from .rpack archives.
I know there's been tools around for a while now that can extract stuff from an .rpack archive, but I think they all require you to know what the filepaths are for the assets (or they try to get around that by brute-force guessing.)
This tool is different because I've found a way to get a full* path list for the files stored in a .rpack archive.
To be precise, each .rpack file includes an index that lists all the paths it includes. This index is normally encrypted (or obfuscated at least) but once a asset query has been performed, a decrypted copy will be stored in memory. By performing a full memory dump for the application and then sifting through the data, a full lists of paths can be generated.
Once the path list has been generated, the same general process is used as with the already existing tools. (if you know the path you can just have the rpack-library decrypt it for you)
To use it, just extract the folder, copy into it the game.rpack and/or image.rpack file you want decrypted, and run ExtractStuff.exe
So far I have only tested it on "Fleeting Iris v0.83", but it should work for all games.
If you find a game that it doesn't work for please let me know and I will try to fix it.
(*The method is not completely fool-proof but it should get 95%+ of the files)
Changelog:
08/01/2018
Updated to version 1.1
Instead of being a mix of python script & dummy rpgmaker game, the whole thing is now a C program compiled as a single exe file. The image extraction is a fair bit faster, but it still takes a couple minutes for archives with thousands of images. Source code is included.