Creating new DOSBOX based system
-
Hi friends, i continue creating a pinball system for my arcade bartop. I create a new system and a new theme called "pinball", i create the .sh files for my games but i dont know why, when i try to launch the sh file with all routed ok, dont work.
I dont know if i must change something so dosbox point to the folder "pinball" created in roms folder.
I leave here the code of an .sh file in my roms/pinball folder:
/opt/retropie/emulators/dosbox/bin/dosbox -c "@mount c $HOME/RetroPie/roms/pinball/games/pptw/PPTW" -c "@imgmount d $HOME/RetroPie/roms/pinball/games/pptw/THE_WEB.cue -t iso" -c "@c:" -c "@WEB" -c "exit"
If i use the same code but changing pinball for pc, and with the files of the game in pc folder its work, i dont know why, in pinball folder it didnt work. Thanks.
-
@codafire said in Creating new DOSBOX based system:
If i use the same code but changing pinball for pc, and with the files of the game in pc folder its work, i dont know why, in pinball folder it didnt work. Thanks.
What does the "pinball" section of your
es_systems.cfg
look like and, for good measure, can we see the working "pc" section as well? -
@sleve_mcdichael this is my pinball section:
<system>
<name>pinball</name>
<fullname>Pinball Games</fullname>
<path>/home/pi/RetroPie/roms/pinball</path>
<extension>.bat .com .exe .sh .conf .BAT .COM .EXE .SH .CONF</extension>
<command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 SYS pc %ROM%</command>
<platform>pinball</platform>
<theme>pinball</theme>
</system>
<system>You want a video gameplay?
-
What error you get - exactly - when you're running the game ? Post the log file from
/dev/shm/runcommand.log
. -
@mitu It dont create a log file, i discover it fails when i erase +Start DOSBox.sh from the folder roms/pc, if i keep it there the pinball system works perfectly.
+Start DOSBox.sh code is this:
#!/bin/bash [[ ! -n "$(aconnect -o | grep -e TiMidity -e FluidSynth)" ]] && needs_synth="1" function midi_synth() { [[ "$needs_synth" != "1" ]] && return case "$1" in "start") timidity -Os -iAD & until [[ -n "$(aconnect -o | grep TiMidity)" ]]; do sleep 1 done ;; "stop") killall timidity ;; *) ;; esac } params=("$@") if [[ -z "${params[0]}" ]]; then params=(-c "@MOUNT C /home/pi/RetroPie/roms/pc" -c "@C:") elif [[ "${params[0]}" == *.sh ]]; then midi_synth start bash "${params[@]}" midi_synth stop exit elif [[ "${params[0]}" == *.conf ]]; then params=(-userconf -conf "${params[@]}") else params+=(-exit) fi midi_synth start "/opt/retropie/emulators/dosbox/bin/dosbox" "${params[@]}" midi_synth stop
-
@codafire said in Creating new DOSBOX based system:
i discover it fails when i erase +Start DOSBox.sh from the folder roms/pc, if i keep it there the pinball system works perfectly.
That script is used as an intermediate launcher for the
pc
games, so would advise not to delete it. Reinstalldosbox
and it will be re-created. -
@mitu i have a backup of this file, i restored it an hidde sonthe system msdos dont appears. Thanks!!!
-
It sounds like this is a very complicated method of listing all of your dosbox emulated pinball games in one place. Are you applying some very specific controls or other settings for these games? Otherwise, you could just use a collection.
The "collections" feature was designed to allow you to group games, even those from different systems.
For example, you could put NES, Genesis, DOS and Arcade pinball games in a collection titled "Pinball" using the Retropie menu options for doing so. When selected, each would run properly using their settings from their native system.
-
The "collections" feature was designed to allow you to group games, even those from different systems.
I have "fighters" and "shmups" collections that do this exact thing. Great feature!
-
@ramenraidery95 I never ear a bout that.... Mmmmm, i try it, thanks!
-
@codafire You're welcome!
Everything you need should be right here:
https://retropie.org.uk/docs/EmulationStation/#custom-collections
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.