-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Win32 UI frontend: Localized multi-line strings aren't displayed correctly (was: Line feeds not working in descriptions for GameCube titles with BNR2 banner) #416
Comments
I'm not seeing the issue on Linux. (Currently building the Windows version on a VM to check if it's a Windows-only problem.) Both the rpcli and KDE GUI views look correct here. rpcli text:
rpcli json (only the relevant section): {
"type": "STRING_MULTI",
"desc": {
"name": "Description",
"format": 0
},
"data": {
"de": "Eine friedliche Insel wird plötzlich von einer\nKatastrophe heimgesucht...",
"en": "Tragedy strikes a peaceful island,\nand the Legend of Zelda begins anew!",
"es": "Una pacífica isla es sacudida por la tragedia\ny la Leyenda de Zelda comienza de nuevo.",
"fr": "Soudain, sur une île paisible, la tragédie s'abat\net ranime une fois encore la Légende de Zelda!",
"it": "Una sventura turba la pace dell'isola Primula.\nCosì ricomincia la leggenda di Zelda."
}
} |
Reproduced it on the Windows GUI, and I'm pretty sure that's just a general limitation of the Win32 UI frontend not being able to show multiple lines at the moment. Will take a look at setting ES_MULTILINE and resizing the control to fit multiple lines. |
...and now I just verified that it does in fact work with BNR1, but not BNR2. It's an issue with the RFT_STRING_MULTI (localized string) functionality specifically. |
New build will be available here: https://ci.appveyor.com/project/GerbilSoft/rom-properties/builds/49844116 Please test once it's available (or compile it yourself) and let me know if this fixes the problem on your side. |
Displays fine with multiple lines with the test build above! |
Tested with: Wind Waker (EU) (98f0a19d9a3b2ca3352621c77f47a547c97a27f1)
BNR format: BNR2
Description sample:
Raw data from bnr:
Note that it contains a LF (0A) in the text on the third line. It works fine for a BNR1 / US banner.
The text was updated successfully, but these errors were encountered: