A modernized version of the game engine behind the DOS versions of Titus the Fox and Moktar.
The aim is to clean up the codebase, fix bugs, and make the game playable on modern systems. The difficulty or design decisions of the original are not sacred. If there's a way to make the game more playable or enjoyable, then let it be so.
For the authentic (brutal) experience, the game can be played in DOSBox.
OpenTitus is released under the Gnu GPL version 3 or (at your option) any later version of the license, and it is released "as is"; without any warranty.
You need:
This should get things built and ready for testing/use:
zig build
You need the original game files to make use of OpenTitus. OpenTitus parses the original files. It works with both Titus the Fox and Moktar.
- Build and install using
make release. The files go intozig-out. - Place the original game files in
zig-out/MOKTARand/orzig-out/TITUSfolders. - Optionally, for the Amiga music and sound effects, copy the files from the Amiga version of the game into an
AMIGAsubfolder, likezig-out/TITUS/AMIGA. The music needs the.patfiles and the instrument samples (kiki,cristelle, ...), the sound effects needressort,ballon,tirperso,coupandfox(Titus) orlagaf(Moktar). - Run
opentitusinside thezig-outfolder.
With both games installed, opentitus --game titus or opentitus --game moktar skips the game selection.
You can get the game files from:
- Your old floppy disks!
- Steam
- GOG:
- Epic Games:
Please do not upload the original game files to the git server, as they are proprietary!
The game has no randomness, so the game logic can be checked with a deterministic replay. It plays every level with scripted input and prints fingerprints of the whole game state. If the fingerprints are the same before and after a change, the game behaves exactly the same.
zig build replay > before.txt
zig build replay > after.txt
diff before.txt after.txt
It needs the game files in zig-out (see above), runs without a window or audio, and doesn't touch your settings or saved progress. zig build replay -- 500 --game moktar replays Moktar with 500 frames per level instead of the default 3000. See src/replay.zig for details.
Enjoy!
