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
|