I've updated my data extractor to get both NPCs and Mobs. Put it into the extracted 3ddata folder and run it, you will get two SQL files. The NPC list will work with either OSRose, OSiRose, or OSpRose. But the mob list is designed to work with the new IFO spawn system I built into OSpRose, so it will not work with OSiRose or OSRose. Report any errors you encounter
[Update #1]
Apparently I was off by 1 on the row count in the STB class. Which then shifted every column left one. Fixed.
[Update #2]
Re-wrote how it gets maps to scan. It now uses the list_zone.stb file to find map folders, then reads the IFO's from there. It should be faster, as well as gets NPCs for duplicate maps.
[Update #3]
Re-wrote it again. Now it uses my unified backend files. Everything is done using the STB, STL, IFO, and ZON classes I wrote (They are read-only classes for now, might add writing support later). The tool now dumps TeleGates in a new format that OSpRose will be implementing shortly, and OSRose may follow suit, it stores the destination as well as the source. I'm not sure if it'll be much faster, since it reads in the file then uses the data, but hopefully it's not much slower
Since this was a major re-write, please post if you run into any problems or crashes. I tried to account for most things, but might have missed some.
[Update #4]
I didn't take into account that maps are sorted. STL's were returning the wrong information if the IDs weren't sorted in the STL. Changed STL class to use an index array when loading data.
[Update #5]
Added support for a new list_npcs format I'm going to implement in OSpRose, will store the NPCs dialog_id, better than hard-coding it in the server x.x Will keep ver4 up as well, for OSRose/OSiRose support.
Edit by lmame:
Attached Files deleted (not by me)
You can find ifonpcdumper now on the tools forum in the Drakia version, or in the osRose tools (updated version from the Drakia one).