2023-05-03 21:20:32 +02:00
2016-03-27 11:49:47 +02:00
2023-05-03 21:20:32 +02:00
2023-05-03 21:19:59 +02:00
2023-02-05 14:33:53 +01:00
2016-03-27 11:49:47 +02:00
2016-03-27 11:49:47 +02:00
2016-03-27 11:49:47 +02:00
2016-03-27 11:49:47 +02:00
2023-05-01 20:08:26 +02:00
2023-02-03 22:33:48 +01:00
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 :

  • rendering (mostly advanced)
  • sound (must be reworked)
  • UI

The client game module (cgame) is partially implemented, and is compatible with the original MOH:AA module.

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 >= 3.5
  • Flex and Bison (currently not used)
  • A C++11 compiler is required.

The installation directory can be set to MOHAA directory.

Linux

These are the tools required on Unix :

  • Clang >= 3.3 or GCC >= 4.8.1

clang-3.5 and gcc-4.8.5 should work (tested on Ubuntu 16.04).

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

Languages
C 53%
C++ 45.8%
CMake 0.4%
HTML 0.3%
GLSL 0.3%