MantisBT - Zandronum
View Issue Details
0004239Zandronum[All Projects] Suggestionpublic2024-04-27 17:512024-04-30 15:47
Dox778 
 
normalminoralways
confirmedbackport later 
PCWindows 10
3.1 
 
0004239: OptionValue blocks in MENUDEF ignore LANGUAGE lump indexes
MENUDEF incorrectly displays LANGUAGE lump indexes when used in OptionValue. It works as intended in GZDoom.
with the provided example wad:
1. pause the game
2. go to the "This works fine on both ports" menu
3. play around with the option, which has values that are not displayed properly on zandronum, yet on gzdoom they work as intended.
No tags attached.
? LANGUAGEexample.pk3 (758) 2024-04-28 13:15
/tracker/file_download.php?file_id=2973&type=bug
Issue History
2024-04-27 17:51Dox778New Issue
2024-04-27 17:55Dox778Note Added: 0023641
2024-04-27 20:56WaTaKiDNote Added: 0023642
2024-04-28 13:15Dox778File Added: LANGUAGEexample.pk3
2024-04-28 13:15Dox778Note Added: 0023643
2024-04-28 13:17Dox778Note Edited: 0023643bug_revision_view_page.php?bugnote_id=23643#r14179
2024-04-28 14:30WaTaKiDSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=14181#r14181
2024-04-28 14:31WaTaKiDNote Added: 0023644
2024-04-30 15:47KaminskyNote Added: 0023651
2024-04-30 15:47KaminskyStatusnew => confirmed
2024-04-30 15:47KaminskyResolutionopen => backport later
2024-04-30 15:47KaminskyCategoryBug => Suggestion

Notes
(0023641)
Dox778   
2024-04-27 17:55   
I forgot to mention - the source port version I'm using is 3.2-alpha 64-bit 240414-1910.
When using the LANGUAGE lump string, it doesn't actually use the proper string and just displays the index (for example - $OPTVAL_ON would just display as $OPTVAL_ON).
(0023642)
WaTaKiD   
2024-04-27 20:56   
please provide a minimal example wad and reproduction steps
(0023643)
Dox778   
2024-04-28 13:15   
(edited on: 2024-04-28 13:17)
Sure thing, I've attached the LANGUAGEexample.pk3 file to the report. It's a very barebones menu showcasing where zandro manages to use the language lump strings properly, and where it fails.
REPRODUCTION STEPS:
1. pause the game
2. go to the "This works fine on both ports" menu
3. play around with the option, which has values that are not displayed properly on zandronum, yet on gzdoom they work as intended.

(0023644)
WaTaKiD   
2024-04-28 14:31   
updated the ticket with said info, thank you
(0023651)
Kaminsky   
2024-04-30 15:47   
For the record, these are the GZDoom commits that added LANGUAGE support for StaticTextSwitchable and OptionValue respectively:

-'https://github.com/ZDoom/gzdoom/commit/cd4076dc1bba6779038a8a2eabdf63ba95af0476 [^]'
-'https://github.com/ZDoom/gzdoom/commit/efaaccc0306de2362a29c3b68db3f8f5b0c92cfc [^]'

Zandronum has neither of these commits yet since these got added after GZDoom 1.8.6, but will when we upgrade our GZDoom base. I'm also switching this ticket to a suggestion, since this is really a request for a backported feature.