Spacehaven-modding-tools / spacehaven-modloader

An *unofficial* mod loader and modding tool for Space Haven by Bugbyte
15 stars 8 forks source link

Pack all custom textures into minimal number of 2k CIM files #6

Open Tahvohck opened 3 years ago

Tahvohck commented 3 years ago

See #2 - instead of wasting space with a 2k square CIM for each mod, pack all modded texture files into as few 2k files as possible. This will require preserving mod information outside of the loader/assets/merges,py::doMerges loop and maybe elsewhere. It will probably also invalidate the Prefix/ModID work done earlier, since that's the only thing that uses it right now.

Tahvohck commented 3 years ago

Branch feat-006-unified-textures is being worked on to get this resolved.

Tahvohck commented 3 years ago

This is progressing, but hooking it into merge.py is going to require a hefty rewrite of _detect_textures() in order to work correctly.