GithubHelp home page GithubHelp logo

doytsujin / jazz2-native Goto Github PK

View Code? Open in Web Editor NEW

This project forked from deathkiller/jazz2-native

0.0 1.0 0.0 5.02 MB

šŸŽ®ā€‚Ā·ā€‚JazzĀ² Resurrection: Native C++ reimplementation of Jazz Jackrabbit 2

Home Page: http://deat.tk/jazz2/

License: GNU General Public License v3.0

Shell 0.05% C++ 81.67% C 14.88% Objective-C 0.27% CMake 2.06% GLSL 0.08% ReScript 0.99%

jazz2-native's Introduction

JazzĀ² Resurrection
Open-source Jazz Jackrabbit 2 reimplementation
Brought to you by @deathkiller

Introduction

JazzĀ² Resurrection is reimplementation of the game Jazz Jackrabbit 2 released in 1998. Supports various versions of the game (Shareware Demo, Holiday Hare '98, The Secret Files and Christmas Chronicles). Also, it partially supports some features of JJ2+ extension and MLLE. This repository contains fully rewritten game in C++ with better performance and many improvements. Further information can be found here.

Build Status Latest Release Code Quality License Discord

Preview

Preview

Running the application

Windows

  • Download the game
  • Copy original Jazz Jackrabbit 2 directory to ā€¹Gameā€ŗ\Source\
  • Run ā€¹Gameā€ŗ\Jazz2.exe or ā€¹Gameā€ŗ\Jazz2_avx2.exe application

ā€¹Gameā€ŗ is path to JazzĀ² Resurrection. Cache is recreated during intro cinematics on the first startup, so it can't be skipped.

Linux

  • Download the game
  • Install dependencies: sudo apt install libglew2.2 libglfw3 libopenal1 libopenmpt0
  • Copy original Jazz Jackrabbit 2 directory to ā€¹Gameā€ŗ/Source/
  • Run ā€¹Gameā€ŗ/jazz2, ā€¹Gameā€ŗ/jazz2_clang or ā€¹Gameā€ŗ/jazz2_sdl2 application

ā€¹Gameā€ŗ is path to JazzĀ² Resurrection. Cache is recreated during intro cinematics on the first startup, so it can't be skipped.

Web (Emscripten)

Android

  • Download the game
  • Copy Content directory to ā€¹Storageā€ŗ/Android/data/jazz2.resurrection/files/Content/
  • Copy original Jazz Jackrabbit 2 directory to ā€¹Storageā€ŗ/Android/data/jazz2.resurrection/files/Source/
  • Install Jazz2.apk or Jazz2_x86-64.apk on the device
  • Run the newly installed application

ā€¹Storageā€ŗ is usually internal storage on your device. The game requires device with Android 5.0 (or newer) and OpenGL ES 3.0 support. Cache is recreated during intro cinematics on the first startup, so it can't be skipped.

Building the application

Windows

  • Install build dependencies
  • Open the solution in Microsoft Visual Studio 2019 (or newer) and build it
    • CMake is not recommended for Windows build, but it should work too

Linux

  • Install build dependencies
# Install OpenGL library
sudo apt-get install -y libgl1-mesa-dev

# Download nCine dependencies
cd ..
git clone https://github.com/nCine/nCine-libraries-artifacts.git
cd nCine-libraries-artifacts

# Replace "libraries-linux-gcc" with "libraries-linux-clang" if Clang compiler is used
git checkout libraries-linux-gcc
LIBRARIES_FILE=$(ls -t | head -n 1) && tar xpzf $LIBRARIES_FILE
mv nCine-external ..
cd ..
rm -rf nCine-libraries-artifacts
  • Build the solution with CMake
    • Run ./BuildLinuxGcc.sh to build with GCC compiler
    • Run ./BuildLinuxClang.sh to build with Clang compiler

Web (Emscripten)

  • Install build dependencies
# Install Emscripten SDK
cd ..
git clone https://github.com/emscripten-core/emsdk.git
cd emsdk
./emsdk install latest
./emsdk activate latest
  • Put required game files to ./Content/ directory ā€“ the files must be provided in advance
  • Build the solution with CMake
    • Run ./BuildEmscripten.sh to build with Emscripten

Android

  • Install Android SDK (preferably to ../android-sdk/)
  • Install Android NDK (preferably to ../android-ndk/)
  • Install Gradle (preferably to ../gradle/)
  • Install build dependencies
# Install OpenGL library
sudo apt-get install -y libgl1-mesa-dev

# Download nCine dependencies
cd ..
git clone https://github.com/nCine/nCine-libraries-artifacts.git
cd nCine-libraries-artifacts

git checkout android-libraries-armeabi-v7a
LIBRARIES_FILE=$(ls -t | head -n 1) && tar xpzf $LIBRARIES_FILE
git checkout android-libraries-arm64-v8a
LIBRARIES_FILE=$(ls -t | head -n 1) && tar xpzf $LIBRARIES_FILE
git checkout android-libraries-x86_64
LIBRARIES_FILE=$(ls -t | head -n 1) && tar xpzf $LIBRARIES_FILE
mv nCine-android-external ..
cd ..
rm -rf nCine-libraries-artifacts
  • Build the solution with CMake
    • Run ./BuildAndroid.sh or ./BuildAndroid_x86-64 to build APK for Android
    • Run ./BuildAndroidSign.sh to sign built APKs

License

This project is licensed under the terms of the GNU General Public License v3.0.

This project uses modified nCine game engine released under the following license:

Copyright (c) 2011-2022 Angelo Theodorou

Permission is hereby granted, free of charge, to any person obtaining a
copy of this software and associated documentation files (the "Software"),
to deal in the Software without restriction, including without limitation
the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

jazz2-native's People

Contributors

deathkiller avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.