Skip to content
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

Some languages don't display properly - Call of Pripyat #865

Closed
gibroule opened this issue Aug 2, 2021 · 17 comments
Closed

Some languages don't display properly - Call of Pripyat #865

gibroule opened this issue Aug 2, 2021 · 17 comments
Assignees
Labels
Bug The issue in the run-time. Help wanted Player Experience

Comments

@gibroule
Copy link

gibroule commented Aug 2, 2021

Describe the bug
When using french, german, spanish or italian, some texts don't display properly and white rectangles appear instead. But when I select one of these language and put the xrussian.db file in the localization folder, the text displays correctly with some special characters (such as accents) replaced by russian characters.

Screenshots
Title screen and intro work fine
Screenshot_20210802_193231

Screenshot_20210802_193638

But the rest is broken
Screenshot_20210802_185753

Screenshot_20210802_193354

Screenshot_20210802_185911

Using xrussian.db the text comes back but with replaced characters
Screenshot_20210802_194025

Desktop (please complete the following information):

  • OS: Manjaro 5.13.5-1
  • OpenXRay build version commit [0253283] (01-08-2021)
  • I followed the instructions on git to compile and build a package of the game
  • I use the GOG version for the assets
@gibroule gibroule added the Bug The issue in the run-time. label Aug 2, 2021
@Xottab-DUTY
Copy link
Member

Can you rename Localization folder to localization to see if it helps?

@gibroule
Copy link
Author

gibroule commented Aug 2, 2021

Hi, I checked and all the games folders are in lowercase, it doesn't seem to be the issue

@Xottab-DUTY Xottab-DUTY changed the title Some languages don't display proprely - Call of Pripyat Some languages don't display propeкly - Call of Pripyat Aug 2, 2021
@Xottab-DUTY
Copy link
Member

Lol, it seems that the issue has affected GitHub too :D
image

@Xottab-DUTY Xottab-DUTY changed the title Some languages don't display propeкly - Call of Pripyat Some languages don't display properly - Call of Pripyat Aug 3, 2021
@gibroule
Copy link
Author

gibroule commented Aug 4, 2021

Lol ! So I got more info on this from discord and after some tests, I can say that it is related to the resolution of the game. Anything over 1440x900 triggers the bug

@Xottab-DUTY Xottab-DUTY added good first issue Good start for beginners that want to contribute. Help wanted and removed good first issue Good start for beginners that want to contribute. labels Jan 14, 2022
@Xottab-DUTY
Copy link
Member

@gibroule, can you check if the problem is fixed in the latest builds?

I suspect that this problem may be caused by the Linux filesystem case sensitivity and possibility that game files could have been made with Windows case insensitivity in mind. Since there were changes made in the engine filesystem to address case sensitivity issues, this issue might have been also fixed.

@Xottab-DUTY
Copy link
Member

Since there were changes made in the engine filesystem to address case sensitivity issues, this issue might have been also fixed.

Oh... That changes to the filesystem were made before this issue was created... (in PR #821)

@gibroule, maybe, can you still try the game with the latest builds, and then also try to revert commit 68d5eb8 to see, if it affects something or nothing at all?

@OPNA2608
Copy link
Contributor

Still happens with the latest commit (2ee61ed) and with 68d5eb8 reverted.

@gibroule
Copy link
Author

I still have the bug too

@AlexanderWKoenig
Copy link

AlexanderWKoenig commented Feb 24, 2022

Same issue is also present for me on Arch Linux tying to use the german localization.
When using the xenglish.db file und changing the language to german in user.ltx, the text is displayed but with cyrillic chars mixed in.

I'm running a build from chaotic-aur which uses commit 1dc1c10
I've also tried the latest commit [35fbe97] via an AUR. Here the issue is also present and it crashes when loading into game.

Would be nice to see this fixed.

Xottab-DUTY added a commit that referenced this issue May 6, 2022
@Xottab-DUTY
Copy link
Member

@gibroule, @OPNA2608, @AlexanderWKoenig, can you guys check with the latest commits?

@OPNA2608
Copy link
Contributor

OPNA2608 commented May 7, 2022

On 78dd002, still happening.

Bildschirmfoto_2022-05-07_10-56-39

@gibroule
Copy link
Author

gibroule commented May 7, 2022

I just tested 78dd002 and it's still happening too

@hartontw
Copy link

Same happening to me.

CPU: Intel i5-7500 (4) @ 3.800GHz
GPU: NVIDIA GeForce GTX 1060 6GB
MEM: 16GB DDR4

OS: Arch Linux x86_64
Kernel: 6.6.8-arch1-1
Resolution: 1920x1080, 1440x900
WM: awesome

Game: Stalker COP (Steam version)
Install method: openxray (AUR)
Language: Spanish

LOG
! Couldn't create surface from image: Parameter 'src' is invalid
OpenXRay Release Master Gold build 9113, Jan 19 2024 (Linux 64-bit, shared)
Custom build from commit[481d4dc8edd58866a79e072dc65355259c08fe5b] branch[makepkg]

command line

* CPU features: RDTSC, MMX, SSE, AVX
* CPU threads: 4

Initializing File System...
$fs_root$ = /home/harton/.local/share/GSC Game World/S.T.A.L.K.E.R. - Call of Pripyat/
using fs-ltx fsgame.ltx
FS: 43649 files cached 29 archives, 28Kb memory used.
Init FileSystem 0.245324 sec
-----loading \home\harton\.local\share\GSC Game World\S.T.A.L.K.E.R. - Call of Pripyat\gamedata\configs\system.ltx
-----loading \home\harton\.local\share\GSC Game World\S.T.A.L.K.E.R. - Call of Pripyat\gamedata\configs\system.ltx
! Failed to determine on which monitor the game is launched.
! SDL: Invalid window
Starting INPUT device...
Loading module: xrRender_GL
Available render modes[1]:
renderer_rgl
Executing config-script "user.ltx"...
[\home\harton\.local\share\GSC Game World\S.T.A.L.K.E.R. - Call of Pripyat\_appdata_\user.ltx] successfully loaded.
Selected renderer: renderer_rgl
Loading module: xrGame
Initializing Engine...
SOUND: OpenAL: system default sound device name is OpenAL Soft
Executing config-script "\home\harton\.local\share\GSC Game World\S.T.A.L.K.E.R. - Call of Pripyat\gamedata\configs\default_controls.ltx"...
[\home\harton\.local\share\GSC Game World\S.T.A.L.K.E.R. - Call of Pripyat\gamedata\configs\default_controls.ltx] successfully loaded.
Executing config-script "user.ltx"...
Executing config-script "\home\harton\.local\share\GSC Game World\S.T.A.L.K.E.R. - Call of Pripyat\gamedata\configs\rspec_extreme.ltx"...
[\home\harton\.local\share\GSC Game World\S.T.A.L.K.E.R. - Call of Pripyat\gamedata\configs\rspec_extreme.ltx] successfully loaded.
Executing config-script "\home\harton\.local\share\GSC Game World\S.T.A.L.K.E.R. - Call of Pripyat\gamedata\configs\default_controls.ltx"...
[\home\harton\.local\share\GSC Game World\S.T.A.L.K.E.R. - Call of Pripyat\gamedata\configs\default_controls.ltx] successfully loaded.
~ Invalid syntax in call to 'g_language'
~ Valid arguments: rus/spa
~ Invalid syntax in call to 'sv_adm_menu_ban_time'
~ Valid arguments: ui_mp_am_10_minutes/ui_mp_am_30_minutes/ui_mp_am_1_hour/ui_mp_am_6_hours/ui_mp_am_1_day/ui_mp_am_1_week/ui_mp_am_1_month/ui_mp_am_3_monthes/ui_mp_am_forever
~ Invalid syntax in call to 'sv_suspicious_actions_ban_time'
~ Valid arguments: ui_mp_am_10_minutes/ui_mp_am_30_minutes/ui_mp_am_1_hour/ui_mp_am_6_hours/ui_mp_am_1_day/ui_mp_am_1_week/ui_mp_am_1_month/ui_mp_am_3_monthes/ui_mp_am_forever
[\home\harton\.local\share\GSC Game World\S.T.A.L.K.E.R. - Call of Pripyat\_appdata_\user.ltx] successfully loaded.
SOUND: Selected device is OpenAL Soft
* SOUND: EFX extension: present
* sound : cache: 65537 kb, 4856 lines, 13820 bpl
Starting RENDER device...
* GPU vendor: [NVIDIA Corporation] device: [NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2]
* GPU OpenGL version: 4.1.0 NVIDIA 545.29.06
* GPU OpenGL shading language version: 4.10 NVIDIA via Cg compiler
* GPU OpenGL VTF units: [32] CTI units: [192]
* DVB created: 4096K
* DIB created: 512K
! Renderer doesn't support blender 'effects\shadow_world'
* HWDST/PCF supported and used
Starting engine...
* [ Linux ]: free[1961484 K], reserved[275544 K], committed[15694416 K]
* [ Render ]: textures[4213 K]
* [ x-ray  ]: process heap[255 K]
* [ x-ray  ]: economy: strings[7917 K], smem[0 K]
Config-file [\home\harton\.local\share\GSC Game World\S.T.A.L.K.E.R. - Call of Pripyat\_appdata_\user.ltx] saved successfully
Destroying Render...
----total count =  0

@Xottab-DUTY Xottab-DUTY self-assigned this Feb 12, 2024
@Xottab-DUTY Xottab-DUTY moved this from To do to In Progress in Roadmap Feb 12, 2024
@github-project-automation github-project-automation bot moved this from In Progress to Done in Roadmap Feb 12, 2024
@Xottab-DUTY
Copy link
Member

Hurray! Finally, this is fixed.

@laenion
Copy link

laenion commented Jul 6, 2024

For me (German version, Linux) nothing seems to have changed - I still get the same broken text from the original bug report when using a "high" resolution (though it's working fine with a resolution of 1024x768 for example).

Could anybody previously affected confirm that this doesn't happen in the current version for them any more?

@OPNA2608
Copy link
Contributor

OPNA2608 commented Jul 7, 2024

On 6f5590d, still happening.

Bildschirmfoto_2024-07-07_14-35-08

@ikir83
Copy link

ikir83 commented Feb 7, 2025

On 6f5590d, still happening.

Bildschirmfoto_2024-07-07_14-35-08

Yes I confirm, trying the macOS port from MacSourcePorts.com and it happens on my setup as well with Italian localization.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug The issue in the run-time. Help wanted Player Experience
Projects
Status: Done
Development

No branches or pull requests

7 participants