aarant / luvdis

Pure-Python Game Boy Advance Disassembler
MIT License
39 stars 2 forks source link

String Discovery #4

Open monyarm opened 3 years ago

monyarm commented 3 years ago

A feature I believe would be useful, would be string discovery. If there's a null-terminated series of ASCII characters, larger than, let's say 8 bytes, the assembler uses a asciz directive, instead of byte.

aarant commented 3 years ago

I think this might be useful and I will probably add it, but I know a lot of games don't use ASCII as their encoding (for example, Pokemon R/S/E/FR/LG use a special encoding and the ROMs only contain a few ASCII strings at all.

It'd be nice to have some support for custom encodings, but I'm not sure to do that with ARM macros.

monyarm commented 3 years ago

I'm not either, but even just ASCII would be useful. Yu-gi-oh GX Duel academy uses just that.

On Fri, Apr 23, 2021, 6:54 AM A. Antonitis @.***> wrote:

I think this might be useful and I will probably add it, but I know a lot of games don't use ASCII as their encoding (for example, Pokemon R/S/E/FR/LG use a special encoding https://bulbapedia.bulbagarden.net/wiki/Character_encoding_(Generation_III) and the ROMs only contain a few ASCII strings at all.

It'd be nice to have some support for custom encodings, but I'm not sure to do that with ARM macros.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/arantonitis/luvdis/issues/4#issuecomment-825367221, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAXHJKUSH23GXXE7ABEC2JLTKDVOTANCNFSM43II6KRQ .