Forums

Sega Master System / Mark III / Game Gear
SG-1000 / SC-3000 / SF-7000 / OMV
Home - Forums - Games - Scans - Maps - Cheats - Credits
Music - Videos - Development - Hacks - Translations - Homebrew

View topic - UTF-8 path error

Reply to topic
Author Message
  • Joined: 14 May 2006
  • Posts: 34
Reply with quote
UTF-8 path error
Post Posted: Sat Dec 04, 2010 6:33 pm
During the review of Meka in RPM Fusion, the reviewer noticed that Meka cannot correctly handle UTF-8 encoded paths. His home directory is "/home/göran".

He reports that Meka canno't find meka.dat. Only this file has this problem, the other meka.* files are correctly found.

More info at issue 11 here:
https://bugzilla.rpmfusion.org/show_bug.cgi?id=740#c15
  View user's profile Send private message
  • Site Admin
  • Joined: 08 Jul 2001
  • Posts: 8649
  • Location: Paris, France
Reply with quote
Post Posted: Sun Dec 05, 2010 2:33 am
Thanks for your work on the packaging.

The .dat file is loaded thru Allegro using a separate path:
    df = g_Datafile = load_datafile (g_Env.Paths.DataFile);
    if (g_Datafile == NULL)
        Quit_Msg (Msg_Get (MSG_Failed));


So the problem for this one has to be looked in Allegro sources. May depend on version or build type. The version of Allegro that Meka is using (at least for Windows) is around 4.2.x and has no function to load a datafile from a memory buffer.
  View user's profile Send private message Visit poster's website
  • Site Admin
  • Joined: 08 Jul 2001
  • Posts: 8649
  • Location: Paris, France
Reply with quote
Post Posted: Tue May 31, 2011 12:15 am
This has been fixed in the latest unstable branches, given that we switched to Allegro 5 and there is no datafile support in this new version of the library :)
  View user's profile Send private message Visit poster's website
Reply to topic



Back to the top of this page

Back to SMS Power!