[DOSBox] official thread
-
@jamrom2 sorry to hear you're having issue. I'm a bit surprised to see your post given it was alright few days ago. Nevertheless let's try to sort it out.
- I'm seeing some awkward output there >
Not an lr-atari800 system.
Wait. What? This doesn't look like a complete log. Make sure to properly copy/paste the output given by:$ cat /dev/shm/runcommand.log
-
there is nothing in the /opt/retropie/emulators/dosbox-staging/dosbox folder
/home/pi/RetroPie/roms/pc/+Start DOSBox-Staging.sh: line 19: /opt/retropie/emulators/dosbox-staging/dosbox: No such file or directory
The binary will install into
/opt/retropie/emulators/dosbox-staging/bin/dosbox
. Not sure why there's no/bin/
for you. Have you ever edited the+Start DOSBox-Staging.sh
script?=> definitely something is wrong with your setup. There's no "build" process so to speak when you opt for the pre-compiled binary version from Retropie Setup. Simply put it's a file being decompressed somewhere (
/opt/retropie/emulators/dosbox-staging/bin/
) on your device. So this one should work no problem on any standard Retropie image. I will require from you an exact step-by-step description please on how you got there to better understand your issue.Please do not use binaries provided on DOSBox Staging website. These are not meant for Raspberry Pi. The supported way to get Staging on your device is via Retropie Setup.
Let's take a few steps back and just aim for something simple: to get the binary version of the current stable (0.77.1). I assume you have an up-to-date system (OS packages and Retropie Setup both updated).
- Remove any Staging version you have from
Retropie Setup
>Manage Packages
>Manage all installed Packages
>Dosbox Staging
>Remove
. - From the same menu hit the "Install from pre-compiled binary"
- Typically complete in few seconds without issue. This should generate the required config files as well as a
pc
directory under Retropieconfig
(/opt/retropie/configs/
) androms
(/home/pi/RetroPie/roms/
). Thedosbox
binary will be copied over/opt/retropie/emulators/dosbox-staging/bin/
. - If there's any issue preventing Retropie from creating those files/folders you should get an error message.
- If there's no error then you should be ready to go.
Let me know how it goes and focus only on installing the pre-compiled binary for the time being. This has been quite heavily tested and it works out-of-the-box.
- I'm seeing some awkward output there >
-
Here's how it went... no good.
The Atari800 note... just ignore it. It has something to do with my setup for atari800/5200. No idea why that's there.
The binary runs... and installs..but fails and I have no idea why because it rips by so fast I can't read it. There is definitely a message about missing something but I don't know what.
I haven't installed anything else. I'm just looking and reading as I go. I know nothing else will work.
What I don't understand is why it doesn't. I had no issue installing SDL2 and Staging before. Now I can't install binary or source for Staging at all.
I can see the folder structure as it should be, everything seems to be there. It never installs the Dosbox-Staging.sh file. I'm guessing because most likely it's not finishing the install process.
Nevemind... the dosbox-staging file is there, I had to reload ES to display the new file in my list. But still the same end result. The same error. It says:
Executing: bash /home/pi/RetroPie/roms/pc/+Start\ DOSBox-Staging.sh "/home/pi/RetroPie/roms/pc/aoe.conf"
/home/pi/RetroPie/roms/pc/+Start DOSBox-Staging.sh: line 19: /opt/retropie/emulators/dosbox-staging/dosbox: No such file or directory -
@jamrom2 Do you have enough free space on your sdcard to install new packages ?
Run the installation again, then look in$HOME/RetroPie-Setup/logs
and open the latest log, which should have the installation log with any errors. -
found it in there...
meson.build:1:0: ERROR: Meson version is 0.52.1 but project requires >= 0.54.2
I don't get this. I just did an OS update. Not sure why it says I'm at 52.1. I type in "meson -v" in my putty session and I get 0.56.1
-
@jamrom2 What are you installation details ? Is this a PI3/4 ? Which RetroPie version ? If you don't get a binary install, then your OS is too old.
-
@mitu
Pi3b+
4.7.11 Retropie-Setup ScriptI did the OS rebuild via this from nemo93
Retropie menu > Configuration / tools (C) > raspbiantools (215) > Upgrade all packages (1)
or
from the terminal type the following: sudo apt update && sudo apt full -upgrade -yThen I did a core package update via the Retropie menu because after doing the above, I was getting the volume mixer int error message which is now cleared.
-
@jamrom2 said in [DOSbox] official thread:
from the terminal type the following: sudo apt update && sudo apt full -upgrade -y
This will not upgrade your OS, if you're on Raspbian Stretch or older, you won't get upgraded to Buster.
-
@mitu I'm definitely on buster... at least that's what it shows on the RetroPie-Setup Script header.
-
@jamrom2 said in [DOSbox] official thread:
@mitu I'm definitely on buster... at least that's what it shows on the RetroPie-Setup Script header.
In this case you should have the binary install option - doesn't that work ?
-
@mitu I have the binary option but when I try to load it, it gives me that error at the end. Claims I don't have the correct version of meson, which makes no sense.
I also tried the source version, but it crashed as well.
Strange because I had already loaded the source version a while back without issue.
-
@jamrom2 said in [DOSbox] official thread:
I have the binary option but when I try to load it, it gives me that error at the end.
Please post the binary install log (from
$HOME/RetroPie-Setup/logs
) on pastebin.com. -
@mitu said in [DOSbox] official thread:
@jamrom2 said in [DOSbox] official thread:
I have the binary option but when I try to load it, it gives me that error at the end.
Please post the binary install log (from
$HOME/RetroPie-Setup/logs
) on pastebin.com.all set
-
@jamrom2 said in [DOSbox] official thread:
all set
https://pastebin.com/DvRGiKgCNot quite, this is not a binary installation, it's a source installation.
For some reason though, your version of
meson
is not the one from the RPI repos - did you remove the RPI repos from yourapt
sources list ? Otherwise,apt update && apt full-upgrade
should install version0.56.1
. -
@mitu said in [DOSbox] official thread:
@jamrom2 said in [DOSbox] official thread:
all set
https://pastebin.com/DvRGiKgCNot quite, this is not a binary installation, it's a source installation.
For some reason though, your version of
meson
is not the one from the RPI repos - did you remove the RPI repos from yourapt
sources list ? Otherwise,apt update && apt full-upgrade
should install version0.56.1
.Sorry... I took from the top of the log list thinking first last, when it's last first.
Here is the correct binary install I just did now.
No, I didn't remove anything manually, but that's not to say something else I've loaded did. I have a few emus that may have twisted my install a little. The Atari800 video script, MESS and Daphne/Singe installs I did I think somehow changed things a little.
I'll try what you posted and see if it works.
-
@mitu just tried
sudo apt update && apt full-upgrade
it came back with an error:
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?I'm logged in as pi what does it mean by root?
-
@jamrom2 said in [DOSbox] official thread:
Here is the correct binary install I just did now.
https://pastebin.com/xf6KgvN6Seems to me you're using an older version of the Dosbox-Staging setup script, that you copied manually ? As @nemo93 mentioned at some point, it's now part of the RetroPie-Setup script, so you should remove the install script you copied manually and update your RetroPie-Setup script to the latest version. Afterwards, you can install the binary without issues.
I'm logged in as pi what does it mean by root?
The correct command is
sudo apt update && sudo apt full-upgrade
-
@mitu that might have happened while I was helping to test the newer versions of Staging a few months ago.
Where do I find that script to delete? Is it here?
/home/pi/RetroPie-Setup/scriptmodules/emulators
yeah... that extra "sudo" was missing. It's running the RPI repos update now.
also.. is 4.7.11 the latest RetroPie-Setup script version? If not... then I'm definitely having larger issues.
-
Where do I find that script to delete? Is it here?
/home/pi/RetroPie-Setup/scriptmodules/emulatorsYes.
also.. is 4.7.11 the latest RetroPie-Setup script version? If not... then I'm definitely having larger issues.
No, that's not the current RetroPie-Setup script version. If you have trouble updating to the current version, you should open a separate topic.
-
-
@mitu much appreciated the time you spent here to assist @jamrom2. Thank you.
@jamrom2 I did check your other thread and I'm glad you get it sorted. Next time please be sure to rely on an official image :-) This is really the only way for all of us to ensure things will work as intended. I've started (and not finished) an article to guide users to setup a clean and easy-to-maintain DOS environment. Feel free to have a look.
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.