[RELEASE] Launcher - application launcher plugin for Linux, Mac, Windows, and Xbox - Printable Version
+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: Add-ons Help and Support (/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (/forumdisplay.php?fid=151)
+---- Thread: [RELEASE] Launcher - application launcher plugin for Linux, Mac, Windows, and Xbox (/showthread.php?tid=35739)
- elspero - 2008-10-15 16:27
micster Wrote:Hey elspero,Done, it doesn't work.
micster Wrote:If reinstalling the Launcher doesn't fix it, perhaps it has something to do with the way your emulator works and the ROMs it uses.No, that's not the issue. It does it with every emulator. The only one I can see working without problems is MAME, because the roms don't have spaces in their name.
Windows needs quotes to make it work, example:
"D:\zsnesw\zsnesw.exe D:\zsnesw\GAMES\Rom Name.smc" would work
- elspero - 2008-10-15 17:08
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.
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:
Of course it's not as simple as adding ~1 to a 6 characters filename.
If we have:
Wonderful Super World.smc
Wonderful Super World 2-incredible sequel.smc
in the same directory, then we will have:
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:
win32api.GetShortPathName('D:/folder/name of the file.ext')
As I said, I can't code in python, can anyone help?
- darxide - 2008-10-15 17:47
darxide Wrote:Leo, Is there any way for you to add an option to put the between the executable path and the rom path? My sega Genisis emulator won't load roms because of that. The emu starts but the rom doesn't load.
Obviously I was wrong in the above post. because once I tried the same thing on my second pc it works fine. I have no idea whats different. the paths are the same and everything. Im gonna poke around and try to figure out.
- elspero - 2008-10-15 18:16
darxide Wrote:I have no idea whats different. the paths are the same and everything. Im gonna poke around and try to figure out.
I am using a fresh-installed 32bit Win XP Pro SP2 + updates (including .NET 2.0), ntfs formatted partitions,what's your configuration?
- darxide - 2008-10-15 19:18
my first box is sp2 not sue of .net vers
this box is sp3 .net 3.5
32 bit on both
- micster - 2008-10-16 02:10
If it's as simple as the Windows version needing quotes to work, then perhaps Leo2 could just add another "If statement" and check if we are using windows use quotes and if xbox don't use quotes.
What about this?
Quote:I tried to System.Exec in many variations but none of them worked.
I'm not sure what's going on, when I get a chance I'll fire up my Windows installation and see if my ROMs play with the current version of Launcher.
- darxide - 2008-10-16 06:00
Im not too sure where the problem lies with the quotes and spaces. here's why
on my 2nd computer "work" (don't tell my boss) everything runs as it should with spaces and without quotes. I edit the launchers.xml file tto contain quotes around the rom paths that contain spaces and it fails to launch the rom.
on my HTPC however it is the oposite it will not launch roms with spaces in the name, even with quotes around the rom path. I have updated to sp3 and .net 3.5 just to make sure both boxed have a level playing field.
I am going to try to reinstall launcher from svn to see if that helps.
- leo2 - 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.
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.
- darxide - 2008-10-17 00:00
I fixed it. at least mine. The issue ended up being XBMC. elspero what version of XBMC are you using? I updated from beta 2 to svn 15900 and everything works! here is a link to the build I used.
XBMC SVN rev15900: http://www.mediafire.com/?nf4tfynmzcm
I guess it is lucky that I was having issues with high CPU when XBMC was Idle because that is where I found the link.
Is there a way for launcher to somehow cross reference MAME Rom file names with the MAME .XML file? That way when scanning the roms directory it can display the actual games name as opposed to the crappy file name.
as for the above post, Im not sure but I think the xbox doesn't support DOS 8 Character format. so if I'm right there would have to be 2 versions of launcher.
- Nuka1195 - 2008-10-17 00:24
what platform is that link to?
- darxide - 2008-10-17 02:39
Nuka1195 Wrote:what platform is that link to?
- Trev - 2008-10-17 05:38
I am on latest SVN of linuxport and cannot get this running. It looks like most of the people here are on windows, is linux supported? This is what i tried:
I grabbed the latest launcher from svn put it in /.xbmc/plugins/programs/Launcher
Here's where I got lost:
Quote:3.2. Go to Games -> Applications -> Add Source -> Browse -> Program PluginsThere is no Games menu in the linuxport. I enabled the programs menu, but I dont think its implemented yet. I added /.xbmc/plugins/programs/Launcher as a source but it just kept browsing through directorys, the .py scripts were nowhere to be seen. I also tried to create a symlink under /.xbmc/scripts/My Scripts/ to the Launcher folder above. Launcher shows up under scripts now, but it runs for a second and stops. Debug info shows:
Quote:File "/home/trevor/.xbmc/scripts/My Scripts/Launcher/default.py", Line 20, in ?
am i missing something?
- micster - 2008-10-17 08:11
The Games menu has nothing to do with the platform (Linux, Windows, or Xbox) it is something that is defined in the MC360 skin. Be sure you follow these instructions that were posted on page 1. Especially the linux specific command line stuff.
Quote:Installation:Be sure to follow each step when setting up a new Launch item. For example:
For emulator you
- elspero - 2008-10-17 09:01
darxide Wrote:Ahhhhh Haaaaaaaa!Thanks, I'll try that later in the day and report back.
- Trev - 2008-10-17 17:41
micster Wrote:The Games menu has nothing to do with the platform (Linux, Windows, or Xbox) it is something that is defined in the MC360 skin. Be sure you follow these instructions that were posted on page 1. Especially the linux specific command line stuff.
I'm not sure what your getting at here. I created the symlinks as stated in the first post but I cant even start the script. The programs menu wont find any .py files to execute, i can only run it through the scripts menu where it errors out.