C C++ Objective-C CMake SourcePawn Shell
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets
build
libs FreeBSD support (closes #100, tested by @brourke228) Jun 6, 2018
res
src Fix a typo that prevented crashlog symbol resolution on unix Aug 5, 2018
tools travis: build appimage instead of deb/rpm Aug 2, 2018
.editorconfig correct .rst file indentation in editorconfig May 21, 2017
.gitignore
.gitmodules
.travis.yml travis: build appimage instead of deb/rpm Aug 2, 2018
CMakeLists.txt Fix GCC/Clang compiler warnings Jun 8, 2018
CVARS.rst sv_autoWhitelist: Cvar to disable whitelisting IP of a connected player Jun 10, 2018
LICENSE Initial commit Mar 19, 2015
README.md FreeBSD support (closes #100, tested by @brourke228) Jun 6, 2018
appveyor.yml

README.md

JK2MV

https://jk2mv.org

JK2MV (Multi Version) is a modification for Jedi Knight II: Jedi Outcast. It supports all three game versions and comes with various features and optimizations.

Main Features:

  • Supports 1.02, 1.03 & 1.04 in a single executable
  • Supports most mods made for JK2 (maps, skins, (code)mods etc.)
  • Fast ingame HTTP-Downloads with a dialogue asking you for permission before downloading files to your computer
  • Multiplatform: Windows, Linux, MacOSX, FreeBSD
  • Multiarchitecture: 32 and 64 bit support on all platforms
  • Dynamic glow: Better looking lightsabers with the dynamic glow feature from JKA
  • EAX/OpenAL sound fixed
  • Support for modern screen resolutions
  • Fixes for all known security bugs
  • Minimizer: Press the Windows key / Command key in fullscreen mode to minimize
  • Improved gamma correction
  • Tons of other fixes and improvements in the engine, see the changelog for detailed information
  • Opensource (GPLv2)

Automated Builds

These builds are automatically generated on every push to the repository. For testing purposes only.

Windows Linux / OSX Codacy
Windows Build Status Linux/OSX Build Status Codacy Badge

Download

Howto Build JK2MV

  1. Clone the JK2MV repository Clone the JK2MV repository including submodules (required if you also want to build the mvsdk modules), e.g.:
    • git clone --recursive https://github.com/mvdevs/jk2mv
  2. Get CMake from either https://cmake.org or, in case of Linux, from the repositories of your distribution.
  3. Dependencies
    • Windows: Requires at least Visual Studio 2013, required libraries are shipped with JK2MV in the libs directory.
    • Linux/FreeBSD: OpenGL, OpenAL, SDL2 and depending on your configuration libjpeg, libpng, libminizip, zlib.
      • Ubuntu/Debian: apt-get install git debhelper devscripts libsdl2-dev libgl1-mesa-dev libopenal-dev libjpeg8-dev libpng12-dev zlib1g-dev libminizip-dev
      • Fedora: dnf install git SDL2-devel mesa-libGL-devel openal-soft-devel libjpeg-turbo-devel libpng-devel zlib-devel minizip-devel
    • MacOSX: XCode on MacOSX >= 10.6
      • Configure / Build SDL2:
        1. curl -O https://www.libsdl.org/release/SDL2-2.0.8.tar.gz
        2. tar xzf SDL2-2.0.8.tar.gz && cd SDL2-2.0.8/Xcode/SDL
        3. sed -i -e 's/@rpath//g' SDL.xcodeproj/project.pbxproj (packaging fails otherwise)
        4. xcodebuild -configuration Release
        5. mkdir -p ~/Library/Frameworks/
        6. ln -s `pwd`/build/Release/SDL2.framework ~/Library/Frameworks
  4. Configuration
    • Either
      • Use the CMake GUI to configure JK2MV
      • Generate the default configuration by using the build scripts in the build directory.
    • Important Options
      • BuildPortableVersion Build portable version (does not read or write files from your user/home directory)
      • BuildMVMP Whether to create targets for the client (jk2mvmp & jk2mvmenu)
      • BuildMVDED Whether to create targets for the dedicated server (jk2mvded)
      • BuildMVSDK Whether to build and integrate the mvsdk modules.
      • CMAKE_BUILD_TYPE=Debug/Release Build for development/release.
  5. Building
    • Unix-Makefiles
      • make Build all previously selected binaries.
      • make install Installs JK2MV to /usr on Linux. On MacOSX it finishes the App-Package.
      • make package Generates rpm/deb packages on Linux and a dmg image on MacOSX.

License

JK2MV is licensed under GPLv2 as free software. You are free to use, modify and redistribute JK2MV following the terms in the LICENSE file. Please be aware of the implications of the GPLv2 licence. In short, be prepared to share your code under the same GPLv2 licence.

Credits