changing map# in lmp file with hex
-
- Posts: 57
- Joined: Sun Apr 09, 2006 12:54 pm
- Contact:
changing map# in lmp file with hex
Where is the map# info located in a zdoom demo file? I'd like to make the demo playback on a different map# (it's the same exact map, but the map# changed after the demo was recorded).
Re: changing map# in lmp file with hex
Looking at [wiki=demo]the wiki[/wiki], it'll be in the ZDHD chunk. This chunk is not compressed.
-
- Posts: 57
- Joined: Sun Apr 09, 2006 12:54 pm
- Contact:
Re: changing map# in lmp file with hex
You the man, thanks.
Re: changing map# in lmp file with hex
Too be more specific (if anybody else wants to know), the map lump name starts off at offset 18, and must always 8 bytes long. Short names are null terminated with all values after it ignored.
Interestingly, most of the time zdoom ends up writing "pk" as garbage data at the end of MAP## strings.
Interestingly, most of the time zdoom ends up writing "pk" as garbage data at the end of MAP## strings.