Reaper Grimm
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Special Interest > Freedoom > Doom II gamemode detection broken in MBF and Eternity
 
Author
All times are GMT. The time now is 17:43. Post New Thread    Post A Reply
Quasar
Moderator


Posts: 5757
Registered: 08-00


Inclusion of CAVxyz and MCx lumps cause these ports to detect a commercial-level-format IWAD as being Final Doom - TNT version, making it impossible to play as plain commercial Doom 2.

Old Post 08-29-09 18:58 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Catoptromancy
Forum Regular


Posts: 874
Registered: 08-06


I am liking a new idea.

All final doom resources will go into a pwad. Will clean up the main iwads.
I think this only affects very few maps currently in freedoom, maybe 1 or 2. Could even just figure out what patches were used in the maps and only include those.

freedoom_final.wad or something for a new target that adds final doom support to any iwad.

Old Post 08-29-09 19:16 #
Catoptromancy is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
fraggle
Filled with the code of Doom


Posts: 7287
Registered: 07-00


So what is the problem exactly?

Old Post 08-29-09 19:36 #
fraggle is online now Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Catoptromancy
Forum Regular


Posts: 874
Registered: 08-06


Ports think freedoom is tnt. And before tnt was added they thought it was plutonia.
They check for lmp names to determine iwad.

Old Post 08-29-09 20:43 #
Catoptromancy is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
chungy
Senior Member


Posts: 1809
Registered: 06-05


These ports do something fancy to try to detect whether an IWAD is Ultimate/Doom2/TNT depending on what lumps it has, regardless of name...

Honestly I don't see much of an issue. Don't they have some kind of parameter like -complevel in PrBoom?

Old Post 08-29-09 20:45 #
chungy is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Gez
Why don't I have a custom title by now?!


Posts: 10666
Registered: 07-07


Simple fix on the port side: detect Freedoom as its own IWAD, and use the FREEDOOM lump to do so. (Something I added to ZDoom a while ago.)

Now the only difference between Doom 2, Plutonia, and TNT is some text strings, which are quite irrelevant to Freedoom I thought.

Old Post 08-29-09 22:39 #
Gez is online now Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
fraggle
Filled with the code of Doom


Posts: 7287
Registered: 07-00



Gez said:
Simple fix on the port side: detect Freedoom as its own IWAD, and use the FREEDOOM lump to do so. (Something I added to ZDoom a while ago.)
Exactly. If the Freedoom detection code is broken, fix it.

Old Post 08-29-09 22:44 #
fraggle is online now Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 5757
Registered: 08-00


That's fine so long as the following things are all true:

A) FREEDOOM loaded under DOOM II is always meant to be played as "commercial" gamemode

and

B) Any other IWAD file with a FREEDOOM lump is clear as to what gamemode it should be played under.

I'm not even in the loop as to how many FreeDoom IWADs there are now, or what they might be named. An clear and concise explanation of this would be helpful.

But also you may wish to keep in mind that MBF is not a maintained port, so there's nobody to add FreeDoom support to it. Just a thought.

Old Post 08-30-09 06:15 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Graf Zahl
Why don't I have a custom title by now?!


Posts: 7625
Registered: 01-03



Quasar said:

B) Any other IWAD file with a FREEDOOM lump is clear as to what gamemode it should be played under.




Of course you need to check for MAP01 and E1M1, too, to decide whether it's a Doom or Doom 2 IWAD.

Old Post 08-30-09 07:06 #
Graf Zahl is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Catoptromancy
Forum Regular


Posts: 874
Registered: 08-06


E1M1 and FREEDOOM lmp is Ultimate Freedoom, MAP01 and FREEDOOM lmp is Freedoom. FREEDOOM lmp and no E2M1 is shareware target. The rest of the targets are just pwads.
Sounds fairly simple and boom202 doesnt seem to complain. Maybe its always running with final doom compat.

Old Post 08-30-09 07:56 #
Catoptromancy is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
boris
meow


Posts: 3611
Registered: 05-00



Quasar said:
I'm not even in the loop as to how many FreeDoom IWADs there are now, or what they might be named. An clear and concise explanation of this would be helpful.

There are 3 AFAIK. Doom 1 commerical, Doom 1 shareware and Doom 2. They are called doom.wad, doom1.wad and doom2.wad, so no luck for detection there.

Old Post 08-30-09 10:56 #
boris is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Gez
Why don't I have a custom title by now?!


Posts: 10666
Registered: 07-07


I still think the "shareware" target is a complete waste of bytes. If people want a shareware version of Doom, there's already one that has been available since December 1993.

Anyway, file names are used to find iwads, but identification should be made by their content.

Old Post 08-30-09 11:08 #
Gez is online now Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Jon
Freedoom Bloke


Posts: 1351
Registered: 09-00


Personally I think this is another reason not to include the final doom resources in the doom2 IWAD (the primary reason imho being the resource naming clashes; the secondary reason being filesize increase) and to build tnt/plutonia iwad targets.

Old Post 09-07-09 11:56 #
Jon is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 5757
Registered: 08-00


Thanks for the info. I can finesse the detection code to give the proper experience for all the Freedoom variants. The code that is in EE right now was added back when DOOM II was the only target ;)

As for why BOOM works, BOOM apparently didn't support Final DOOM properly. Joel Murdoch seems to have restored support for it to MBF.

Old Post 09-07-09 17:12 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 17:43. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Special Interest > Freedoom > Doom II gamemode detection broken in MBF and Eternity

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Message Board Statistics