MTrop / DoomTools

Doom-related tools for Java. Home of DECOHack and lots of other utilities. Build WAD projects (and soon, other kinds) with ease!
https://mtrop.github.io/DoomTools/
MIT License
46 stars 5 forks source link

[DoomMake] `extractUsedMapTextures()` supports `MAPINFO` custom skies #99

Open derekmd opened 1 year ago

derekmd commented 1 year ago

Summary

I don't see any DoomTools code in this repo for parsing MAPINFO lumps so this may be out of the near-future scope. Would it be possible for the extractUsedMapTextures() function to include skies defined in map definitions of mapinfo lumps?

The current workaround is to apply the sky texture to at least one sidedef in a map.

Source port examples

Links

DRON12261 commented 1 year ago

MAPINFO in Hexen format (or ZDoom old format) still, it has a slightly different syntax:

sky1 SOMESKY1 <scrollspeed>
sky2 SOMESKY2 <scrollspeed>

https://zdoom.org/wiki/MAPINFO_(old_format)


Additionally, it's still possible to parse its format from Risen 3D and Doomsday, and RMAPINFO from Doom Retro (deprecated format, now it use UMAPINFO), but I don't know if anyone is using it today or not. https://manual.dengine.net/ded/map_info https://github.com/bradharding/doomretro/wiki/Information-for-Mappers#MAPINFO-Lumps

MTrop commented 1 year ago

If I were to add this, I'd want it to be done in WTexScan, which would pick up "used" textures in a WAD or individual map. WTEXport will then just see it as another texture, so I'd have to do nothing to get the export working.