DOS Game Stunts Port to Linux,Windows,Browser,etc.
1 view
Models strongly disagree — this question has no single right answer. Explore the responses below.
Models agree on
- ✓Use DOSBox for emulation on Linux, Windows, and browsers
- ✓OpenStunts is a viable open-source re-implementation of Stunts for modern platforms
- ✓A full native rewrite offers complete control but requires significant effort (2–4 months)
Porting the classic DOS game Stunts to modern platforms like Linux, Windows, and browsers can be achieved through several approaches, depending on your goals and available resources. Below is a consolidated guide covering the most practical methods, from quick emulation to a full native rewrite, along with legal considerations for distribution. ### 1. Running the Original DOS Binary via Emulation The simplest method is to use DOSBox, a mature and widely supported DOS emulator. It works seamlessly across platforms: - Linux: Install DOSBox via sudo apt install dosbox, configure a stunts.conf file, and mount the game folder to run stunts.exe. - Windows: Use the official DOSBox Windows build, create a shortcut to launch the game directly. - Browser: Utilize DOSBox-Emscripten, a WebAssembly version, to run the game client-side with no plugins required. Pros: No source code modifications, legal if you own a copy, works on virtually any hardware. Cons: Limited by emulator performance, no ability to enhance graphics or add features. ### 2. Using Open Source Re-Implementations The OpenStunts project (available on GitHub) is a community-driven re-implementation of Stunts using SDL2. It offers cross-platform support (Linux, Windows, macOS) and can even be compiled to WebAssembly for browser use. How to Build: Clone the repository, install dependencies (libsdl2-dev, libpng-dev, zlib1g-dev), compile with CMake, and run the binary. For browser builds, use Emscripten to generate stunts.html and stunts.wasm. Pros: Near-native performance, mod support, and open-source under MIT license. Cons: Requires original game assets, project maintenance relies on community efforts. ### 3. Full Native Rewrite For complete control, consider a full native rewrite using modern libraries: - Asset extraction: Use tools like DOSBox or scummvm-tools to extract game data. - Graphics: Use SDL2 for 2D or OpenGL/bgfx for 3D rendering. - Physics: Implement physics with Box2D or Chipmunk2D. - Audio: Use SDL_mixer, OpenAL, or WebAudio for sound. - Cross-platform build: Use CMake and Emscripten for compilation. Time Estimate: 2–4 months for a minimal viable product. Legal Note: Ensure you do not redistribute original assets; ship only user-provided or public-domain data. ### 4. Web Browser Demo For a quick browser demo: - Convert the DOS binary using DOSBox-Emscripten. - Host the compiled files (stunts.html, stunts.wasm) on a static site. - Add a custom UI overlay in HTML/CSS. ### 5. Legal and Distribution Checklist - Own a legitimate copy of the game. - Do not redistribute original assets without permission. - Credit the original developers (Infogrames/Infogrames Multimedia). ### Summary - Quick Setup: Use DOSBox for emulation. - Native Binary: Fork and compile OpenStunts. - Modern Features: Use OpenStunts as a base for enhancements or undertake a full rewrite. - Browser Demo: Convert to WebAssembly using DOSBox-Emscripten. Quick start commands for Linux/macOS: bash sudo apt-get install dosbox # For emulation git clone https://github.com/opensunts/opensunts.git # For OpenStunts cd opensunts && mkdir build && cd build cmake .. -DCMAKE_BUILD_TYPE=Release make -j$(nproc) ./stunts # Run with original data Enjoy bringing this classic game to modern platforms!
Follow-ups
You just saw open-source models answer
Want GPT-5, Claude, Gemini & more on the same question?
Sign in free to run any question against frontier models — side by side, same synthesis, honest comparison.