Spider Mastermind
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 > Required lumps
 
Author
All times are GMT. The time now is 06:24. Post New Thread    Post A Reply
Galaxy_Stranger
Mini-Member


Posts: 80
Registered: 02-03


What is required to create a stand-aone IWAD? I've tried several things - even removing many lumps from the FreeDoom.wad until there was only about 10 lumps left. I was obviously missing something...;-p

Old Post 05-15-06 08:05 #
Galaxy_Stranger is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Jon
Freedoom Bloke


Posts: 1174
Registered: 09-00



Galaxy_Stranger said:
What is required to create a stand-aone IWAD? I've tried several things - even removing many lumps from the FreeDoom.wad until there was only about 10 lumps left. I was obviously missing something...;-p


I'm not sure what you mean. Can you try rephrasing?

Old Post 05-20-06 13:33 #
Jon is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Galaxy_Stranger
Mini-Member


Posts: 80
Registered: 02-03


Well, in order to get Doom, (I'm using ZDoom and Skulltag), to recognize a wad as an IWAD with the -iwad switch, you can't just create a .wad and save it as an IWAD. There are other lumps that are required, otherwise you get an error message.

I couldn't find out just what lumps are required, so I took the FreeDoom .wad and deleted everything - and it wouldn't recognize it as an IWAD. So now, I'm left with deleting lumps nearly one at a time in order to find out what shouldn't be removed.

Is there a list of required lumps somewhere, or a set of instructions?

Old Post 05-20-06 21:13 #
Galaxy_Stranger is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
leileilol
dork stalker


Posts: 2332
Registered: 06-04


you use a hex editor

change the first p to an i

done

Old Post 05-20-06 21:28 #
leileilol is offline Profile || Blog || PM || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Graf Zahl
Forum Legend


Posts: 4049
Registered: 01-03


Not done. ZDoom requires certain lumps to exist. The 'I' is not among the required data, btw.

ZDoom requires MAP01 to identify an IWAD as Doom 2 but to distinguish it from Hexen and Strife it must not contain lumps called TITLE, MAP60, MAP33 and ENDSTRF.

TNT.wad is identified by REDTNT2 and Plutonia.wad by CAMO1.

For Doom1 (full version) it requires E1M1, all of E2Mx and E3Mx, DPHOOF, BFGGA0, HEADA1, CYBRA1 and SPIDA1D1.

Old Post 05-20-06 21:37 #
Graf Zahl is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Galaxy_Stranger
Mini-Member


Posts: 80
Registered: 02-03


Thank you.

Old Post 01-30-07 20:22 #
Galaxy_Stranger is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Ajapted
Forum Regular


Posts: 680
Registered: 04-02


Other lumps that an IWAD must contain:

PLAYPAL, COLORMAP
TEXTURE1, PNAMES

various title/credit/help screens (TITLEPIC etc)
certain sounds (DSPISTOL, DSSWTCHX etc)
menu graphics
title/intermission music
status bar graphics (STxxxxx)

probably lots more that I haven't said. What's so bad about using FreeDoom as-is?

Old Post 01-31-07 00:25 #
Ajapted is offline Profile || Blog || PM || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Galaxy_Stranger
Mini-Member


Posts: 80
Registered: 02-03


just because

Old Post 01-31-07 03:38 #
Galaxy_Stranger is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 2133
Registered: 08-00



Ajapted said:
Other lumps that an IWAD must contain:

PLAYPAL, COLORMAP
TEXTURE1, PNAMES

various title/credit/help screens (TITLEPIC etc)
certain sounds (DSPISTOL, DSSWTCHX etc)
menu graphics
title/intermission music
status bar graphics (STxxxxx)

probably lots more that I haven't said. What's so bad about using FreeDoom as-is?


Although they must only contain these lumps to actually run the game; the file will still be recognized as an IWAD for a certain game mode even if these are missing. It'll just bomb out during R_Init :)

Eternity uses the following algorithm to determine what IWAD it's dealing with:

If the file contains ADVISOR, TINTTAB, and SNDCURVE:
* If it contains nine E4M* maps and the EXTENDED lump, it is Heretic: Shadow of the Serpent Riders
* If it contains 18 E2M* and E3M* maps, it is Heretic Registered
* Else it's Heretic Shareware
Else:
* If it contains 30 or more MAPxy maps:
* * If it contains 4 or more CAV* lumps, it is TNT
* * Else if it contains 8 or more MC* lumps, it is Plutonia
* * Else it is Doom 2 Registered
* * * If MAP31 and MAP32 are missing, it is the German version
* Else if it contains nine or more E4M* lumps, it is Ultimate Doom
* Else if it contains 18 or more E2M* and E3M* lumps, it is Doom Registered
* Else it is Doom Shareware

I have removed the extra "fake registered version" check that looked for such things as the Cyberdemon sprite and Cacodemon sounds because it was always useless anyway; it was performed after -file, and so the user could have already added everything necessary themselves. It also messed with adding new game modes.

Failure of the IWAD to fall into one or more of these catagories causes the game to go into "indetermined" game mode, which currently acts like Doom Registered. It is highly unlikely that the game will work in indetermined mode.

Last edited by Quasar on 01-31-07 at 18:37

Old Post 01-31-07 18:15 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
All times are GMT. The time now is 06:24. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Special Interest > Freedoom > Required lumps

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.

Forums Directory