-
-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
wut-tools includes an elf2rpl utility but no rpl2elf utility.
Tools which perform the latter exist in the following:
- https://github.com/Relys/rpl2elf
- https://github.com/0CBH0/wiiurpxtool ("improved"
rpl2elf)
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
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-tools rpl2elf binary or some more insight into the conversion situation would be great.
Metadata
Metadata
Assignees
Labels
No labels