La Notte Etterna Posted August 10, 2021 Report Share Posted August 10, 2021 I don't sure you're read the YouTube, so I write here: The cyrillic characters at PC username (and hence, in player name) cause warning at main menu: "Could not write external mod.json for zipped mod 'public'. The mod should be reinstalled." Can you please fix it? No more bugs were founded for this time. But who know what type of data was blocked to downloading by cyrillic characters. And maybe you also should check out asian characters too... Quote Link to comment Share on other sites More sharing options...
Freagarach Posted August 10, 2021 Report Share Posted August 10, 2021 There is work in progress on this matter. Quote Link to comment Share on other sites More sharing options...
La Notte Etterna Posted August 10, 2021 Author Report Share Posted August 10, 2021 Thank you. A also can't understand why cyrillic symbols make regular issues for this game..? Quote Link to comment Share on other sites More sharing options...
Stan` Posted August 10, 2021 Report Share Posted August 10, 2021 There are two different issues. One is font rendering. We can'use ttf fonts so we render images with all thr chars we need which might not be all the chars you use. Second is path handling. I suppose not all our code is using UTF8 and that's creating issues wraitii might know more. Quote Link to comment Share on other sites More sharing options...
nwtour Posted August 10, 2021 Report Share Posted August 10, 2021 Atlas also crashes when typing Cyrillic characters as filename #0 mozalloc_abort (msg=0xb7a8aa9c "Redirecting call to abort() to mozalloc_abort\n") at /home/nwtour/ff/0ad/libraries/source/spidermonkey/mozjs-78.6.0/memory/mozalloc/mozalloc_abort.cpp:33 #1 0xb71c81c9 in abort () at /home/nwtour/ff/0ad/libraries/source/spidermonkey/mozjs-78.6.0/memory/mozalloc/mozalloc_abort.cpp:82 #2 0x080a9f73 in try_gui_display_error (no_continue=<optimized out>, allow_suppress=<optimized out>, manual_break=<optimized out>, text=<optimized out>) at ../../../source/lib/sysdep/os/unix/unix.cpp:197 #3 sys_display_error ( text=0x875f1c0 <(anonymous namespace)::g_MessageBuffer> L"Assertion failed: \"(unsigned)wstring[i] <= (unsigned)UCHAR_MAX\"\r\nLocation: os_path.h:48 (OsString)\r\n\r\nCall stack:\r\n\r\n(0x859e495) /home/nwtour/ff/0ad/binaries/system/pyrogenesis() [0x859e495]\n(0x854f57"..., flags=6) at ../../../source/lib/sysdep/os/unix/unix.cpp:216 #4 0x08550c07 in CallDisplayError (flags=<optimized out>, text=0x875f1c0 <(anonymous namespace)::g_MessageBuffer> L"Assertion failed: \"(unsigned)wstring[i] <= (unsigned)UCHAR_MAX\"\r\nLocation: os_path.h:48 (OsString)\r\n\r\nCall stack:\r\n\r\n(0x859e495) /home/nwtour/ff/0ad/binaries/system/pyrogenesis() [0x859e495]\n(0x854f57"...) at ../../../source/lib/debug.cpp:374 #5 debug_DisplayError (description=0xbfffc100 L"Assertion failed: \"(unsigned)wstring[i] <= (unsigned)UCHAR_MAX\"", flags=<optimized out>, context=0xbfffc740, lastFuncToSkip=0x8656470 L"debug_OnAssertionFailure", pathname=<optimized out>, line=48, func=0x865e348 <_ZZL8OsStringRK4PathE8__func__> "OsString", suppress=0x87dfa68 <_ZZL8OsStringRK4PathE10suppress__>) at ../../../source/lib/debug.cpp:462 #6 0x085510b4 in debug_OnAssertionFailure (expr=0x861b8b8 L"(unsigned)wstring[i] <= (unsigned)UCHAR_MAX", suppress=0x87dfa68 <_ZZL8OsStringRK4PathE10suppress__>, file=0x861b840 L"../../../source/lib/os_path.h", line=48, func=0x865e348 <_ZZL8OsStringRK4PathE8__func__> "OsString") at ../../../source/lib/debug.cpp:549 #7 0x0859f8d5 in OsString (path=...) at ../../../source/lib/os_path.h:48 #8 wopen (pathname=..., oflag=577, mode=420) at ../../../source/lib/sysdep/os/unix/ufilesystem.cpp:114 #9 0x0855c56c in FileOpen (pathname=..., oflag=577) at ../../../source/lib/file/file.cpp:47 #10 0x085c7567 in File::Open (openFlag=<optimized out>, pathName=..., this=0xbfffd1a8) at ../../../source/lib/file/file.h:65 #11 io::Store<io::DefaultCompletedHook, io::DefaultIssueHook> (completedHook=..., issueHook=..., p=..., size=656423, data=0x84af4000, pathname=...) at ../../../source/lib/file/io/io.h:314 #12 io::Store (p=..., size=656423, data=0x84af4000, pathname=...) at ../../../source/lib/file/io/io.h:338 #13 RealDirectory::Store (this=0x9949000, name=..., fileContents=std::shared_ptr<unsigned char> (use count 2, weak count 0) = {...}, size=656423) at ../../../source/lib/file/common/real_directory.cpp:58 #14 0x08568185 in VFS::CreateFile (this=0x96f1d20, pathname=..., fileContents=std::shared_ptr<unsigned char> (use count 2, weak count 0) = {...}, size=656423) at /usr/include/c++/8/bits/shared_ptr_base.h:1018 #15 0x085f718f in CFilePacker::Write (this=0xbfffd3f0, filename=...) at /usr/include/c++/8/ext/atomicity.h:96 #16 0x086148a6 in CMapWriter::SaveMap (this=0xbfffd5b7, pathname=..., pTerrain=0x998df20, pWaterMan=0x993e17c, pSkyMan=0x993e708, pLightEnv=0x875d820 <g_LightEnv>, pCamera=0x9a3e828, pPostproc=0x993f184, pSimulation2=0x99fa0b0) at ../../../source/graphics/MapWriter.cpp:73 #17 0x084a6223 in AtlasMessage::fSaveMap (msg=0x8ac3860) at ../../../source/ps/World.h:92 Quote Link to comment Share on other sites More sharing options...
Stan` Posted August 11, 2021 Report Share Posted August 11, 2021 @wraitii, @s0600204 didn't we fix UTF8 support for filenames ? :( Quote Link to comment Share on other sites More sharing options...
s0600204 Posted August 11, 2021 Report Share Posted August 11, 2021 @Stan` Not yet - at a cursory glance, it looks like https://code.wildfiregames.com/D3613 might resolve it. (I'm a little busy with work right now, so if anyone wishes to commandeer and take it further do feel free.) 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.