JACoders / OpenJK

Community effort to maintain and improve Jedi Academy (SP & MP) + Jedi Outcast (SP only) released by Raven Software
GNU General Public License v2.0
2k stars 609 forks source link

Cyrillic characters in the user's Windows folder. #1236

Open KitsuNeshKaa opened 1 month ago

KitsuNeshKaa commented 1 month ago

It seems that because there are Cyrillic characters in the path to the temp folder, the openjk engine cannot create the file.

ys_LoadLibrary() FAILED for ui (Failed loading C:\Users\Лайсум \AppData\Local\Temp\OJK80E6.tmp: РќРµ найден указанный РјРѕРґСѓ ль. ) VM_Create: uix86.dll failed! Sys_LoadLibrary() FAILED for ui (Failed loading C:\Users\Лайсум \AppData\Local\Temp\OJK80E7.tmp: РќРµ найден указанный РјРѕРґСѓ ль. )

The specified module was not found. (in Cyrillic)

Maybe it's worth adding support UTF-8 or third-party languages? Ideally, add support .otf files and finally abandon sprite letters.

Thx.

134

ensiform commented 1 month ago

OpenJK doesn't ship custom assets currently so the latter request would not fit the scope.

The C file open API is used for files so it should still flatten to ansi, strange.

You can force the portable homepath with +set fs_homepath "." added to launch target shortcut Provided that your game isn't installed to program files which is not writeable by default.