BFG/Unity/Xbox Doom II episode names don't translate

Is there something that doesn't work right in the latest GZDoom? Post about it here.

Moderator: GZDoom Developers

Forum rules
Please construct and post a simple demo whenever possible for all bug reports. Please provide links to everything.

If you can include a wad demonstrating the problem, please do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.

Please make a new topic for every bug. Don't combine multiple bugs into a single topic. Thanks!

BFG/Unity/Xbox Doom II episode names don't translate

Postby Yarn366 » Tue Mar 02, 2021 11:22 pm

(I originally reported this bug together with a few others in a different thread. To comply with the guideline of reporting each bug in its own thread, I decided to report those bugs again in their own threads and delete the original one.)

If any version of NERVE.WAD is loaded alongside the BFG, Unity, or Xbox version of Doom II, then the episode names ("Hell on Earth" and "No Rest for the Living") aren't translated if GZDoom's language is not set to English. This is because, for these versions, the names specified for the episodes are simply the English names rather than pointers to entries in language.csv.

For example, the "Hell on Earth" episode definition for the BFG Edition looks like this:
Code: Select allExpand view
episode map01
{
   name = "Hell On Earth"
   picname = "M_EPI1"
   key = "h"
}


The "name" field there is simply "Hell On Earth" rather than "$TXT_D2E1", so it doesn't get translated.

The exception to this is that the "Hell on Earth" episode definition for the Unity version uses the proper pointer for the name, but the "No Rest for the Living" definition does not. Also, the episode definitions for the DOS version use pointers for both episodes.

I have verified this with both GZDoom 4.5.0 and the March 2, 2021 development build (gzdoom-x64-g4.6pre-133-g996b4f9f5).
Yarn366
 
Joined: 02 Mar 2018

Return to Bugs

Who is online

Users browsing this forum: No registered users and 0 guests