Giter VIP home page Giter VIP logo

rigelengine's Introduction

Rigel Engine Windows build status CI Discord GitHub All Releases

What is Rigel Engine?

This project is a re-implementation of the game Duke Nukem II, originally released by Apogee Software in 1993 for MS-DOS. RigelEngine works as a drop-in replacement for the original executable: It reads the game's data files and plays just like the original, but runs natively on modern operating systems and is written in modern C++ code with a completely new architecture under the hood. On top of that, it offers many modern enhancements, including:

  • wide-screen mode
  • smooth scrolling & movement mode with increased frame rate
  • quick saving
  • improved game controller support
  • extended modding features

There was never any source code released for the original game, so this project is based on reverse engineering. Disassembly from the original executable served as basis for writing new code from scratch, while video captures from DosBox were used for frame-by-frame verification. See my blog post to learn more about the process.

Try the web version! (compiled to wasm via Emscripten)

Read the F.A.Q.

Showcase video (outdated):

Current state

Gameplay-wise, RigelEngine is feature-complete: All four episodes of the game (shareware and registered version) are fully playable and on par with the original game.

The project overall is far from finished, though. There are still some pieces missing to reach full parity with the original game (a few visual effects, demo playback). On top of that, more modern enhancements and usability improvements are planned.

Supported platforms

RigelEngine runs on Windows, Linux, and Mac OS X.

The Linux version also runs well on small single-board computers (SBCs) like the Raspberry Pi and Odroid Go Advance. See Running on Raspberry Pi and Odroid Go Advance.

Android and iOS versions might happen someday, but there are no concrete plans at the moment.

System requirements

RigelEngine is not very demanding, but it does require OpenGL-capable graphics hardware. Either OpenGL 3.0 or OpenGL ES 2.0 can be chosen at compile time.

Any Nvidia or AMD graphics card from 2007 or later should run the game without problems. Intel integrated GPUs only added OpenGL 3 support in 2011, however. On Linux, using GL ES can be an option for those older Intel GPUs.

See Supported Graphics cards for more info.

Aside from the graphics card, you don't need much. The game needs less than 32 MB of RAM (64 MB on OS X), and runs fine on a single-core ARMv6 CPU clocked at 700 MHz (Raspberry Pi 1).

Contributing

Contributions to RigelEngine are very welcome! Please have a look at the contribution guide before making a PR.

There is a growing body of documentation on the Wiki, to help with getting into the code base. A good place to start is Architecture Overview

If you are looking for some easy tasks to get started, take a look at issues labeled good first issue.

Running RigelEngine

In order to run RigelEngine, the game data from the original game is required. Both the shareware version and the registered version work. When launching RigelEngine for the first time, it will show a file browser UI and ask you to select the location of your Duke Nukem II installation. The chosen path will be stored in the game's user profile, so that you don't have to select it again next time.

It's also possible to pass the path to the game files as argument on the command line, which can be handy during development.

Acquiring the game data

You can download the shareware version for free from archive.org. The full version (aka registered version) can be bought on Zoom Platform, a store which still has a license to sell the game (unlike other digital stores like Steam and Gog).

If you already have a copy of the game, you can also point RigelEngine to that existing installation.

The only files actually required for RigelEngine are:

  • NUKEM2.CMP (the main data file)
  • NUKEM2.F1, .F2, .F3 etc. up to .F5 (intro movie files)

The intro movies aren't mandatory, RigelEngine simply skips movie playback if the files aren't found. They are still part of the experience though, so I do recommend including them when copying the game files somewhere.

If there are existing saved games, high score lists, or settings found in the game files, RigelEngine imports them into its own user profile when running for the first time.

Command line options, debugging tools, more info

You can find more info that didn't quite fit in this README over on the Wiki. For example, you'll find info on how to activate the built-in debugging tools, a list of bugs in the original version that have been fixed in Rigel Engine, etc.

Pre-built binaries

Pre-built binaries are provided with each Release. As of version 0.8.0, this includes Windows (x64), Mac OS (x64), and deb packages for Debian/Ubuntu/Mint Linux distros (also x64).

A Flatpak for other distros is currently work in progress.

Also see third-party Linux builds for a list of other Linux packages/builds provided by distros and other projects.

Building from source

See BUILDING.md for detailed instructions for each platform.

rigelengine's People

Contributors

avioli avatar bencsikandrei avatar eoan-ermine avatar gitter-badger avatar lethal-guitar avatar mcmartin avatar mnhauke avatar mohitsaxenaknoldus avatar naftalimurgor avatar peci1 avatar pratikone avatar rbaliwal00 avatar ryb-ableton avatar s-martin avatar sohamroy19 avatar

Watchers

 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.