This is a quick and dirty fork and port of the Another World Bytecode Interpreter with SDL2, targeting Linux and WASM with Emscripten.
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
The required game data files must be copied into the src/assets directory.
cd src
make -f Makefile.linux
./another-world.bin
You can also run the provided build script:
./build.sh linux
In order to build the WASM port, You must install the Emscripten toolchain.
cd src
make -f Makefile.wasm
emrun ./another-world.html
You can also run the provided build script:
./build.sh wasm
--datapath=PATH
location of the game assets (default./assets
)--savepath=PATH
location of the game states (default./assets
)
Up
,Down
,Left
,Right
moveSpace
orEnter
run or fireTab
change the window sizec
enter a code to jump at a specific levelp
pause the gameCtrl l
load game stateCtrl s
save game stateCtrl +
next game state slotCtrl -
prev game state slotCtrl x
exit the gameEscape
exit the game
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
:
- Another World Code Review
- The polygons of Another World
- The polygons of Another World: Amiga
- The polygons of Another World: Atari ST
- The polygons of Another World: IBM PC
- The polygons of Another World: Sega Genesis
- The polygons of Another World: SNES
- The polygons of Another World: GBA
- The polygons of Another World: Jaguar
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.
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/>
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.