[RELEASE] Advanced Launcher - Applications Launcher Addon for XBMC

  Thread Rating:
  • 15 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Jayman Offline
Junior Member
Posts: 1
Joined: Nov 2011
Reputation: 0
Post: #2741
This is my first time utilizing xbmc and I have a few emulators and roms on Ubuntu sys. Everything goes well with the initial process im setting up the Mupen64 emu and when i click on a rom to start emulation, a black screen appears for a sec then nothing else occurs back 2 xbmc interface. I know i have to modulate a specific argument or something but am befuddled on how to make it work. Thanks in advance
find quote
Angelscry Offline
Skilled Python Coder
Posts: 2,757
Joined: Sep 2010
Reputation: 38
Location: MTL, Canada
Post: #2742
Jayman Wrote:This is my first time utilizing xbmc and I have a few emulators and roms on Ubuntu sys. Everything goes well with the initial process im setting up the Mupen64 emu and when i click on a rom to start emulation, a black screen appears for a sec then nothing else occurs back 2 xbmc interface. I know i have to modulate a specific argument or something but am befuddled on how to make it work. Thanks in advance
Do you have follow the WIKI page instructions concerning the configuration of Advanced Launcher and Mupen64 : http://www.gwenael.org/xbmc/index.php?ti...Plus#Linux ?

Advanced Launcher | Manual | WiKi | Forums | Tutorials | Gallery | GitHub | Archives | Donate

find quote
fr500 Offline
Senior Member
Posts: 279
Joined: Oct 2008
Reputation: 1
Post: #2743
rudeboyx Wrote:@Angelscry

Hi Angelscry, first of thanks for this awsome plugin. It serves my purposes perfectly and never fails.

I have a small feature request that I'd really like to see in AL. its with regards to the multi CD support.

I currently use this for, not only multi-CD games but for collections also.

i.e
Half-Life 2
Half-Life 2 Episode 1
Half-Life 2 Episode 2
Half-Life 2 Lost Coast
Half-Life 2 Cinematic Mod
Half-Life 2 Episode 1 Cinematic Mod
Half-Life 2 Episode 2 Cinematic Mod

I currently have these under
Half-Life 2-cd1.lnk
Half-Life 2-cd2.lnk
Half-Life 2-cd3.lnk
Half-Life 2-cd4.lnk
Half-Life 2-cd5.lnk
Half-Life 2-cd6.lnk
Half-Life 2-cd7.lnk

Would it be possible to impliment individual titles for the CD when displayed instead of AL just displaying "Disk 1, Disk 2, Disk 3" etc....?

So that AL displayed
Disk 1 - Half-Life 2
Disk 2 - Half-Life 2 Episode 1
Disk 3 - Half-Life 2 Episode 2
etc

I assume it would have to be included within the shortcut/rom title prior to scraping but could also be editable via the gui.

i.e
Half-Life 2-cd1 - Half-Life 2.lnk
Half-Life 2-cd2 - Half-Life 2 - Episode 1.lnk
Half-Life 2-cd3 - Half-Life 2 - Episode 2.lnk
etc

Do you think it can be done or am I just wishfully dreaming?

Let me know your thoughts

RBX

Including the title could be done easily and if you want to group them then you need to make a file launcher that opens your .lnk files, a batch file would do, then inside that fil launcher you'd have all your launchers as ROMs
find quote
Angelscry Offline
Skilled Python Coder
Posts: 2,757
Joined: Sep 2010
Reputation: 38
Location: MTL, Canada
Post: #2744
Version 1.6.5 : This new version of Advanced Launcher bring new features dedicated to skin makers. This new version bring 3 new external commands : %%GET_INFO%%, %%GET_THUMB%% and %%GET_FANART%% that respectively allow XBMC to call data, thumbs and fanart scrapers out of Advanced Launcher using the XBMC internal function RunPlugin().

[Image: screenshot001.jpg] [Image: screenshot002.jpg]

These commands could be directly called like this from skins :
Code:
<onclick>RunPlugin($INFO[ListItem.FileNameAndPath]/%%GET_INFO%%)</onclick>
Code:
<onclick>RunPlugin($INFO[ListItem.FileNameAndPath]/%%GET_THUMB%%)</onclick>
Code:
<onclick>RunPlugin($INFO[ListItem.FileNameAndPath]/%%GET_FANART%%)</onclick>
In the same manner, stand-alone launchers and items could be also directly called like this from skins :
Code:
<onclick>RunPlugin($INFO[ListItem.FileNameAndPath])</onclick>
An actual application of these commands, is for example the version 2.0.7 of Cirrus Extended v2 skin (actually SVN) that will allow to scrap data, thumbs and fanart images directly from the game info screen (see screenshots).

[Image: screenshot004.jpg] [Image: screenshot005.jpg]

Changelog :
  • Add %%GET_THUMB%% external addon command.
  • Add %%GET_FANART%% external addon command.
  • Add %%GET_INFO%% external addon command.

Advanced Launcher | Manual | WiKi | Forums | Tutorials | Gallery | GitHub | Archives | Donate

find quote
Angelscry Offline
Skilled Python Coder
Posts: 2,757
Joined: Sep 2010
Reputation: 38
Location: MTL, Canada
Post: #2745
I have just write a small guide for skin makers who want to integrate Advanced Launcher support and display into their skin : http://www.gwenael.org/forum/viewtopic.php?id=184

Advanced Launcher | Manual | WiKi | Forums | Tutorials | Gallery | GitHub | Archives | Donate

find quote
TheHazel3yes Offline
Senior Member
Posts: 159
Joined: Jan 2010
Reputation: 0
Post: #2746
Angelscry Wrote:
  • %rompath% will define current directory path of each rom file.
  • and %romspath% will define the parent directory path (defined into launcher) of all the rom files.

Does this mean I can combine two variables like below?

Code:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<launchers>
    <launcher>
        <id>62d00337e887d0f3683bc176f900af00</id>
        <name>Game Boy</name>
        <application>/usr/games/mednafen</application>
        <args>-path_sav /media/media/Games/GBA/Saves/ [b]"%romspath%""%romfile%"[/b]</args>
        <rompath>[b]/media/media/Games/GBA/Roms/[/b]</rompath>
        <thumbpath>smb://XBMC/Games/GBA/Artwork/Thumbs/</thumbpath>
        <fanartpath>smb://XBMC/Games/GBA/Artwork/Fanart/</fanartpath>
        <extrafanartpath></extrafanartpath>
        <romext>gb|gbc|gba</romext>
        <platform>Game Boy</platform>
        <thumb>smb://XBMC/Games/GBA/thumb.jpg</thumb>
        <fanart>smb://XBMC/Games/GBA/fanart.jpg</fanart>
        <genre></genre>
        <release>1989</release>
        <publisher></publisher>
        <launcherplot></launcherplot>
        <minimize>true</minimize>
        <lnk></lnk>
        <roms>
            <rom>
                <id>4cded2ef5b611a512d63d95f23d9adf1</id>
                <name>Boxxle</name>
                <filename>[b]smb://XBMC/Games/GBA/Roms/Boxxle.gb[/b]</filename>
                <platform>Game Boy</platform>
                <thumb>smb://XBMC/Games/GBA/Artwork/Thumbs/Boxxle.jpg</thumb>
                <fanart>smb://XBMC/Games/GBA/Artwork/Fanart/Boxxle.jpg</fanart>
                <extrafanart></extrafanart>
                <genre>Puzzle</genre>
                <release>1990</release>
                <publisher>Atelier Double</publisher>
                <gameplot></gameplot>
            </rom>

I've marked the relevant parts bold. You see I'm using SMB paths where possible, however emulators won't work with SMB so I have to use hardcoded path in the args variable. Right now I've hardcoded paths in the filename of each game. After the switch from XBMC Live to OpenELEC the paths were different and so I had to change all of them. With the modification shown above I would only need to change the path once per emulator.
find quote
Angelscry Offline
Skilled Python Coder
Posts: 2,757
Joined: Sep 2010
Reputation: 38
Location: MTL, Canada
Post: #2747
TheHazel3yes Wrote:Does this mean I can combine two variables like below?

Code:
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<launchers>
    <launcher>
        <id>62d00337e887d0f3683bc176f900af00</id>
        <name>Game Boy</name>
        <application>/usr/games/mednafen</application>
        <args>-path_sav /media/media/Games/GBA/Saves/ [b]"%romspath%""%romfile%"[/b]</args>
        <rompath>[b]/media/media/Games/GBA/Roms/[/b]</rompath>
        <thumbpath>smb://XBMC/Games/GBA/Artwork/Thumbs/</thumbpath>
        <fanartpath>smb://XBMC/Games/GBA/Artwork/Fanart/</fanartpath>
        <extrafanartpath></extrafanartpath>
        <romext>gb|gbc|gba</romext>
        <platform>Game Boy</platform>
        <thumb>smb://XBMC/Games/GBA/thumb.jpg</thumb>
        <fanart>smb://XBMC/Games/GBA/fanart.jpg</fanart>
        <genre></genre>
        <release>1989</release>
        <publisher></publisher>
        <launcherplot></launcherplot>
        <minimize>true</minimize>
        <lnk></lnk>
        <roms>
            <rom>
                <id>4cded2ef5b611a512d63d95f23d9adf1</id>
                <name>Boxxle</name>
                <filename>[b]smb://XBMC/Games/GBA/Roms/Boxxle.gb[/b]</filename>
                <platform>Game Boy</platform>
                <thumb>smb://XBMC/Games/GBA/Artwork/Thumbs/Boxxle.jpg</thumb>
                <fanart>smb://XBMC/Games/GBA/Artwork/Fanart/Boxxle.jpg</fanart>
                <extrafanart></extrafanart>
                <genre>Puzzle</genre>
                <release>1990</release>
                <publisher>Atelier Double</publisher>
                <gameplot></gameplot>
            </rom>

I've marked the relevant parts bold. You see I'm using SMB paths where possible, however emulators won't work with SMB so I have to use hardcoded path in the args variable. Right now I've hardcoded paths in the filename of each game. After the switch from XBMC Live to OpenELEC the paths were different and so I had to change all of them. With the modification shown above I would only need to change the path once per emulator.
Yes, that's the goal of the Advanced Launcher custom parameters (%rompath%, %romfile%, etc...). Allows users to create sophisticated command lines that correspond to their needs. And your post is a great and smart example how these Advanced Launcher custom parameters could be used. Thank you for your share !!! Nod Wink

Advanced Launcher | Manual | WiKi | Forums | Tutorials | Gallery | GitHub | Archives | Donate

find quote
hentai23 Offline
Fan
Posts: 650
Joined: Sep 2010
Reputation: 0
Location: another universe ..it would seem xD
Post: #2748
hey angel you find out a way to be able to scrape the first image in the archive for cbr and cbz files and use it as thumb?


would be alot of help since ALOT of wrong thumbs from comicvine are added to my comics or entirely missing and yes ive properly named them -.-'
(This post was last modified: 2011-11-08 14:50 by hentai23.)
find quote
Angelscry Offline
Skilled Python Coder
Posts: 2,757
Joined: Sep 2010
Reputation: 38
Location: MTL, Canada
Post: #2749
hentai23 Wrote:hey angel you find out a way to be able to scrape the first image in the archive for cbr and cbz files and use it as thumb?

would be alot of help since ALOT of wrong thumbs from comicvine are added to my comics or entirely missing and yes ive properly named them -.-'
No. Not even try to search for. I'm not interested to work on this. Please give me a break. Oo

Advanced Launcher | Manual | WiKi | Forums | Tutorials | Gallery | GitHub | Archives | Donate

(This post was last modified: 2011-11-08 15:48 by Angelscry.)
find quote
hentai23 Offline
Fan
Posts: 650
Joined: Sep 2010
Reputation: 0
Location: another universe ..it would seem xD
Post: #2750
ok -.-'....xD
find quote
Post Reply