I reach a point in map editing where I got stuck.
Maps are made up of 4 files:
- a .GEN file containing the map music and I think the sky or some pic defined.
- a .I file that seems some kind of script that spawns objects. At this point, the coordinates defined in this file doesn't make any sense because the object spawned in Q1M1 from this file are far outside any playable or accesible area, just in the infinite area of the Doom Builder rid.
- a .MAP file, that is the map itself
- a .LIT file, that I suppose is a compiled script that defines the map sector's lights.
And here I'm stuck again.
I have build up and modified some parts of the map. The map structure works well, texture alignment works well, and everything works well, EXCEPT the sector lighting.
Let me explain: in Doom Builder (DB from now on) I create new sectors to add detail. Those new sectors have a light level of 255. But when testing the map in game, my new sectors have the 255 light level as spected, but the old sectors that I didnt' modified, have a different light level.
Also, some sectors have a glowing effect, but there is not thing marker in the sector.
I can't see any thing marker changing this light level or the behavior of the light in those sectors, so the only explanation is that the sectors' light level is changed through a script, probably in that .LIT file. But again, the sectors with modified light doesn't have any sector tag. And that is bugging me because any Doom game needs a sector tag to change that sector's properties. And the only explanation is that the script in .LIT files uses corrdinates system instead of sector tags, which is in fact a terrible way to do things, IMO.
It never minds, I can manage to do it anyway, but here comes another problem: this .LIT file is compiled, encrypted or something, so I cannot read, nor understand how it works, and of course, modify it.
So basically I need some way to modify those .LIT files with a normal editor. I discard an HEX editor because I don't want to mess with that kind of things.
So I need a compiler/decompiler.
Any help? Thanks.