-
Notifications
You must be signed in to change notification settings - Fork 94
Updated scummvm.sh to support starting ScummVM games without drilling down #858
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Nice. I'll review and if I include it, I'll modify it to account for supported systems that have a 2 sd card setup. I will credit you with this as well if I include this. |
Cool. The code is generic of rom location. fbname=$(basename "$2" .scummvm) It just takes the name of the scummvm file, e.g. "dig, bbvs, "The Dig", etc. and adds that as a folder name in front of the scummvm file, so: /roms/scummvm/dig.scummvm is converted to /roms/scummvm/dig/dig.scummvm The new requirement is the game folder and the name of the scummvm file needs to be the same or else if will not work. This is how I installed 99 ScummVM games from my other Arcade Cabinet build:
My OCD was showing. I wanted ES to work in that folder like the other folders without traversing into a subfolder. :) |
So where in this script do I make this modification to include this capability?
|
|
You might want to change the scan script to place all the .scummvm files in the /roms/scummvm folder. I wrote a linux command via ssh to move them from the folders to that folder. |
With this change, it works to launch the game from the /roms/scummvm folder but if I move the .scummvm files to a subfolder, it doesn't launch. Some folks like to organize their games into subfolders including launching them from there. Any suggestions for accommodating both? |
Let me think about it and come up with a way to make both work. |
Ok try this:
This checks to see if the .scummvm is in the same folder as the game folder or within the game folder and executes appropriately. Tested on my build, |
So the installation procedure would be:
I use Skraper beta on the .scummvm files to get the mixart for each game. |
Thanks I've confirmed that the last scummvm.sh script you posted works great. I am the initial creator of PortMaster but I've moved away from maintaining that and there's a new team managing that. Checkout portmaster.games for more information. You can also join the Discord for PortMaster here: https://discord.gg/m2QcSkMh You can fix the controls in the options menu while within game or with |
Hmm....I copied the gzdoom.ini from the rg353m to my rg353v and the controls seem fine now. You can do the same by copying the |
Actually, doing a restore of the default controls for gzdoom fixes the issue as well. Seems like the initial configuration is bad. |
Awesome!!! I'm in process of filling a 512GB sdcard with roms. I had read somewhere that I thought it supported NTFS but it looks like it only supports FAT32. Sorry if my OCD is showing. I like things to work right. :) |
NTFS is supported. You just have to make sure the switch to sd2 was done with a ntfs card in place first. Otherwise, do a switch to main, then insert your ntfs card, then do switch to sd2. |
I will try that when I'm back from vacation. I'm now using a 512GB sdcard formatted as FAT32 with no issues. I used to install the sdcard in the PC, then back to the RG353V and back and forth and it looks like the other 512GB card I was using got corrupted because in the RG353V it showed as 99% full but when I copied all the files off it they totaled 248GB. Turns out corruption screwed with the filesystem. A chkdsk repair in windows created a TON of lost files so I now winscp everything over and don;t remove it. I will format a 512GB card to NTFS and see if that works. I thought when I tried that the ArkOS never booted up. I'll check when I'm back from vacation, week of the 15th. |
This has been added with today's update. |
I added code to the scummvm.sh file so that the games will start when the scummvm file is in the /roms/scummvm folder instead of the subfolder where the game is located:
fbname=$(basename "$2" .scummvm)
game=$(dirname "$2")/"$fbname"/"$(basename "$2")"
set -- "$1" "$game" "$3"
Using the game "dig" as an example:
Place the game files in /roms/scummvm/dig
Create a file called "dig.scummvm" that contains the scummvm code for "dig" that was registered in the scummvm.ini file.
When the dig.scummvm file is stored in the game folder $2 = "/roms/scummvm/dig/dig.scummvm"
When the dig.scummvm file is stored in the /roms/scummvm folder $2 = "/roms/scummvm/dig.scummvm" but does not run the game.
The code above converts "/roms/scummvm/dig.scummvm" to "/roms/scummvm/dig/dig.scummvm" and that allows the game to run.
I'm posting this for inclusion in the build.
ER
The text was updated successfully, but these errors were encountered: