[dev] Little favorite launcher (third attempt - ready for testers!) v.055! - last release I am finished
-
@cyperghost My, you really like to suffer, editing all this in nano :) I'm sure you'd even have emacs, if you do want to do everything on the Pi!
You might be better off coding on your computer and copying the files to the pi for compilation, though.
-
@pjft Most of the work was done in nano.
Of course I made some file testing like thissysbash=mid(runcommand,1,InStr(runcommand, "%ROM%")-1)+chr(34)+rom_name+chr(34)+Mid(runcommand,InStr(runcommand, "%ROM%")+Len("%ROM%"),Len(runcommand))
on a windows mashine but inserting was done via nano!So the code locks messy but it is structered via case select for
- Acting as creator for FAV files
- Acting as lauchner for FAV files
Is there a need for the binary?
-
@cyperghost hello mate! I was bothering BuZz to implement a feature in runcommand that I think would help you here. Such feature is now part of RetroPie-Setup.
I think you can use your method described in the OP without messing the "official" runcommand, just place your script at
/opt/retropie/configs/all/runcommand-menu/
.See the conversation here to get details. I'll try to update the runcommand wiki accordingly soon.
-
@meleu Well done good sir. Thanks for helping move the community's initiatives forward!
-
@meleu Sorry my friend that does not work!
I can't create a FAV on every time I run a ROM.
I need an exact entrypoint if I want to change some settings and this entry point can only be theruncommand.sh
in it's selection mode. I developed this software a bit more on to version 0.65, it now deltetes created fav by toggle check fileexistance....I fully understand buzz because the runcommand is his baby - and I just implanted an alien egg in. I think it's okay for personal purpose and for a few freaks but I have the deep hope that someone creates sometimes a better system.
Personally this laucher is very cool, because you can edit FAV files and can easily change emumashine call. I created yesterday CPS1 und CPS2 systems. Almost all CPS1 run in mame-libretro almost all CPS2 run in FBA.
But one or two romes of CPS1 do only run in FBA... But I have no further game selection out of ES because the CPS1 system is marked as mame-libretro. So you pick out that little coconut via FAV menu and just toggle from mame to fba by editing FAV file second line :)
-
@cyperghost said in [dev] Little favorite launcher (third attempt - ready for testers!) v.055! - last release I am finished:
@meleu Sorry my friend that does not work!
I can't create a FAV on every time I run a ROM.
I need an exact entrypoint if I want to change some settings and this entry point can only be the runcommand.sh in it's selection mode.I think you misunderstood what that PR really is. It's a way to launch a user script during runcommand only if user invoke runcommand menu and choose the option to launch the script. IMHO your method to create those .fav files fits perfectly in this feature.
Sorry if I'm not being very clear, I'll try to describe it better when I update the the wiki. ;-)
-
Ah understand....
Yes that should work....
Am I able to select specific binaries/bash schript? Or does they run all if they are called? -
@meleu Wonderfull! That's really a hit! Works like a charm. Now I can add two options....
Add Favourites and Delete Favourites! -
@meleu even the EXIT codes work as they should... nice work!
-
@cyperghost BuZz is a genius! :-)
-
@meleu I've bumped the fav-launcher to v0.85 now
Maybe you can give it a chance. With the User Menu it is now possible to add more than one FAV-system
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.