Thansk mate
I think adding files easily was the reason the original programmers added that reserved space, but yeah, eventually it would come to an end. I guess at that point you'd have to move the respective INDX and SYMB tables to the end of file, make them bigger and then update their DDIT table entry at the start of the file (as well as the maxEntry fields). You would then of course have a gaping big whole elsewhere in the file where the original tables were located at (I *think* the "FREE" entry in the DDIT table has something to do with this, but I haven't really looked into it yet). Mind you, my goal at this stage is just to *read* the MW2 files, not edit them, so all of this is speculation on my part
Yeah, plenty happy to share what I've got with you (at this stage I don't want anything in return - my goal is to try to decode all the files by myself, a kind of personal challenge thing). I haven't set any concrete goals for my MW2 engine yet. If I actually manage to get it off the ground then I will definately release it, probably open-source (not sure of which license I'll use, but probably not GPL).
My file decode status at the moment is as follows:
- WTB: Partial (I can extract the meshes), still got a lot of unknown fields though.
- SFL: Figured out that they play @ 11KHz, but haven't figured out more than the first 8 bytes of the header
- MEK: Got most of this done, although I still need to complete my list of weapon/equipment/ammo critical values.
- MW2: Done, but I haven't really looked at any of the files in it yet.
- MWM: Done (POSIX TAR file)
- PRJ: Mostly done, but still some unknowns.
- BWD: Working on this at the moment - I've managed to decode a pretty decent chunk of this so far.
This is mostly based on the files from mercs (I've checked a few things against the 31cc and GBL files, but don't plan to check them extensively until I'm finished with mercs).