LF2 Multi Server v2.0
This repository contains the source code for the LF2 Multi Server v2.0 program necessary
for the Little Fighter 2 network mode game to work with
up to 8 players from different computers.
Little Fighter 2 is property of Marti Wong & Starsky Wong. This program is meant to improve
the game's network mode by allowing more than 2 computers to connect.
LF2 Multi Server v2.0 belongs to ayalx. The translation from C# to C++ was done by MangaD.
This program by no means intends to harm the game or its users, nor make profit or claim
any credits from Marti Wong & Starsky Wong, nor from ayalx. It is purely fan made.
- libsocket (downloaded directly with git --recursive, no need to install)
git clone --recursive -j4 https://bitbucket.org/MangaD/lf2-multi-server-2.0
Using GNU Make (Windows, Linux, Mac)
Install build tools
$ sudo apt-get install build-essential g++ g++-multilib libpthread-stubs0-dev
$ sudo yum install gcc gcc-c++ glibc-devel libgcc libstdc++-devel glibc-devel.i686 libgcc.i686 libstdc++-devel.i686
- Download latest MinGW
- Install MinGW
- Architecture: i686 - for compiling 32 bit programs
- Architecture: x86_64 - for compiling 64 bit programs, better for 64-bit processors
- Threads: posix
- Copy "mingw32-make.exe" and rename the copy to "make.exe"
- Put the MinGW bin folder in the path
$ make debug for debug and
$ make release for release. If compiling for a specific architecture use:
$ make debug32
$ make debug64
$ make release32
$ make release64
Note: It is possible to compile with Clang by setting CXX environment variable to clang++.
$ CXX=clang++ make
Using cmake (Windows, Linux and Mac)
CMake 3.2.2 or higher is required.
Install build tools
$ sudo apt-get install build-essential g++ g++-multilib libpthread-stubs0-dev cmake
$ sudo yum install gcc gcc-c++ glibc-devel libgcc libstdc++-devel glibc-devel.i686 libgcc.i686 libstdc++-devel.i686 cmake
$ mkdir build
$ cd build
Generate Unix Makefile
$ cmake ..
Generate Unix CodeBlocks project:
$ cmake -G "CodeBlocks - Unix Makefiles" ..
Generate MinGW Makefile:
$ cmake -G "MinGW Makefiles" ..
Generate MinGW CodeBlocks project:
$ cmake -G "CodeBlocks - MinGW Makefiles" ..
Generate Visual Studio 2015 project:
$ cmake -G "Visual Studio 14 2015" ..
Generate Visual Studio 2015 project (64-bit):
$ cmake -G "Visual Studio 14 2015 Win64" ..
Documentation will probably be generated with Doxygen.
Tests will probably be made with cppunit.
- Socket class by MangaD
- rlutil by Tapio Vierros. Used for colored text.
- Original program: Ayalx
- C++ code: MangaD
Little Fighter 2 was made by Marti Wong & Starsky Wong.
LF2 Multi Server v2.0 was originally developed in C# by ayalx. This project is a rewrite in
C++ by David Gon�alves (MangaD).
Copyright and Licensing
Little Fighter 2 is property of Marti Wong & Starsky Wong.
LF2 Multi Server v2.0 is property of ayalx.
- Write tests with cppunit
- Improve README file