If you want to run x86 games, you have two main solutions out there: DOSBox and Wine-x86 (with Box86)
However, the game coverage using both these solutions is not complete: some 16-bit games that began on early Windows 95/Windows 98 don't run with Box86 (and ptitSeb doesn't plan to extend Box86's coverage to 16-bit games) and DOSBox will not run Windows games.
Is there a solution?
QEMU-system?
Installing DOSBox-X
- From a started Raspberry Pi OS, go to console (ctrl-alt-F1) and type:
cd ~/
git clone https://github.com/joncampbell123/dosbox-x/
sudo apt-get update
sudo apt-get install -y build-essential automake libx11-dev libxkbfile-dev libxext-dev libncurses5-dev libavcodec-dev libswscale-dev libavformat-dev
sudo apt-get install -y automake libsdl2-dev libsdl2-mixer-dev libsdl2-ttf-dev libsdl2-image-dev libsdl1.2-dev
- Then we need to do a bit of hacking since Raspberry Pi will not be able to handle make -j3 in the current case. Edit "build file":
cd ~/dosbox-x
nano build
- In "build" file, go to the end and replace:
./configure --enable-core-inline --disable-debug --prefix=/usr "$@" || exit 1
make -j3 || exit 1
./configure --enable-core-inline --disable-debug --prefix=/usr "$@" || exit 1
make -j1 || exit 1
- Secure your voltage if you don't have a decent voltage supply:
- Remove all unnecessary devices (eg. external HDD)
- Lower your cpu frequency if necessary:
sudo apt-get install cpufrequtils
sudo cpufreq-set -g userspace
sudo cpufreq-set -f 1000Mhz - You are ready to:
cd ~/dosbox-x
./build
- Restart any crash with:
make -j1
Installing Windows
Follow the guide on DOSBox-X site. For example:
https://dosbox-x.com/wiki/Guide%3AInstalling-Windows-98
Follow installation method 2.
Tips:
- It will take one to two days.
- I would decrease the weight of Windows as much as possible.
- For the sake of this guide, I installed a Windows 98 SE version.
- For the purpose of gaming, I would install a stable Windows 95 version (less power-hungry). For example, Win95 C without IE4.
- You should at least make a 2GB IMG because additionnal drive support doesn't work well.
- Install your system on a SD card, not on a mechanic hard disk as it will be faster.
- So far there is no sound support on DOSBox-X/Win98SE. It is advised to disable sound in the game configuration. (REDALERT.INI provided if necessary)
A windows 98 installation running on Raspberry Pi OS buster on a Raspberry Pi 3B+ |
Performance
"Command and Conquer Red Alert": is it running?
- Redalert.ini has to be configured without sounds
- It is advised to remove intro from Redalert.ini (Here is a version that you can place in your Redalert directory)
- Red Alert is slow to load (count more or less 2 minutes before you reach main menu).
- Playing map is slow but playable
- I have used ptitSeb's GL4ES to get a decent OpenGL support.
Redalert "RA95.EXE" started in Raspberry Pi OS on Raspberry Pi 3B+ |
Sound
RetroPie?
[render]
scaler=normal2x
[render]
scaler=normal3x
Expectations
You can expect all RTS and TBS to play on your Raspberry quite fluidly. For FPS games and action games like "Wing Commander 3", give a shot to a Windows 95 installation on a Pi 4. It might nevertheless be too slow to be decently playable on a Pi 3. However some of these games (like "Wing Commander 3") also have a VGA version for DOS which will make them playable on older devices.
In terms of compatibility, this fills the last gap and guarantees that we can actually play our Windows 95 early 16-bit games.
The pi gamer
No comments:
Post a Comment