wut-tools includes an elf2rpl utility but no rpl2elf utility.
Tools which perform the latter exist in the following:
Chaining together Hykem's rpl2elf and elf2rpl from wut-tools however does not work and yields the following error:
>rpl2elf Foo.rpx Foo.elf
>elf2rpl Foo.elf Foo.rpx
ERROR: Unsupported relocation type 252
ERROR: Unsupported relocation type 253
ERROR: fixRelocations failed.
Questions:
- Why does Hykem's
rpl2elf produce an invalid ELF which cannot be ran on the Wii U? Is there an issue with writing out the relocations?
wiiurpxtool can successfully compress and decompress RPX files by itself but decompressing with wiiurpxtool and then re-compressing with elf2rpl does not work with the same error(s) from above. Why does wiiurpxtool succeed at recompressing but elf2rpl does not? It seems like wiiurpxtool also produces a valid RPX once again which can be ran successfully. Which tool is more correct in its behavior?
To clear up the confusion an "official" wut-tools rpl2elf binary or some more insight into the conversion situation would be great.
wut-toolsincludes anelf2rplutility but norpl2elfutility.Tools which perform the latter exist in the following:
rpl2elf)Chaining together Hykem's
rpl2elfandelf2rplfromwut-toolshowever does not work and yields the following error:Questions:
rpl2elfproduce an invalid ELF which cannot be ran on the Wii U? Is there an issue with writing out the relocations?wiiurpxtoolcan successfully compress and decompressRPXfiles by itself but decompressing withwiiurpxtooland then re-compressing withelf2rpldoes not work with the same error(s) from above. Why doeswiiurpxtoolsucceed at recompressing butelf2rpldoes not? It seems likewiiurpxtoolalso produces a validRPXonce again which can be ran successfully. Which tool is more correct in its behavior?To clear up the confusion an "official"
wut-toolsrpl2elfbinary or some more insight into the conversion situation would be great.