[r2819/r974] KEYCONF & LANGUAGE bugs

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
The Ultimate DooMer
Posts: 2109
Joined: Tue Jul 15, 2003 5:29 pm
Location: Industrial Zone

[r2819/r974] KEYCONF & LANGUAGE bugs

Post by The Ultimate DooMer »

When trying this version (or presumably any with the new menu code) my custom keybinds got wiped. Looking at the controls menu, I saw that only the first keysection was being displayed, the menu keys from the other sections were all lumped into this one and had lost all keybinds. Looking in the .ini also confirmed that replacing any of the lost keybinds (ie. the ones from the other keysections) were added to the first one instead.
Spoiler: KEYCONF
Spoiler: Broken Menu
Spoiler: INI after adding some lost binds
Edit: It also ignores the playerclasses lines and the corresponding lines in my LANGUAGE lump too...they come up as fighter, cleric and mage instead of the names I defined. (oddly enough it didn't change the entry for "random", "choose class" or any others)
Spoiler: LANGUAGE
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49223
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [r2819/r974] KEYCONF & LANGUAGE bugs

Post by Graf Zahl »

Can you slap together a small WAD only containing the relevant data so that I can run some tests?
User avatar
The Ultimate DooMer
Posts: 2109
Joined: Tue Jul 15, 2003 5:29 pm
Location: Industrial Zone

Re: [r2819/r974] KEYCONF & LANGUAGE bugs

Post by The Ultimate DooMer »

menutest.zip
(2.5 KiB) Downloaded 77 times
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49223
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [r2819/r974] KEYCONF & LANGUAGE bugs

Post by Graf Zahl »

fixed. I'm more confused why the compiler did not complain about such a blatant error in the code.
User avatar
The Ultimate DooMer
Posts: 2109
Joined: Tue Jul 15, 2003 5:29 pm
Location: Industrial Zone

Re: [r2819/r974] KEYCONF & LANGUAGE bugs

Post by The Ultimate DooMer »

It's still ignoring my LANGUAGE lump for player class strings, that's only a minor bug though.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49223
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [r2819/r974] KEYCONF & LANGUAGE bugs

Post by Graf Zahl »

The reason for that is that the language string is no longer used. I merged Hexen's special playerclass menu with the generic one but that uses the players' displaynames.

However, and here lies the problem, Grubber used the 'display'names for purposes other than just displaying them so I have 2 choices now: Either risk breaking a handful of mods or leave it as it is which means that player class displaynames cannot be stringtable references.
User avatar
The Ultimate DooMer
Posts: 2109
Joined: Tue Jul 15, 2003 5:29 pm
Location: Industrial Zone

Re: [r2819/r974] KEYCONF & LANGUAGE bugs

Post by The Ultimate DooMer »

No problem, I added a Player.DisplayName to each class and it's fine now. A couple of other minor things: I've just noticed it's ignoring my M_CWALK1-4 replacements (the animated player display inside the box), and the box disappears altogether when the mouse cursor is not on any of the class names.

(the wiki for the new menu stuff isn't complete yet so I don't know what's meant to work now or how to recreate the menu with the new code)
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49223
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [r2819/r974] KEYCONF & LANGUAGE bugs

Post by Graf Zahl »

The Ultimate DooMer wrote:I've just noticed it's ignoring my M_CWALK1-4 replacements (the animated player display inside the box), and the box disappears altogether when the mouse cursor is not on any of the class names.
Do your player classes inherit from the original Hexen players? If not, you may have to copy the 'player.portrait' property which is now being used for these animations.

The second part is normal. If no player is selected, none can be shown, right?
User avatar
The Ultimate DooMer
Posts: 2109
Joined: Tue Jul 15, 2003 5:29 pm
Location: Industrial Zone

Re: [r2819/r974] KEYCONF & LANGUAGE bugs

Post by The Ultimate DooMer »

They inherit and replace Fighter/Cleric/MagePlayer. I tried adding the portrait property and I got the plain green box instead of the Hexen one, with the portrait also animating faster. Trying the box instead just gave me the box with no portrait inside.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49223
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [r2819/r974] KEYCONF & LANGUAGE bugs

Post by Graf Zahl »

Hm, that's odd. When I load your test WAD and add the new display names to the redefinitions I get the portraits in the menu as before.
User avatar
The Ultimate DooMer
Posts: 2109
Joined: Tue Jul 15, 2003 5:29 pm
Location: Industrial Zone

Re: [r2819/r974] KEYCONF & LANGUAGE bugs

Post by The Ultimate DooMer »

That one had no replacement graphics, here's a new one.

(I've added the portrait boxes too, as they're not being overridden by my replacements either)
Attachments
menutest2.zip
(24.35 KiB) Downloaded 66 times
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49223
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [r2819/r974] KEYCONF & LANGUAGE bugs

Post by Graf Zahl »

No problems with that. I get your replaced animation for the Cleric. It's all as it should be.
User avatar
The Ultimate DooMer
Posts: 2109
Joined: Tue Jul 15, 2003 5:29 pm
Location: Industrial Zone

Re: [r2819/r974] KEYCONF & LANGUAGE bugs

Post by The Ultimate DooMer »

I have it now - in my project, the graphics are in a subfolder inside the pk3...copying them to the root folder (as in the test wad) made them work as normal.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49223
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [r2819/r974] KEYCONF & LANGUAGE bugs

Post by Graf Zahl »

They should be in the Graphics/ folder.
User avatar
The Ultimate DooMer
Posts: 2109
Joined: Tue Jul 15, 2003 5:29 pm
Location: Industrial Zone

Re: [r2819/r974] KEYCONF & LANGUAGE bugs

Post by The Ultimate DooMer »

That's the subfolder they were in.
Post Reply

Return to “Closed Bugs [GZDoom]”