Hacking [Tutorial] How to decompress and repack RPX/RPL files

  • Thread starter Thread starter Pounou
  • Start date Start date
  • Views Views 49,610
  • Replies Replies 75
  • Likes Likes 20
Most likely the games rpx was created by a higher sdk, if there is an xxxx.a plus returned 1 message, add "-nolib".

Using "-z8" or "-z9" simply depends on the compressed filesize. As for Fifa13 using stronger compression (-z9) it got larger than "-z8".

For all .rpl or .rpx you should add "-t BUILD_TYPE=NDEBUG".

For Devils Third EUR i used:

makerpl64 -f -s -z8 -nolib -t BUILD_TYPE=NDEBUG DevilsThirdGame-WiiU-Shipping.elf

The game works well without spoof to 5.5, but ElmoMC had to install SSB Update to get the game working with latest loadiine.

To fetch details on your .rpx/rpl use "dumprpl -fileinfo <name_of_rpx/rpl> | >>> #49

Recompressing your rpx/rpl adds the files path to the output file, i suggest not to use a path under your user/home directory (you should know why) ^_^
cough, cough! you mean I was the one that found out you needed the SSB Update & Compression! ;) nah just joking, I did though! he could not even get it working without my help in a pm so I don't know why all the credit too himself on several sites I have noticed he has mentioned. Its just a bit tad annoying when you spend time trying to sort something out first for everyone, then someone just goes on several sites giving themselves all the credit as if I did it in messages etc...

Anyone having issues its quite easy. Just put a folder in your main ( C: ) drive and call it WiiU then put your sdk folder and name it Cafe_SDK-2.12.13 in to the WiiU folder. Put your named block.elf created file into the makerpl folder, hold the shift key down over the makerpl folder and open with command then just copy & paste this in first>

SET CAFE_ROOT=C:\WiiU\Cafe_SDK-2.12.13\

Next copy & paste this in>

makerpl64 -f -z9 -s block.elf

Let it run :)
 
Last edited by Reecey,
cough, cough! you mean I was the one that found out you needed the SSB Update & Compression! ;) nah just joking, I did though! he could not even get it working without my help in a pm so I don't know why all the credit too himself on several sites I have noticed he has mentioned. Its just a bit tad annoying when you spend time trying to sort something out first for everyone, then someone just goes on several sites giving themselves all the credit as if I did it in messages etc...

Anyone having issues its quite easy. Just put a folder in your main ( C: ) drive and call it WiiU then put your sdk folder and name it Cafe_SDK-2.12.13 in to the WiiU folder. Put your named block.elf created file into the makerpl folder, hold the shift key down over the makerpl folder and open with command then just copy & paste this in first>

SET CAFE_ROOT=C:\WiiU\Cafe_SDK-2.12.13\

Next copy & paste this in>

makerpl64 -f -z9 -s block.elf

Let it run :)
thats just how it works, the people who go on to make warez releases always get the credit, even if they were guided through the whole process by someone else (because generally people only care that they got it not that someone figured out the method)....if you want the credit you have to go upload it first before you tell people how to do it, im not moaning that other people followed my instructions to compress rpx files.....or to inject snes/nes VC games, i do it for fun, other do it to make scene releases each to their own :P.....do you ever see anyone saying thanks to the developers or publishers who made the game who deserve the most credit for these releases? :lol:
 
Last edited by gamesquest1,
  • Like
Reactions: Reecey
thats just how it works, the people who go on to make warez releases always get the credit, even if they were guided through the whole process by someone else (because generally people only care that they got it not that someone figured out the method)....if you want the credit you have to go upload it first before you tell people how to do it, im not moaning that other people followed my instructions to compress rpx files.....or to inject snes/nes VC games, i do it for fun, other do it to make scene releases each to their own :P.....do you ever see anyone saying thanks to the developers or publishers who made the game who deserve the most credit for these releases? :lol:
No, I know, I just thought I would have a quick rant about it, it was good I was in the mood for it! :lol:
 
  • Like
Reactions: gamesquest1
cough, cough! you mean I was the one that found out you needed the SSB Update & Compression! ;) nah just joking, I did though! he could not even get it working without my help in a pm so I don't know why all the credit too himself on several sites I have noticed he has mentioned. Its just a bit tad annoying when you spend time trying to sort something out first for everyone, then someone just goes on several sites giving themselves all the credit as if I did it in messages etc...

Anyone having issues its quite easy. Just put a folder in your main ( C: ) drive and call it WiiU then put your sdk folder and name it Cafe_SDK-2.12.13 in to the WiiU folder. Put your named block.elf created file into the makerpl folder, hold the shift key down over the makerpl folder and open with command then just copy & paste this in first>

SET CAFE_ROOT=C:\WiiU\Cafe_SDK-2.12.13\

Next copy & paste this in>

makerpl64 -f -z9 -s block.elf

Let it run :)
thanks
does his method work for other tools too?
 
Man, that sdk is huge. Any pointers on how to inject VC games (snes)?
I'm on the same boat. Got the rom converted to the .elf with a base .rpxfile but now I'm a bit lost and the huge sdk is a big wall for me.
 
I'm on the same boat. Got the rom converted to the .elf with a base .rpxfile but now I'm a bit lost and the huge sdk is a big wall for me.
on the sdk click on the file named cafex_env.bat it should open a comand line

type makerpl64 -old -zx -f yourfilename.elf
 
Hmm just tried this with pokken tournament (eur version)
And when I try to launch the game, it just crashes with the wii u message that there was a memory error
error code 160-2203.
With the original rpx everything works fine...
Any advice on this?
Already tried with NDEBUG parameter...
 
Hmm just tried this with pokken tournament (eur version)
And when I try to launch the game, it just crashes with the wii u message that there was a memory error
error code 160-2203.
With the original rpx everything works fine...
Any advice on this?
Already tried with NDEBUG parameter...
why are you trying to recompile pokken tournament rpx? lol well maybe its the compression or the old/new method of compiling and such who knows.
 
why are you trying to recompile pokken tournament rpx? lol well maybe its the compression or the old/new method of compiling and such who knows.
I don't have that much games (Pokken, Tekken NSMBU, deleted everything i dont own actually) and wanted to try this.
Wanted to see whether it increases the start speed of the game and/or if the game itself loads faster (sprites, accessories, etc.)

Tried it with tekken too...but onlky results in a black screen...dont know what I could be doing wrong though :/
Using cafe_sdk 2.12.13
 
I'm making a tool for this which will also support modifying ELFs but you'll still need the official SDK :(

nxogewq6.png
 
Last edited by BullyWiiPlaza,
  • Like
Reactions: LawnMeower
Hey thanks for taking the time to help with this! Newbie here and not sure if I am going down the right path but thought someone might know. I have been doing some small hexedits on my .sav files for BOTW in Cemu. This got me thinking: can one hexedit the .rpx file? Well, after opening the .rpx in hexeditor, it is clearly more jibberish than anything, which I believe (could be very wrong) is because it is encrypted and needs some sort of decoding/translating. So, after reading a few things on .elfs, I thought it may be possible to decode an .rpx to an .elf. This would allow hexediting, repacking and loading with the modified changes.

More specifically, I am interested in trying to change weapons that spawn in the world. It seems that all of the mainfield_weapon_lsword_031s (and other mainfield items) could be edited to spawn according to the weapons of your choosing. However, I do not completely understand whether or not these items spawning when the game loads causes any problems. Just thought I would ask whether or not another user has done anything fun/interesting with these objects.

--------------------- MERGED ---------------------------

Based off of the terms used and the extensions, I take it one must have programming knowledge and a program that assembles these things?
 
Hey thanks for taking the time to help with this! Newbie here and not sure if I am going down the right path but thought someone might know. I have been doing some small hexedits on my .sav files for BOTW in Cemu. This got me thinking: can one hexedit the .rpx file? Well, after opening the .rpx in hexeditor, it is clearly more jibberish than anything, which I believe (could be very wrong) is because it is encrypted and needs some sort of decoding/translating. So, after reading a few things on .elfs, I thought it may be possible to decode an .rpx to an .elf. This would allow hexediting, repacking and loading with the modified changes.

More specifically, I am interested in trying to change weapons that spawn in the world. It seems that all of the mainfield_weapon_lsword_031s (and other mainfield items) could be edited to spawn according to the weapons of your choosing. However, I do not completely understand whether or not these items spawning when the game loads causes any problems. Just thought I would ask whether or not another user has done anything fun/interesting with these objects.

--------------------- MERGED ---------------------------

Based off of the terms used and the extensions, I take it one must have programming knowledge and a program that assembles these things?
you'd have to now powerpc asm
 

Site & Scene News

Popular threads in this forum