• 1
  • 252
  • 253
  • 254(current)
  • 255
  • 256
  • 453
[CLOSED] Advanced Launcher - Applications Launcher Addon for XBMC
(2012-08-29, 20:23)myghalloween Wrote: Hi,
I do not have to run bsnes v0.91 and I can not find the solution, despite hours on google.
could you give me the config?
My roms are in a folder other than bsnes

Windows 7 + XBMC Eden

Please help me
So... what do you run?

PHP Code:
<launcher>
        <
id>3b412baf89e98a0ce8de8239330e0110</id>
        <
name>bsneslauncher</name>
        <
application>D:\Bsnes\bsneslauncher.bat</application>
        <
args>"%rom%"</args>
        <
rompath>N:\04.GamesLibrary\ROM Sets Nintendo SNES\</rompath>
        <
thumbpath>N:\04.GamesLibrary\ROM Sets Nintendo SNES\</thumbpath>
        <
fanartpath>N:\04.GamesLibrary\ROM Sets Nintendo SNES\</fanartpath>
        <
custompath>N:\04.GamesLibrary\ROM Sets Nintendo SNES\</custompath>
        <
romext>zip|smc|sfc</romext>
        <
platform>Super Nintendo Entertainment System</platform>
        <
thumb></thumb>
        <
fanart></fanart>
        <
genre></genre>
        <
release></release>
        <
publisher></publisher>
        <
launcherplot></launcherplot>
        <
finished>false</finished>
        <
minimize>true</minimize>
        <
lnk>true</lnk>
        <
roms>
        </
roms
nothing run =(
(2012-08-29, 20:42)myghalloween Wrote:
PHP Code:
<launcher>
        <
id>3b412baf89e98a0ce8de8239330e0110</id>
        <
name>bsneslauncher</name>
        <
application>D:\Bsnes\bsneslauncher.bat</application>
        <
args>"%rom%"</args>
        <
rompath>N:\04.GamesLibrary\ROM Sets Nintendo SNES\</rompath>
        <
thumbpath>N:\04.GamesLibrary\ROM Sets Nintendo SNES\</thumbpath>
        <
fanartpath>N:\04.GamesLibrary\ROM Sets Nintendo SNES\</fanartpath>
        <
custompath>N:\04.GamesLibrary\ROM Sets Nintendo SNES\</custompath>
        <
romext>zip|smc|sfc</romext>
        <
platform>Super Nintendo Entertainment System</platform>
        <
thumb></thumb>
        <
fanart></fanart>
        <
genre></genre>
        <
release></release>
        <
publisher></publisher>
        <
launcherplot></launcherplot>
        <
finished>false</finished>
        <
minimize>true</minimize>
        <
lnk>true</lnk>
        <
roms>
        </
roms
nothing run =(
Follow this guide : http://www.gwenael.org/forum/viewtopic.p...1214#p1214

ok, I try... Can you give me your xml file in order to verify mine ?
(2012-08-29, 20:56)myghalloween Wrote: ok, I try... Can you give me your xml file in order to verify mine ?
Sorry, but I do not use BSNES. I do not even use Windows system.

So difficult to understand for frenchy.... =(
It seem to be the same with nestopia... Emulator don't launche
When I creat a simple launcher, the emulator launch
(2012-08-29, 21:13)myghalloween Wrote: So difficult to understand for frenchy.... =(
It seem to be the same with nestopia... Emulator don't launche
When I creat a simple launcher, the emulator launch
Pour Nestopia cela devrait fonctionner, poste ton fichier launchers.xml ici et je te dirait ce qui ne fonctionne pas.

<launcher>
<id>d8c1c67f8368362ed1f1ca2d5aa1347d</id>
<name>NestopiaLauncher</name>
<application>D:\Nestopia\nestopia.exe</application>
<args>"%rom%"</args>
<rompath>N:\04.GamesLibrary\ROM Sets Nintendo NES\</rompath>
<thumbpath>N:\04.GamesLibrary\ROM Sets Nintendo NES\</thumbpath>
<fanartpath>N:\04.GamesLibrary\ROM Sets Nintendo NES\</fanartpath>
<custompath>N:\04.GamesLibrary\ROM Sets Nintendo NES\</custompath>
<romext>nes|zip</romext>
<platform>Nintendo Entertainment System</platform>
<thumb></thumb>
<fanart></fanart>
<genre></genre>
<release></release>
<publisher></publisher>
<launcherplot></launcherplot>
<finished>false</finished>
<minimize>true</minimize>
<lnk>true</lnk>
<roms>
</roms>
</launcher>
(2012-08-29, 21:27)myghalloween Wrote: <launcher>
<id>d8c1c67f8368362ed1f1ca2d5aa1347d</id>
<name>NestopiaLauncher</name>
<application>D:\Nestopia\nestopia.exe</application>
<args>"%rom%"</args>
<rompath>N:\04.GamesLibrary\ROM Sets Nintendo NES\</rompath>
<thumbpath>N:\04.GamesLibrary\ROM Sets Nintendo NES\</thumbpath>
<fanartpath>N:\04.GamesLibrary\ROM Sets Nintendo NES\</fanartpath>
<custompath>N:\04.GamesLibrary\ROM Sets Nintendo NES\</custompath>
<romext>nes|zip</romext>
<platform>Nintendo Entertainment System</platform>
<thumb></thumb>
<fanart></fanart>
<genre></genre>
<release></release>
<publisher></publisher>
<launcherplot></launcherplot>
<finished>false</finished>
<minimize>true</minimize>
<lnk>true</lnk>
<roms>
</roms>
</launcher>
Ton lanceur ne contient aucune rom. Une fois le lanceur créé il faut que tu lances un scan pour ajouter les roms : http://www.youtube.com/watch?v=9Pl-3yEDgUY
Également : http://www.gwenael.org/forum/viewtopic.php?pid=4#p4

Quote:Important : After the files launcher creation, you need to go to the "Add items" menu option of the launcher (using "C" key) to add items to the launcher (using manual or automatic method).
J'essaye de scanner
OK, apres le scan ça fonctionne.... J'avance enfin... a suivre =)
OK pour nestopia.
Pour bsnes c'est une autre histoire... je suis obligé de 7zippe et je n'arrive pas lancer une rom en suivant le tuto...
une idee ?
myghalloween,
One minor thing I noticed... It makes things much easier if you don't have reserved/special characters (like periods) or spaces in your folder paths.

Example: N:\04.GamesLibrary\ROM Sets Nintendo NES\
Could be: N:\Games\Nintendo\NES
or
N:\04_GamesLibrary\Nintendo_NES_ROMS

Sorry, I don't speak French.
Hi Guys,

I've just started (re)setting up Advanced Launcher so that all game fanart/thumbnails are store on my new FreeNAS server but have struck a "Script Failed! addon.py" issue when loading new thumbnails/fanart.

A copy of my xbmc.log file can be access on http://pastebin.com/hEwHtDgH

The one line that sticks out to me is this: IOError: (22, "invalid mode ('wb') or filename", 'smb://NAS1/Media/XBMCData/Games/Thumbnails/bf3.exe_thumb.jpg' however this file is definitely created after the import process runs and fails with the error above.

If you could point me in the right direction for troubleshooting, that would be most appreciated!
(2012-08-31, 11:30)simonnz Wrote: Hi Guys,

I've just started (re)setting up Advanced Launcher so that all game fanart/thumbnails are store on my new FreeNAS server but have struck a "Script Failed! addon.py" issue when loading new thumbnails/fanart.

A copy of my xbmc.log file can be access on http://pastebin.com/hEwHtDgH

The one line that sticks out to me is this: IOError: (22, "invalid mode ('wb') or filename", 'smb://NAS1/Media/XBMCData/Games/Thumbnails/bf3.exe_thumb.jpg' however this file is definitely created after the import process runs and fails with the error above.

If you could point me in the right direction for troubleshooting, that would be most appreciated!
Advanced Launcher do not support samba paths (because most of emulators do not support then into their command line). So, to solve this, you just have to locally mount your NAS : http://www.7tutorials.com/how-map-drives-windows-7

Hey, I updated my steam script so it no longer kills steam, now it closes it gracefully, also now it timeouts if it can start an app without pausing XBMC, here are my scripts

These scripts pause XBMC so it's not consuming any resources while games are running. First my steam script:

All you need to do is point Advanced launcher to the script and use the Steam Id of the game you want to launch, you can find the ID by creating a steam desktop icon and checking it's properties. for it to function you need to have steam community in-game enabled as it will track for gameoverlayui.exe. Some steam IDs here.

Code:
@echo off

REM *****************************************************************************************************
REM Usage:
REM call launcher_steam with an argument that is the steamid of the game
REM ex: launcher_steam 40800
REM script will track for gameoverlayui.exe
REM *****************************************************************************************************

REM setup variables
set limit=120
set iteration=0

echo STARTING GAME
echo *******************************************************
start "GAME" "steam://rungameid/"%1
set process_1=gameoverlayui.exe
set process_2=steam.exe
set ignore_result=INFO:

timeout 30

echo CHECK IF STEAM HAS STARTED
echo *******************************************************
:0

set var=notrunning
for /f "usebackq" %%A in (`tasklist /nh /fi "imagename eq %process_2%"`) do if not %%A==%ignore_result% set var=running
echo steam %var% after %iteration% seconds
timeout 1

set /a iteration=iteration+1
if %iteration% == %limit% goto :3

if %var% == notrunning goto :0

set iteration=0

echo STEAM RUNNING CHECK IF GAME HAS STARTED
echo *******************************************************
:1

set var=notrunning
for /f "usebackq" %%A in (`tasklist /nh /fi "imagename eq %process_1%"`) do if not %%A==%ignore_result% set var=running
echo game %var% after %iteration% seconds
timeout 1

set /a iteration=iteration+1
if %iteration% == %limit% goto :5

if %var% == notrunning goto :1

echo GAME STARTED PAUSE XBMC
echo *******************************************************
pssuspend XBMC.exe


echo GAME STARTED CHECK IF GAME IS STILL RUNNING
echo *******************************************************
:2

set var=notrunning
for /f "usebackq" %%A in (`tasklist /nh /fi "imagename eq %process_1%"`) do if not %%A==%ignore_result% set var=running
echo game still %var%
timeout 5
if %var% == running goto :2

echo GAME STOPPED RESUME XBMC AND SHUTDOWN STEAM
echo *******************************************************
pssuspend -r XBMC.exe
start C:\Games\steam\steam.exe -shutdown

set limit=600
set iteration=0

echo CHECK IF STEAM IS STILL RUNNING
echo *******************************************************
:3

set var=notrunning
for /f "usebackq" %%A in (`tasklist /nh /fi "imagename eq %process_2%"`) do if not %%A==%ignore_result% set var=running
echo steam still %var%
timeout 1
set /a iteration=iteration+1
if %iteration% == %limit% goto :4
if %var% == running goto :3
exit

:4
echo STEAM DIDN'T SHUTDOWN AFTER %limit% SECONDS, KILLING IT
echo *******************************************************
taskkill /IM steam.exe /f
exit

:5
echo GAME %1 DIDN'T START OR PROCESS %2 COULDNT' BE FOUND
echo *******************************************************
echo GAME %1 DIDN'T START OR PROCESS %2 COULDNT' BE FOUND > c:\launcherlog.txt
echo SHUTDOWN STEAM
echo *******************************************************
start C:\Games\steam\steam.exe -shutdown
echo CHECK IF STEAM IS STILL RUNNING
echo *******************************************************
goto :3

The second one, a generic .lnk launcher, it will launch the game.lnk file you specify (no need to add .lnk to arguments) and will track any specific process you want it to track, remember to set the path to your launchers in the batch file itself on this line:

set launcher_path=C:\path\to\your\shortcuts\

Code:
@echo off

REM *****************************************************************************************************
REM Usage:
REM call launcher_regular with 2 arguments, first argument is the game shortcutname, second argument
REM is the name of the process that must be tracked
REM ex: launcher_regular supermeatboy supermeatboy.exe
REM *****************************************************************************************************

REM setup variables
set limit=120
set iteration=0
set launcher_path=C:\path\to\your\shortcuts\


echo STARTING GAME
echo *******************************************************
start "GAME" %launcher_path%\%1.lnk
set process_1=%2
set ignore_result=INFO:

timeout 10

echo CHECK IF GAME HAS STARTED
echo *******************************************************
:1

set var=notrunning
for /f "usebackq" %%A in (`tasklist /nh /fi "imagename eq %process_1%"`) do if not %%A==%ignore_result% set var=running
echo game %var% after %iteration% seconds
timeout 1

set /a iteration=iteration+1
if %iteration% == %limit% goto :3

if %var% == notrunning goto :1

echo GAME STARTED PAUSE XBMC
echo *******************************************************
pssuspend XBMC.exe


echo GAME STARTED CHECK IF GAME IS STILL RUNNING
echo *******************************************************
:2

set var=notrunning
for /f "usebackq" %%A in (`tasklist /nh /fi "imagename eq %process_1%"`) do if not %%A==%ignore_result% set var=running
echo game still %var%
timeout 5
if %var% == running goto :2

echo GAME STOPPED RESUME XBMC
echo *******************************************************
pssuspend -r XBMC.exe

exit

:3
echo GAME %1 DIDN'T START OR PROCESS %2 COULDNT' BE FOUND
echo *******************************************************
echo GAME %1 DIDN'T START OR PROCESS %2 COULDNT' BE FOUND > c:\launcherlog.txt
exit

Both scripts will log to c:\launcherlog.txt in case of an error, hope these are helpful





  • 1
  • 252
  • 253
  • 254(current)
  • 255
  • 256
  • 453

Logout Mark Read Team Forum Stats Members Help
[CLOSED] Advanced Launcher - Applications Launcher Addon for XBMC24