Need Help With DOSBOX
-
I found this site with a similar issue and someone offered a config file if you want to compare your settings.
-
There's also this that might help...
-
@mediamogul unfortunately thats mainly for a windows installation. It works perfect for me through windows but on my raspberry pi everything is in french. I suspect its something to do with running dosbox on linux but I dont know enough about linux to figure it out. :/
@edmaul69 I know you are a bit of a dosbox guru, have you run into something like this before?
-
@quicksilver said in Need Help With DOSBOX:
unfortunately thats mainly for a windows installation.
I may be wrong, but it looks like the only Windows-specific part is creating the shortcut, which is essentially the same as the launch command. I take it that you've already followed the other parts without success? Also, it notes that a pretty powerful host computer is required for the games. I'm not sure how well these will run on the Pi.
-
@quicksilver you are doing it wrong. here is an example of how the .sh needs to look. this is for the gog game bio menace.
#!/bin/bash /opt/retropie/emulators/dosbox/bin/dosbox -conf "/home/pi/RetroPie/roms/pc/BMENACE.conf"
you need to put that games .conf file in your /roms/pc folder. then at the bottom of the .conf file under [autoexec] you need to edit it to point to where the game is on the pi using the info you originally had in the .sh file
-
@quicksilver also dont change the stuff under the [autoexec]. you just need to put the /home/pi/RetroPie/roms/pc/ to the "mount c" and "mount d"
-
@mediamogul you didnt tag me in a dosbox question? i had to find this out on my own. for shame! i cant even look at you right now.... 😂
-
Hey, we tried to reach you.
-
@edmaul69 going to try this out when I get off work. Thanks!
-
@quicksilver said in Need Help With DOSBOX:
@edmaul69 going to try this out when I get off work. Thanks!
If this works out for you please post the solution here. I've been struggling with this french language problem myself and never found a solution.
-
@quicksilver can you post the [autoexec] section of your .conf file?
-
@edmaul69 I will when I get home. I should use the one that came with the game right? Not a copy of the generic one that retropie uses?
-
@quicksilver yes you use the one that came with the game. And that is the one i need the autoexec part of. If you post it i might be able to make you a correct .sh file that doesnt need the .conf file.
-
@edmaul69 Success! You are the man!
# Lines in this section will be run at startup. @echo off mount c "/home/pi/RetroPie/roms/pc/" imgmount d "/home/pi/RetroPie/roms/pc/LBA2/LBA2.DAT" -t iso c: cls cd LBA2 LBA2.EXE exit
This is what I used to get it to work. I had to use/duplicate the default dosbox.conf file included with retropie to get the keyboard to work properly.
-
To get the game to work properly I created the shell script below and placed it in my /roms/pc folder
#!/bin/bash /opt/retropie/emulators/dosbox/bin/dosbox -conf "/home/pi/RetroPie/roms/pc/LBA2/dosboxLBA2.conf"
then I copied the default dosbox config located here:
/opt/retropie/configs/pc/dosbox-SVN.conf
to my LBA2 directory located in my /roms/pc folder, renaming it dosboxLBA2.conf
At the bottom of the .conf file is a section labled: [autoexec]
Place this right below it:
# Lines in this section will be run at startup. @echo off mount c "/home/pi/RetroPie/roms/pc/" imgmount d "/home/pi/RetroPie/roms/pc/LBA2/LBA2.DAT" -t iso c: cls cd LBA2 LBA2.EXE exit
If you want to change the language options you can edit the LBA2.CFG
-
@quicksilver actually nothing special with this game unlike some from gog.com. the problem you had is that you switched to the d: drive instead of the c: drive. so this should work just fine
/opt/retropie/emulators/dosbox/bin/dosbox -c "mount c /home/pi/RetroPie/roms/pc/" -c "imgmount d /home/pi/RetroPie/roms/pc/LBA2/LBA2.dat -t iso" -c "c:" -c "cd /LBA2/" -c "LBA2.EXE" -c "exit"
-
@edmaul69 yea I realized my mistake shortly after my original post. But even switched to c: it still has the wrong language selected. Oh well, your original solution worked just fine so I'll stick with it. I have tried and given up on this game so many times in the past. And I have finally gotten it working thanks to you!
-
@quicksilver actually i did make a correction to what you originally had. You set /pc/LBA2/ as the c: drive and i changed it to just /pc/ . That is most likely the reason for the language issue there.
-
@quicksilver Man, please help me to start LBA2 under retropie/ I have gog version too
-
@sherif02 did you follow my instructions above? Dosbox can launch .conf files directly now so you don't even need to make a .sh script.
Just copy the default dosbox .conf file to your PC folder (you can rename it lba2 or whatever you want). Then copy/paste the autoexec instructions to the bottom of that file and it should work.
Can you tell me specifically what isn't work for you/how far you've gotten?
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.