feat: dump IW5 GfxWorld and clipMap_t as JSON - #997
eithan1231 wants to merge 1 commit into
Conversation
|
hey :) thanks for creating a PR. Yeah, the reason why GfxWorld and clipMap_t do not have any dumpers or loaders (yet - for any game) is that those assets are very complicated, very far from their original source format (as they are the compiled result of Radiant) and are not particularly feasable to edit manually like this. That file contains all the radiant compiled data related to the map itself and includes not only GfxWorld and clipMap_t but in case of IW5 also these assets: ComWorld, GlassWorld, PathData, VehicleTrack, MapEnts, FxWorld. The reason why i wouldn't use json in this case would be:
but maybe you can elaborate on what your goals are with this PR? 😅 |
|
Regarding the x86 to x64 change: Yes, i am aware, it is unfortunately not a particular small change to the fastfile format. So all in all, it's not a small change 😅 While OAT is already almost ready to handle x64 games natively, there is a bunch of work to be done in creating an integration between the x86 versions of IW5 and the x64 and also not having full duplicates of all of the games functionality. |
|
That's a pretty cool project :) And also already looks very good. Also using the clipmap to be able to wall around then? Im afraid the json part doesnt fit upstream oat though as there are other plans for implementing gfxworld support that probably fit the usecase of it as mod tools better 😅 As described above. |



IW5's GfxWorld and clipMap_t never had dumpers, this should hopefully add some support for it
MW3 got an update recently that moved it from x86 to x64, which broke compatibility with a heap of file formats. I may push a change for that over the next few days. This PR does not include any changes or that.
I'm not across all of this repo's conventions yet, so happy to correct anything that's off.