VStanced/mods
Submit a mod
Mods Guides Forum Submit a mod Log in Register

Tools: Decoding and converting RPK files

By Holy_Shit_Man Jul 21, 2015 7.8k views

Hello everyone. In this tutorial, I’ll show you, how to decode, and convert RPK files.
First, you need Resource Converter. It’s basic tool, that you’ll need to do all the .rpk based things.
To use it, you’ll need to put it in folder with .rpk or .rdb file (or both 😉 )

In left column you have .rdb files. .rdb files are the decompiled ones, that you can edit in any text editor, like f.ex. Notepad (I recommend Notepad++).
In right column you have .rpk files. .rpk files are the compiled ones, they are used by game, and you cannot edit them (that’s why you are here).

To compile or decompile script, you simply double-click it on the list. Easy.
When you click one on list, a black commandline (cmd.exe) window will appear for a second.
After it disappears, you got decompiled/compiled script ready to edit or drop in game.



If you really don’t want to use the Resource Converter itself, you can use batch files (.bat) included in the Resource Converter archive. Both resconvert.exe and resdecode.exe have same syntax, it’s like

resdecode RPKNAME

and

resconvert RDBNAME

both without extensions.


No file was attached to this page.

Garage talk

3 comments
  1. LeweMan24

    Awesome dude! Really useful, thanks!

  2. HaxOnFire

    So, I use the decoder and then I edit it, after that I go to the converter and the cmd pops up with errors cannot load resources. Reasons???

  3. Enoregi

    It makes an empty rpk file, like, 0 bytes. Whats the point of decoding then, lol. Then, i add this header anyway and encode it show an error.

Leave a comment

Members can comment. Log in or create an account.