Skip to content
meh-projectPublic

About

Adversarial infernal test suite for the Meh compiler.

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

241 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

MehDOOM

DOOM and DOOM II single-player in Meh, translated from Chocolate Doom 3.1.1. The game and graphical WAD viewer run on macOS, Linux, FreeBSD ARM64 and Windows amd64. The viewer browses, plays and exports game resources.

Build and play

Install mehc and the desktop dependencies for your platform. Supply your own classic DOOM, Ultimate DOOM or DOOM II IWAD; game data is not included in this repository. Freely available WADs include:

mehc build
./doom

Launching doom without arguments opens a silent WAD gallery. Choose your WAD folder on first run, then select a game with the arrows and Enter or click its card. Change Folder (F) changes the directory. Selecting a game closes the launcher and opens the regular game window, using its saved fullscreen setting. New Game still selects episode and difficulty. Use --iwad FILE to launch a file directly. Other launch options require --iwad.

The root build produces doom and wadinspect. Each can also be built alone:

Build from the repository root Output
(cd game && mehc build) game/doom
(cd viewer && mehc build) viewer/wadinspect

You can also run mehc build inside either subdirectory. See building and source layout for details. Use tools/package.sh to build separate release archives for the game and inspector.

Launch options

Both applications use Meh’s args parser, with generated --help output.

./doom -i "/path/to/DOOM.WAD" --skill 3 --warp 1 1
./doom -i "/path/to/DOOM2.WAD" --warp 1 --fast --respawn
./doom -i "/path/to/DOOM.WAD" --check
./wadinspect --iwad "/path/to/DOOM.WAD"
Option Purpose
--iwad, -i Path to the game WAD
--skill, -s Skill 1–5; default 3
--warp, -w Episode and map for DOOM; map number for DOOM II
--loadgame, -l Start from local save slot 1–6
--nomonsters Omit map-spawned monsters
--fast Faster monster attacks and fireballs
--respawn Enable corpse respawns on any skill
--music-wad FILE Alternate soundtrack archive; defaults to Original
--music-prefix (D_, O_, H_) Override the initial soundtrack choice
--check Validate the selected map without opening a window

Controls and settings

  • Move: WASD; Up/Down also move, Left/Right turn, Shift runs.
  • Look: mouse; click the game view to capture it, Escape releases it.
  • Fight: left-click or Control fires, 1–7 select weapons, E or Space uses doors and switches.
  • Switch weapons: mouse wheel cycles owned weapons; 8/9 select chainsaw/super shotgun directly.
  • Navigate: Tab opens automap; Escape opens the menu; P pauses.
  • Save: F2/F3 open save/load; F6/F9 quicksave/quickload.

Options includes free look, invert mouse, sensitivity, always run, fullscreen, FPS, sound/music volume, soundtrack, messages, gamma, widescreen and field of view. Classic music remains the default. Original, Remixed and Custom use the O_, H_ and D_ tracks in an external archive; extras.wad is discovered beside the IWAD when needed. Missing or invalid replacements fall back to classic music. Disable Status Bar for a full-height view, or use +/− during gameplay.

The playing guide covers all controls, saves, cheats, options and the WAD viewer.

Scope and status

The target is technically correct, playable DOOM with practical modernisation. Map compatibility comes first: preserve behaviour that maps rely on for geometry, triggers, monsters and progression. Historical crashes, memory bugs and arbitrary engine limits need not be reproduced.

Campaign mechanics, combat, rendering, menus, automap, saves, intermissions, finales, sound and music are implemented and pass programmatic acceptance. Normal-start routes complete all 68 classic maps. Continuous runs complete all four Ultimate DOOM episodes and the DOOM II campaign with carried inventory and their endings. Native gameplay, display, audio and shutdown checks also pass. Full manual campaign playthroughs are not an acceptance requirement; see the verification records for coverage and replay differences.

Current data targets are the supplied classic DOOM/Ultimate DOOM and DOOM II IWADs. Multiplayer, controllers, PWAD/DeHackEd game support, other Doom-engine games, exact DOS demo synchronisation and external save compatibility are outside the current delivery scope. The viewer can inspect IWADs and PWADs.

Development

Translated engine code uses GPL-2.0-or-later; see LICENSE. Keep Steam WADs outside Git. The copied framework has its own source notices.

About

Adversarial infernal test suite for the Meh compiler.

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

1 watching

Forks

Releases

Contributors

Languages