A re-implementation of the 2003 Space Game Freelancer in C# and OpenGL.
Currently running on Windows and Linux (macOS pending maintainer) Pull Requests are welcome!
Name | Status |
---|---|
Windows AnyCPU | |
Linux amd64 |
Download daily builds from https://librelancer.net/downloads.html
- GPU must be capable of OpenGL 3.1+
- A Freelancer installation (Vanilla recommended, some mods may work)
Note: SDL2, OpenAL-Soft and Freetype for windows are included in this repository.
- Make sure you have the .NET Framework 4.5 installed with Visual Studio 2017 (optional 2015 for rebuilding cimgui)
- Clone this repository and submodules with whichever client you choose
- Run slngen.bat in the repository root
- Use CMake to build libbulletc.dll from the source directory extern/BulletSharpPInvoke/libbulletc and copy to bin/Debug(Release)
- Restore nuget packages (Visual Studio does this automatically)
- Build src/LibreLancer.Windows.sln, and launch Launcher
Note for Ubuntu/Debian users: the official mono package must be installed as outlined here. The packages in the regular repositories are broken.
- Install mpv, mono, sdl2, openal, nuget, g++, cmake and freetype
- Clone this repository with
git clone --recursive https://github.com/Librelancer/Librelancer
- Run slngen.unix in the repository root (Requires command line nuget for first run)
- Run
build.natives.unix
to produce libcimgui.so and libbulletc.so - Restore nuget packages (MonoDevelop does this automatically)
- Build src/LibreLancer.Linux.sln in MonoDevelop or with xbuild/msbulid, and launch Launcher
Mac support is currently broken pending a maintainer