Map compatibility fixes

Moderator: Raze Developers

User avatar
NightFright
Spotlight Team
Posts: 1375
Joined: Fri May 02, 2008 12:29 pm
Location: Germany

Map compatibility fixes

Post by NightFright »

In "Duke It Out in D.C.", the seventh level "Brown Water" (DUKEDC7) has the yellow keycard (sprite #333) partially stuck in the floor, making it harder to see.



This is not a problem with Raze or the renderer, but an oversight of the map author. It should probably be addressed with a maphack.
Last edited by NightFright on Thu May 13, 2021 12:45 pm, edited 2 times in total.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49183
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [1.1.0] Yellow keycard in DUKEDC7

Post by Graf Zahl »

Agreed. The perfect use case of a compatibility patch.
axl
Posts: 4
Joined: Wed Feb 05, 2020 1:39 pm

Re: [1.1.0] Yellow keycard in DUKEDC7

Post by axl »

Ah should we post these bugs as well? As there are more of these - for example E3M2 of Blood :
You do not have the required permissions to view the files attached to this post.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49183
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [1.1.0] Yellow keycard in DUKEDC7

Post by Graf Zahl »

Let's collect them for now. Currently the compatibility feature is still a bit rough, this will be taken care of when it gets rewritten.
But please, without any hint where in the map this is I won't be able to do anything about it. To patch this I need to find out the sprite number - easy enough for the keycard but with the second screenshot - no chance.
User avatar
sinisterseed
Posts: 1349
Joined: Tue Nov 05, 2019 6:48 am
Preferred Pronouns: He/Him
Graphics Processor: nVidia with Vulkan support

Re: [1.1.0] Yellow keycard in DUKEDC7

Post by sinisterseed »

Graf Zahl wrote:Let's collect them for now. Currently the compatibility feature is still a bit rough, this will be taken care of when it gets rewritten.
But please, without any hint where in the map this is I won't be able to do anything about it. To patch this I need to find out the sprite number - easy enough for the keycard but with the second screenshot - no chance.
In axl's screenshot of E3M2, it's right here.

It gloriously rotates half-buried into the ground in Software :laff:

https://i.postimg.cc/Rv5JK4xD/Blood-0000.png
User avatar
Dynamo
Posts: 1041
Joined: Sat Jun 07, 2008 5:58 am
Location: Industrial District

Re: [1.1.0] Yellow keycard in DUKEDC7

Post by Dynamo »

What Graf is saying is, post the exact sprite number or don't bother.
markanini
Posts: 210
Joined: Sat Jan 18, 2020 6:10 am

Re: [1.1.0] Yellow keycard in DUKEDC7

Post by markanini »

Maybe the spider room in Blood E3M3: Raw Sewage. Those are enemies though.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49183
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [1.1.0] Yellow keycard in DUKEDC7

Post by Graf Zahl »

Dynamo wrote:What Graf is saying is, post the exact sprite number or don't bother.

Or some map coordinates. At least something that helps find the sprite in an editor.
User avatar
sinisterseed
Posts: 1349
Joined: Tue Nov 05, 2019 6:48 am
Preferred Pronouns: He/Him
Graphics Processor: nVidia with Vulkan support

Re: [1.1.0] Yellow keycard in DUKEDC7

Post by sinisterseed »

Graf Zahl wrote:
Dynamo wrote:What Graf is saying is, post the exact sprite number or don't bother.

Or some map coordinates. At least something that helps find the sprite in an editor.
Which is what I provided, yes.
User avatar
NightFright
Spotlight Team
Posts: 1375
Joined: Fri May 02, 2008 12:29 pm
Location: Germany

Re: Requests for maphacks

Post by NightFright »

I have renamed the thread for general purposes.
User avatar
Rachael
Posts: 13793
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her

Re: Map compatibility fixes

Post by Rachael »

Might as well sticky it, since its GZDoom counterpart is, as well.
User avatar
Phredreeke
Posts: 309
Joined: Tue Apr 10, 2018 8:14 am

Re: Map compatibility fixes

Post by Phredreeke »

Maybe there should be a list on the wiki for maphacks that already exist?

One I checked today, which is implemented in BuildGDX already, is in Twin Dragon's Warehouse. The secret near the start of the level is not accessible at lower difficulties due to a mine necessary to blow up a wall being tagged as only appearing on higher difficulties.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49183
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Map compatibility fixes

Post by Graf Zahl »

I think that one is dealt with in the map loading code. I puiled in some of these fixes from SWP.

Code: Select all

        // spawn Bouncing Betty (mine) in TD map 09 Warehouse 
        if (sp->picnum == 817 && (currentLevel->flags & LEVEL_SW_SPAWNMINES))
            return true;

That check should probably be fully externalized, though, once we have a proper level compatibility patcher like GZDoom.
User avatar
sinisterseed
Posts: 1349
Joined: Tue Nov 05, 2019 6:48 am
Preferred Pronouns: He/Him
Graphics Processor: nVidia with Vulkan support

Re: Map compatibility fixes

Post by sinisterseed »

Graf Zahl wrote:I think that one is dealt with in the map loading code. I puiled in some of these fixes from SWP.

Code: Select all

        // spawn Bouncing Betty (mine) in TD map 09 Warehouse 
        if (sp->picnum == 817 && (currentLevel->flags & LEVEL_SW_SPAWNMINES))
            return true;
That check should probably be fully externalized, though, once we have a proper level compatibility patcher like GZDoom.
Wasn't this the fix you commented out originally, though?

I know one was commented because it didn't work as it was.
markanini
Posts: 210
Joined: Sat Jan 18, 2020 6:10 am

Re: Map compatibility fixes

Post by markanini »

Phredreeke wrote:Maybe there should be a list on the wiki for maphacks that already exist?

One I checked today, which is implemented in BuildGDX already, is in Twin Dragon's Warehouse. The secret near the start of the level is not accessible at lower difficulties due to a mine necessary to blow up a wall being tagged as only appearing on higher difficulties.
There's also the missing anime babe in Twin dragon level 1 at lower difficulties.

Return to “Bugs [Raze]”