Skip to content

pw64_filesys_dump: add ADAT/DATA string decoding#3

Merged
queueRAM merged 1 commit intoqueueRAM:masterfrom
roto64:roto/adat_decoder
Sep 21, 2019
Merged

pw64_filesys_dump: add ADAT/DATA string decoding#3
queueRAM merged 1 commit intoqueueRAM:masterfrom
roto64:roto/adat_decoder

Conversation

@roto64
Copy link
Contributor

@roto64 roto64 commented Sep 21, 2019

This change will allow you to see the strings used in various places throughout the game.

Right now the output format looks like this:

0x365FF4|286A44:   DATA: 0x000080:
    00 0f 00 2f 00 3c 00 42 00 37 00 2b 00 35 00 32
    00 38 00 2a 00 2b 00 42 00 24 00 36 00 42 00 30
    00 24 00 31 00 3c 00 42 00 35 00 2c 00 31 00 2a
    00 36 00 42 00 24 00 36 00 42 00 3c 00 32 00 38
    00 fe 00 26 00 24 00 31 00 48 00 42 00 37 00 2b
    00 28 00 31 00 42 00 2f 00 24 00 31 00 27 00 42
    00 32 00 31 00 42 00 37 00 2b 00 28 00 42 00 35
    00 38 00 31 00 3a 00 24 00 3c 00 49 00 fe 00 ff
    --------- Decoded String ---------
    Fly through as many rings as you
    can, then land on the runway.
    ----------------------------------

You can disable the hex output and just have the text if you comment out one line.

Let me know if this format is OK or if anything should be changed.

The whole decoding code can probably be done cleaner but I think this is a good start. There are still some things that need fixing (like "unknown" characters/codes).

@queueRAM
Copy link
Owner

I may change some of the string hex matching to numeric matching, but otherwise looks good. Thanks for decoding these strings!

@queueRAM queueRAM merged commit ab25cb3 into queueRAM:master Sep 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants