Results 1 to 10 of 10

Thread: how can i embed any program into a generic skin file?

  1. #1
    Maximum Bitrate
    Join Date
    Dec 2007
    Posts
    738

    how can i embed any program into a generic skin file?

    I know how to embed a program into rr, but you need a skin file for each program. That's not my solution.. here's my situation.. i wanna able to run any executable(short cuts) from the list and load that into one generic skin and run.. I am in the middle of creating game.skin... game list may contain, mame, pc games.. etc... clicking any one of them should fire a specific game.. Is this doable?

    Thanks as always..

  2. #2
    FLAC
    Auto Apps:loading...
    EL CAMINO's Avatar
    Join Date
    Jul 2005
    Location
    upland california us
    Posts
    1,283
    very possible, just use a variable to set path, window name,

    i.e.

    Code:
    "LOAD;generic_app.skin;$TTS$;$APPPATH$;$APPNAME$"
    where:

    TTS holds what RR will say when loading the screen..

    APPPATH holds the path for the selected application..

    APPNAME holds the applications window name..

    of course you need to set the variables value first. depending in how you will select your applications you will set the values, maybe from a custom list?.

    using a custom list:

    Code:
    "CLADD;path1;windowname1"
    you must repeat this step for each application.

    and the button code for run the selected application would be like this.

    Code:
    "SETVARBYCODE;CLTEXT;APPPATH||SETVARBYCODE;CLDESC;APPNAME||LOAD;generic_app.skin;GAMES;$APPPATH$;$APPNAME$"
    try it, i think it will work.

  3. #3
    Maximum Bitrate
    Join Date
    Dec 2007
    Posts
    738
    Thanks El Camino.. Could you be little more specific? which code goes where?

    this is the flow i have in mind.. i click game from menu screen which will load the game list screen... I assume this is where SC needs to be defined... when an item from the list is selected, I press play button which will will load a game in a generic skin...

    Given that, I am not sure how to assoicate or figure out ur code with approprite screen and control... And what's CLADD?

  4. #4
    FLAC Sal R.'s Avatar
    Join Date
    Aug 2006
    Location
    Sun Diego
    Posts
    1,448
    See Skin Commands.txt for CLADD.

    EC pretty gave you most of the code you need to do what you're trying to do.

    CLADD will be used after you load your game_menu.skin and that command will populate your SC list.

    game.skin >> button to load menu >> game_menu.skin >> CLADD or CLLOAD for you game apps
    Pico-ITX / XP Home with EWF-HORM / RR v12/02/2009 / Winamp v5.13 / RRMedia v1.2.2

  5. #5
    Maximum Bitrate
    Join Date
    Dec 2007
    Posts
    738
    Thanks guys.. i think i am almost there...

    list loads fine into CL, but when i click launch nothing happens..

    i click game with this command, "LOAD;GAME.SKIN||CLADD;C:\Documents and Settings\sinman\My Documents\Download\arcade\mame32.exe;MAME32 PLUS! 0.111||CLADD;C:\Program Files\KONAMI\Pro Evolution Soccer 2008\PES2008.exe;Pro Evolution Soccer 2008"


    Above click loads game.skin with SC and two items in it.


    I click an item in SC, I then click lauch button with the following command, "SETVARBYCODE;CLTEXT;APPPATH||SETVARBYCODE;CLDESC; APPNAME||LOAD;generic.skin;GAMES;$APPPATH$;$APPNAM E$"


    Nothing happens...

    debug file,



    8/4/2008 5:03:34 PM: Start -- Version: 11/2/2007
    8/4/2008 5:03:34 PM: Master Vol: Volume Control/4
    8/4/2008 5:03:34 PM: GetLineControl Failed: 401
    8/4/2008 5:03:34 PM: No Treble Support
    8/4/2008 5:03:34 PM: GetLineControl Failed: 401
    8/4/2008 5:03:34 PM: No Bass Support
    8/4/2008 5:03:34 PM: Source: Wave=&H1008/1
    8/4/2008 5:03:34 PM: Source: SW Synth=&H1004/2
    8/4/2008 5:03:34 PM: Source: CD Player=&H1005/3
    8/4/2008 5:03:34 PM: Source: Subwoofer=&H100A/4
    8/4/2008 5:03:34 PM: Source: PC Speaker=&H100A/5
    8/4/2008 5:03:35 PM: Sim.WMSGs: 1
    8/4/2008 5:03:35 PM: Sim.WMSGs: 1
    8/4/2008 5:03:35 PM: Sim.WMSGs: 1
    8/4/2008 5:03:36 PM: Sim.WMSGs: 1
    8/4/2008 5:03:36 PM: Sim.WMSGs: 1
    8/4/2008 5:03:36 PM: Sim.WMSGs: 1
    8/4/2008 5:03:36 PM: Enter Exec: False, menu.skin, , False
    8/4/2008 5:03:36 PM: Que Exec: True, menu.skin, "ONSKINSTART", False
    8/4/2008 5:03:36 PM: Executing: ONSKINSTART
    8/4/2008 5:03:36 PM: Leave Exec: False, menu.skin, ONSKINSTART, False
    8/4/2008 5:03:36 PM: Enter Exec: False, menu.skin, , False
    8/4/2008 5:03:36 PM: Que Exec: True, menu.skin, "ONSONGSTART", False
    8/4/2008 5:03:36 PM: Executing: ONSONGSTART
    8/4/2008 5:03:36 PM: Leave Exec: False, menu.skin, ONSONGSTART, False
    8/4/2008 5:03:37 PM: Enter Exec: False, menu.skin, "LOAD;GAME.SKIN||CLADD;C:\Documents and Settings\sinman\My Documents\Download\arcade\mame32.exe;MAME32 PLUS! 0.111||CLADD;C:\Program Files\KONAMI\Pro Evolution Soccer 2008\PES2008.exe;Pro Evolution Soccer 2008", False
    8/4/2008 5:03:37 PM: Que Exec: True, menu.skin, "LOAD;GAME.SKIN||CLADD;C:\Documents and Settings\sinman\My Documents\Download\arcade\mame32.exe;MAME32 PLUS! 0.111||CLADD;C:\Program Files\KONAMI\Pro Evolution Soccer 2008\PES2008.exe;Pro Evolution Soccer 2008", False
    8/4/2008 5:03:37 PM: Executing: LOAD;GAME.SKIN
    8/4/2008 5:03:38 PM: Enter Exec: True, game.skin, , False
    8/4/2008 5:03:38 PM: Que Exec: True, game.skin, "CLADD;C:\Documents and Settings\sinman\My Documents\Download\arcade\mame32.exe;MAME32 PLUS! 0.111||CLADD;C:\Program Files\KONAMI\Pro Evolution Soccer 2008\PES2008.exe;Pro Evolution Soccer 2008", False
    8/4/2008 5:03:38 PM: Executing: CLADD;C:\Documents and Settings\sinman\My Documents\Download\arcade\mame32.exe;MAME32 PLUS! 0.111
    8/4/2008 5:03:38 PM: Que Exec: True, game.skin, "CLADD;C:\Program Files\KONAMI\Pro Evolution Soccer 2008\PES2008.exe;Pro Evolution Soccer 2008", False
    8/4/2008 5:03:38 PM: Executing: CLADD;C:\Program Files\KONAMI\Pro Evolution Soccer 2008\PES2008.exe;Pro Evolution Soccer 2008
    8/4/2008 5:03:38 PM: Leave Exec: False, game.skin, CLADD;C:\Program Files\KONAMI\Pro Evolution Soccer 2008\PES2008.exe;Pro Evolution Soccer 2008, False
    8/4/2008 5:03:39 PM: Enter Exec: False, game.skin, "ONCLCLICK", False
    8/4/2008 5:03:39 PM: Que Exec: True, game.skin, "ONCLCLICK", False
    8/4/2008 5:03:39 PM: Executing: ONCLCLICK
    8/4/2008 5:03:39 PM: Leave Exec: False, game.skin, ONCLCLICK, False
    8/4/2008 5:04:55 PM: Sim.WMSGs: 1
    8/4/2008 5:04:55 PM: Sim.WMSGs: 2
    8/4/2008 5:04:55 PM: Sim.WMSGs: 1
    8/4/2008 5:04:55 PM: Sim.WMSGs: 1
    8/4/2008 5:04:55 PM: Sim.WMSGs: 1
    8/4/2008 5:04:55 PM: Sim.WMSGs: 1
    8/4/2008 5:04:55 PM: Sim.WMSGs: 1
    8/4/2008 5:04:55 PM: Sim.WMSGs: 1
    8/4/2008 5:04:55 PM: Sim.WMSGs: 1
    8/4/2008 5:04:58 PM: Enter Exec: False, game.skin, "ONCLCLICK", False
    8/4/2008 5:04:58 PM: Que Exec: True, game.skin, "ONCLCLICK", False
    8/4/2008 5:04:58 PM: Executing: ONCLCLICK
    8/4/2008 5:04:58 PM: Leave Exec: False, game.skin, ONCLCLICK, False
    8/4/2008 5:05:00 PM: Enter Exec: False, game.skin, "ONCLCLICK", False
    8/4/2008 5:05:00 PM: Que Exec: True, game.skin, "ONCLCLICK", False
    8/4/2008 5:05:00 PM: Executing: ONCLCLICK
    8/4/2008 5:05:00 PM: Leave Exec: False, game.skin, ONCLCLICK, False

  6. #6
    FLAC Sal R.'s Avatar
    Join Date
    Aug 2006
    Location
    Sun Diego
    Posts
    1,448
    Try changing "GAMES" into "RUN" in your launch command line.
    Pico-ITX / XP Home with EWF-HORM / RR v12/02/2009 / Winamp v5.13 / RRMedia v1.2.2

  7. #7
    FLAC
    Auto Apps:loading...
    EL CAMINO's Avatar
    Join Date
    Jul 2005
    Location
    upland california us
    Posts
    1,283
    my bad, the above code is wrong,

    Code:
    "SETVARBYCODE;APPPATH;CLTEXT||SETVARBYCODE;APPNAME;CLDESC||LOAD;generic.skin;GAMES;$APPPATH$;$APPNAME$"
    also i suggest you to use "CLCLEAR;ALL" right after you load the screen that has your games list. that way if you go back to your games list screen, the list will be reloaded.

  8. #8
    Maximum Bitrate
    Join Date
    Dec 2007
    Posts
    738
    tried both.. didn't make any difference ..... No biggie, i might just create buttons for each game i guess..

  9. #9
    FLAC
    Auto Apps:loading...
    EL CAMINO's Avatar
    Join Date
    Jul 2005
    Location
    upland california us
    Posts
    1,283
    lets see what you have, then. the 2 screens and the info from your applications, (path and window name).

  10. #10
    Maximum Bitrate
    Join Date
    Dec 2007
    Posts
    738
    It's same as above EC, post 5... just tried your new command.. same deal... those lines path and window names are correct, I test them indivisually... I decided to go different route though.. I am thinking it isn't like i am gonna have a list of 20 games anything like that.. at most maybe 5... so i am just gonna create buttons with image and label... Looks better...

    Anyway, i think i learned new stuff today.. Thanks to you guys.. I'll probably come back to this shortly though...

Similar Threads

  1. New generic MediaCar skin
    By febsperanza in forum MediaCar
    Replies: 284
    Last Post: 11-27-2009, 11:28 AM
  2. Replies: 65
    Last Post: 07-23-2008, 02:03 AM
  3. Uber MDX Configurator Beta Testing...
    By 2k1Toaster in forum FB Software
    Replies: 344
    Last Post: 06-08-2008, 11:49 PM
  4. "Avic'ted" - Pioneer Styled Skin
    By monkeyracer in forum RR Skins
    Replies: 36
    Last Post: 10-19-2007, 10:08 AM
  5. Tutorial for installing pycar on Linux
    By kbyrd in forum PyCar
    Replies: 18
    Last Post: 11-01-2006, 12:59 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •