[Use ZDL :)] Add other IWads to Zdoom start up list!!!!

Moderator: GZDoom Developers

Postby Chris » Thu Jun 30, 2005 8:34 pm

I think ZDoom should search the WADs in the IWAD list, looking for a special lump (LOADINFO?). It'd then open it up, and get the WAD's full name (to display on the list), a config name (since some config settings can be different depending on the game), as well as a list of PWADS to automatically load (which would be loaded right after the main WAD, as if they were specified with -file).

A sample would be:
Code: Select allExpand view
Name = Strife: Quest For The Sigil
ConfigName = Strife
LoadWADs = voices.wad
User avatar
Chris
 
Joined: 17 Jul 2003

Postby randi » Sat Jul 02, 2005 3:49 pm

timmie wrote:I believe it also tests for certain lumps depending on the filename.

When it starts, ZDoom looks for all the files that match the names of all known IWADs. It scans all the ones it finds to determine their contents. The names are just used for locating them on disk; the file scan is how ZDoom determines what game they are.

e.g. You could rename your hexen.wad to doom2.wad and your doom2.wad to hexen.wad, and the game would still know which was which.
User avatar
randi
Site Admin
 
Joined: 10 Jul 2003

Postby Doomguy0505 » Tue Jul 05, 2005 7:22 am

What about one like this
Code: Select allExpand view
AutoLoadName = "I Dunno: WTF"
ConfigName = Dunno.wad
DefaultFileName = Dunno.wad
ByteFileSize = 16777;11269;124271
SpecificLumps = $NULL


EDIT:
The way this works

AutoLoadName is the title for the select (eg. Doom 2: Hell on Earth)
ConfigName is like <insert configname here>-<insert username here>.ini
DefaultByteSize is for the size in bytes
SpecificLumps is for definining anything the scanner should look for
Last edited by Doomguy0505 on Tue Jul 12, 2005 10:18 pm, edited 1 time in total.
User avatar
Doomguy0505
sudo rm -rf /
 
Joined: 29 Mar 2005

Postby HobbsTiger1 » Fri Jul 08, 2005 10:53 pm

You forgot DOOMU.WAD (for those of us who have registered and Ultimate Doom. BTW Bio you need to fix that in ZDL 2.
User avatar
HobbsTiger1
Might be banned
 
Joined: 08 Jan 2005
Location: #DMClub

Postby Bio Hazard » Sat Jul 09, 2005 12:08 am

HobbsTiger1 wrote:Bio you need to fix that in ZDL 2.


Ugh... ZDL has always supported custom IWADS...

ZDL1.5: IWADS.ZDL: filename|lastmap|description\n
ZDL2 BETA1: ZDL.INI: under section "[IWADS]": "iwad=filename|description\n"

Why don't people read the readme or look at the examples?? :(
I'm tired of answering this question...


BTW: If anyone wants ZDL2 to come out any time soon, rate it high on my priority list...
http://www.aki-izumi.com/biohazard/?sub=todo
User avatar
Bio Hazard
Lord of the Lord of Nitpicking.
 
Joined: 16 Aug 2003
Location: ferret ~/C/ZDL $

Postby Graf Zahl » Sat Jul 09, 2005 4:17 am

Bio Hazard wrote:
Why don't people read the readme or look at the examples?? :(
I'm tired of answering this question...




Because far too many (even not so stupid) people think that reading manuals is a waste of time. You won't be able to change this idiotic attitude.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Postby Ajapted » Sat Jul 09, 2005 5:31 am

ScanIWAD is a neat little routine. I was considering using a checksum/MD5 on some well chosen lumps, but it looks like simply checking for certain lumps is sufficient.
Ajapted
 
Joined: 16 Apr 2005
Location: Tasmania

Postby doom2day » Tue Jul 12, 2005 2:30 pm

anonone wrote:Yeah -- if it was named Doom.wad, then it'd work. The names are what's hardcoded.

I love constants ...
User avatar
doom2day
So much to learn, so little attention span!
 
Joined: 27 Jun 2005

Postby Doomguy0505 » Tue Jul 12, 2005 10:20 pm

seeing as the language lump will be in text maybe add it there somewhere

@bio hazard: this isn't a feature suggestion for zdl, it's for zdoom, stop repeating the feature over and over again
User avatar
Doomguy0505
sudo rm -rf /
 
Joined: 29 Mar 2005

Postby Bio Hazard » Wed Jul 13, 2005 1:39 am

Doomguy0505 wrote:@bio hazard: this isn't a feature suggestion for zdl, it's for zdoom, stop repeating the feature over and over again


HobbsTiger1 wrote:You forgot DOOMU.WAD (for those of us who have registered and Ultimate Doom. BTW Bio you need to fix that in ZDL 2.


That looked like a feature request for ZDL to me...
User avatar
Bio Hazard
Lord of the Lord of Nitpicking.
 
Joined: 16 Aug 2003
Location: ferret ~/C/ZDL $

Postby Hobbs » Wed Jul 13, 2005 5:22 pm

How do you ad iwads to ZDL.
Hobbs
In ur forums leekin ur projects.
Banned User
 
Joined: 11 Jul 2005

Postby randi » Fri Jul 15, 2005 2:59 pm

I agree that it might be nifty to add PWAD sets to the startup menu, but the people who would benefit the most from this are unlikely to bother setting it up.

And all the IWADs that ZDoom can support already show up in the list, so there's nothing to add there.
User avatar
randi
Site Admin
 
Joined: 10 Jul 2003

Postby Sphagne » Sat Jul 16, 2005 4:20 am

Can we make new IWads to include our home made resources only, and exclude the original IWads resources that interfere with our resources?

For instance I have made a lot of textures and want to exclude the original textures from Doom2 IWad, How can I do it?

Is there a method to inform ZDoom to ignore the original Flats and Texture Patches and Sprites, or should I make a new IWad? Should I call it Doom2.wad, or can I call it any name?
User avatar
Sphagne
Just me, nothing more
 
Joined: 16 Jul 2003

Postby Graf Zahl » Sat Jul 16, 2005 6:13 am

Why should it ignore resources you don't use? It's not that they interfere with anything.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

Postby Arcane » Sat Jul 16, 2005 7:09 am

randy wrote:And all the IWADs that ZDoom can support already show up in the list, so there's nothing to add there.


I thought ZDoom could run Chex Quest. >_>
User avatar
Arcane
 
Joined: 12 Sep 2004

PreviousNext

Return to Closed Feature Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest