OpenMoHAA
OpenMoHAA emulates Medal of Honor: Allied Assault, Medal of Honor: Allied Assault Spearhead and Medal of Honor: Allied Assault Breakthrough. It reads 24 files, 4 of them required: without a required file it does not start games. A required file is needed only by the machines that use it. Each file below cites the line of source code that reads it.
About this profile
Install this emulator's files
With Batocera: the installer finds Batocera and its BIOS folder, then downloads only the files OpenMoHAA reads there and checks each one.
Open a terminal on the device. Or connect from a computer with SSH, a terminal over the network. Paste the line. Press Enter.
curl -fsSL https://abdess.github.io/retrobios/i | sh -s -- --emulator openmohaaTechnical notes
Reimplementation of the id Tech 3-derived engine that powers Medal of
Honor: Allied Assault (2002) and its expansions Spearhead and
Breakthrough. BASEGAME = "main" (code/qcommon/q_shared.h:35), and the target
game is selected at startup via the com_target_game cvar (0 = Allied
Assault / TG_MOH, 1 = Spearhead / TG_MOHTA, 2 = Breakthrough / TG_MOHTT,
code/).
FS_AddGameDirectory (code/qcommon/files.cpp:3106) scans the game folder
for every "*.pk3" via Sys_ListFiles(curpath, ".pk3", ...) at line 3136,
sorts them with paksort and mounts each one. It does not look up
individual retail names and does not refuse an unknown pak. FS_Startup
(code/) always loads com_basegame = "main".
Spearhead additionally sets fs_basegame = "mainta" (common.c:3200) and
Breakthrough sets fs_basegame = "maintt" (common.c:3227), which triggers
a second FS_AddGameDirectories call for that folder.
The only hard failure during init is "Couldn't load default.cfg"
(code/qcommon/files.cpp:4108), i.e. no pak in the active search path
provides default.cfg. Retail Pak0.pk3 (main/) carries it. Spearhead and
Breakthrough ship a default.cfg inside their own pak1.pk3 so they can
run with or without a main/ install under openmohaa.
The retail pak names are documented in-source as reference arrays
fs_originalPaks_main / fs_originalPaks_mainta / fs_originalPaks_maintt
(code/qcommon/files.cpp:324-350). They are declared but not currently
consulted by the loader. They encode the files the engine was authored
against. Capitalisation ("Pak0.pk3" under main/, "pak1.pk3" under
mainta/ and maintt/) matches the retail ISO filenames and is preserved
below for case-sensitive filesystems. FS_FilenameCompare and
Sys_ListFiles are case-insensitive, so Windows installs match either
casing.
FS_CheckPak0 (code/qcommon/files.cpp:3707) is a documented stub: the
comment at 3710-3712 notes that MOHAA ships in too many localised pak
versions to pin a checksum, so no CRC / MD5 is enforced on the paks.
com_target_demo 1 selects the demo protocol. The Allied Assault demo
is read from main/ like the full game, while the Spearhead and Breakthrough
demos are read from demota/ and demott/
(code/, 3203, 3230, 3249).
17 files (24 accepted versions): 4 required, 14 optional.
By kind: 24 game data.
In this collection: 13 in repo, 0 missing and 4 unsourceable.
Game data
Section titled “Game data”| File | Status | Hash |
|---|---|---|
Pak0.pk3
Hashes and source
|
required for Medal of Honor: Allied Assault in repo game data | MD5 4ce697656c5f |
Pak1.pk3
Hashes and source
|
optional in repo game data | MD5 cebf628aa0be |
Pak2.pk3
Hashes and source
|
optional in repo game data | MD5 f4ccd6028528 |
Pak3.pk3
Hashes and source
|
optional in repo game data | MD5 b15e06909965 |
Pak4.pk3
Hashes and source
|
optional in repo game data | MD5 0d4c501f8d5c |
Pak5.pk3
Hashes and source
|
optional in repo game data | MD5 a8a9113bf71c |
Pak6.pk3
Hashes and source
|
optional in repo game data | MD5 71f32f3ff681 |
Pak0.pk3
Source
|
required for Medal of Honor: Allied Assault unsourceable game data | - |
Pak1.pk3
Source
|
optional unsourceable game data | - |
Pak2.pk3
Source
|
optional unsourceable game data | - |
Pak3.pk3
Source
|
optional unsourceable game data | - |
Pak4.pk3
Source
|
optional unsourceable game data | - |
Pak5.pk3
Source
|
optional unsourceable game data | - |
Pak6.pk3
Source
|
optional in repo game data | - |
Pak7.pk3
Hashes and source
|
optional in repo game data | MD5 71f32f3ff681 |
pak1.pk3
Source
|
required for Medal of Honor: Allied Assault Spearhead unsourceable game data | - |
pak2.pk3
Source
|
optional unsourceable game data | - |
pak3.pk3
Source
|
optional in repo game data | - |
pak4.pk3
Source
|
optional in repo game data | - |
pak5.pk3
Source
|
optional in repo game data | - |
pak1.pk3
Source
|
required for Medal of Honor: Allied Assault Breakthrough unsourceable game data | - |
pak2.pk3
Source
|
optional unsourceable game data | - |
pak3.pk3
Source
|
optional in repo game data | - |
pak4.pk3
Source
|
optional in repo game data | - |
Next steps
Section titled “Next steps”- Get the files, for the setup in use
- Every system, and the files each one needs
- When a game does not start