Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| systems:scummvm [2025/05/11 18:31] – Introduced v42 features: autodetection crcerror | systems:scummvm [2025/05/17 03:33] (current) – typo tovarichtch | ||
|---|---|---|---|
| Line 40: | Line 40: | ||
| ==== Setup games ==== | ==== Setup games ==== | ||
| - | Since **Batocera v42** it is easier | + | Since **Batocera v42** it is easier |
| - | As the ultimate setup, there is a small helper | + | As the ultimate setup, there is a [[https:// |
| - | Be aware that a kind of priorizing takes place. Highest priority is **file content**, after that the **filename**, | + | Be aware that a kind of priorizing takes place. Highest priority is **file content**, after that the **filename**, |
| === General Setup === | === General Setup === | ||
| - | Create a directory per game in ''/ | + | Create a directory per game in ''/ |
| === GameID or EngineID === | === GameID or EngineID === | ||
| Line 54: | Line 54: | ||
| === Autodetection === | === Autodetection === | ||
| - | Create a directory per game in ''/ | + | Create a directory per game in ''/ |
| **Attention: | **Attention: | ||
| === Use Setup Script === | === Use Setup Script === | ||
| - | You can use a small script to setup everything for you. Be aware that the script will exit if there is a '' | + | You can use a [[https:// |
| < | < | ||
| Usage: | Usage: | ||
| - | ./ | + | ./ |
| </ | </ | ||
| - | * '' | + | * '' |
| - | * '' | + | * '' |
| - | * '' | + | * '' |
| + | * '' | ||
| Download the script from [[https:// | Download the script from [[https:// | ||
| You can wrap a small script around this to autocreate all files needed for your games. Thanks to knulli for the script, I made some small modifications around that. | You can wrap a small script around this to autocreate all files needed for your games. Thanks to knulli for the script, I made some small modifications around that. | ||
| + | |||
| + | Here is a small example how to use the script to mass add games and to proper create scummvm-files. Please improve the scripts to make it work for you and share with the community. Me (crcerror aka cyperghost) has a real life ... so please see this as a scripting example. | ||
| + | < | ||
| + | #!/bin/bash | ||
| + | # Error Codes: | ||
| + | # 0 - everything went okay | ||
| + | # 1 - general error (missing parameters, wrong parameter | ||
| + | # 11 - game folder does not exist | ||
| + | # 12 - game folder is empty | ||
| + | # 13 - scummvm file found in gamedir | ||
| + | # 15 - scummvm.ini already contains GameID | ||
| + | # So it's up to YOU to handle this, please delete / | ||
| + | |||
| + | readarray -t array < <(find . -mindepth 1 -maxdepth 1 -name " | ||
| + | for i in " | ||
| + | bash scummvm-addgames-v2.sh " | ||
| + | done | ||
| + | rm / | ||
| + | </ | ||
| ==== Detect GameIDs ==== | ==== Detect GameIDs ==== | ||
| - | GameIDs are needed to setup a game for a specific language or to use special features that are included inside the game. That means CD specials like Talkie | + | GameIDs are needed to setup a game for a specific language or to use special features that are included inside the game. That means CD specials like // |
| <WRAP center round tip> | <WRAP center round tip> | ||
| Line 87: | Line 107: | ||
| {{: | {{: | ||
| - | Here, the codename | + | Here, the EngineID |
| <WRAP center round tip> | <WRAP center round tip> | ||
| Line 93: | Line 113: | ||
| </ | </ | ||
| - | After the game been added on ScummVM it's possible to edit the codename. It's a good way to setup the launcher for [[# | + | After the game been added on ScummVM it's possible to edit the EngineID. It's a good way to setup the launcher for [[# |
| {{: | {{: | ||
| Line 121: | Line 141: | ||
| ==== Core Differences ==== | ==== Core Differences ==== | ||
| - | Since Batocera v42 both cores work quite similarly. They share the same savegame location, both cores use autodetection if no '' | + | Since Batocera v42 both cores work quite similarly. They share the same savegame location, both cores use autodetection if no '' |
| - Location of '' | - Location of '' | ||
| - Standalone ScummVM: ''/ | - Standalone ScummVM: ''/ | ||
| - Libretro ScummVM: ''/ | - Libretro ScummVM: ''/ | ||
| - | - Handling of gameID | + | - Handling of GameID |
| - | - Standalone ScummVM: Handles a gameID | + | - Standalone ScummVM: Handles a GameID |
| - | - Libretro ScummVM: Handles a gameID | + | - Libretro ScummVM: Handles a GameID |
| - | - Versions | + | - Different versions: |
| - | - Refer to core and its version info. Usually the version number differs not so much | + | - Refer to core and its version info. Usually the version number differs not so much, so libretro and standalone cores are almost compatible |
| - Language Setup | - Language Setup | ||
| - Standalone ScummVM: Use the GameID, setted from file content and filename or use EmulationStation Frontend to define the specific language | - Standalone ScummVM: Use the GameID, setted from file content and filename or use EmulationStation Frontend to define the specific language | ||
| - Libretro ScummVM: Language can only be setted by proper GameID - there is no option in ES available | - Libretro ScummVM: Language can only be setted by proper GameID - there is no option in ES available | ||
| - | I made best experience to setup one core completly and then copy the setupd '' | + | I made best experience to setup one core completly and then copy the setupd '' |
| ==== None of that works for me! ==== | ==== None of that works for me! ==== | ||
| Line 141: | Line 161: | ||
| First be aware that priorizing takes place. Highest priority is **file content**, after that the **filename**, | First be aware that priorizing takes place. Highest priority is **file content**, after that the **filename**, | ||
| - | Alternatively, | + | Alternatively, |
| - | Game titles and their codenames | + | Game titles and their EngineIDs |
| ==== MIDI ROMs / Roland MT-32 music ==== | ==== MIDI ROMs / Roland MT-32 music ==== | ||
| Line 167: | Line 187: | ||
| * Quit ScummVM and re-launch the game. | * Quit ScummVM and re-launch the game. | ||
| * Enjoy the music. | * Enjoy the music. | ||
| - | |||
| ===== Emulators ===== | ===== Emulators ===== | ||
| Line 259: | Line 278: | ||
| - '' | - '' | ||
| - | ==== I've put the codename | + | ==== I've put the EngineID |
| It's the launch file that needs to be '' | It's the launch file that needs to be '' | ||
| Line 265: | Line 284: | ||
| If that's not it, some games could have different versions, you can specify it with (or a combination of): | If that's not it, some games could have different versions, you can specify it with (or a combination of): | ||
| - | - ''< | + | - ''< |
| - | - ''< | + | - ''< |
| - | - ''< | + | - ''< |
| - | - ''< | + | - ''< |
| - | - ''< | + | - ''< |
| - | - ''< | + | - ''< |
| - | - ''< | + | - ''< |
| - | - ''< | + | - ''< |
| - | - ''< | + | - ''< |
| - | - ''< | + | - ''< |
| - | - ''< | + | - ''< |
| - | - ''< | + | - ''< |
| - | - ''< | + | - ''< |
| - | - ''< | + | - ''< |
| ==== Further troubleshooting ==== | ==== Further troubleshooting ==== | ||
systems/scummvm.1746988291.txt.gz · Last modified: by crcerror