[NDS] Newbie questions regarding NDS rom hacking and encoding

Started by 123shadow7, May 11, 2022, 07:26:27 AM

Previous topic - Next topic

123shadow7

Hello, I'm just starting to get into rom hacking for the NDS and I've been familiarizing myself with crystaltile2. I've been able to figure out how the program works for editing and identifying image files but when trying to interpret the  various other files in the rom the encoding is off and when i try to read the files in notepad++ they are just a jumbled mess of random characters. The game in particular is digimon world dusk. If anyone can recommend me how i can get these files to a state where I can read them it would be much appreciated, also the files I'm trying to read are not compressed.

FAST6191

Crystaltile2's file window/compression icons within often lies but it is usually false positives we are concerned with.

"how i can get these files to a state where I can read them" is kind of the whole affair really.

Anyway Digimon World - Dusk is the US release (moonlight being the equivalent Japanese one) so I am assuming it is not Crystaltile2's quite nice hex editor not working here.

Equally while notepad++ does have hex level approaches then most would only edit files in that if they have a) already extracted them or b) found themselves extremely lucky (and proven it) that the game in question uses plaintext. Equally notepad++ lacks much in the way of custom encoding (if you ever did A=1, B=2, C=3 "codes" as a kid then games do similar except with hex and it does not have to start at 1, and while the DS has more common encodings used elsewhere in computing* than a lot of what came before it then there is still plenty of custom stuff) so you will also have trouble with that.

*see ASCII ( https://www.asciitable.com/ ), shiftJIS and eucJP http://rikai.com/library/kanjitables/kanji_codes.sjis.shtml , unicode https://www.joelonsoftware.com/2003/10/08/the-absolute-minimum-every-software-developer-absolutely-positively-must-know-about-unicode-and-character-sets-no-excuses/ and such like.

Have you tried https://www.romhacking.net/utilities/513/ (technically CT2 does have a relative search, and a few things besides, but that tool is nice)? Such things are pretty much a must to at least try when hacking English language (and some European) games.

I do have more in depth tutorials in https://www.romhacking.net/forum/index.php?topic=14708.0. if you want as well.

You will also need to figure out any pointer systems used in the game (games being read only and lacking resources to be figuring out lengths of text then the contents page equivalent, known as pointers, becomes all important).

123shadow7

Quote from: FAST6191 on May 11, 2022, 02:30:32 PM
Crystaltile2's file window/compression icons within often lies but it is usually false positives we are concerned with.

"how i can get these files to a state where I can read them" is kind of the whole affair really.

Anyway Digimon World - Dusk is the US release (moonlight being the equivalent Japanese one) so I am assuming it is not Crystaltile2's quite nice hex editor not working here.

Equally while notepad++ does have hex level approaches then most would only edit files in that if they have a) already extracted them or b) found themselves extremely lucky (and proven it) that the game in question uses plaintext. Equally notepad++ lacks much in the way of custom encoding (if you ever did A=1, B=2, C=3 "codes" as a kid then games do similar except with hex and it does not have to start at 1, and while the DS has more common encodings used elsewhere in computing* than a lot of what came before it then there is still plenty of custom stuff) so you will also have trouble with that.

*see ASCII ( https://www.asciitable.com/ ), shiftJIS and eucJP http://rikai.com/library/kanjitables/kanji_codes.sjis.shtml , unicode https://www.joelonsoftware.com/2003/10/08/the-absolute-minimum-every-software-developer-absolutely-positively-must-know-about-unicode-and-character-sets-no-excuses/ and such like.

Have you tried https://www.romhacking.net/utilities/513/ (technically CT2 does have a relative search, and a few things besides, but that tool is nice)? Such things are pretty much a must to at least try when hacking English language (and some European) games.

I do have more in depth tutorials in https://www.romhacking.net/forum/index.php?topic=14708.0. if you want as well.

You will also need to figure out any pointer systems used in the game (games being read only and lacking resources to be figuring out lengths of text then the contents page equivalent, known as pointers, becomes all important).

Thanks a bunch, this gives me some things to work on and learn! I also dled your tutorial document and its already helped me a bunch with understanding how to best use some of the software like crystaltile!