Skip to content
forked from Try/OpenGothic

Reimplementation of Gothic 2 Notr

License

Notifications You must be signed in to change notification settings

thokkat/OpenGothic

 
 

Repository files navigation

OpenGothic

Open source remake of Gothic 2: Night of the Raven.

Motivation: The original Gothic 1 and Gothic 2 are still great games, but it's not easy to make them work on modern systems. The goal of this project is to make a feature complete Gothic game client compatible with the original game data and mods.


Latest build Screenshoot

Work in progress

Build status

The original game has been replicated fully; you can complete both the main quest and the addon. Check out the bugtracker for a list of known issues.

Install on Windows

  1. Install original Gothic game from CD/Steam/GOG/etc. you have to install the original game as OpenGothic does not provide any built-in game assets or game scripts
  2. Download latest stable build
  3. Run '/OpenGothic/bin/Gothic2Notr.exe -g "C:\Program Files (x86)\Path\To\Gothic II"'

Common Gothic installation paths to be provided via -g:

  • "C:\Program Files (x86)\JoWooD\Gothic II"
  • "C:\Gothic II"
  • "C:\Program Files (x86)\Steam\steamapps\common\Gothic II"
  • "~/PlayOnLinux's virtual drives/Gothic2_gog/drive_c/Gothic II"

Build on Linux

Dependencies

  • Ubuntu 20.04
# latest Vulkan SDK provided externally as Ubuntu packages are usually older
wget -qO - https://packages.lunarg.com/lunarg-signing-key-pub.asc | sudo apt-key add -
sudo wget -qO /etc/apt/sources.list.d/lunarg-vulkan-focal.list https://packages.lunarg.com/vulkan/lunarg-vulkan-focal.list
sudo apt update
sudo apt install vulkan-sdk

# distro-provided packages
sudo apt install git cmake g++ glslang-tools libvulkan-dev libasound2-dev libx11-dev libxcursor-dev
  • Arch
sudo pacman -S git cmake gcc glslang vulkan-devel alsa-lib libx11 libxcursor vulkan-icd-loader libglvnd
  • Fedora
sudo dnf install git cmake gcc-c++ glslang vulkan-loader-devel alsa-lib-devel libX11-devel libXcursor-devel vulkan-validation-layers-devel libglvnd-devel

Compilation

# 1st time build:
git clone --recurse-submodules https://github.com/Try/OpenGothic.git
cd OpenGothic
cmake -B build -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo
make -C build -j $(nproc)

# following builds:
git pull --recurse-submodules
make -C build -j $(nproc)

# locate the executables at OpenGothic/build/opengothic

Build on MacOS

brew install glslang
git clone --recurse-submodules https://github.com/Try/OpenGothic.git
cd OpenGothic
cmake -H. -Bbuild -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo
cmake --build ./build --target Gothic2Notr

# locate the executables at OpenGothic/build/opengothic

Video

Video

Mods compatibility

  • Content mods (retexture/reworld/animations)
  • Mods bases on Ikarus/LeGo
  • AST sdk
  • Mods bases on Union (not possible)
  • DirectX11 - same as Union, but don't worry - OpenGothic has nice graphics out of the box

Command line arguments

Argument(s) Description
-g specify path containing Gothic game data
-game:<modfile.init> specify game modification manifest (GothicStarter compatibility)
-nomenu skip main menu
-w <worldname.zen> startup world; newworld.zen is default
-save q load the quick save on start
-save <number> load a specified save-game slot on start
-v -validation enable Vulkan validation mode
-dx12 force DirectX 12 renderer instead of Vulkan (Windows only)
-g1 assume a Gothic 1 installation
-g2 assume a Gothic 2 installation
-rt <boolean> explicitly enable or disable ray-query
-ms <boolean> explicitly enable or disable meshlets
-window windowed debugging mode (not to be used for playing)

About

Reimplementation of Gothic 2 Notr

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 78.9%
  • C 16.3%
  • GLSL 3.9%
  • CMake 0.9%
  • Objective-C++ 0.0%
  • Shell 0.0%