RSH!
I am downright proud of you!
Thank you very much. That's a surprise to me.
a script that can be used, when clicked on, to load an SFS containing an application or game and start said application or game.
And upon exiting that application or game having the SFS unload.
And all of it is very fast in execution.
Just, what you've asked for.
So to me, you have a Pearl of a script there that should be very useful to anyone using it.
Maybe, a small one, a very small one.
And that is not to say that other applications cannot use it either.
Should be usable for any application that runs in puppy.
It saves having to have a bunch of SFS files loaded to be able to use the applications in each one.
I know because I have a number of them loaded.
Me too. Sometimes 50 of them and up.
I am picturing gamers with a bunch of games in SFS format being able to use the script modified for each game, renamed as a loader for the game, and assigned an icon even.
Can you imagine the following?
- do a right-click on a sfs
- getting a gui to set some preferences
Preferences would be
- copy script to sfs location
- run the script (application) only in pupmode=5
- copy .desktop file and icon into the running system
- replace the "Exec=" entry of the .desktop file with the scripts name and path
- create a desktop button (icon automatically assigned)
- define a user script to run at first
- define a link to download the sfs (like a link to the devs dirs at smokey01.com)
- detect and keep the md5sum for md5sum-check after downloading the sfs
After exiting the gui with 'OK' it would build a RunScript which would execute each and every action, one has set the preferences for.
Method (Right-click a GIMP Image (GIMP not installed)):
- try to run the GIMP
- try to load the GIMP sfs if program can not be executed
- try to download the GIMP SFS if can not be loaded
- after downloading and loading the sfs, run the GIMP
- after GIMP runs, load the Image into GIMP
- work on the Image
All just by a single click on the RunScript, Desktop button or the menu entry.
Wouldn't this be awesome?
LazY Puppy's SFS P.L.U.S. can do all of this!
I currently can run 442 RunScripts of 442 Programs in 286 SFS Files, all by the RunScripts, all without a save file and it works no matter if the OS comes from /mnt/sda1, /mnt/sdd1/LazY, /mnt/home etc.pp.
For fastest results it needs the SFS Files to put into boot
directory
SFS P.L.U.S. 2.0.3 (in the Utilities Section of the Forum) can do most of this.
But your request to unload automatically was something which didn't come to my mind, because my computers do have 1,5 and 2 GB RAM. No need to unload automatically after the application is closed. Might be very useful on computers with small RAM.
So, I will take this, refine it and put it into the LazY Puppy SFS P.L.U.S. (and later into the 2.0.3 Version).
So again, Good Job! Be sure to make that available to Puppy users.
I am sure they would also love it.
Thanks again. As you can see: it's almost already there.