[c1bb7de23] BFG IWADs don't load if 1.9 IWAD is in $PROGDIR
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.
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.
- mjr4077au
- Posts: 830
- Joined: Sun Jun 16, 2019 9:17 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Gosford NSW, Australia
- Contact:
[c1bb7de23] BFG IWADs don't load if 1.9 IWAD is in $PROGDIR
Sorry for the gumby title, the length limits in the subject are really annoying.
As compiled with MSVC 19.5, if I place a v1.9 doom.wad IWAD into the directory, but load the BFG doom.wad IWAD that's found from Steam, it won't load properly and errors when going to E1M1. The BFG IWAD works fine without the v1.9 IWAD being there, and the v1.9 IWAD works at all times.
EDIT: This also occurs under the same circumstances for the doom2.wad IWADs.
As compiled with MSVC 19.5, if I place a v1.9 doom.wad IWAD into the directory, but load the BFG doom.wad IWAD that's found from Steam, it won't load properly and errors when going to E1M1. The BFG IWAD works fine without the v1.9 IWAD being there, and the v1.9 IWAD works at all times.
EDIT: This also occurs under the same circumstances for the doom2.wad IWADs.
Last edited by mjr4077au on Mon Jun 08, 2020 3:00 am, edited 1 time in total.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49225
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [texture_rework] Load issues with BFG IWAD if 1.9 IWAD t
How am I supposed to reproduce this? Using the BFG IWAD in my IWAD search path does not cause this type of glitch.
- mjr4077au
- Posts: 830
- Joined: Sun Jun 16, 2019 9:17 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Gosford NSW, Australia
- Contact:
Re: [texture_rework] Load issues with BFG IWAD if 1.9 IWAD t
My situation here was the BFG IWAD was being found from Steam, but I had a 1.9 IWAD in my game directory. Having the 1.9 IWAD in my game directory caused the above to occur when trying to play the BFG IWAD.
The 1.9 IWAD played fine, and the BFG IWAD did as well when I removed the 1.9 IWAD from the game directory. Just having the BFG IWAD there won't cause the bug, it loads fine without the 1.9 IWAD.
The 1.9 IWAD played fine, and the BFG IWAD did as well when I removed the 1.9 IWAD from the game directory. Just having the BFG IWAD there won't cause the bug, it loads fine without the 1.9 IWAD.
Re: [texture_rework] Load issues with BFG IWAD if 1.9 IWAD t
Please post a complete log. Lines after "W_Init: Init WADfiles." should help to figure out what's going on.
Re: [texture_rework] Load issues with BFG IWAD if 1.9 IWAD t
Unfortunately the limit is set by phpBB, there's nothing I can do to change that.mjr4077au wrote:Sorry for the gumby title, the length limits in the subject are really annoying.
Also, loading my copy of the BFG IWADs work fine. You should check your IWADs with one of these IWAD tools:
https://github.com/chungy/iwadverifier
https://github.com/Doom-Utils/iwad-patches
- mjr4077au
- Posts: 830
- Joined: Sun Jun 16, 2019 9:17 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Gosford NSW, Australia
- Contact:
Re: [texture_rework] Load issues with BFG IWAD if 1.9 IWAD t
I'm not at home to test until tomorrow but I have a strong feeling this commit would have fixed it: https://github.com/coelckers/gzdoom/com ... 207b0b9122
The WADs aren't corrupt, the BFG WADs play fine from my search path without the presence of 1.9 WADs in my GZDoom directory. You must test by having both 1.9 and BFG IWADs in your search path, not just one or the other.
The WADs aren't corrupt, the BFG WADs play fine from my search path without the presence of 1.9 WADs in my GZDoom directory. You must test by having both 1.9 and BFG IWADs in your search path, not just one or the other.
- mjr4077au
- Posts: 830
- Joined: Sun Jun 16, 2019 9:17 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Gosford NSW, Australia
- Contact:
Re: [texture_rework] Load issues with BFG IWAD if 1.9 IWAD t
This is definitely still an issue for me. I think I'm just going to have to go through the commits myself and find where it goes wrong for me as it's too obscure of an issue.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49225
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [texture_rework] Load issues with BFG IWAD if 1.9 IWAD t
Can't you just debug and check what goes wrong here?
Or as a first step post the entire startup log?
Or as a first step post the entire startup log?
- mjr4077au
- Posts: 830
- Joined: Sun Jun 16, 2019 9:17 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Gosford NSW, Australia
- Contact:
Re: [texture_rework] Load issues with BFG IWAD if 1.9 IWAD t
Full log attached. This is opening up a doom.wad BFG Edition as found from my Steam directly, while containing a doom.wad 1.9 Edition in GZDoom's running directory. Log doesn't say too much.
Regarding debugging, because it's not fatally crashing how would I get a breakpoint to know where it's crashing?
EDIT: Just be 100% clear, it does this on a fresh config without any upscale packs etc. I can get a new log if you like?
Regarding debugging, because it's not fatally crashing how would I get a breakpoint to know where it's crashing?
EDIT: Just be 100% clear, it does this on a fresh config without any upscale packs etc. I can get a new log if you like?
- Attachments
-
- log.txt
- (16.73 KiB) Downloaded 16 times
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49225
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [texture_rework] Load issues with BFG IWAD if 1.9 IWAD t
To me this looks like it opens the correct WAD directory but reads the content from a different file. No idea how this can happen, this is the same file handle that gets used here.
- mjr4077au
- Posts: 830
- Joined: Sun Jun 16, 2019 9:17 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Gosford NSW, Australia
- Contact:
Re: [texture_rework] Load issues with BFG IWAD if 1.9 IWAD t
Yeah that makes 100% sense. I was hoping that the patch you did to fix the SW menus might have helped here, thinking maybe there was some kind of 'doom.bfgedition' magic in the pk3 file that was getting skipped but alas not.
I'm going to keep going through the commits to try and isolate the one where the problem originates as that's about all I can do within my abilities.
I'm going to keep going through the commits to try and isolate the one where the problem originates as that's about all I can do within my abilities.
- mjr4077au
- Posts: 830
- Joined: Sun Jun 16, 2019 9:17 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Gosford NSW, Australia
- Contact:
Re: [texture_rework] Load issues with BFG IWAD if 1.9 IWAD t
c1bb7de23a is the straw that breaks the camel's back. Works fine at the commit beforehand.
Oh, and @Rachael if you happen to catch this, I wasn't pointing fingers at anyone regarding subject length limitations, more just having a rant. Understand that it's a product limitation
Oh, and @Rachael if you happen to catch this, I wasn't pointing fingers at anyone regarding subject length limitations, more just having a rant. Understand that it's a product limitation

- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49225
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [c1bb7de23] BFG IWADs don't load if 1.9 IWAD is in $PROG
Ugh, that one was a huge commit that not only shuffled some code around but also renamed a few things globally.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49225
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: [c1bb7de23] BFG IWADs don't load if 1.9 IWAD is in $PROG
Ok, I can reproduce it when having two doom.wad files in the selector, at least some progress.
- mjr4077au
- Posts: 830
- Joined: Sun Jun 16, 2019 9:17 pm
- Graphics Processor: nVidia with Vulkan support
- Location: Gosford NSW, Australia
- Contact:
Re: [c1bb7de23] BFG IWADs don't load if 1.9 IWAD is in $PROG
Yeah I saw the size of that monster and thought "shit he's going to hate this...". I wouldn't be surprised if it's a one-liner fix or something silly.
Glad it's been reproducable at least, I was starting to think that others might have thought I was on crack or something
.
Glad it's been reproducable at least, I was starting to think that others might have thought I was on crack or something
