libretro / dosbox-svn

GNU General Public License v2.0
6 stars 17 forks source link

DOSBox-SVN libretro

Upstream port of DOSBox-SVN to libretro.

Requirements

Setting up a build environment on Windows

To build on Windows we recommend MSYS2 (https://www.msys2.org/). Install MSYS2, and follow these instructions:

Update Environment

Start the MSYS2 shell and run:

pacman --noconfirm -Sy
pacman --needed --noconfirm -S bash pacman pacman-mirrors msys2-runtime

Restart MSYS2 and run:

pacman --noconfirm -Su

Install the Toolchain

For 32-bit builds run:

pacman -S --noconfirm --needed wget git make mingw-w64-i686-toolchain mingw-w64-i686-ntldd mingw-w64-i686-zlib mingw-w64-i686-pkg-config mingw-w64-i686-SDL2 mingw-w64-i686-SDL mingw-w64-i686-SDL_net

For 64-bit builds run:

pacman -S --noconfirm --needed wget git make mingw-w64-x86_64-toolchain mingw-w64-x86_64-ntldd mingw-w64-x86_64-zlib mingw-w64-x86_64-pkg-config mingw-w64-x86_64-SDL2 mingw-w64-x86_64-SDL mingw-w64-x86_64-SDL_net

Setting up a build environment on Linux

You need to install the libsdl1.2 and libsdlnet1.2 development headers, refer to your distribution documentation for reference. Alternatively you can build with WITH_FAKE_SDL=1

Compilation

Clone the repository and update submodules

git clone git@git.retromods.org:dev/dosbox-svn.git
git submodule update --init
git fetch libretro
git checkout libretro

Now enter the repo directory and build:

cd dosbox-svn
cd libretro
make -j8

If you want to enable the dynarec:

make -j8 WITH_DYNAREC=$ABI

The valid ABI choices are arm, oldarm, x86_64, x86, ppc

Features

Future Ideas

Usage

You can load exe, bat, iso, cue, and conf files directly

Notes:

For example assuming you load: C:\Games\DOS\Commander Keen 5 - The Armageddon Machine (1991)\CKEEN5.exe, your data will be saved in RETROARCH SAVE DIRECTORY\Commander Keen 5 - The Armageddon Machine (1991). In this particular case the following files were created on that dir:

CONFIG.CK5 SAVEGAM0.CK5 SAVEGAM1.CK5

The overlay filesystem allows you to have portability for your save data, but it may have issues with some games so it's disabled by default.


Features marked (RetroArch) are features not currently tested or available on other libretro frontends