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

Special characters in paths causing issues #92

Open
The-Gig opened this issue Oct 1, 2024 · 1 comment
Open

Special characters in paths causing issues #92

The-Gig opened this issue Oct 1, 2024 · 1 comment

Comments

@The-Gig
Copy link

The-Gig commented Oct 1, 2024

After someone mentioning on Discord that he wasn't able to start the game and then figured out it was due to special characters (accented letters) in the installation path (in his French Windows, "Downloads" folder is "Téléchargement". His issue happened with nightly build binaries, not with 0.8.8 binaries, so it looks like some kind of regression), I made a few tests myself (tested in Windows 10).

About basepath (game installation folder):
For the test, I added a "à" or "£" to the OpenArena installation folder name ("openarena-0.8.8à" or "openarena-088£" or "openarenaà-0.8.8")

  • Using 0.8.8 binaries it works well (apart from the small detail that the special character looks like a blank space in console)
  • Using nightly build binaries 2023/11/07, the game cannot start: "couldn't load default.cfg" error.

About homepath (settings/autodownload folder):
For the test, I added "à" to the fs_homepath command line parameter. It seems the game ignores the special character and everything follwing it. It looks like it does the same with both 0.8.8 binaries and nightly build 2023/11/07.

  • openarena.exe +set fs_homepath c:\folder\openarenaà
    results in game settings in c:\folder\openarena\baseoa
  • openarena.exe +set fs_homepath c:\folder\openàarena
    results in game settings in c:\folder\open\baseoa
  • openarena.exe +set fs_homepath c:\folder\àopenarena
    results in game settings in c:\folder\baseoa

Workaround is obviously avoiding using accented letters (or some other special characters) in paths, however maybe something could be improved in the engine.

@leilei-
Copy link
Member

leilei- commented Oct 3, 2024

This could be build or lib related as I can't reproduce this with my usual mingw gcc 4.7.2 builds

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants