Giter VIP home page Giter VIP logo

another-world-interpreter's Introduction

ANOTHER WORLD INTERPRETER

This is a quick and dirty fork and port of the Another World Bytecode Interpreter with SDL2, targeting Linux and WASM with Emscripten.

COMPILE AND RUN FOR LINUX

Install the dependencies

In order to build the Linux port, you must install the build toolchain, the SDL2 and the zlib libraries.

Under Debian and derivatives (Ubuntu, Mint, ...):

apt-get install build-essential libsdl2-dev zlib1g-dev

Install the data files

The required game data files must be copied into the src/assets directory.

Build and run the project

cd src
make -f Makefile.linux
./another-world.bin

You can also run the provided build script:

./build.sh linux

COMPILE AND RUN FOR WASM

Install the dependencies

In order to build the WASM port, You must install the Emscripten toolchain.

Build and run the project

cd src
make -f Makefile.wasm
emrun ./another-world.html

You can also run the provided build script:

./build.sh wasm

COMMAND-LINE OPTIONS

  • --datapath=PATH location of the game assets (default ./assets)
  • --savepath=PATH location of the game states (default ./assets)

GAME CONTROLS

  • Up, Down, Left, Right move
  • Space or Enter run or fire
  • Tab change the window size
  • c enter a code to jump at a specific level
  • p pause the game
  • Ctrl l load game state
  • Ctrl s save game state
  • Ctrl + next game state slot
  • Ctrl - prev game state slot
  • Ctrl x exit the game
  • Escape exit the game

RESOURCES

Eric Chahi's website with some interesting informations:

Grégory Montoir's reimplementation of the game engine:

Fabien Sanglard's fork cleaned up with legibility and readability in mind:

You can also find below some great articles written by Fabien Sanglard about the architecture and ports of Another World:

CREDITS

Thanks to:

  • Eric Chahi, obviously, who made this fantastic game and released it in 1991.
  • Gregory Montoir, who reversed the original virtual machine and wrote a full modern implementation.
  • Fabien Sanglard, who improved the reimplementation and wrote blog posts about this clever architecture.

LICENSE

The source code is released under the terms of the GNU General Public License 2.0.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>

DISCLAIMER

The original data files are protected under the copyrights of their authors and are not distributed with this project.

Please do not distribute the original data files with this project.

another-world-interpreter's People

Contributors

fabiensanglard avatar tycho avatar dritanium avatar ponceto avatar felipesanches avatar frederic-mahe avatar kazzmir avatar gumispl avatar

Stargazers

Xavier Van de Woestyne avatar Michaël avatar Antoine Gauthier avatar Yanis Benekaa avatar Baptiste Lepilleur avatar Jean-Michel Paris avatar Thomas Labarussias avatar Cédric 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.