[0.6.0-16-g270461b174] SW: Expansions ask shareware or full

Moderator: Raze 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.
Post Reply
User avatar
mjr4077au
Posts: 829
Joined: Sun Jun 16, 2019 9:17 pm
Graphics Processor: nVidia with Vulkan support
Location: Gosford NSW, Australia
Contact:

[0.6.0-16-g270461b174] SW: Expansions ask shareware or full

Post by mjr4077au »

This is from Wanton Destruction and was good for the 6.0.0 release. Came about with some of the initial backend uplift efforts.

Last edited by mjr4077au on Mon May 25, 2020 4:41 am, edited 1 time in total.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49067
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [0.6.0-320-g804a2964a] SW: Expansions ask shareware or f

Post by Graf Zahl »

Yeah, it seems you undid my changes to the logic somehow.
User avatar
mjr4077au
Posts: 829
Joined: Sun Jun 16, 2019 9:17 pm
Graphics Processor: nVidia with Vulkan support
Location: Gosford NSW, Australia
Contact:

Re: [0.6.0-320-g804a2964a] SW: Expansions ask shareware or f

Post by mjr4077au »

How might I have done that?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49067
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [0.6.0-320-g804a2964a] SW: Expansions ask shareware or f

Post by Graf Zahl »

Originally SW never had the option to disable the shareware episode, it was a feature I added myself, so you must have gotten a merge conflict and overrode my code with VoidSW's.
User avatar
mjr4077au
Posts: 829
Joined: Sun Jun 16, 2019 9:17 pm
Graphics Processor: nVidia with Vulkan support
Location: Gosford NSW, Australia
Contact:

Re: [0.6.0-320-g804a2964a] SW: Expansions ask shareware or f

Post by mjr4077au »

I plead innocence! It can be found back as far as the 12th of April in 156a225ff4c5392261aae8e8ea661ab92de4b842, which is the 'initial backend uplift' I speak of.
User avatar
mjr4077au
Posts: 829
Joined: Sun Jun 16, 2019 9:17 pm
Graphics Processor: nVidia with Vulkan support
Location: Gosford NSW, Australia
Contact:

Re: [0.6.0-320-g804a2964a] SW: Expansions ask shareware or f

Post by mjr4077au »

The issue occured in either ac32194 or 5584c72. I couldn't build at the former commit without having the latter commit included.

I can only hypothesise, perhaps something to do with the way the hiding of the episodes list for the expansions was done isn't compatible with some of the newer backend code? Hopefully the issue is something obvious but I can't see where this might have gone wrong.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49067
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [0.6.0-16-g270461b174] SW: Expansions ask shareware or f

Post by Graf Zahl »

Hard to say, both commits look harmless regarding the episode menu.
User avatar
mjr4077au
Posts: 829
Joined: Sun Jun 16, 2019 9:17 pm
Graphics Processor: nVidia with Vulkan support
Location: Gosford NSW, Australia
Contact:

Re: [0.6.0-16-g270461b174] SW: Expansions ask shareware or f

Post by mjr4077au »

My thoughts exactly. Not sure why but building at the commit before ac32194 has the menu in SW working as expected. I'm sorry that I'm not able to determine further as to what happened.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49067
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [0.6.0-16-g270461b174] SW: Expansions ask shareware or f

Post by Graf Zahl »

Good that I looked at this before the GZDoom release, the bug was in both engines.
What happened was that the full file filter was never applied if it contained a '.' separator - in this case it completely missed the add-on's level definition file as a result. In Raze these files for the SW add-ons were the only potential victims but for GZDoom mods it would have been a lot worse.
Last edited by Graf Zahl on Sun Jun 07, 2020 3:58 am, edited 1 time in total.
User avatar
mjr4077au
Posts: 829
Joined: Sun Jun 16, 2019 9:17 pm
Graphics Processor: nVidia with Vulkan support
Location: Gosford NSW, Australia
Contact:

Re: [0.6.0-16-g270461b174] SW: Expansions ask shareware or f

Post by mjr4077au »

Graf Zahl wrote:Good that I looked at this before the GZDoom release, the bug was in both engines.
And here you were blaming poor ol' me! ;). Nice that it's been found :cheers:
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49067
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [0.6.0-16-g270461b174] SW: Expansions ask shareware or f

Post by Graf Zahl »

Yeah, sorry, it looks this was an old bug that just got copied over from GZDoom.
User avatar
mjr4077au
Posts: 829
Joined: Sun Jun 16, 2019 9:17 pm
Graphics Processor: nVidia with Vulkan support
Location: Gosford NSW, Australia
Contact:

Re: [0.6.0-16-g270461b174] SW: Expansions ask shareware or f

Post by mjr4077au »

All good, I'm a big boy :). Tested on this end and confirmed working.
Post Reply

Return to “Closed Bugs [Raze]”