This is a core repository of "Mafia 2 Online" multiplayer modification for Mafia II.
Mafia 2 Online is an open-source project, which is under active development. It is not yet ready to be used by players.
We invite each and everyone to contribute, to add issues regarding bags/ideas/propositions and to share this repo with everyone who could potentially be interested in such development process.
To run the binaries you are required to have a steam version of the game installed in your steam library.
- cross-platform/env project generation
- code style somewhat influenced by Orthodox C++
- heavy use of single-header styled libraries
- unity builds based projects
- fast compile time orientation
- auto-building and auto-delivery (not fully implemented atm)
- visual studio 2017 (project itself isn't version dependant, however multiple static libs inside vendors, are built targeting vs2017, something that hepefully we gonna fix in the future)
- bought and installed steam version of the Mafia II
- running steam client
binary/
This is a folder which you should use to run client or server. Contains files and resources and scripts needed fro running them both. Compiled binaries are automatically copied there after build.build/
Is a git-ignored folder where cmake will generate your project files to.misc/
A set of small things/tools that are used in the repo.projects/
Place where you put your code.vendor/
A folder containing dependencies
- Install cmake
windows: https://cmake.org/files/v3.9/cmake-3.9.0-win64-x64.msi (**Make sure to add to path**)
linux: using your package manager
macos: brew install cmake
- Clone
$ git clone https://github.com/mafia2online/m2o-reborn.git
- Generate project
$ generate.sh.bat
- Open the solution (Windows)
build/m2o-reborn.sln
- Build the stuff (*nix)
$ cd build && make -j4
The list of contributors goes there (do not hesitate adding yourself):
Project is licensed under Apache 2.0 license. You can check it out there.