by Devalaous » Fri Apr 23, 2021 8:56 pm
Rachael wrote:After some thought about this, I have come up with a solution that I might be happy with, but, it will be some time before I will be able to implement it. So for now, this post merely serves as a blueprint.
The current version of the "nerve.wad" rename scheme would be refactored and made into a lump with the following format:
Lump Name: compat-renames.txt
Code: Select all
// alias, size, md5, filename
"nerve-original" 3819855 967d5ae23daf45196212ae1b605da3b0 nerve.wad {
map01 level01
map02 level02
// .. etc ..
}
"nerve-new" 3821966 4214c47651b63ee2257b1c2490a518c9 nerve.wad {
alias "nerve-original"
}
// .. etc..
It would also deal with the Heretic/Hexen/Strife renames as example:
Code: Select all
iwad game.heretic {
sprite HEAD LICH
// ..etc..
}
For the checks, the check order is very important in order to avoid impacting loading times too much. First the size would be checked, then the file name, then the md5 hash sum. Order of least impactful to most impactful.
Also, dropping it into a lump allows it to be loaded through a filter, i.e. specifically specifying "master levels" as an iwad, so that they can still be loaded in their original way.
Not too long ago I was working on a QoL mod for the Master Levels that added dehacked/mapinfo, Scuba Steve's custom-made widescreen titlepic and interpic, and the NRFTL midipack, and I was making two versions; one for all the loose levels, including the 7 rejected Master Levels that are on the idgames archive, and one for the all-in-one wad that the PS3 has, and can be manually built from Doom BFA. I wanted to do what GZDoom did with NRFTL and have it appear as its own episode, but I couldn't figure out how NRFTL did the conversion from MAP00 to LEVEL00. I had to either give up and have the Master Levels episode replace base Doom 2, or go into the masterlevels.wad and rename all the levels to ML00, which isn't too ideal for a QoL mod that was meant to make things easier and feel more polished
There was a little talk of asking the GZDoom devs to one day natively support Master Levels, nice to see a thread about it here.
[quote="Rachael"]After some thought about this, I have come up with a solution that I might be happy with, but, it will be some time before I will be able to implement it. So for now, this post merely serves as a blueprint.
The current version of the "nerve.wad" rename scheme would be refactored and made into a lump with the following format:
Lump Name: compat-renames.txt
[code]// alias, size, md5, filename
"nerve-original" 3819855 967d5ae23daf45196212ae1b605da3b0 nerve.wad {
map01 level01
map02 level02
// .. etc ..
}
"nerve-new" 3821966 4214c47651b63ee2257b1c2490a518c9 nerve.wad {
alias "nerve-original"
}
// .. etc..
[/code]
It would also deal with the Heretic/Hexen/Strife renames as example:
[code]iwad game.heretic {
sprite HEAD LICH
// ..etc..
}[/code]
For the checks, the check order is very important in order to avoid impacting loading times too much. First the size would be checked, then the file name, then the md5 hash sum. Order of least impactful to most impactful.
Also, dropping it into a lump allows it to be loaded through a filter, i.e. specifically specifying "master levels" as an iwad, so that they can still be loaded in their original way.[/quote]
Not too long ago I was working on a QoL mod for the Master Levels that added dehacked/mapinfo, Scuba Steve's custom-made widescreen titlepic and interpic, and the NRFTL midipack, and I was making two versions; one for all the loose levels, including the 7 rejected Master Levels that are on the idgames archive, and one for the all-in-one wad that the PS3 has, and can be manually built from Doom BFA. I wanted to do what GZDoom did with NRFTL and have it appear as its own episode, but I couldn't figure out how NRFTL did the conversion from MAP00 to LEVEL00. I had to either give up and have the Master Levels episode replace base Doom 2, or go into the masterlevels.wad and rename all the levels to ML00, which isn't too ideal for a QoL mod that was meant to make things easier and feel more polished :p
There was a little talk of asking the GZDoom devs to one day natively support Master Levels, nice to see a thread about it here.