funny code snippets! whats converted and renamed?
Renamed is likely renaming the battle.lgp files from their four letter file name to give them appropriate extensions.
Converting looks like it's changing the model from one to another. A little farther down from that code you snipped mentions "converting player" and "frog.dat" so that's my guess.
I think it can be turned on. But that's probably the flag to turn debug mode on. I can't see it being turned on in normal game. I'm sure I asked dziugo at one point. If it were turned on in normal game, someone would have reported serious crashes by now since I use that area for a lot of different things.
True enough, but then that opens a lot more functions from being "junk" and I'm mainly listing ones that really just don't have any links to them (can't be accessed internally). Disabled functions might be a separate list. Still, I'm only ~5% through the exe and still found a lot of junk here and there. Small snippets mostly, but still plenty to work with if we want new functions like item behaviors or field commands.
After going through this we should get together and coordinate which other funcs are disabled.
Edit:Just found an example of this. 0x5C904D is listed as Command function 1A, but isn't used by any working command. It is the only func that calls 0x4333C4. That's two disabled functions. They're still valid and accessible even though they aren't executed during normal play.
Most, if not all of the code that converted PSX data to PC format is still in there.
That's strange. Did Eidos compile the conversion library in with the executable? Maybe they were originally going to convert on the fly but it took too long and didn't remove the conversion functions.
Still, your graphics driver is really throwing off my xrefs.
I see references to 0x100XXXXX addresses and it acts like it can jump to that, but it obviously won't.