luciusDXL / TheForceEngine

Modern "Jedi Engine" replacement supporting Dark Forces, mods, and in the future Outlaws.
https://TheForceEngine.github.io
GNU General Public License v2.0
976 stars 71 forks source link

SDL Image fails to load files for paths with non-ascii characters #415

Open rjsxz opened 3 months ago

rjsxz commented 3 months ago

i installed the latest version, after that i put the game data in the same folder and when i launch tfe it looks like this imagen_2024-06-10_030002989

i installed it a few months before and worked great (same version)

i am using retail files (not steam or gog)

my os is windows 11 my specs are 12gb ram, i5 1155g7 and the igpu intel iris xe my drivers and os are updated

mlauss2 commented 2 months ago

Can you please find the "the_force_engine_log.txt" file and post its contents here please? Do you have other OpenGL-based games/applications that do work? (minecraft java for example) ?

luciusDXL commented 2 months ago

This is likely a utf8 issue - there is an issue with SDL Image + non-ascii characters in the path. I haven't looked into it yet, but most likely if you put TFE into a directory with pure ascii characters (C:\TFE\ for example), then the images will be readable again. (Someone else ran into this issue, which is why I'm aware of it now)

You can also run TFE with the -gDark commandline option to skip the menu and load directly into Dark Forces.

luciusDXL commented 1 month ago

Work Item (note to self): fix SDL Image + utf paths.

rjsxz commented 1 month ago

hey, sorry, i almost never use github tbh, ill try what you said and tell you if it works

rjsxz commented 1 month ago

hey, sorry, i almost never use github tbh, ill try what you said and tell you if it works

it worked, it was the name of the folder for sure, tysm.

luciusDXL commented 1 month ago

Ok, so what I will do is rename this bug and keep it open until I can look at it. Thanks for testing.