I have made some time ago a tool that unpacked and reorganized the original H3 files into something like below. (filenames are 100% the same only folders changed)
It was in the form of a separate .cpp added to VCMI.
Can you make any use of this? Does it make any sense to commit it?
Personally I would love such tool just outside of VCMI so if you can put it on github do that please! If it’s can also let’s say convert some bitmaps into PNG would be even more handy for fixing small UI quirks
Though I don’t see much use of it within engine because modders shouldn’t use H3 assets as base for their work because it’s cause all kind of legal issues. No reason to make it easier.
Opposite, modders will more easily find and replace original assets by new
I think stand-alone tool will be good.
The question is one - can VCMI start without loading standard *.lod files and take all from mods data?
In a few days I will have a fresh system. I will try and see how independent of VCMI I can make it because right now it relies on VCMI loading the resources for it.
This could be useful for my project… but on the other hand I have to replace all the assets anyway so I can go file by file after unpacking them.
However this script could be nice if assets from HD edition are ever to be supported. While lod and defs have many great tools you can work with pak files and dds from Hd edition are a different story.