The first move to do to enter the SLRR modding world.

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.
 
1.   Posted by LeweMan24   2016-01-28 17:04    

Awesome dude! Really useful, thanks!


2.   Posted by HaxOnFire   2017-11-25 00:02    

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.   Posted by Enoregi   2019-04-18 12:01    

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.


Total : 3, on page: 3