2008-10-16, 20:49
elspero Wrote:Ok, I found a solution, but I need someone to code it, because I can't understand how python works, lol.
The solution is simple: the filenames must be in DOS 8-characters format.
example:
If a rom is called "Wonderful Super World.smc", it should be renamed to: "WONDER~1.smc"
If I write that name in the launchers.xml file, it works, example:
Code:<rom>
<name>Wonderful Super World.smc</name>
<filename>D:\zsnesw\ROMS\WONDER~1.smc</filename>
<thumb></thumb>
</rom>
Of course it's not as simple as adding ~1 to a 6 characters filename.
If we have:
Wonderful Super World.smc
and
Wonderful Super World 2-incredible sequel.smc
in the same directory, then we will have:
WONDER~1.smc
WONDER~2.smc
What do we need? A command to extract the 8.3 filename from the fat.
From what I found on google you can do something like this in python:
import win32api
win32api.GetShortPathName('D:/folder/name of the file.ext')
As I said, I can't code in python, can anyone help?
acceptable. please open an issue in: http://code.google.com/p/xbmc-launcher/issues/list with the full description of the solution and I'll try to add it.