Change NERVE.WAD level names from LEVEL## to MAP33 onwards

Post a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: Change NERVE.WAD level names from LEVEL## to MAP33 onwards

Re: Change NERVE.WAD level names from LEVEL## to MAP33 onwards

by Graf Zahl » Mon Apr 01, 2024 6:30 am

We won't break established naming some external tools may depend on just because one user is too attached to the idclev cheat. Everything will remain as it is.

Re: Change NERVE.WAD level names from LEVEL## to MAP33 onwards

by sacarias » Sun Mar 31, 2024 8:52 pm

I did testings.

Edited NERVE.WAD using SLADE just like GZDoom does at the end of the function:
https://github.com/ZDoom/gzdoom/blob/ma ... .cpp#L2384
but using the nomenclature I proposed in OP: instead of "LEVEL##" use "MAP33" onwards.

Then created a mapinfo.txt lump, being just an excerpt of the doom2.txt core lump with only the relevant parts for NERVE.WAD, and also changing all LEVEL## references for MAP33 onwards, and changing *only* these.

Packed the txt lump into a PK3, and ran GZDoom with -iwad DOOM2.WAD, and both custom NERVE.WAD and custom.pk3.

Results:
**Everything worked as wanted**.
idclev works, console map command works, music works correctly, playing through in general as well.
Also, levelnum directive in mapinfo.txt was not needed neither.
So both current school and old school users could remain happy.

This makes me thing that, if making proposed changes just to the aforementioned function, it would work just as good, *without* doing any complicated stuff of the like.

Probably a similar reasoning could have been done for Master Levels, but given the way they were originally released back in time, more like *individual* WADS, probably indeed leave it like that in this case.

Re: Change NERVE.WAD level names from LEVEL## to MAP33 onwards

by Professor Hastig » Thu Mar 28, 2024 3:09 am

By now there's so many mods that use non-standard map names that I completely stopped using idclev. Most of the time I even use 'changemap' instead of 'map' because it doesn't strip the inventory.

Re: Change NERVE.WAD level names from LEVEL## to MAP33 onwards

by sacarias » Tue Mar 26, 2024 5:26 pm

Ok, "nobody uses idclev anymore".

I just had thought that, however hard-coded the name changes from "MAP##" to "LEVEL##" were, it was probably very simple to just change the strings again...

Re: Change NERVE.WAD level names from LEVEL## to MAP33 onwards

by Gez » Tue Mar 26, 2024 2:07 pm

Technically can be done with LevelNum property I think. Look at how the map slots in Hexen are completely disconnected from their visit## number, e.g. MAP28 is visit14, not visit28.

Re: Change NERVE.WAD level names from LEVEL## to MAP33 onwards

by MartinHowe » Tue Mar 26, 2024 12:20 pm

Graf Zahl wrote: Tue Mar 26, 2024 11:34 am Nobody here uses idclev anymore. We use the "map" console command.
Speak for yourself :lol: (Many years' force of habit :D )

Re: Change NERVE.WAD level names from LEVEL## to MAP33 onwards

by Graf Zahl » Tue Mar 26, 2024 11:34 am

Nobody here uses idclev anymore. We use the "map" console command.

Change NERVE.WAD level names from LEVEL## to MAP33 onwards

by sacarias » Tue Mar 26, 2024 8:46 am

I just learned that GZDoom changes NERVE.WAD's level names from MAP01-09 to LEVEL01-09 for compatibility with Doom 2 BFG.

I was proposing to use instead MAP33-41, so that idclev and other console/command line commands also work like in Doom 2, while still retaining compatibility with BFG edition.

Think it's possible? Thanks.

Top