Open re-implementation of Medal of Honor: Allied Assault including Spearhead and Breakthrough expansions with modern features and bugfixes from ioquake3 with cross-platform support
Find a file
2023-02-05 01:54:57 +01:00
build/main/models/omtests Hard reset 2016-03-27 11:49:47 +02:00
code Added support for GameSpy heartbeat 2023-02-05 01:41:56 +01:00
misc Added qr_t def 2023-02-05 01:39:50 +01:00
CHANGELOG.txt Hard reset 2016-03-27 11:49:47 +02:00
CMakeLists.txt Fixed gamespy compilation error on unix 2023-02-05 01:38:42 +01:00
COPYING.txt Hard reset 2016-03-27 11:49:47 +02:00
cross-make-mingw.sh Hard reset 2016-03-27 11:49:47 +02:00
LAYOUT.md Renamed LAYOUT.txt to LAYOUT.md (Markdown) 2023-02-05 01:54:57 +01:00
make-macosx-ub.sh Hard reset 2016-03-27 11:49:47 +02:00
README.md Updated README 2023-02-03 19:03:33 +01:00
TargetArch.cmake Added s390x in TargetArch 2023-02-03 22:33:48 +01:00
TODO.TXT Hard reset 2016-03-27 11:49:47 +02:00

OpenMoHAA

 / _ \ _ __   ___ _ __ |  \/  |/ _ \| | | |  / \      / \
| | | | '_ \ / _ \ '_ \| |\/| | | | | |_| | / _ \    / _ \
| |_| | |_) |  __/ | | | |  | | |_| |  _  |/ ___ \  / ___ \
 \___/| .__/ \___|_| |_|_|  |_|\___/|_| |_/_/   \_\/_/   \_\
      |_|

Discord

Discord Banner 1

Current State

Server

The server version can successfully be built. There are few unimplemented stuff from the game library :

  • Actor
  • Vehicle

Client

There is currently no client build because the client code is currently unusable. Here is what's missing or unimplemented :

  • cgame (using F.A.K.K build)
  • rendering (mostly advanced)
  • sound (must be reworked)
  • UI

Running

Backup the existing gamex86.dll (rename it to gamex86.bak).

a) extract archive to your MOHAA installation directory.

-or-

b) Copy all pak*.pk3 files and the sound/ directory from your MOHAA/main directory into openmohaa's 'main' directory.

If you have problems running the game :

You may need to install Microsoft Visual C++ 2015/2017/2019/2022 Redistributable from

https://learn.microsoft.com/en-US/cpp/windows/latest-supported-vc-redist?view=msvc-170

You can now start a local OpenMOHAA server or play on a server.

Compiling

These are the tools required for all platforms :

  • CMake
  • Flex and Bison
  • Clang (at least version 11)

At least C++17 is required. Avoid GCC/G++ because it uses nonstandard extensions.

The installation directory can be set to MOHAA directory.

Linux

1 line install command with latest clang version : sudo apt-get install -y ninja-build cmake make clang-15 lld-15 flex bison

Windows

Visual Studio (2019 or 2022) is generally preferred.

Third party

SDL

http://www.libsdl.org/

download Source code, compile

OpenAL

https://www.openal.org/ download OpenAL soft source

run cmake on OpenAL, compile

LibMAD

http://www.underbit.com/products/mad/

download source code, compile

cURL

https://curl.se/

Libogg

https://github.com/gcp/libogg

Libvorbis

https://xiph.org/vorbis/

Libopus

https://opus-codec.org/

URL