So Im working on some pc engine stuff. Im using OOtake which has a debugger. I don't really understand what it does or how to use it to help me. Is there any docs on using/reading a debugger?
Someone can correct me if I get this wrong, but a debugger allows you to view what the system's CPU is doing step-by-step. Typically, one might configure a debugger to pause execution of the program when the CPU writes to a segment of memory corresponding to a particular location of the string. One can then, in theory, use the debugger to step backwards through the previously-executed CPU instructions to determine, for instance, the location in the ROM the CPU obtained the value that it wrote to that segment of memory.
Of course, this all gets dreadfully complicated very quickly because assembly language is hard and the CPU might be doing a whole bunch of different things between when it reads that location in the ROM and when it writes that segment of memory.
Also I was wondering if there is any searching utility that can search for patterns. Say there are 2 lines of dialogue that are the same but I dont have a table, nor am i sure what order the letters are in(for this we assume the letters are not in order ie a=01 b=02). For example one line says wxyrfxnw and another says wxlzxow. I am looking for a way to search for where xy**x*y(x and y are just variables to say they match their counterparts). So then I can search for all instances of any 7 digit string where the 1st digit matches the 5th and the 2nd matches 7th.
That is indeed a "relative search", as suggested by your subject line. Numerous utilities have that capability.
The game I am working on has a page where there is a game start screen, first line says choose level, second line says password enter and the 3rd says password current all in Japanese. The word password, as it is written is 6 digits long so I am looking for all instances where there are consecutive 6 digits that match another 6 consecutive digits.
It could well be that the word "password" is stored as a graphic rather than as six characters that are subsequently rendered as a font.