I'm doing something related to IPLs and I have to rebuild the IPL, but without knowing the original ordering of stuff (don't ask why!) and while doing so with original game files (I'm trying with data/maps/vegasS.IPL), it doesn't work!
Here's some files I ended up with (just inst section):
[works] Rebuilt without ordering changes: http://pastebin.com/Ryt6QBA1
[dontw] Rebuilt with major ordering changes: http://pastebin.com/bxrnaJax
I did an comparator in C++ to make sure the original file and the rebuilt file has absolutely the same content (well, almost for the floats), here's it if anyone interested to test out (yeah the code is crap, but you know, just testing): http://pastebin.com/GzeWPqpe
I really want to know why it doesn't work, anyone know? Does the inst objects order in the data folder must match with the streamed IPL order? Really, what?
* By doesn't work I mean the game crashes on loading