-
Notifications
You must be signed in to change notification settings - Fork 5
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
Mission briefing missing text / incorrect formatting #84
Comments
Edit: Read the next post, this one is most likely irrelevant. Testing suggests that this issue is caused by
To
will 'fix' the briefing title. Obviously more of a bandaid than a solution. Also briefing body/text formatting is still unsolved. |
Further testing suggests that the issue isn't inside Instead it seems like the issue stems from My branch for reference: cyanea-bt@c8df4ea |
Alright, I figured it out.
e.g. the title area's
The German word for "mission briefing" also has a width of exactly 201. Another example, the main text area/body's
The third line's width is exactly 390. As such the word that hits the limit (the last word - "erster") gets shifted to the next line, which is wrong when compared to the reference and also messes up the line split of the next line. Changing the condition to only split on greater than
|
This may be related to OpenLRR being built on the (second of three) original English EXE(s), so it currently doesn't include proper support for any possible modifications in different language releases (I assume the German version has this modification built in). Adding these is planned from what I remember, though this project has been on hiatus for a long time. |
The executables for German/French/English (the versions I've tested) don't differ. I am positive that this issue was in fact just a small oversight in OpenLRR's codebase. If you take a look at my linked PR, you'll see that it was a pretty simple fix. If you want to see for yourself, you can look at |
Describe the issue
Edit: Leaving this post as is but take note that the issue was solved in the meantime and it is NOT related to localizations.
Found a bug that (I assume) only happens in some localized versions. Can only verify German (bugged) and French (not bugged). Upon starting any mission, the mission briefing header/title is missing text. The briefing body/text is also formatted differently when compared to the original executable.
Mission end screens/titles seem to work fine though.
Expected behaviour
No text should be missing. Formatting should (probably?) match reference from original executable.
Steps to reproduce
Always happens, no special setup needed. Game version is DRM-free re-release.
If you need logs to figure out the cause, just let me know how to produce them.
Additional information
German version (bugged):
original:
v0.0.0.7-hotfix1:
latest commit(2f6743c):
Mission end screen (mission 1):
original:
openlrr:
French version (no bugs):
original:
v0.0.0.7-hotfix1:
latest commit(2f6743c):
The text was updated successfully, but these errors were encountered: