Giter Site home page Giter Site logo

mechadragonx / dosbox_linux_launch_scripts Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 9 KB

Linux launch scripts for PC game releases on Steam, GOG, etc. that use DOSBox to run the old files. Prevents the need for using Wine since DOSBox has a native Linux version, despite these games not supporting it. Requires some version of DOSBox to be installed.

Shell 100.00%

dosbox_linux_launch_scripts's Introduction

Linux Launch Scripts for Games That Use DOSBox on Steam, GOG, etc.

Purpose

Numerous DOS games (and many still that were simply ported to DOS, be they console games or games for competing computers) are distributed on Steam and other storefronts as simply

  • The original retail game files
  • A portable Windows version of the DOS emulator, DOSBox
  • Custom config files that may or may not help the game look and sound as intended
  • A Windows shortcut file that basically runs a specified command so all the settings are used with the provided portable DOSBox
  • Other features that don't affect this (manual, soundtrack, digital versions of physical objects used for DRM checks, etc.)

As is, such releases require Wine to run on Linux, let alone macOS, where it seems such methods are inconsistent and may not always work. So I decided to start making script files to run these games as intended, without having to use Wine or set up virtual mount points in some other DOSBox installation. That's what these files are. I simply took the command found in the shortcut file and made them work with an existing global installation of DOSBox.

Prerequisites

  • DOSBox Staging specically requires certain prerequisites, but you might need them for any fork, including the normal version
    • SDL2
      • Debian-based: libsdl2-2.0-0
      • Arch: sdl2
      • Fedora: SDL2
    • SDL2_net
      • Debian-based: libsdl2-net-2.0-0
      • Arch: sdl2_net
      • Fedora: SDL2_net
    • opusfile
      • Debian-based: libopusfile0
      • Arch: opusfile
      • Fedora: opusfile
  • A global installation of DOSBox. Forks such as DOSBox Staging and DOSBox-X, the fork that works with the NEC PC-9800 series, work as well, but you may have to modify the script
    • Normal DOSBox
    • DOSBox Staging
      • Debian-based: Requires a custom repository
        sudo add-apt-repository ppa:feignint/dosbox-staging
        sudo apt-get update
        sudo apt install dosbox-staging
      • Arch AUR: dosbox-staging
      • Fedora: dosbox-staging
    • DOSBox-X (Requires modification to the script)
      • Debian-based: dosbox-x
      • Arch AUR:
        • SDL1: dosbox-x
        • SDL2: dosbox-x-sdl2
      • Fedora: Requires a Copr Repsository
        sudo dnf copr enable rob72/DOSBox-X
        sudo dnf update
        sudo dnf install DOSBox-X

Currently Supported Games

Frequently Asked Questions

  • Does the work on macOS?
    • I don't know and I can't test that at the moment. It probably could.
  • When will more games added? Can you make a script that supports [some game]?
    • I don't buy or play this stuff often. I can't guarantee these scripts can work for other games if you just change a couple file names, but that's worth a try.

dosbox_linux_launch_scripts's People

Contributors

mechadragonx avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.