Add extraction support for ByteSwapped and LittleEndian formats#3042
Add extraction support for ByteSwapped and LittleEndian formats#3042garrettjoecox merged 3 commits intoHarbourMasters:developfrom
Conversation
|
Tested launch script changes on Mac and Linux (Steam Deck) |
So they effectively have the same goal (supporting all rom formats), but the problem with #3090 is that the solution is internal to This PR instead solves it at the ZAPD level, and updates the mac/linux pre-launch scripts to support the other rom format hashes. Technically, both can be accepted as is. But if we want to "advertise" that all rom formats are supported, we would need this PR at least. The end goal should be getting the Extractor to work completely for Mac/Linux and drop the pre-launch script extraction as detailed by #2987 |
So we can probably just close #3090? Unless there are other benefits it provides? |
This utilizes a rom convert method to accept n64, z64, and v64 formats for extraction inside SoH and with ZAPD directly.
Depends on Kenix3/libultraship#328
TODO:
I've opted to do a dirty hash remap of the v64 and n64 hashes to be assigned the z64 hash equivalent. I did this because I did not want to bloat/depend on commands/tools that may or may not be available on the system, especially with the push to run the linux build on light weight systems.
Ultimately when the built-in extractor is upgraded as defined in #2987 I think we can drop the external extraction from the linux/mac scripts entirely.
Build Artifacts