xan1242 / NFS-XtendedInput

NFS (Black Box, MW & newer) - XInput Plugin
MIT License
100 stars 7 forks source link

Multi-lingual splash text #52

Open xan1242 opened 1 year ago

xan1242 commented 1 year ago

If possible, it'd be a nice little touch to localize the splash text blurb ("Press START button" string).

They do exist already within language files, but it'd be easier to just include them all in the INI file or something similar...

AeroWidescreen commented 1 year ago

You might be already aware of this, but these console strings can be used on PC by changing a hash. The game itself should then automatically adjust the text based on the language selected. Widescreen Fix does this for the ImproveGamepadSupport feature.

https://github.com/ThirteenAG/WidescreenFixesPack/issues/542

An example for Carbon:

Carbon 8E7ACDFE = CLICK to continue (PC) 186AAECC = Press START to begin (Xbox) 703A92CC = Press START button (PS)

008577AB push XXXXXXXX // start text hash

xan1242 commented 1 year ago

The reason why I decided for an override is specifically because of lack of strings in the ingame language file. It doesn't contain strings for Xbox One, PS4/5, Nintendo, etc.

That's why the strings will have to be put somewhere else.

My swapping code specifically addresses that part of code anyway and I've even used WS fix as a reference point.