Hey, I was asking my dad about compilers. As a professional software engineer, he says he has a few different ones lying around. Seeing as I'm getting bored (more acurately that I feel I'm not doing my part), I was wondering where to get the source code I need so that I can start ripping. I have IDA, and the ROM I need, and savestates, and all that fun stuff. What I need, according to the write up in this thread, is source code so that I can add in my own breakpoint where osCreateThread is. That way, I can find out what's inside the N64 savestate so that I can actually start playing around with its inards. Thanks in advance for any help that can be offered. Mouser X over and out.
You should really use the savestate for analysis as it has all the code already in it and it better and quicker to analyze and uses less memory.
Then once its analysis is done find osCreateThread and get the number before it (usually some thing like 80001234) and use that as your breakpoint and use it's value in A2 (GPR[6].UW[0]) to find your thread.
Ive also found that my IDA plugin can usually find all threads as they use the "standard" function structure.
something I just now added: I created a sig file for n_audio (and the debug version n_audio_d), which is a slightly modified standard audio library (al). The USF Central page now links just to that, the archive contains all known sigs. I don't know why I had overlooked n_audio before. A few games use it...