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

H2fans

Member
Newcomer
Joined
Jan 6, 2006
Messages
12
Trophies
0
XP
221
Country
Switzerland
You've the wrong version.
i've got a new version, but still get a error msg:
1445158463706.jpg

what's wrong with it?
 

Deathbot64

Well-Known Member
Member
Joined
Dec 15, 2014
Messages
336
Trophies
0
Age
31
XP
1,359
Country
Canada
what would be a good phase to good to found the latest sdk, i cant seem to find it and the older one isnt working for me, i really want to try this with mario party 10
 

liomajor

Well-Known Member
Member
Joined
Jun 10, 2008
Messages
1,468
Trophies
0
XP
1,373
Country
United States
Something interesting for you guys.

Code:
c:\whoismama\fifa>makerpl64 -f -z9 -t BUILD_TYPE=NDEBUG fifa.elf

D:\whoismama\fifa>dumprpl -fileinfo fifa.rpx

Section # 29, RPL File Info (SHT_RPL_FILEINFO, 216 bytes)
File Information Version 4.2
  SRC "D:\whoismama\fifa\fifa.rpx"
  RPL MIN VERSION  2.06.00
  SDK VERSION  2.12.13
  SDK REVISION  67491
  TEXT ALIGN 32  SIZE  40367072
  DATA ALIGN 64  SIZE  17636568
  LOAD ALIGN 4  SIZE  20761168
  FILE INFO PAD  SIZE  120
  TEMP  SIZE  9232832
  TRAMP ADJUST  SIZE  32
  TRAMP ADDITION  SIZE  0
  SDA  BASE  0x00008000
  SDA2 BASE  0x00008000
  STACK INIT  SIZE  65536
  SYS HEAP  SIZE  32768
  COMPRESSION LEVEL  9
  FLAGS:
  FILE IS AN RPX
  TAGS:
  "CAFE_OS_SDK_REVISION" = "67491"
  "CAFE_OS_SDK_VERSION" = "21213"
  "BUILD_TYPE" = "NDEBUG"
 

CosmoCortney

Lawn Meower
Member
Joined
Apr 18, 2013
Messages
1,769
Trophies
2
Location
on the cool side of the pillow
Website
follow-the-white-rabbit.wtf
XP
3,027
Country
Germany
Just tried to make an uncompressed .rpx and got the following error:
H:\Cafe_SDK-2.12.13\system\bin\tool\makerpl>makerpl64 -f -zx -s Turbo.elf
***Error 0xBAD00004 reloading generated file "H:\Cafe_SDK-2.12.13\system\bin\too
l\makerpl\Turbo.rpx"

makerpl64 FAILED Error = -1160773628

Any idea what's wrong?
(I want it uncompressed to be able to mess around with the assembly code without the need to convert it everytime)
However, it built a .rpx that is only 2Bytes bigger than the .elf
 
  • Like
Reactions: paulloeduardo

gamesquest1

Nabnut
Former Staff
Joined
Sep 23, 2013
Messages
15,153
Trophies
2
XP
12,247
I've tried that, for me is the smallest size i get 23.050.880 Bytes (Disc Version)
(makerpl64 -f -z8 -s -t BUILD_TYPE=NDEBUG fifa.elf) -z9 makes it bigger.

What's the command line you used?

....would have just been the usual -s -z9.....maybe i messed up and checked the wrong file or something as when i just re-did it it came out at 23,062,464 :blink:....it did work though either way, i will check if this does now
 

EclipseSin

Ignorant Wizard
Member
Joined
Apr 1, 2015
Messages
2,063
Trophies
1
Age
35
Location
221b Baker Street
XP
1,737
Country
United Kingdom
with -z8 i got the same error
@CosmoCortney
ax is a tool from Green Hill Software. You need ghs to repack the RPX. even then, it migh tnot work. I haven't been able repack RPLs from Assassin's Creed 3 update, which also calls ax (-ts is supposed to regenerate table of content)
 
  • Like
Reactions: CosmoCortney

CosmoCortney

Lawn Meower
Member
Joined
Apr 18, 2013
Messages
1,769
Trophies
2
Location
on the cool side of the pillow
Website
follow-the-white-rabbit.wtf
XP
3,027
Country
Germany
@CosmoCortney
ax is a tool from Green Hill Software. You need ghs to repack the RPX. even then, it migh tnot work. I haven't been able repack RPLs from Assassin's Creed 3 update, which also calls ax (-ts is supposed to regenerate table of content)
Oh I see. For me it works without that Green Hill tool.
What I'm using is this in a .bat:
SET CAFE_ROOT=C:\WiiU\Cafe_SDK-2.12.13\
makerpl64 -f -z8 -s Turbo.elf
pause
 

rufuszombot

Assassin
Member
Joined
Apr 13, 2010
Messages
571
Trophies
1
Location
The Moon
XP
2,086
Country
United States
I'm trying to compress Epic Mickey 2's RPL, but I can't seem to get anything to work. When converting from RPL to ELF I get a few errors,I didn't know if this was normal since I still get an .elf file. When I try to compress it with makerpl64 I get "Error 0xBAD00025 paring ELF file" I thought I had everything set up right, but I seem to be missing something.
 

VinsCool

Persona Secretiva Felineus
Global Moderator
Joined
Jan 7, 2014
Messages
14,600
Trophies
4
Location
Another World
Website
www.gbatemp.net
XP
25,228
Country
Canada
I wonder guys, has anyone tried to reverse the leaked sdk tools, and make an open source version?

That way, we wouldn't need to use the copyrighted stuff anymore :P
 

liomajor

Well-Known Member
Member
Joined
Jun 10, 2008
Messages
1,468
Trophies
0
XP
1,373
Country
United States
i got this error when i try to compress devils third

SjbaVOh.png


only with this game :(

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) ^_^
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
  • realtimesave @ realtimesave:
    @SylverReZ that guy seriously spent over 2 grand on that hot wheels pc?
    +1
  • RedColoredStars @ RedColoredStars:
    LTT is a noob
  • RedColoredStars @ RedColoredStars:
    Guy doesnt know wtf hes talking about half the time
  • realtimesave @ realtimesave:
    @SylverReZ that reminds me that my friend sells CRTs he gets cheap or free for hundreds of dollars. people are dumb
    +1
  • RedColoredStars @ RedColoredStars:
    And is incredibly annoying.
  • realtimesave @ realtimesave:
    man I just washed my shoes and they look exactly the same as before I washed them :|
  • realtimesave @ realtimesave:
    luckily they didn't fall apart
  • RedColoredStars @ RedColoredStars:
    Some CRTs are very much worth the price
  • RedColoredStars @ RedColoredStars:
    i used to go out to the recycling center every couple weeks and look at the crts and other electronics people would drop off. Usually screens were broken or severely scratched from being tossed around. Did find a good one here and there, but never anything like a 1080i widescreen crt.
  • RedColoredStars @ RedColoredStars:
    Or a good contition 40" Sony Trini that weighs 300 lbs. lol
  • RedColoredStars @ RedColoredStars:
    Literally 300 lbs. lolol
  • BigOnYa @ BigOnYa:
    I have a few of those boat anchors in my basement I tried giving away but no one wanted them, So anyone close to Columbus, Ohio area that wants them, (26", 2x 19") please come get, for free.
  • RedColoredStars @ RedColoredStars:
    Dont know anyone wants those smaller ones. Most are after larger sizes and the kinda top of the line models
  • RedColoredStars @ RedColoredStars:
    Motion handling and input lag on those things destroy plasmas, led, oled
  • realtimesave @ realtimesave:
    I had some really nice CRTs I should've kept
  • realtimesave @ realtimesave:
    now I have all lcd
  • realtimesave @ realtimesave:
    one in particular I regret getting rid of oh well :|
  • realtimesave @ realtimesave:
    the Sonys and stuff I don't care about
  • realtimesave @ realtimesave:
    and used LCD are hard to sell I can imagine.. not worth much
  • realtimesave @ realtimesave:
    @SylverReZ where do u lurk
  • a_username_that_isnt_cool @ a_username_that_isnt_cool:
    Is it piracy if it was released for free? Not in my opinion, but I also think it's not piracy if buying it isn't owning it, and it's not piracy if you can't buy it from the original creators anymore.
  • K3Nv2 @ K3Nv2:
    Free release can have loopholes where they still make money through ads
    Xdqwerty @ Xdqwerty: :sad: