#Where to find tbl, ftd, etc. files in the memory?

6 messages · Page 1 of 1 (latest)

tropic dagger
#

I want to know where does the game store files such as tbl, ftd, or any other kind of tables in memory. I mainly want to see how the game use the values in these files so I can trace code related to them more quickly. Even if tracing code won't be easy, I still would like to know where the game does store them.

narrow moss
#

they're usually copied into a static pointer that's then referenced whenever
i've labelled most of them in p5r steam 1.01 on the shared repo

tropic dagger
narrow moss
#

the ftds in the screenshot i've shown are all in a list that's written to in the update function for fld_init_read (40 53 55 56 57 41 54 41 56 41 57 48 81 EC 50 01 00 00)

#

that task's update func opens a bunch of FTDs following a hardcoded list (there's a function in there for opening each file), so you'd just breakpoint that, then check where the output of that function's stored