DOSBox Launch Script problem
-
Hello,
Running RetroPie 4.7.2
Raspberry Pi 4, running Raspian GBU/Linux 10 Buster
Power supply from Vilros
Downloaded image from Retropie.org.uk last summer, have run updates a few times since then.
Using a RetroFlag SNES style controller (which must have an Xbox360 USB chip, see error log below) and official Raspberry Pi keyboard and mouse.My issue is I am running DosBox option package (113) and trying to open Battle Chess. When I navigate to the Battle Chess folder in Emulationstation in the PC system, everything works fine; the game loads with no problems.
When I use a script with the following, the game quits after I see the DOSBox spash screen.
#!/bin/bash /opt/retropie/emulators/dosbox/bin/dosbox -conf localdosboxfile.conf -c "mount c /home/pi/RetroPie/roms/pc/" -c "c:" -c "cd /BattleChess/" -c "CHESS.EXE" -c "exit"
Here is what is in the log from
/dev/shm
:Parameters: Executing: SDL1_VIDEODRIVER=dispmanx SDL_DISPMANX_WIDTH=1920 SDL_DISPMANX_HEIGHT=1080 bash /home/pi/RetroPie/roms/pc/+Start\ DOSBox.sh "/home/pi/RetroPie/roms/pc/Battle Chess.sh" Requested buffer size 32768, fragment size 8192 ALSA pcm 'default' set buffer size 32768, period size 8192 bytes DOSBox version SVN Copyright 2002-2019 DOSBox Team, published under GNU GPL. --- CONFIG: Can't open specified config file: localdosboxfile.conf CONFIG: Loading primary settings from config file /home/pi/.dosbox/dosbox-SVN.conf Your fullscreen resolution can NOT be determined, it's assumed to be 1024x768. Please edit the configuration file if this value is wrong. MIXER: Got different values from SDL: freq 44100, blocksize 512 ALSA:Client initialised [128:0] MIDI: Opened device:alsa One joystick reported, initializing with 4axis Using joystick Microsoft X-Box 360 pad with 4 axes, 13 buttons and 1 hat(s) TiMidity starting in ALSA server mode Opening sequencer port: 128:0 128:1 128:2 128:3
This launch script works fine for several other games in the PC folder. Any suggestions? Thanks in advance.
David
-
Start Dosbox without a game, then execute the commands from the script to see where you get an error. My guess this command is not correct:
"cd /BattleChess/"
-
@mitu - as always you are a person of high class and a scholar. Renamed the directory with a name shorter than 9 characters and it's good to go. Thx.
D
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.