[Not a ZDoom bug] crashing for no apparent reason

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
User avatar
cccp_leha
Posts: 1816
Joined: Wed Jul 16, 2003 7:21 am
Location: NJ, USA

crashing for no apparent reason

Post by cccp_leha »

Ok, here's what I did:
  1. made 3 WAD's in WA (k1, k2, k3 ->map 1, 2, 3; 2 sectors, 1 player start)
  2. combined in Wintex
  3. zwadconv'erted into l.wad
  4. stuck a mapinfo in (word for word off the forum)
  5. file -> save WAD
  6. double click in explorer
  7. new game
and then ZDoom crashes. I know there's that stupid little mistake, but what is it?
Cyb
Posts: 912
Joined: Tue Jul 15, 2003 5:12 pm

Post by Cyb »

if you used wintex to insert the mapinfo check where it inserted it. sometimes wintex does something dumb like sticking the mapinfo lump before the first behavior lump it sees (if you're running wintex in doom mode) which severly messes with stuff. otherwise it may be a bad syntax in your mapinfo or map errors possibly are there any messages when zdoom crashes?
User avatar
cccp_leha
Posts: 1816
Joined: Wed Jul 16, 2003 7:21 am
Location: NJ, USA

Post by cccp_leha »

Well, it seems to be the first one, cuz it did stick the mapinfo right at the top. Thanks, lemme try that.
boris
Posts: 753
Joined: Tue Jul 15, 2003 3:37 pm

Re: crashing for no apparent reason

Post by boris »

cccp_leha wrote:Ok, here's what I did:
  1. made 3 WAD's in WA (k1, k2, k3 ->map 1, 2, 3; 2 sectors, 1 player
  2. zwadconv'erted into l.wad
Why don't you make them as ZDoom maps right from the beginning?
User avatar
Biff
Posts: 1061
Joined: Wed Jul 16, 2003 5:29 pm
Location: Monrovia, CA, USA

Post by Biff »

There's a number of things which can go wrong in the steps you list, especially with Wintex. Sometimes you have to backtrack to find out what is crashing zdoom. For example, if you delete the mapinfo lump, will the wad then play? Did it play before you ran zwadconv?

I've seen Wintex botch up a wad like Cyb says, when adding a data lump like mapinfo. It seems to work best to load your wad, hit the "data" button, go to Edit, load entry from file, type the name COLORMAP, click OK, click show all files, browse and select your mapinfo. It will be loaded into the wad by the name colormap. Then, select the colormap, go to Guru only, rename entry, name it mapinfo. If you start in Guru only, new entry, that's how I made it put a mapinfo in the wrong place and then zdoom couldn't find the scripts or behavior.

If you can't sort it out, email the wad to one of us and we should be able to find the problem. I'm at mjblakely@earthlink.net.
User avatar
cccp_leha
Posts: 1816
Joined: Wed Jul 16, 2003 7:21 am
Location: NJ, USA

Post by cccp_leha »

boris - AFAIK, they have to be made as regular Doom maps because Wintex does not merge them correctly (or at all) if they are in Hexen format

Biff - that's exactly how I got the mapinfo in there, with the "fake" colormap.

There's a possibility that Wintex screwed it up, because when I went to open the WAD in WAuthor, that crashed on me as well. I don't know though, because I repeated the process and got no crashes so far, might be a random bug or something...then again, probably just a fuck up on my behalf.
User avatar
HotWax
Posts: 10002
Joined: Fri Jul 18, 2003 6:18 pm
Location: Idaho Falls, ID

Post by HotWax »

Biff wrote:...load your wad, hit the "data" button, go to Edit, load entry from file, type the name COLORMAP, click OK, click show all files, browse and select your mapinfo. It will be loaded into the wad by the name colormap. Then, select the colormap, go to Guru only, rename entry, name it mapinfo.
Yuck. Why do people put up with that BS when there are far easier methods??

DeuTex: Name your file mapinfo.lmp. Place it in the \lumps folder. Edit the wadinfo.txt file and add "MAPINFO" under the [LUMPS] header (add one if one doesn't exist). Build along with the rest of the WAD using deutex -create.

XWE: Open your WAD. Select Entry->Load. Browse to your mapinfo.txt file. Double click. Done.

I'm sure that DeepSea's method is equally easy, I just don't use it so can't give specific directions.
Guest

Post by Guest »

actually both deutex and wintex handle hexen format maps horribly when merging them. both totally disregard the behavior (and scripts, which are less important) lumps and overwrite them with the most recent one, so if you merge six maps you have six maps with one behavior lump and none of the maps work right. I use a small util called wadcat (comes with waded, it's a slow dos prog tho, I ought to write my own that's not native dos one day or something) to merge maps, and then xwe to merge gfx/sound wad with the maps, works like a charm. wintex is really awful, I wish I hadn't gotten used to it, I'm trying to start to use xwe more...
Cyb
Posts: 912
Joined: Tue Jul 15, 2003 5:12 pm

Post by Cyb »

sorry that above post is me, I'm at work and I forgot to log in heh
User avatar
Kate
... in rememberance ...
Posts: 2975
Joined: Tue Jul 15, 2003 8:06 pm

Post by Kate »

Actually If you use Wintex to add mapinfo or other map-related lumps(although why is anyone's guess), try setting it to Hexen mode, so the behaviour and script lumps get treated as part of the map.

To insert lumps into a wad with DeePsea, click on the Lump Menu button(it has a picture of a rock), then click "Merge-import multiple files into a pwad - Import music, graphics, and anything else" to get a dialog. Click "Open target file" and select the pwad, then click "Add lump files" and select the files you are importing. Then click "Save All Files". It will then copy everything over to the pwad.
User avatar
HotWax
Posts: 10002
Joined: Fri Jul 18, 2003 6:18 pm
Location: Idaho Falls, ID

Post by HotWax »

Hey, I didn't say DeuTex handled Behavior well, I said it handled lumps well. ^_^

Return to “Closed Bugs [GZDoom]”