- 19
- Posts
- 8
- Years
- Seen Sep 9, 2020
So, just starting in this hacking show and have a few HEX doubts. I have seen that there are a few things that end with the "FF FF FF" marker, so:
1. Why does this happen only with a few of them? Why not add markers in all tables? It would be easier to identify the number of elements in such tables.
2. Is "FF FF FF" used in all cases? Are bytes different than FF ever used to mark similar no-data marks?
3. Does Gen 4 DS games work the same? FF as empty byte, "FF FF FF" as end of some tables? (I am still wondering if I should look into Gen3 or Gen4 games)
Now, about pointers:
4. When you need to repoint a table you look around the file for ZZ YY XX 08 and replace them, get it. Is this risky? I mean, can you accidentally change a ZZ YY XX 08 value that is not a pointer but actual data that just happens to look like a pointer? If so, how can we avoid mistakenly confusing data with pointers and changing the wrong bytes?
Thanks,
1. Why does this happen only with a few of them? Why not add markers in all tables? It would be easier to identify the number of elements in such tables.
2. Is "FF FF FF" used in all cases? Are bytes different than FF ever used to mark similar no-data marks?
3. Does Gen 4 DS games work the same? FF as empty byte, "FF FF FF" as end of some tables? (I am still wondering if I should look into Gen3 or Gen4 games)
Now, about pointers:
4. When you need to repoint a table you look around the file for ZZ YY XX 08 and replace them, get it. Is this risky? I mean, can you accidentally change a ZZ YY XX 08 value that is not a pointer but actual data that just happens to look like a pointer? If so, how can we avoid mistakenly confusing data with pointers and changing the wrong bytes?
Thanks,