^^ I followed your instructions, and...
FYI, you'll miss some script files by only searching for "RINA". There are some files that describe items where it wouldn't appear. I searched for "say" for those, as that's the command line for bubbles without a speaker, which would appear on those screens. I think I managed to miss some anyway, because I'm a few hundred lines short of your total. Derp. :S
Gonna redo it a bit later.
So, my initial problems are solved, but I still have a few questions:
a) About compression. I take it that if I encounter a compressed file, I should just use CUE's stuff (lzss here) and pray something works?
b) How do I generate the batch file for filecutter? With a file that size, I hope it wasn't written by hand. Once I know that, I'm gonna try cracking Touch Detective 2 on my own for practice.
c) What are
these files with the text in them?
This stuff goes
bgm[mysterious bytes that are pointing to the music file?]some other command
Is it game code? It's clearly not just plain text, because "bgm" alone is completely useless as a command (which
bgm?). Is there a way to know?
d) And lastly, how do I repack the ROM? That's just because I'm curious, I don't intend to do a hack.
Here's what I tried:
I changed the first few lines of in-game text in an uncompressed file.
Re-compressed it using lzss.
Opened the compressed sub-file and the original data.bin in a hex editor.
Looked for the beginning of my sub-file in the main file (hex values search).
Selected a block equal to the size of my sub-file from that point.
Saved and repacked the files with ndstool.
Tried playing the ROM but it's broken (just a black screen).
Where am I going wrong? :/