Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 37

Thread: Run an embedded program with option found in a list

  1. #21
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    I just tried the command here and it works as you can see on this screenshot. I can only assume that you're not using the LATEST version of RRExtended.

    However, if StrMid works on your version, then you can try this instead:

    Code:
    B,258,428,272,85,"SETVARBYCODE;FP;LISTTEXT||RRSTRINGS_STRLEN;FP;FLEN||EVAL;FLEN;$FLEN$-4||RRSTRINGS_STRMID;FP;1;$FLEN$;FP||LOAD;finalburnergame.skin||RUN;C:\Program Files\Ride Runner\Skins\Carwings_Dynamic_pm\FinalBurn Alpha\fba | "$finalburnerpath$$FP$"";FB Alpha v0.2.97.08"
    Attached Images Attached Images  
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

  2. #22
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,852
    It's better for me but not run again.

    My last command is that:
    Code:
    B,258,428,272,85,"SETVARBYCODE;FP;LISTTEXT||RRSTRINGS_STRLEN;FP;FLEN||EVAL;FLEN;$FLEN$-4||RRSTRINGS_STRMID;FP;1;$FLEN$;FP||LOAD;finalburnergame.skin||RUN;fba $FP$;FB Alpha v0.2.97.08"
    because final burner don't accept the path before it.
    I i create a run.bat file and put in, fba sf2, it run the good rom because the path is already defined in the final burner ini file.

    My issue now is if i launch the command without the rom name, here $FP$, final burner is well launched but without the rom (it's normal!), but if i add the rom name,($FP$) , final burner are not launched

  3. #23
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    Instead of:
    RUN;fba $FP$;FB Alpha v0.2.97.08
    Try:
    RUN;fba|$FP$;FB Alpha v0.2.97.08
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

  4. #24
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,852
    I have try that:
    Code:
    B,258,428,272,85,"SETVARBYCODE;FP;LISTTEXT||RRSTRINGS_STRLEN;FP;FLEN||EVAL;FLEN;$FLEN$-4||RRSTRINGS_STRMID;FP;1;$FLEN$;FP||LOAD;finalburnergame.skin||RUN;fba | $FP$;FB Alpha v0.2.97.08"
    and the skintool give me:
    Code:
    SETVARBYCODE;FP;LISTTEXT
    -
    setvar;FLEN;0
    -
    EVAL;FLEN;0-4
    -
    RRSTRINGS_STRMID;FP;1;-4;FP
    -
    Command Not Executed: RRSTRINGS_STRMID;FP;1;-4;FP
    -
    LOAD;finalburnergame.skin
    -
    RUN;fba | ;FB Alpha v0.2.97.08
    -




    and if i try that:
    Code:
    B,258,428,272,85,"SETVARBYCODE;FP;LISTTEXT||RRSTRINGS_FILEFROMPATH;$FP$;LISTTEXTFILE||LOAD;finalburnergame.skin||RUN;fba | $LISTTEXTFILE$;FB Alpha v0.2.97.08"

    and the skintool give me:
    Code:
    SETVARBYCODE;FP;LISTTEXT
    -
    RRSTRINGS_FILEFROMPATH;Sfiii3a.zip;LISTTEXTFILE
    -
    Command Not Executed: RRSTRINGS_FILEFROMPATH;Sfiii3a.zip;LISTTEXTFILE
    -
    LOAD;finalburnergame.skin
    -
    ONSCREENCHANGE
    -
    RUN;fba | ;FB Alpha v0.2.97.08
    -
    RRextended RRstrings commands return a name with a upcase Sfiii3a.zip and not sfiii3a.zip that final burner want.

    i shall want to create a run.bat with the WRITETOFILE command and to replace the fba $FP$ command by the run.bat, but that don't run.
    Code:
    WRITETOFILE;C:\Program Files\Ride Runner\Skins\Carwings_Dynamic_pm\Emulators\FinalBurn Alpha\run.bat;=fba $FP$

  5. #25
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    I have no other solutions. The writetofile will not work because the $FP$ variable isn't being set correctly (because RRStrings_Strlen and RRStrings_Strmid are NOT working). All I can tell you is that there's something wrong with your RRExtended -- either it's not loaded or it's not the latest version (1.1.5). If you make RRExtended to work, then all 3 solutions posted will work.
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

  6. #26
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,852
    I have already uninstalled RRextended and reinstall it .

  7. #27
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,817
    You may want to load the plugin manager and see what version it shows for the RRExtended plugin -- you may have more than one version on the machine ?

    You can also try to execute the same commands on the screenshot I posted to see if they work.
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

  8. #28
    The Curator
    Auto Apps:loading...
    Blue ZX3's Avatar
    Join Date
    Aug 2004
    Location
    Chicago area,IL
    Posts
    5,079
    After trying this cmd here too, I got same bad cmd not execuded..bla..bla

    So after looking at code...you need to remove the "$" from the supplied var in the cmd as it will get it from rr when it processes it.

    "RRSTRINGS_FILEFROMPATH;FP;LISTTEXTFILE"

    Is the correct command that your looking for. I will add in future ver that if it gets no return from the var via a var or label then it will just use supplied text which would have then worked as you have tried to use as..


    Sorry for the inconsincess of RR's var "$xx$" syntax and RRExtended!
    RideRunner...The #1 FE, PERIOD.

    Current Project: DFXVoice [v1.0 Released]
    Next in line: RRMedia v2.0

    DFX 5.1.1 Skin
    Appstore Link

    My RideRunner Plugins
    RRMedia
    RRExtended
    DFXVoice

    "There are no bugs - only undocumented features."

  9. #29
    Raw Wave pierrotm777's Avatar
    Join Date
    May 2008
    Location
    Bordeaux, France
    Posts
    2,852
    Quote Originally Posted by Blue ZX3 View Post
    After trying this cmd here too, I got same bad cmd not execuded..bla..bla

    So after looking at code...you need to remove the "$" from the supplied var in the cmd as it will get it from rr when it processes it.

    "RRSTRINGS_FILEFROMPATH;FP;LISTTEXTFILE"

    Is the correct command that your looking for. I will add in future ver that if it gets no return from the var via a var or label then it will just use supplied text which would have then worked as you have tried to use as..


    Sorry for the inconsincess of RR's var "$xx$" syntax and RRExtended!
    With that command line:
    Code:
    B,258,428,272,85,"SETVARBYCODE;FP;LISTTEXT||RRSTRINGS_FILEFROMPATH;FP;LISTTEXTFILE||LOAD;finalburnergame.skin||RUN;fba | $LISTTEXTFILE$;FB Alpha v0.2.97.08"
    my skintool log give me that:
    Code:
    load;emu_console.skin
    -
    ONSCREENCHANGE
    -
    ONBTNPRESS
    -
    LOAD;finalburner.skin
    -
    ONSCREENCHANGE
    -
    ONDIRCLICK
    -
    ONFILECLICK
    -
    ONBTNPRESS
    -
    SETVARBYCODE;FP;LISTTEXT
    -
    RRSTRINGS_FILEFROMPATH;FP;LISTTEXTFILE
    -
    Command Not Executed: RRSTRINGS_FILEFROMPATH;FP;LISTTEXTFILE
    -
    LOAD;finalburnergame.skin
    -
    ONSCREENCHANGE
    -
    RUN;fba | ;FB Alpha v0.2.97.08


  10. #30
    The Curator
    Auto Apps:loading...
    Blue ZX3's Avatar
    Join Date
    Aug 2004
    Location
    Chicago area,IL
    Posts
    5,079
    I will also mention that the notes fail to mention that the var its looking for is in the form of a path, the current version will not take just a file name as you have here. I have fixed/added support for file only if no path supplied.

    So to make it work with current your going to need to put a path break in there too..eg

    Code:
    "SETVARBYCODE;FP;LISTTEXT||SETVAR;FP;\$FP$||RRSTRINGS_FILEFROMPATH;FP;LISTTEXTFILE||LOAD;finalburnergame.skin||RUN;fba | $LISTTEXTFILE$;FB Alpha v0.2.97.08"
    Enjoy
    RideRunner...The #1 FE, PERIOD.

    Current Project: DFXVoice [v1.0 Released]
    Next in line: RRMedia v2.0

    DFX 5.1.1 Skin
    Appstore Link

    My RideRunner Plugins
    RRMedia
    RRExtended
    DFXVoice

    "There are no bugs - only undocumented features."

Page 3 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. Headunit (Linux/Windows CarPC frontend) + initial screenshots
    By NoPistonPC in forum Other Cool Front Ends
    Replies: 321
    Last Post: 08-24-2007, 02:57 PM
  2. Found this list of every OBDII thing out there
    By Skipjacks in forum Engine Management, OBD-II, Engine Diagnostics, etc.
    Replies: 2
    Last Post: 01-27-2005, 04:50 PM
  3. Replies: 9
    Last Post: 01-19-2005, 09:52 AM
  4. Replies: 2
    Last Post: 06-12-2003, 08:13 AM

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
  •