Mantis

View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0020752GameMaker Runner[All Projects] FunctionsPublic2016-03-14 12:562016-08-11 15:39
ReporterDavid Norgren 
Assigned ToRussell Kay 
PriorityNoneSeverityC - GeneralReproducibility100%
StatusClosedResolutionFixed 
PlatformWindowsOSWindows 8OS Version
Summary0020752: Functions: DLLs cannot be loaded when the game path contains non-latin characters
Descriptionexternal_define gives an error when the path to the game contains non-latin characters (eg åäö). This is catastrophic for games that utilizes external libraries, while being published to an international audience. The bug occurs on both Windows and Windows (YYC).
Steps To ReproduceExport the sample project as a .zip and extract it to a valid folder name ("abc") and the code will work. Rename to "åäö" and there will be an error.
Additional InformationOriginal helpdesk ticket: http://help.yoyogames.com/tickets/99925 [^]
GM Version1.4.1749
Attached Fileszip file icon NonLatinPathDemo.zip [^] (13,554 bytes) 2016-07-28 22:03

- Relationships

-  Notes
(0045175)
FirstManOnTheSpoon (Reporter)
2016-07-14 11:41

It's even more catastrophic than that: every file with a non-latin character (just tested cyrillic) in its path can't be read by gamemaker!!
"ERROR!!! :: Failed to open file"
They can be wrote but not read. So my game just published on Steam doesn't work for russian players because the game files are in c:\Users\[russian name].
(0045354)
grix (Reporter)
2016-07-17 18:52

Confirmed, this is especially bad since GM by default asks the user to install the game in the users folder relatively likely to contain non-ascii characters.

You can sort of mitigate this by changing the NSIS installation script to set program files as the default installation folder, that folder has non-ascii symbols in very few windows languages according to this list: https://en.wikipedia.org/wiki/Program_Files [^]

YYG, please set a high priority to this bug, it is absolutely breaking for many users and scenarios.
(0045979)
alexandervrs (Updater)
2016-07-28 22:06

Added a sample and also tested by Creating Application .exe and placing it into a folder with Greek characters called "Παιχνίδι", then the DLL function would fail to be called.
(0045980)
Russell Kay (Manager)
2016-07-28 23:28

fixed in gitlab - 492e3c5
+ now uses LoadLibraryW rather than LoadLibraryA
(0046476)
Daniel Cleaton (Administrator)
2016-08-11 15:39

EA495+ has the fix. Closing.


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker