Open BullyWiiPlaza opened 3 years ago
What's the use case, from the perspective of homebrew development, of converting an RPX to an ELF?
@asiekierka The use case is for example to convert a game RPX/RPL to an ELF for easier analysis or modification for game modding purposes. Also in terms of homebrew if you can't recompile an RPX/RPL you may still be able to adjust it via editing the ELF file either because the dependent libraries are gone/undefined or because you don't have the source code in general.
wut-tools
includes anelf2rpl
utility but norpl2elf
utility.Tools which perform the latter exist in the following:
rpl2elf
)Chaining together Hykem's
rpl2elf
andelf2rpl
fromwut-tools
however does not work and yields the following error:Questions:
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 decompressRPX
files by itself but decompressing withwiiurpxtool
and then re-compressing withelf2rpl
does not work with the same error(s) from above. Why doeswiiurpxtool
succeed at recompressing butelf2rpl
does not? It seems likewiiurpxtool
also produces a validRPX
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.