Giter Site home page Giter Site logo

regoth-project / regoth Goto Github PK

View Code? Open in Web Editor NEW
626.0 99.0 63.0 6.37 MB

OpenSource-Reimplementation of the zEngine, used by the game "Gothic"

License: GNU General Public License v3.0

CMake 3.74% C++ 92.14% Makefile 0.41% SuperCollider 0.28% Shell 0.50% Batchfile 0.01% C 1.84% Python 0.33% Java 0.51% Scala 0.24%
gothic gothic2 reimplementation engine cpp

regoth's Introduction

REGoth Build status Build Status Gitter

OpenSource-Reimplementation of the zEngine, used by the game "Gothic" and "Gothic II".

Attention!

The project has been restarted. Here is the new repository: https://github.com/REGoth-project/REGoth-bs

Don't forget to check out the REGoth-Wiki for more information about the project!

A list showing the current state of the engine, can be found here.

Videos showing the current state

Download (Latest stable version)

Version 0.4 (Windows): https://github.com/REGoth-project/REGoth/releases/tag/0.4

Version 0.4 (Android): https://github.com/REGoth-project/REGoth/releases/tag/0.4-android

Automated nightly builds: https://github.com/degenerated1123/REGoth/releases

Source

Make sure to clone this repository with the --recursive flag:

ssh:
git clone --recursive [email protected]:degenerated1123/REGoth.git
https:
git clone --recursive https://github.com/degenerated1123/REGoth.git

To update the repo, you need to make sure to update the submodules as well. Instead of simply pulling the repository, you can do:

git pull --recurse-submodules

Building

Note: If you are missing packages or are having trouble building on your platform, you can check out this wiki-page, which may contain more detailed instructions. If you don't find your platform there, I'd kindly ask you to add some instructions for other people to that wiki-page!

You will need CMake (3.1 or newer) and a C++14-capable compiler. Currently supported/tested are:

  • GCC (6.x)
  • MinGW
  • Visual Studio 2015, 2017

You will also need a copy of libsndfile installed on your computer.

Obtaining libsndfile and libxinerama

*nix systems (Linux, BSD, macOS)

On most *nix systems, this can be obtained using a package manager, for example on Debian/Ubuntu:

$ sudo apt install libsndfile1-dev libasound2-dev
$ sudo apt install libxinerama-dev

Or on macOS

$ brew install libsndfile # Needs Homebrew

Windows

libsndfile will need to be compiled separately. Create a directory somewhere on your system to store the compiled files, then run

mkdir build-libsndfile
cd build-libsndfile
cmake -D CMAKE_INSTALL_PREFIX=compiled/files/folder path/to/REGoth/lib/libdmusic/utils/dls2sf/lib/libsndfile
cmake --build . --target install --config Release

Compiling REGoth

Then:

cd path/to/REGoth
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release .. # On *nix systems this is sufficient
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=compiled/files/folder .. # On Windows

If CMake complains about some folders missing a CMakeLists.txt, you most likely forgot to clone with the --recursive-flag! Simple do git submodule update --init --recursive and it should work.

Then, choose depending on your OS:

Linux, MacOS and other *nix

make -j4

Windows

Starting Visual Studio 2017 you can use the integrated cmake functionality to open the cloned folder.
Check out the how to build wiki page for details on this.

For previous versions of Visual Studio, open the generated REGoth.sln and build as usual.
Alternatively, you may run this command inside of the build folder:

cmake --build . --config release

Running

The compiled files are inside the build/bin directory.

Make sure to copy the content/shaders folder to the working directory of the compiled REGoth-Executable. Then, run the program with the following flags:

REGoth -g "path/to/gothic1or2" -w startworld.zen

Where path/to/gothic1or2 points to the root of a Gothic I or II installation and startworld.zen is one of the Zen-Files found in a .vdf-files in the games data/-directory. For example: newworld.zen or addonworld.zen for Gothic II.

It is recommended to run this from the commandline, to see the debug-output of the program.

Additionally, for a list of possible commands, run REGoth --help.

Controls

  • Movement: WASD/QE or arrow-keys (Space or Shift to run faster)
  • Actions: Left CTRL for everything
  • Menus: B for status-screen
  • Console: F10
    • Available commands (square brackets mean optional argument):
      • tp [<teleporter:default=player>] <target>: Teleport NPC teleporter (= player if none is given) to NPC target
      • goto waypoint <waypoint>: Teleport player to waypoint
      • kill [<npc>]: Kill npc or a nearby NPC if none is given
      • knockout [<npc>]: Knockout npc or a nearby NPC if none is given
      • save <slotindex>: Save the game to the given slot
      • load <slotindex>: Load the game from the given slot
      • switchlevel <zenfile>: Switch to an other level in current session
      • usemana <amount>: Use mana
      • hurtself <amount>: Hurt yourself
      • set clock <hour> [<min:default=0>]: Set time of day to hour:min
      • control <npc>: Take control over npc

Development

If you want to help out and don't know where to start, I suggest reading the wiki-page, which contains information about the engine-layout and lists of which features are missing (Not yet, though!).

Examples

Gothic 1 - Overworld: REGoth -g "path/to/gothic1" -w world.zen

Gothic 1 - Oldmine: REGoth -g "path/to/gothic1" -w oldmine.zen

Gothic 1 - Freemine: REGoth -g "path/to/gothic1" -w freemine.zen

Gothic 1 - Orc graveyard: REGoth -g "path/to/gothic1" -w orcgraveyard.zen

Gothic 1 - Sleeper temple: REGoth -g "path/to/gothic1" -w orctempel.zen

Gothic 2 - Overworld: REGoth -g "path/to/gothic2" -w newworld.zen

Gothic 2 - Valley of mines: REGoth -g "path/to/gothic2" -w oldworld.zen

Gothic 2 - Addonworld: REGoth -g "path/to/gothic2" -w addonworld.zen

Gothic 2 - Dragonisland: REGoth -g "path/to/gothic2" -w dragonisland.zen

regoth's People

Contributors

aaeberharter avatar astillich avatar ataulien avatar benjaminfoo avatar chaosmarc avatar commanderjax avatar devnexen avatar drako avatar frabert avatar hhirsch avatar hunterwolfat avatar jangernert avatar kaffeine avatar kapitaenzufall avatar kirmesbude avatar kukunin avatar leinnan avatar lubieerror avatar markusobi avatar mdrost avatar mormund avatar mplucinski avatar noahndertaler avatar oortjacek avatar ousnius avatar pljohnny avatar rose27 avatar v-maluka avatar versable avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

regoth's Issues

No clear dependecies listed for major distros

What are you using?

gcc 6.2.1, gcc-c++ 6.2.1, cmake 3.6.1, fedora 25, git 2.9.3.

What happened?

CMake complain it cannot find OpenGL, OpenMP & Vulkan, then fire an error from CMakeList.txt [249] in /lib/glfw "RandR library not found".

There are other packages i have to install before running CMake?

Config-file

Can contain the following, for example:

  • Paths to G1 and G2 (Choose between them using a flag)
  • Fullscreen/Windowed
  • Keybindings

Proposed format: JSON (Since we do already have a loader for that)

Failed to build

This is what I get when I try to clone repo to my PC

Cloning into 'REGoth'...
remote: Counting objects: 496, done.
remote: Compressing objects: 100% (88/88), done.
remote: Total 496 (delta 30), reused 0 (delta 0), pack-reused 408
Receiving objects: 100% (496/496), 393.89 KiB | 330.00 KiB/s, done.
Resolving deltas: 100% (183/183), done.
Checking connectivity... done.
Submodule 'lib/ZenLib' ([email protected]:degenerated1123/ZenLib.git) registered for path 'lib/ZenLib'
Submodule 'lib/bgfx-cmake' ([email protected]:degenerated1123/bgfx-cmake.git) registered for path 'lib/bgfx-cmake'
Submodule 'lib/glm' (https://github.com/g-truc/glm.git) registered for path 'lib/glm'
Submodule 'lib/tinydir' ([email protected]:cxong/tinydir.git) registered for path 'lib/tinydir'
Cloning into '/home/piotr/REGoth/lib/ZenLib'...
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: clone of '[email protected]:degenerated1123/ZenLib.git' into submodule path '/home/piotr/REGoth/lib/ZenLib' failed

OpenMP (Mac)

Hi

I tried to compile this game on a Mac, but I noticed the issue with the OpenMP.

Why do I need to install a compiler with the OpenMP on the Mac?

cmake -DCMAKE_BUILD_TYPE=Release ..
-- Try OpenMP C flag = [ ]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [-fopenmp=libomp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [/openmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [-Qopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [-openmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [-xopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [+Oopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [-qsmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP C flag = [-mp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [ ]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [-fopenmp=libomp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [/openmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [-Qopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [-openmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [-xopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [+Oopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [-qsmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
-- Try OpenMP CXX flag = [-mp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Failed
CMake Error at /usr/local/Cellar/cmake/3.5.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
Could NOT find OpenMP (missing: OpenMP_C_FLAGS OpenMP_CXX_FLAGS)
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.5.2/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
/usr/local/Cellar/cmake/3.5.2/share/cmake/Modules/FindOpenMP.cmake:234 (find_package_handle_standard_args)
CMakeLists.txt:35 (FIND_PACKAGE)

-- Configuring incomplete, errors occurred!
See also "/Users/gbudny/Desktop/downloads/REGoth-master/build/CMakeFiles/CMakeOutput.log".
See also "/Users/gbudny/Desktop/downloads/REGoth-master/build/CMakeFiles/CMakeError.log".

Win7 , Visual Studio, Not displaying anything except for bounding boxes:

> C:\Users\dat\Desktop\regoth\REGoth\build2\bin\Release>REGoth.exe -g "F:\Gothic"-w FREEMINE.zen

Running REGoth Engine
Info: Using F:\Gothic as game root
Info: Loading world FREEMINE.zen on startup
Info: Loading VDF-Archives: [

  • F:\Gothic/Data/Anims.vdf
  • F:\Gothic/Data/Fonts.vdf
  • F:\Gothic/Data/Meshes.vdf
  • F:\Gothic/Data/Sound.vdf
  • F:\Gothic/Data/Sound_patch2.vdf
  • F:\Gothic/Data/Speech.vdf
  • F:\Gothic/Data/Speech_babe_speech_engl.vdf
  • F:\Gothic/Data/Textures.vdf
  • F:\Gothic/Data/Textures_apostroph_patch_neu.vdf
  • F:\Gothic/Data/Textures_bikini.vdf
  • F:\Gothic/Data/Textures_choicebox_32pixel_modialpha.vdf
  • F:\Gothic/Data/Textures_patch.vdf
  • F:\Gothic/Data/Textures_Startscreen_ohne_Logo.vdf
  • F:\Gothic/Data/Worlds.vdf
    ]
    Info: Successfully loaded VDF-Archive: F:\Gothic/Data/Anims.vdf
    Info: Successfully loaded VDF-Archive: F:\Gothic/Data/Fonts.vdf
    Info: Successfully loaded VDF-Archive: F:\Gothic/Data/Meshes.vdf
    Info: Successfully loaded VDF-Archive: F:\Gothic/Data/Sound.vdf
    Info: Successfully loaded VDF-Archive: F:\Gothic/Data/Sound_patch2.vdf
    Info: Successfully loaded VDF-Archive: F:\Gothic/Data/Speech.vdf
    Info: Successfully loaded VDF-Archive: F:\Gothic/Data/Speech_babe_speech_engl.vd
    f
    Info: Successfully loaded VDF-Archive: F:\Gothic/Data/Textures.vdf
    Info: Successfully loaded VDF-Archive: F:\Gothic/Data/Textures_apostroph_patch_n
    eu.vdf
    Info: Successfully loaded VDF-Archive: F:\Gothic/Data/Textures_bikini.vdf
    Info: Successfully loaded VDF-Archive: F:\Gothic/Data/Textures_choicebox_32pixel
    modialpha.vdf
    Info: Successfully loaded VDF-Archive: F:\Gothic/Data/Textures_patch.vdf
    Info: Successfully loaded VDF-Archive: F:\Gothic/Data/Textures_Startscreen_ohne

    Logo.vdf
    Info: Successfully loaded VDF-Archive: F:\Gothic/Data/Worlds.vdf
    Info: ZEN: Reading world...
    Info: oCWorld reading chunk: MeshAndBsp
    Info: ZEN: Reading mesh...
    Info: numPolys: 13202
    Info: Num nodes: 4259
    Info: Found 3952 non lod polys
    Info: Reading mesh '' (Version: 9)
    Info: Found 2116 vertices
    Info: ZEN: Done reading mesh!
    Info: oCWorld reading chunk: VobTree
    Info: oCWorld reading chunk: WayNet
    Info: Loading 0 freepoints
    Info: Loading 177 edges
    Info: Done loading edges!
    Info: Postprocessing worldmesh...
    Info: Generating world collision mesh...
    Info: Inserting vobs...
    Info: Loading Daedalus compiled script file: F:\Gothic/_work/data/Scripts/_compi
    led/GOTHIC.DAT
    Info: Zen-File found! Size: 3595531
    Info: Reading...
    Info: Did not find main-function!
    Info: Initializing scripts for world: FREEMINE
    Info: DEBUG: ### (0) ### -> B_Scale
    C:\Users\dat\Desktop\regoth\REGoth\src\logic\ScriptEngine.cpp(80):[int __thiscal
    l Logic::ScriptEngine::runFunction(unsigned int)] DaedalusVM: Safety int was pop
    ped by scriptcode!
    Info: DEBUG: ### (0) ### -> B_Scale
    C:\Users\dat\Desktop\regoth\REGoth\src\logic\ScriptEngine.cpp(80):[int __thiscal
    l Logic::ScriptEngine::runFunction(unsigned int)] DaedalusVM: Safety int was pop
    ped by scriptcode!
    Info: DEBUG: ### (0) ### -> B_Scale
    C:\Users\dat\Desktop\regoth\REGoth\src\logic\ScriptEngine.cpp(80):[int __thiscal
    l Logic::ScriptEngine::runFunction(unsigned int)] DaedalusVM: Safety int was pop
    ped by scriptcode!
    C:\Users\dat\Desktop\regoth\REGoth\src\logic\ScriptEngine.cpp(80):[int __thiscal
    l Logic::ScriptEngine::runFunction(unsigned int)] DaedalusVM: Safety int was pop
    ped by scriptcode!
    Info: DEBUG: ### (0) ### -> B_Scale
    C:\Users\dat\Desktop\regoth\REGoth\src\logic\ScriptEngine.cpp(80):[int __thiscal
    l Logic::ScriptEngine::runFunction(unsigned int)] DaedalusVM: Safety int was pop
    ped by scriptcode!
    Info: DEBUG: ### (0) ### -> B_Scale
    C:\Users\dat\Desktop\regoth\REGoth\src\logic\ScriptEngine.cpp(80):[int __thiscal
    l Logic::ScriptEngine::runFunction(unsigned int)] DaedalusVM: Safety int was pop
    ped by scriptcode!
    Info: DEBUG: ### (0) ### -> B_Scale
    C:\Users\dat\Desktop\regoth\REGoth\src\logic\ScriptEngine.cpp(80):[int __thiscal
    l Logic::ScriptEngine::runFunction(unsigned int)] DaedalusVM: Safety int was pop
    ped by scriptcode!
    Info: DEBUG: ### (0) ### -> B_Scale
    C:\Users\dat\Desktop\regoth\REGoth\src\logic\ScriptEngine.cpp(80):[int __thiscal
    l Logic::ScriptEngine::runFunction(unsigned int)] DaedalusVM: Safety int was pop
    ped by scriptcode!
    Info: DEBUG: ### (0) ### -> B_Scale
    C:\Users\dat\Desktop\regoth\REGoth\src\logic\ScriptEngine.cpp(80):[int __thiscal
    l Logic::ScriptEngine::runFunction(unsigned int)] DaedalusVM: Safety int was pop
    ped by scriptcode!
    Info: DEBUG: ### (0) ### -> B_Scale
    C:\Users\dat\Desktop\regoth\REGoth\src\logic\ScriptEngine.cpp(80):[int __thiscal
    l Logic::ScriptEngine::runFunction(unsigned int)] DaedalusVM: Safety int was pop
    ped by scriptcode!
    Info: DEBUG: ### (0) ### -> B_Scale
    C:\Users\dat\Desktop\regoth\REGoth\src\logic\ScriptEngine.cpp(80):[int __thiscal
    l Logic::ScriptEngine::runFunction(unsigned int)] DaedalusVM: Safety int was pop
    ped by scriptcode!
    Info: DEBUG: ### (0) ### -> B_Scale
    C:\Users\dat\Desktop\regoth\REGoth\src\logic\ScriptEngine.cpp(80):[int __thiscal
    l Logic::ScriptEngine::runFunction(unsigned int)] DaedalusVM: Safety int was pop
    ped by scriptcode!
    Info: DEBUG: ### (0) ### -> B_Scale
    C:\Users\dat\Desktop\regoth\REGoth\src\logic\ScriptEngine.cpp(80):[int __thiscal
    l Logic::ScriptEngine::runFunction(unsigned int)] DaedalusVM: Safety int was pop
    ped by scriptcode!
    Info: DEBUG: ### (0) ### -> B_Scale
    C:\Users\dat\Desktop\regoth\REGoth\src\logic\ScriptEngine.cpp(80):[int __thiscal
    l Logic::ScriptEngine::runFunction(unsigned int)] DaedalusVM: Safety int was pop
    ped by scriptcode!
    Info: DEBUG: ### (0) ### -> B_Scale
    C:\Users\dat\Desktop\regoth\REGoth\src\logic\ScriptEngine.cpp(80):[int __thiscal
    l Logic::ScriptEngine::runFunction(unsigned int)] DaedalusVM: Safety int was pop
    ped by scriptcode!
    Info: DEBUG: ### (0) ### -> B_Scale
    C:\Users\dat\Desktop\regoth\REGoth\src\logic\ScriptEngine.cpp(80):[int __thiscal
    l Logic::ScriptEngine::runFunction(unsigned int)] DaedalusVM: Safety int was pop
    ped by scriptcode!
    Info: DEBUG: ### (0) ### -> B_Scale
    C:\Users\dat\Desktop\regoth\REGoth\src\logic\ScriptEngine.cpp(80):[int __thiscal
    l Logic::ScriptEngine::runFunction(unsigned int)] DaedalusVM: Safety int was pop
    ped by scriptcode!
    Info: DEBUG: ### (0) ### -> B_Scale
    C:\Users\dat\Desktop\regoth\REGoth\src\logic\ScriptEngine.cpp(80):[int __thiscal
    l Logic::ScriptEngine::runFunction(unsigned int)] DaedalusVM: Safety int was pop
    ped by scriptcode!
    Info: DEBUG: ### (0) ### -> B_Scale
    C:\Users\dat\Desktop\regoth\REGoth\src\logic\ScriptEngine.cpp(80):[int __thiscal
    l Logic::ScriptEngine::runFunction(unsigned int)] DaedalusVM: Safety int was pop
    ped by scriptcode!
    Info: DEBUG: ### (0) ### -> B_Scale
    C:\Users\dat\Desktop\regoth\REGoth\src\logic\ScriptEngine.cpp(80):[int __thiscal
    l Logic::ScriptEngine::runFunction(unsigned int)] DaedalusVM: Safety int was pop
    ped by scriptcode!
    Info: DEBUG: ### (0) ### -> B_Scale
    C:\Users\dat\Desktop\regoth\REGoth\src\logic\ScriptEngine.cpp(80):[int __thiscal
    l Logic::ScriptEngine::runFunction(unsigned int)] DaedalusVM: Safety int was pop
    ped by scriptcode!
    Info: DEBUG: ### (0) ### -> B_Scale
    C:\Users\dat\Desktop\regoth\REGoth\src\logic\ScriptEngine.cpp(80):[int __thiscal
    l Logic::ScriptEngine::runFunction(unsigned int)] DaedalusVM: Safety int was pop
    ped by scriptcode!
    Info: DEBUG: ### (0) ### -> B_Scale
    C:\Users\dat\Desktop\regoth\REGoth\src\logic\ScriptEngine.cpp(80):[int __thiscal
    l Logic::ScriptEngine::runFunction(unsigned int)] DaedalusVM: Safety int was pop
    ped by scriptcode!
    Info: DEBUG: ### (0) ### -> B_Scale
    C:\Users\dat\Desktop\regoth\REGoth\src\logic\ScriptEngine.cpp(80):[int __thiscal
    l Logic::ScriptEngine::runFunction(unsigned int)] DaedalusVM: Safety int was pop
    ped by scriptcode!
    Info: DEBUG: ### (0) ### -> B_Scale
    C:\Users\dat\Desktop\regoth\REGoth\src\logic\ScriptEngine.cpp(80):[int __thiscal
    l Logic::ScriptEngine::runFunction(unsigned int)] DaedalusVM: Safety int was pop
    ped by scriptcode!
    Info: DEBUG: ### (0) ### -> B_Scale
    C:\Users\dat\Desktop\regoth\REGoth\src\logic\ScriptEngine.cpp(80):[int __thiscal
    l Logic::ScriptEngine::runFunction(unsigned int)] DaedalusVM: Safety int was pop
    ped by scriptcode!
    Info: DEBUG: ### (0) ### -> B_Scale
    C:\Users\dat\Desktop\regoth\REGoth\src\logic\ScriptEngine.cpp(80):[int __thiscal
    l Logic::ScriptEngine::runFunction(unsigned int)] DaedalusVM: Safety int was pop
    ped by scriptcode!
    C:\Users\dat\Desktop\regoth\REGoth\src\components\AnimHandler.cpp(83):[void __th
    iscall Components:nimHandler:layAnimation(const class std::basic_string<char
    ,struct std::char_traits,class std::allocator > &)] Failed to find a
    nimation: S_RUNL
    C:\Users\dat\Desktop\regoth\REGoth\src\components\AnimHandler.cpp(83):[void __th
    iscall Components:nimHandler:layAnimation(const class std::basic_string<char
    ,struct std::char_traits,class std::allocator > &)] Failed to find a
    nimation: S_RUNL
    C:\Users\dat\Desktop\regoth\REGoth\src\components\AnimHandler.cpp(83):[void __th
    iscall Components:nimHandler:layAnimation(const class std::basic_string<char
    ,struct std::char_traits,class std::allocator > &)] Failed to find a
    nimation: S_RUNL
    C:\Users\dat\Desktop\regoth\REGoth\src\components\AnimHandler.cpp(83):[void __th
    iscall Components:nimHandler:layAnimation(const class std::basic_string<char
    ,struct std::char_traits,class std::allocator > &)] Failed to find a
    nimation: S_RUNL
    C:\Users\dat\Desktop\regoth\REGoth\src\components\AnimHandler.cpp(83):[void __th
    iscall Components:nimHandler:layAnimation(const class std::basic_string<char
    ,struct std::char_traits,class std::allocator > &)] Failed to find a
    nimation: S_RUNL
    C:\Users\dat\Desktop\regoth\REGoth\src\components\AnimHandler.cpp(83):[void __th
    iscall Components:nimHandler:layAnimation(const class std::basic_string<char
    ,struct std::char_traits,class std::allocator > &)] Failed to find a
    nimation: S_RUNL
    C:\Users\dat\Desktop\regoth\REGoth\src\components\AnimHandler.cpp(83):[void __th
    iscall Components:nimHandler:layAnimation(const class std::basic_string<char
    ,struct std::char_traits,class std::allocator > &)] Failed to find a
    nimation: S_RUNL
    C:\Users\dat\Desktop\regoth\REGoth\src\components\AnimHandler.cpp(83):[void __th
    iscall Components:nimHandler:layAnimation(const class std::basic_string<char
    ,struct std::char_traits,class std::allocator > &)] Failed to find a
    nimation: S_RUNL
    C:\Users\dat\Desktop\regoth\REGoth\src\components\AnimHandler.cpp(83):[void __th
    iscall Components:nimHandler:layAnimation(const class std::basic_string<char
    ,struct std::char_traits,class std::allocator > &)] Failed to find a
    nimation: S_RUNL
    C:\Users\dat\Desktop\regoth\REGoth\src\components\AnimHandler.cpp(83):[void __th
    iscall Components:nimHandler:layAnimation(const class std::basic_string<char
    ,struct std::char_traits,class std::allocator > &)] Failed to find a
    nimation: S_RUNL
    C:\Users\dat\Desktop\regoth\REGoth\src\components\AnimHandler.cpp(83):[void __th
    iscall Components:nimHandler:layAnimation(const class std::basic_string<char
    ,struct std::char_traits,class std::allocator > &)] Failed to find a
    nimation: S_RUNL
    C:\Users\dat\Desktop\regoth\REGoth\src\logic\ScriptEngine.cpp(80):[int __thiscal
    l Logic::ScriptEngine::runFunction(unsigned int)] DaedalusVM: Safety int was pop
    ped by scriptcode!
    C:\Users\dat\Desktop\regoth\REGoth\src\logic\ScriptEngine.cpp(80):[int __thiscal
    l Logic::ScriptEngine::runFunction(unsigned int)] DaedalusVM: Safety int was pop
    ped by scriptcode!
    Info: DEBUG: ### (0) ### -> B_InitGuildAttitudes
    C:\Users\dat\Desktop\regoth\REGoth\src\logic\ScriptEngine.cpp(80):[int __thiscal
    l Logic::ScriptEngine::runFunction(unsigned int)] DaedalusVM: Safety int was pop
    ped by scriptcode!
    Info: Inserting player of class 'PC_HERO' at startpoint 'zCVobStartpoint:zCVob'
    Info: itemInstance: 4128
    C:\Users\dat\Desktop\regoth\REGoth\lib\ZenLib\zenload\zCCSLib.cpp(47):[_thiscal
    l ZenLoad::zCCSLib::zCCSLib(const class std::basic_string<char,struct std::char

    traits,class std::allocator > &)] File does not exist

Focusing

The little text which appears on top of objects in focus. Also highlight them like in the original.

Currently the nearest object is chosen for interaction.

Trace debug level

Used for logging optional high frequency message, such as missing / wrong data and per frame stuff. Has a compile time switch which defaults to disabled. Can be toggled via a command line argument, default is also disabled.

Settings menu issue

When you are opening up the "Settings" - section in the main menu, the "Settings"- logo will stay in the background.

Center camera behind PC_HERO when using a MOB

Just a minor issue, but I thought it couldn't hurt to mention it:
Currently the camera stays in the exact location it has been the moment you press 'ctrl' to use the mob.
If you had to focus the mob in order to use it, it wouldn't even be that noticeable. But with the current implementation of just using the nearest mob you can get some interesting camera positions.

screenshot from 2017-01-14 14-17-41

screenshot from 2017-01-14 14-18-02

Fn key command causes crash

When you are using the FN- key whilst running REGoth (for example you want to turn the sound louder), it causes a crash.

Build fails on Linux Mint 17.3 with GCC 4.8/4.9

I tried building the newest version (aa545a1) but it failed.

Distro: Linux Mint 17.3
Kernel: 4.4.0-21-generic
CMake: 3.6.0
GCC: 4.8.4

[  1%] Built target LinearMath
[  1%] Built target utils
[  3%] Built target squish
[  4%] Building CXX object lib/ZenLib/vdfs/CMakeFiles/vdfs.dir/archive_virtual.o
[  4%] Building CXX object lib/bgfx-cmake/CMakeFiles/bgfx3rdParty.dir/bgfx/3rdparty/ocornut-imgui/imgui_wm.cpp.o
/home/foo/src/REGoth/lib/ZenLib/vdfs/archive_virtual.cpp: In member function ‘bool VDFS::ArchiveVirtual::loadVDF(const string&, uint32_t)’:
/home/foo/src/REGoth/lib/ZenLib/vdfs/archive_virtual.cpp:60:56: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
  fread(&m_VdfHeader, sizeof(m_VdfHeader), 1, m_pStream);
                                                        ^
[  4%] Building CXX object lib/ZenLib/vdfs/CMakeFiles/vdfs.dir/fileIndex.o
[  4%] Building CXX object lib/bullet3/Extras/InverseDynamics/CMakeFiles/BulletInverseDynamicsUtils.dir/invdyn_bullet_comparison.o
[  5%] Linking C static library ../libbgfx3rdParty.a
[  5%] Linking C static library ../../libvdfs.a
[  5%] Linking CXX static library ../../../libBulletInverseDynamicsUtils.a
[  5%] Built target vdfs
[  8%] Built target bgfx3rdParty
[  9%] Built target BulletInverseDynamics
[  9%] Built target Bullet3Common
[ 10%] Built target BulletSoftBody
[ 12%] Built target BulletInverseDynamicsUtils
[ 18%] Built target BulletDynamics
[ 32%] Built target BulletCollision
[ 35%] Built target OpenGLWindow
[ 37%] Built target ConvexDecomposition
[ 37%] Building CXX object lib/bullet3/examples/ExampleBrowser/CMakeFiles/BulletExampleBrowserLib.dir/OpenGLExampleBrowser.o
[ 37%] Building CXX object lib/bullet3/Extras/HACD/CMakeFiles/HACD.dir/hacdGraph.o
[ 38%] Building CXX object lib/bullet3/examples/ThirdPartyLibs/Gwen/CMakeFiles/gwen.dir/DragAndDrop.o
[ 38%] Building CXX object lib/bullet3/examples/ThirdPartyLibs/Gwen/CMakeFiles/gwen.dir/Gwen.o
[ 39%] Building CXX object lib/bullet3/Extras/HACD/CMakeFiles/HACD.dir/hacdHACD.o
[ 39%] Building CXX object lib/bullet3/examples/ThirdPartyLibs/Gwen/CMakeFiles/gwen.dir/Skin.o
[ 39%] Building CXX object lib/bullet3/examples/ExampleBrowser/CMakeFiles/BulletExampleBrowserLib.dir/GwenGUISupport/GwenParameterInterface.o
[ 39%] Building CXX object lib/bullet3/examples/ThirdPartyLibs/Gwen/CMakeFiles/gwen.dir/ToolTip.o
[ 39%] Building CXX object lib/bullet3/examples/ThirdPartyLibs/Gwen/CMakeFiles/gwen.dir/Controls/Base.o
[ 39%] Building CXX object lib/bullet3/examples/ExampleBrowser/CMakeFiles/BulletExampleBrowserLib.dir/GwenGUISupport/GwenProfileWindow.o
[ 39%] Building CXX object lib/bullet3/Extras/HACD/CMakeFiles/HACD.dir/hacdICHull.o
[ 39%] Building CXX object lib/bullet3/examples/ExampleBrowser/CMakeFiles/BulletExampleBrowserLib.dir/GwenGUISupport/GwenTextureWindow.o
[ 39%] Building CXX object lib/bullet3/examples/ThirdPartyLibs/Gwen/CMakeFiles/gwen.dir/Controls/Button.o
[ 39%] Linking CXX static library ../../../libHACD.a
[ 39%] Built target HACD
[ 39%] Built target GIMPACTUtils
[ 39%] Building CXX object lib/bullet3/examples/ThirdPartyLibs/Gwen/CMakeFiles/gwen.dir/Controls/CrossSplitter.o
[ 40%] Built target BulletFileLoader
[ 40%] Linking CXX static library ../../../libBulletExampleBrowserLib.a
[ 40%] Building CXX object lib/bullet3/Extras/Serialize/BulletXmlWorldImporter/CMakeFiles/BulletXmlWorldImporter.dir/btBulletXmlWorldImporter.o
[ 41%] Built target BulletExampleBrowserLib
[ 41%] Building CXX object lib/bullet3/examples/ThirdPartyLibs/Gwen/CMakeFiles/gwen.dir/Controls/HSVColorPicker.o
[ 41%] Building CXX object lib/bullet3/Extras/Serialize/BulletWorldImporter/CMakeFiles/BulletWorldImporter.dir/btBulletWorldImporter.o
/home/foo/src/REGoth/lib/bullet3/Extras/Serialize/BulletXmlWorldImporter/btBulletXmlWorldImporter.cpp: In member function ‘void btBulletXmlWorldImporter::deSerializeConvexHullShapeData(TiXmlNode*)’:
/home/foo/src/REGoth/lib/bullet3/Extras/Serialize/BulletXmlWorldImporter/btBulletXmlWorldImporter.cpp:133:54: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    (targetdata).argname= (pointertype) (int) atof(txt);\
                                                      ^
/home/foo/src/REGoth/lib/bullet3/Extras/Serialize/BulletXmlWorldImporter/btBulletXmlWorldImporter.cpp:236:2: note: in expansion of macro ‘SET_POINTER_VALUE’
  SET_POINTER_VALUE(pParent,*convexHullData,m_unscaledPointsFloatPtr,btVector3FloatData*);
  ^
/home/foo/src/REGoth/lib/bullet3/Extras/Serialize/BulletXmlWorldImporter/btBulletXmlWorldImporter.cpp:133:54: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    (targetdata).argname= (pointertype) (int) atof(txt);\
                                                      ^
/home/foo/src/REGoth/lib/bullet3/Extras/Serialize/BulletXmlWorldImporter/btBulletXmlWorldImporter.cpp:237:2: note: in expansion of macro ‘SET_POINTER_VALUE’
  SET_POINTER_VALUE(pParent,*convexHullData,m_unscaledPointsDoublePtr,btVector3DoubleData*);
  ^
/home/foo/src/REGoth/lib/bullet3/Extras/Serialize/BulletXmlWorldImporter/btBulletXmlWorldImporter.cpp:241:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  m_pointerLookup.insert((void*)ptr,convexHullData);
                                ^
/home/foo/src/REGoth/lib/bullet3/Extras/Serialize/BulletXmlWorldImporter/btBulletXmlWorldImporter.cpp: In member function ‘void btBulletXmlWorldImporter::deSerializeCompoundShapeChildData(TiXmlNode*)’:
/home/foo/src/REGoth/lib/bullet3/Extras/Serialize/BulletXmlWorldImporter/btBulletXmlWorldImporter.cpp:265:86: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    compoundChildArrayPtr->at(i).m_childShape = (btCollisionShapeData*) (int) atof(txt);
                                                                                      ^
/home/foo/src/REGoth/lib/bullet3/Extras/Serialize/BulletXmlWorldImporter/btBulletXmlWorldImporter.cpp:295:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   m_pointerLookup.insert((void*)ptr,cd);
                                 ^
/home/foo/src/REGoth/lib/bullet3/Extras/Serialize/BulletXmlWorldImporter/btBulletXmlWorldImporter.cpp: In member function ‘void btBulletXmlWorldImporter::deSerializeCompoundShapeData(TiXmlNode*)’:
/home/foo/src/REGoth/lib/bullet3/Extras/Serialize/BulletXmlWorldImporter/btBulletXmlWorldImporter.cpp:322:78: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    compoundData->m_childShapePtr = (btCompoundShapeChildData*) (int) atof(txt);
                                                                              ^
/home/foo/src/REGoth/lib/bullet3/Extras/Serialize/BulletXmlWorldImporter/btBulletXmlWorldImporter.cpp:331:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  m_pointerLookup.insert((void*)ptr,compoundData);
                                ^
/home/foo/src/REGoth/lib/bullet3/Extras/Serialize/BulletXmlWorldImporter/btBulletXmlWorldImporter.cpp: In member function ‘void btBulletXmlWorldImporter::deSerializeStaticPlaneShapeData(TiXmlNode*)’:
/home/foo/src/REGoth/lib/bullet3/Extras/Serialize/BulletXmlWorldImporter/btBulletXmlWorldImporter.cpp:351:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  m_pointerLookup.insert((void*)ptr,planeData);
                                ^
/home/foo/src/REGoth/lib/bullet3/Extras/Serialize/BulletXmlWorldImporter/btBulletXmlWorldImporter.cpp: In member function ‘void btBulletXmlWorldImporter::deSerializeConvexInternalShapeData(TiXmlNode*)’:
/home/foo/src/REGoth/lib/bullet3/Extras/Serialize/BulletXmlWorldImporter/btBulletXmlWorldImporter.cpp:385:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  m_pointerLookup.insert((void*)ptr,convexShape);
                                ^
/home/foo/src/REGoth/lib/bullet3/Extras/Serialize/BulletXmlWorldImporter/btBulletXmlWorldImporter.cpp: In member function ‘void btBulletXmlWorldImporter::deSerializeGeneric6DofConstraintData(TiXmlNode*)’:
/home/foo/src/REGoth/lib/bullet3/Extras/Serialize/BulletXmlWorldImporter/btBulletXmlWorldImporter.cpp:133:54: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    (targetdata).argname= (pointertype) (int) atof(txt);\
                                                      ^
/home/foo/src/REGoth/lib/bullet3/Extras/Serialize/BulletXmlWorldImporter/btBulletXmlWorldImporter.cpp:416:3: note: in expansion of macro ‘SET_POINTER_VALUE’
   SET_POINTER_VALUE(n,dof6Data->m_typeConstraintData,m_rbA,btRigidBodyData*);
   ^
/home/foo/src/REGoth/lib/bullet3/Extras/Serialize/BulletXmlWorldImporter/btBulletXmlWorldImporter.cpp:133:54: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    (targetdata).argname= (pointertype) (int) atof(txt);\
                                                      ^
/home/foo/src/REGoth/lib/bullet3/Extras/Serialize/BulletXmlWorldImporter/btBulletXmlWorldImporter.cpp:417:3: note: in expansion of macro ‘SET_POINTER_VALUE’
   SET_POINTER_VALUE(n,dof6Data->m_typeConstraintData,m_rbB,btRigidBodyData*);
   ^
/home/foo/src/REGoth/lib/bullet3/Extras/Serialize/BulletXmlWorldImporter/btBulletXmlWorldImporter.cpp:442:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  m_pointerLookup.insert((void*)ptr,dof6Data);
                                ^
/home/foo/src/REGoth/lib/bullet3/Extras/Serialize/BulletXmlWorldImporter/btBulletXmlWorldImporter.cpp: In member function ‘void btBulletXmlWorldImporter::deSerializeRigidBodyFloatData(TiXmlNode*)’:
/home/foo/src/REGoth/lib/bullet3/Extras/Serialize/BulletXmlWorldImporter/btBulletXmlWorldImporter.cpp:133:54: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
    (targetdata).argname= (pointertype) (int) atof(txt);\
                                                      ^
/home/foo/src/REGoth/lib/bullet3/Extras/Serialize/BulletXmlWorldImporter/btBulletXmlWorldImporter.cpp:460:3: note: in expansion of macro ‘SET_POINTER_VALUE’
   SET_POINTER_VALUE(n,rbData->m_collisionObjectData,m_collisionShape, void*);
   ^
/home/foo/src/REGoth/lib/bullet3/Extras/Serialize/BulletXmlWorldImporter/btBulletXmlWorldImporter.cpp:509:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  m_pointerLookup.insert((void*)ptr,rbData);
                                ^
/home/foo/src/REGoth/lib/bullet3/Extras/Serialize/BulletXmlWorldImporter/btBulletXmlWorldImporter.cpp: In member function ‘void btBulletXmlWorldImporter::auto_serialize_root_level_children(TiXmlNode*)’:
/home/foo/src/REGoth/lib/bullet3/Extras/Serialize/BulletXmlWorldImporter/btBulletXmlWorldImporter.cpp:654:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
     m_pointerLookup.insert((void*)ptr,vectors);
                                   ^
[ 41%] Building CXX object lib/bullet3/examples/ThirdPartyLibs/Gwen/CMakeFiles/gwen.dir/Controls/MenuItem.o
[ 42%] Linking CXX static library ../../../../libBulletXmlWorldImporter.a
[ 42%] Building CXX object lib/bullet3/Extras/Serialize/BulletWorldImporter/CMakeFiles/BulletWorldImporter.dir/btWorldImporter.o
[ 42%] Built target BulletXmlWorldImporter
[ 42%] Building CXX object lib/bullet3/examples/ThirdPartyLibs/Gwen/CMakeFiles/gwen.dir/Controls/NumericUpDown.o
[ 47%] Built target Bullet3OpenCL_clew
[ 48%] Built target Bullet2FileLoader
[ 48%] Building CXX object lib/bullet3/examples/ThirdPartyLibs/Gwen/CMakeFiles/gwen.dir/Controls/Properties.o
[ 49%] Built target Bullet3Dynamics
[ 49%] Building CXX object lib/bullet3/examples/ThirdPartyLibs/Gwen/CMakeFiles/gwen.dir/Controls/RadioButton.o
[ 49%] Building CXX object lib/bullet3/examples/ThirdPartyLibs/Gwen/CMakeFiles/gwen.dir/Controls/ScrollBarButton.o
[ 50%] Built target Bullet3Collision
[ 51%] Built target Bullet3Geometry
[ 51%] Building CXX object lib/bullet3/test/gtest-1.7.0/CMakeFiles/gtest.dir/src/gtest-all.o
[ 51%] Building CXX object lib/bullet3/examples/ThirdPartyLibs/Gwen/CMakeFiles/gwen.dir/Controls/TextBox.o
[ 52%] Linking CXX static library ../../../../libBulletWorldImporter.a
[ 52%] Built target BulletWorldImporter
Scanning dependencies of target bgfx
[ 52%] Linking CXX static library ../../../../libgwen.a
[ 61%] Built target gwen
Scanning dependencies of target zenload
[ 61%] Building CXX object lib/bgfx-cmake/CMakeFiles/bgfx.dir/bgfx/src/amalgamated.cpp.o
[ 61%] Building CXX object lib/ZenLib/zenload/CMakeFiles/zenload.dir/DATFile.o
[ 61%] Linking CXX static library ../../../libgtest.a
[ 61%] Built target gtest
[ 61%] Building CXX object lib/ZenLib/zenload/CMakeFiles/zenload.dir/parserImpl.o
Scanning dependencies of target App_HelloWorld
[ 62%] Building CXX object lib/bullet3/examples/HelloWorld/CMakeFiles/App_HelloWorld.dir/HelloWorld.o
[ 62%] Building CXX object lib/ZenLib/zenload/CMakeFiles/zenload.dir/parserImplASCII.o
[ 62%] Linking CXX executable ../../../../bin/App_HelloWorld
[ 62%] Building CXX object lib/ZenLib/zenload/CMakeFiles/zenload.dir/parserImplBinSafe.o
[ 62%] Built target App_HelloWorld
[ 63%] Building CXX object lib/ZenLib/zenload/CMakeFiles/zenload.dir/parserImplBinary.o
Scanning dependencies of target AppBasicExampleGui
[ 63%] Building CXX object lib/ZenLib/zenload/CMakeFiles/zenload.dir/zCCSLib.o
[ 63%] Building CXX object lib/bullet3/examples/BasicDemo/CMakeFiles/AppBasicExampleGui.dir/BasicExample.o
In file included from /home/foo/src/REGoth/lib/ZenLib/zenload/zCCSLib.cpp:4:0:
/home/foo/src/REGoth/lib/ZenLib/zenload/zenParserPropRead.h: In function ‘void ZenLoad::ReadObjectProperties(ZenLoad::ZenParser&, std::unordered_map<std::basic_string<char>, std::basic_string<char> >&, std::pair<const char*, T*>...)’:
/home/foo/src/REGoth/lib/ZenLib/zenload/zenParserPropRead.h:116:45: error: parameter declared ‘auto’
   Utils::for_each_in_tuple(values, [&](auto pair)
                                             ^
/home/foo/src/REGoth/lib/ZenLib/zenload/zenParserPropRead.h: In lambda function:
/home/foo/src/REGoth/lib/ZenLib/zenload/zenParserPropRead.h:121:56: error: ‘pair’ was not declared in this scope
             read<typename std::remove_pointer<decltype(pair.second)>::type>(ZenParser, outStr, *pair.second, pair.first);
                                                        ^
/home/foo/src/REGoth/lib/ZenLib/zenload/zenParserPropRead.h:121:56: note: suggested alternative:
In file included from /usr/include/c++/4.8/bits/stl_algobase.h:64:0,
                 from /usr/include/c++/4.8/bits/char_traits.h:39,
                 from /usr/include/c++/4.8/ios:40,
                 from /usr/include/c++/4.8/ostream:38,
                 from /usr/include/c++/4.8/iostream:39,
                 from /home/foo/src/REGoth/lib/ZenLib/./utils/mathlib.h:3,
                 from /home/foo/src/REGoth/lib/ZenLib/zenload/zTypes.h:3,
                 from /home/foo/src/REGoth/lib/ZenLib/zenload/zCCSLib.h:2,
                 from /home/foo/src/REGoth/lib/ZenLib/zenload/zCCSLib.cpp:1:
/usr/include/c++/4.8/bits/stl_pair.h:96:12: note:   ‘std::pair’
     struct pair
            ^
In file included from /home/foo/src/REGoth/lib/ZenLib/zenload/zCCSLib.cpp:4:0:
/home/foo/src/REGoth/lib/ZenLib/zenload/zenParserPropRead.h:121:68: error: template argument 1 is invalid
             read<typename std::remove_pointer<decltype(pair.second)>::type>(ZenParser, outStr, *pair.second, pair.first);
                                                                    ^
/home/foo/src/REGoth/lib/ZenLib/zenload/zenParserPropRead.h:121:76: error: expected class-name before ‘(’ token
             read<typename std::remove_pointer<decltype(pair.second)>::type>(ZenParser, outStr, *pair.second, pair.first);
                                                                            ^
/home/foo/src/REGoth/lib/ZenLib/zenload/zenParserPropRead.h:121:76: error: expected ‘::’ before ‘(’ token
/home/foo/src/REGoth/lib/ZenLib/zenload/zenParserPropRead.h:121:76: error: expected identifier before ‘(’ token
/home/foo/src/REGoth/lib/ZenLib/zenload/zenParserPropRead.h:121:86: error: expected ‘)’ before ‘,’ token
             read<typename std::remove_pointer<decltype(pair.second)>::type>(ZenParser, outStr, *pair.second, pair.first);
                                                                                      ^
/home/foo/src/REGoth/lib/ZenLib/zenload/zenParserPropRead.h:121:94: error: invalid type in declaration before ‘,’ token
             read<typename std::remove_pointer<decltype(pair.second)>::type>(ZenParser, outStr, *pair.second, pair.first);
                                                                                              ^
/home/foo/src/REGoth/lib/ZenLib/zenload/zenParserPropRead.h:121:94: error: conflicting declaration ‘int outStr’
/home/foo/src/REGoth/lib/ZenLib/zenload/zenParserPropRead.h:118:16: error: ‘outStr’ has a previous declaration as ‘std::string outStr’
    std::string outStr;
                ^
/home/foo/src/REGoth/lib/ZenLib/zenload/zenParserPropRead.h:121:101: error: expected initializer before ‘.’ token
             read<typename std::remove_pointer<decltype(pair.second)>::type>(ZenParser, outStr, *pair.second, pair.first);
                                                                                                     ^
In file included from /home/foo/src/REGoth/lib/ZenLib/zenload/zenParser.h:7:0,
                 from /home/foo/src/REGoth/lib/ZenLib/zenload/zCCSLib.cpp:2:
/home/foo/src/REGoth/lib/ZenLib/./utils/tuple.h: In instantiation of ‘void Utils::tf::_internal_for_each(T&&, F, Utils::tf::seq<Is ...>) [with T = std::tuple<std::pair<const char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*>, std::pair<const char*, unsigned int*>, std::pair<const char*, float*> >&; F = ZenLoad::ReadObjectProperties(ZenLoad::ZenParser&, std::unordered_map<std::basic_string<char>, std::basic_string<char> >&, std::pair<const char*, T*>...) [with T = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned int, float}]::__lambda0; int ...Is = 0, 1, 2]’:
/home/foo/src/REGoth/lib/ZenLib/./utils/tuple.h:46:60:   required from ‘void Utils::for_each_in_tuple(std::tuple<_Elements ...>&, F) [with Ts = {std::pair<const char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*>, std::pair<const char*, unsigned int*>, std::pair<const char*, float*>}; F = ZenLoad::ReadObjectProperties(ZenLoad::ZenParser&, std::unordered_map<std::basic_string<char>, std::basic_string<char> >&, std::pair<const char*, T*>...) [with T = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned int, float}]::__lambda0]’
/home/foo/src/REGoth/lib/ZenLib/zenload/zenParserPropRead.h:125:4:   required from ‘void ZenLoad::ReadObjectProperties(ZenLoad::ZenParser&, std::unordered_map<std::basic_string<char>, std::basic_string<char> >&, std::pair<const char*, T*>...) [with T = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned int, float}]’
/home/foo/src/REGoth/lib/ZenLib/zenload/zCCSLib.cpp:80:58:   required from here
/home/foo/src/REGoth/lib/ZenLib/./utils/tuple.h:35:33: error: no match for call to ‘(ZenLoad::ReadObjectProperties(ZenLoad::ZenParser&, std::unordered_map<std::basic_string<char>, std::basic_string<char> >&, std::pair<const char*, T*>...) [with T = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned int, float}]::__lambda0) (std::pair<const char*, std::basic_string<char>*>&)’
    auto l = { (f(std::get<Is>(t)), 0)... };
                                 ^
In file included from /home/foo/src/REGoth/lib/ZenLib/zenload/zCCSLib.cpp:4:0:
/home/foo/src/REGoth/lib/ZenLib/zenload/zenParserPropRead.h:116:38: note: candidate is:
   Utils::for_each_in_tuple(values, [&](auto pair)
                                      ^
/home/foo/src/REGoth/lib/ZenLib/zenload/zenParserPropRead.h:116:49: note: ZenLoad::ReadObjectProperties(ZenLoad::ZenParser&, std::unordered_map<std::basic_string<char>, std::basic_string<char> >&, std::pair<const char*, T*>...) [with T = {std::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned int, float}]::__lambda0
   Utils::for_each_in_tuple(values, [&](auto pair)
                                                 ^
/home/foo/src/REGoth/lib/ZenLib/zenload/zenParserPropRead.h:116:49: note:   candidate expects 0 arguments, 1 provided
In file included from /home/foo/src/REGoth/lib/ZenLib/zenload/zenParser.h:7:0,
                 from /home/foo/src/REGoth/lib/ZenLib/zenload/zCCSLib.cpp:2:
/home/foo/src/REGoth/lib/ZenLib/./utils/tuple.h:35:42: error: unable to deduce ‘std::initializer_list<_Tp>’ from ‘{<expression error>}’
    auto l = { (f(std::get<Is>(t)), 0)... };
                                          ^
/home/foo/src/REGoth/lib/ZenLib/./utils/tuple.h: In instantiation of ‘void Utils::tf::_internal_for_each(T&&, F, Utils::tf::seq<Is ...>) [with T = std::tuple<std::pair<const char*, unsigned char*>, std::pair<const char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*>, std::pair<const char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*> >&; F = ZenLoad::ReadObjectProperties(ZenLoad::ZenParser&, std::unordered_map<std::basic_string<char>, std::basic_string<char> >&, std::pair<const char*, T*>...) [with T = {unsigned char, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >}]::__lambda0; int ...Is = 0, 1, 2]’:
/home/foo/src/REGoth/lib/ZenLib/./utils/tuple.h:46:60:   required from ‘void Utils::for_each_in_tuple(std::tuple<_Elements ...>&, F) [with Ts = {std::pair<const char*, unsigned char*>, std::pair<const char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*>, std::pair<const char*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >*>}; F = ZenLoad::ReadObjectProperties(ZenLoad::ZenParser&, std::unordered_map<std::basic_string<char>, std::basic_string<char> >&, std::pair<const char*, T*>...) [with T = {unsigned char, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >}]::__lambda0]’
/home/foo/src/REGoth/lib/ZenLib/zenload/zenParserPropRead.h:125:4:   required from ‘void ZenLoad::ReadObjectProperties(ZenLoad::ZenParser&, std::unordered_map<std::basic_string<char>, std::basic_string<char> >&, std::pair<const char*, T*>...) [with T = {unsigned char, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >}]’
/home/foo/src/REGoth/lib/ZenLib/zenload/zCCSLib.cpp:100:89:   required from here
/home/foo/src/REGoth/lib/ZenLib/./utils/tuple.h:35:33: error: no match for call to ‘(ZenLoad::ReadObjectProperties(ZenLoad::ZenParser&, std::unordered_map<std::basic_string<char>, std::basic_string<char> >&, std::pair<const char*, T*>...) [with T = {unsigned char, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >}]::__lambda0) (std::pair<const char*, unsigned char*>&)’
    auto l = { (f(std::get<Is>(t)), 0)... };
                                 ^
In file included from /home/foo/src/REGoth/lib/ZenLib/zenload/zCCSLib.cpp:4:0:
/home/foo/src/REGoth/lib/ZenLib/zenload/zenParserPropRead.h:116:38: note: candidate is:
   Utils::for_each_in_tuple(values, [&](auto pair)
                                      ^
/home/foo/src/REGoth/lib/ZenLib/zenload/zenParserPropRead.h:116:49: note: ZenLoad::ReadObjectProperties(ZenLoad::ZenParser&, std::unordered_map<std::basic_string<char>, std::basic_string<char> >&, std::pair<const char*, T*>...) [with T = {unsigned char, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >}]::__lambda0
   Utils::for_each_in_tuple(values, [&](auto pair)
                                                 ^
/home/foo/src/REGoth/lib/ZenLib/zenload/zenParserPropRead.h:116:49: note:   candidate expects 0 arguments, 1 provided
In file included from /home/foo/src/REGoth/lib/ZenLib/zenload/zenParser.h:7:0,
                 from /home/foo/src/REGoth/lib/ZenLib/zenload/zCCSLib.cpp:2:
/home/foo/src/REGoth/lib/ZenLib/./utils/tuple.h:35:42: error: unable to deduce ‘std::initializer_list<_Tp>’ from ‘{<expression error>}’
    auto l = { (f(std::get<Is>(t)), 0)... };
                                          ^
make[2]: *** [lib/ZenLib/zenload/CMakeFiles/zenload.dir/zCCSLib.o] Error 1
make[1]: *** [lib/ZenLib/zenload/CMakeFiles/zenload.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 63%] Building CXX object lib/bullet3/examples/BasicDemo/CMakeFiles/AppBasicExampleGui.dir/__/StandaloneMain/main_opengl_single_example.o
[ 63%] Building CXX object lib/bullet3/examples/BasicDemo/CMakeFiles/AppBasicExampleGui.dir/__/ExampleBrowser/OpenGLGuiHelper.o
[ 63%] Building CXX object lib/bullet3/examples/BasicDemo/CMakeFiles/AppBasicExampleGui.dir/__/ExampleBrowser/GL_ShapeDrawer.o
[ 63%] Building CXX object lib/bullet3/examples/BasicDemo/CMakeFiles/AppBasicExampleGui.dir/__/ExampleBrowser/CollisionShape2TriangleMesh.o
[ 63%] Linking CXX executable ../../../../bin/AppBasicExampleGui
[ 63%] Built target AppBasicExampleGui
[ 63%] Linking C static library ../libbgfx.a
[ 63%] Built target bgfx
make: *** [all] Error 2

Wrong encoding for dialogues in Polish

Hello,

When initiating a dialog with Xardas, it has the wrong encoding for Polish characters (at least on Linux).

Nothing of value in the terminal output but here's a screenshot :

screenshot from 2016-12-23 19-34-13

I can re-test it anytime if need be.

Dynamic Lighting

Gothic only supports pointlights. May want to support Spotlights or Geometry-lights at some points.
Will implement simple forward shading first.

Cppcheck errors

The errors below were reported by cppcheck

1 [src/components/VobClasses.cpp:49]: (error) Memory leak: logic.m_pLogicController
2 [src/components/VobClasses.cpp:73]: (error) Memory leak: logic.m_pLogicController
3 [src/components/VobClasses.cpp:90]: (error) Memory leak: logic.m_pLogicController
4 [src/engine/BaseEngine.cpp:145]: (warning) Return value of std::remove() ignored. Elements remain in container.
5 [src/engine/Input.cpp:37]: (performance) Function parameter 'func' should be passed by reference.
6 [src/physics/PhysicsSystem.cpp:159]: (error) Memory leak: cs.collisionShape
7 [src/physics/PhysicsSystem.cpp:199]: (error) Memory leak: cs.collisionShape
8 [src/physics/PhysicsSystem.cpp:221]: (error) Memory leak: cs.collisionShape
9 [src/physics/PhysicsSystem.h:128]: (performance) Function parameter 'triangles' should be passed by reference.

Wayland support missing

I tried compile it on Fedora 25 x64 (fresh updates installed while beafore) and I when it tries use X11 for window creation I have error:

"CMake Error at lib/glfw/CMakeLists.txt:249 (message):
The RandR library and headers were not found"

Tried in tag nightly-0.1.148 (I tried it first because if I'm right master have/had build error) and master.

F25 uses Wayland so I think it may by that. Also I have nouvenau drivers because of that (nvidia support W but F25's Gnome don't have bus etc. etc.) and yes I have Xwayland installed.

logs:
For master
CMakeError.log
CMakeOutput.log

For nightly-0.1.148
CMakeError.log
CMakeOutput.log

and screen:

screenshot from 2017-01-13 15-28-59

Failed to start game in world.zen

:<


Info: ZEN: Reading world...
Info: oCWorld reading chunk: MeshAndBsp
Info: ZEN: Reading mesh...
Info: numPolys: 480135
Info: Num nodes: 6644
Info: Found 105650 non lod polys
Info: Reading mesh '' (Version: 9)
Info: Found 55439 vertices
Info: ZEN: Done reading mesh!
Info: oCWorld reading chunk: VobTree
Info: oCWorld reading chunk: WayNet
Info: Loading 20 freepoints
Info: Loading 3500 edges
Info: MorphProtoName: WATERPLANT_1
/home/piotr/REGoth/src/engine/World.cpp(191):[void World::WorldInstance::initializeScriptEngineForZenWorld(const string&)] Failed to find GOTHIC.DAT!
Info: Initializing scripts for world: world
[1]    16491 segmentation fault (core dumped)  ./REGoth -g "/media/wszystko/Gry/Piranha Bytes/Gothic" -w world.zen

Path to Gothic.dat file:
/media/wszystko/Gry/Piranha Bytes/Gothic/_Work/Data/Scripts/_Compiled/Gothic.dat

Rendering: invisible faces

Latest master is producing some rendering issues.
Any way I can help you investigate this?

screenshot from 2016-12-28 04-28-38

http://pastebin.com/R6mVDCeT

Extended renderer info (GLX_MESA_query_renderer):
    Vendor: X.Org (0x1002)
    Device: AMD PITCAIRN (DRM 2.46.0 / 4.8.13-300.fc25.x86_64, LLVM 3.8.0) (0x6819)
    Version: 13.0.2
    Accelerated: yes
    Video memory: 1024MB
    Unified memory: no
    Preferred profile: core (0x1)
    Max core profile version: 4.1
    Max compat profile version: 3.0
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.0
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD PITCAIRN (DRM 2.46.0 / 4.8.13-300.fc25.x86_64, LLVM 3.8.0)
OpenGL core profile version string: 4.1 (Core Profile) Mesa 13.0.2
OpenGL core profile shading language version string: 4.10
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
    GL_AMD_conservative_depth, GL_AMD_draw_buffers_blend, 
    GL_AMD_performance_monitor, GL_AMD_pinned_memory, 
    GL_AMD_seamless_cubemap_per_texture, GL_AMD_shader_stencil_export, 
    GL_AMD_shader_trinary_minmax, GL_AMD_vertex_shader_layer, 
    GL_AMD_vertex_shader_viewport_index, GL_ANGLE_texture_compression_dxt3, 
    GL_ANGLE_texture_compression_dxt5, GL_ARB_ES2_compatibility, 
    GL_ARB_ES3_compatibility, GL_ARB_arrays_of_arrays, GL_ARB_base_instance, 
    GL_ARB_blend_func_extended, GL_ARB_buffer_storage, 
    GL_ARB_clear_buffer_object, GL_ARB_clear_texture, GL_ARB_clip_control, 
    GL_ARB_color_buffer_float, GL_ARB_compressed_texture_pixel_storage, 
    GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth, 
    GL_ARB_copy_buffer, GL_ARB_copy_image, GL_ARB_cull_distance, 
    GL_ARB_debug_output, GL_ARB_depth_buffer_float, GL_ARB_depth_clamp, 
    GL_ARB_derivative_control, GL_ARB_direct_state_access, 
    GL_ARB_draw_buffers, GL_ARB_draw_buffers_blend, 
    GL_ARB_draw_elements_base_vertex, GL_ARB_draw_indirect, 
    GL_ARB_draw_instanced, GL_ARB_enhanced_layouts, 
    GL_ARB_explicit_attrib_location, GL_ARB_explicit_uniform_location, 
    GL_ARB_fragment_coord_conventions, GL_ARB_fragment_layer_viewport, 
    GL_ARB_fragment_shader, GL_ARB_framebuffer_no_attachments, 
    GL_ARB_framebuffer_object, GL_ARB_framebuffer_sRGB, 
    GL_ARB_get_program_binary, GL_ARB_get_texture_sub_image, 
    GL_ARB_gpu_shader5, GL_ARB_gpu_shader_fp64, GL_ARB_half_float_pixel, 
    GL_ARB_half_float_vertex, GL_ARB_instanced_arrays, 
    GL_ARB_internalformat_query, GL_ARB_internalformat_query2, 
    GL_ARB_invalidate_subdata, GL_ARB_map_buffer_alignment, 
    GL_ARB_map_buffer_range, GL_ARB_multi_bind, GL_ARB_multi_draw_indirect, 
    GL_ARB_occlusion_query2, GL_ARB_pipeline_statistics_query, 
    GL_ARB_pixel_buffer_object, GL_ARB_point_sprite, 
    GL_ARB_program_interface_query, GL_ARB_provoking_vertex, 
    GL_ARB_robust_buffer_access_behavior, GL_ARB_robustness, 
    GL_ARB_sample_shading, GL_ARB_sampler_objects, GL_ARB_seamless_cube_map, 
    GL_ARB_seamless_cubemap_per_texture, GL_ARB_separate_shader_objects, 
    GL_ARB_shader_bit_encoding, GL_ARB_shader_objects, 
    GL_ARB_shader_precision, GL_ARB_shader_stencil_export, 
    GL_ARB_shader_subroutine, GL_ARB_shader_texture_image_samples, 
    GL_ARB_shader_texture_lod, GL_ARB_shading_language_420pack, 
    GL_ARB_shading_language_packing, GL_ARB_stencil_texturing, GL_ARB_sync, 
    GL_ARB_tessellation_shader, GL_ARB_texture_barrier, 
    GL_ARB_texture_buffer_object, GL_ARB_texture_buffer_object_rgb32, 
    GL_ARB_texture_buffer_range, GL_ARB_texture_compression_bptc, 
    GL_ARB_texture_compression_rgtc, GL_ARB_texture_cube_map_array, 
    GL_ARB_texture_float, GL_ARB_texture_gather, 
    GL_ARB_texture_mirror_clamp_to_edge, GL_ARB_texture_multisample, 
    GL_ARB_texture_non_power_of_two, GL_ARB_texture_query_levels, 
    GL_ARB_texture_query_lod, GL_ARB_texture_rectangle, GL_ARB_texture_rg, 
    GL_ARB_texture_rgb10_a2ui, GL_ARB_texture_stencil8, 
    GL_ARB_texture_storage, GL_ARB_texture_storage_multisample, 
    GL_ARB_texture_swizzle, GL_ARB_texture_view, GL_ARB_timer_query, 
    GL_ARB_transform_feedback2, GL_ARB_transform_feedback3, 
    GL_ARB_transform_feedback_instanced, GL_ARB_uniform_buffer_object, 
    GL_ARB_vertex_array_bgra, GL_ARB_vertex_array_object, 
    GL_ARB_vertex_attrib_64bit, GL_ARB_vertex_attrib_binding, 
    GL_ARB_vertex_shader, GL_ARB_vertex_type_10f_11f_11f_rev, 
    GL_ARB_vertex_type_2_10_10_10_rev, GL_ARB_viewport_array, 
    GL_ATI_blend_equation_separate, GL_ATI_meminfo, GL_ATI_texture_float, 
    GL_ATI_texture_mirror_once, GL_EXT_abgr, GL_EXT_blend_equation_separate, 
    GL_EXT_depth_bounds_test, GL_EXT_draw_buffers2, GL_EXT_draw_instanced, 
    GL_EXT_framebuffer_blit, GL_EXT_framebuffer_multisample, 
    GL_EXT_framebuffer_multisample_blit_scaled, GL_EXT_framebuffer_sRGB, 
    GL_EXT_packed_depth_stencil, GL_EXT_packed_float, 
    GL_EXT_pixel_buffer_object, GL_EXT_polygon_offset_clamp, 
    GL_EXT_provoking_vertex, GL_EXT_shader_integer_mix, GL_EXT_texture_array, 
    GL_EXT_texture_compression_dxt1, GL_EXT_texture_compression_rgtc, 
    GL_EXT_texture_compression_s3tc, GL_EXT_texture_filter_anisotropic, 
    GL_EXT_texture_integer, GL_EXT_texture_mirror_clamp, GL_EXT_texture_sRGB, 
    GL_EXT_texture_sRGB_decode, GL_EXT_texture_shared_exponent, 
    GL_EXT_texture_snorm, GL_EXT_texture_swizzle, GL_EXT_timer_query, 
    GL_EXT_transform_feedback, GL_EXT_vertex_array_bgra, 
    GL_IBM_multimode_draw_arrays, GL_KHR_context_flush_control, GL_KHR_debug, 
    GL_KHR_robust_buffer_access_behavior, GL_KHR_robustness, 
    GL_MESA_pack_invert, GL_MESA_shader_integer_functions, 
    GL_MESA_texture_signed_rgba, GL_NVX_gpu_memory_info, 
    GL_NV_conditional_render, GL_NV_depth_clamp, GL_NV_packed_depth_stencil, 
    GL_NV_texture_barrier, GL_NV_vdpau_interop, GL_OES_EGL_image, 
    GL_OES_read_format, GL_S3_s3tc

OpenGL version string: 3.0 Mesa 13.0.2
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
    GL_AMD_conservative_depth, GL_AMD_draw_buffers_blend, 
    GL_AMD_performance_monitor, GL_AMD_pinned_memory, 
    GL_AMD_seamless_cubemap_per_texture, GL_AMD_shader_stencil_export, 
    GL_AMD_shader_trinary_minmax, GL_ANGLE_texture_compression_dxt3, 
    GL_ANGLE_texture_compression_dxt5, GL_APPLE_packed_pixels, 
    GL_APPLE_vertex_array_object, GL_ARB_ES2_compatibility, 
    GL_ARB_ES3_compatibility, GL_ARB_arrays_of_arrays, GL_ARB_base_instance, 
    GL_ARB_blend_func_extended, GL_ARB_buffer_storage, 
    GL_ARB_clear_buffer_object, GL_ARB_clear_texture, GL_ARB_clip_control, 
    GL_ARB_color_buffer_float, GL_ARB_compressed_texture_pixel_storage, 
    GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth, 
    GL_ARB_copy_buffer, GL_ARB_copy_image, GL_ARB_cull_distance, 
    GL_ARB_debug_output, GL_ARB_depth_buffer_float, GL_ARB_depth_clamp, 
    GL_ARB_depth_texture, GL_ARB_derivative_control, GL_ARB_draw_buffers, 
    GL_ARB_draw_buffers_blend, GL_ARB_draw_elements_base_vertex, 
    GL_ARB_draw_instanced, GL_ARB_explicit_attrib_location, 
    GL_ARB_explicit_uniform_location, GL_ARB_fragment_coord_conventions, 
    GL_ARB_fragment_program, GL_ARB_fragment_program_shadow, 
    GL_ARB_fragment_shader, GL_ARB_framebuffer_no_attachments, 
    GL_ARB_framebuffer_object, GL_ARB_framebuffer_sRGB, 
    GL_ARB_get_program_binary, GL_ARB_get_texture_sub_image, 
    GL_ARB_half_float_pixel, GL_ARB_half_float_vertex, 
    GL_ARB_instanced_arrays, GL_ARB_internalformat_query, 
    GL_ARB_internalformat_query2, GL_ARB_invalidate_subdata, 
    GL_ARB_map_buffer_alignment, GL_ARB_map_buffer_range, GL_ARB_multi_bind, 
    GL_ARB_multisample, GL_ARB_multitexture, GL_ARB_occlusion_query, 
    GL_ARB_occlusion_query2, GL_ARB_pipeline_statistics_query, 
    GL_ARB_pixel_buffer_object, GL_ARB_point_parameters, GL_ARB_point_sprite, 
    GL_ARB_program_interface_query, GL_ARB_provoking_vertex, 
    GL_ARB_robust_buffer_access_behavior, GL_ARB_robustness, 
    GL_ARB_sample_shading, GL_ARB_sampler_objects, GL_ARB_seamless_cube_map, 
    GL_ARB_seamless_cubemap_per_texture, GL_ARB_separate_shader_objects, 
    GL_ARB_shader_bit_encoding, GL_ARB_shader_objects, 
    GL_ARB_shader_precision, GL_ARB_shader_stencil_export, 
    GL_ARB_shader_texture_image_samples, GL_ARB_shader_texture_lod, 
    GL_ARB_shading_language_100, GL_ARB_shading_language_420pack, 
    GL_ARB_shading_language_packing, GL_ARB_shadow, GL_ARB_stencil_texturing, 
    GL_ARB_sync, GL_ARB_texture_barrier, GL_ARB_texture_border_clamp, 
    GL_ARB_texture_compression, GL_ARB_texture_compression_bptc, 
    GL_ARB_texture_compression_rgtc, GL_ARB_texture_cube_map, 
    GL_ARB_texture_cube_map_array, GL_ARB_texture_env_add, 
    GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar, 
    GL_ARB_texture_env_dot3, GL_ARB_texture_float, GL_ARB_texture_gather, 
    GL_ARB_texture_mirror_clamp_to_edge, GL_ARB_texture_mirrored_repeat, 
    GL_ARB_texture_multisample, GL_ARB_texture_non_power_of_two, 
    GL_ARB_texture_query_levels, GL_ARB_texture_query_lod, 
    GL_ARB_texture_rectangle, GL_ARB_texture_rg, GL_ARB_texture_rgb10_a2ui, 
    GL_ARB_texture_stencil8, GL_ARB_texture_storage, 
    GL_ARB_texture_storage_multisample, GL_ARB_texture_swizzle, 
    GL_ARB_texture_view, GL_ARB_timer_query, GL_ARB_transform_feedback2, 
    GL_ARB_transform_feedback3, GL_ARB_transform_feedback_instanced, 
    GL_ARB_transpose_matrix, GL_ARB_uniform_buffer_object, 
    GL_ARB_vertex_array_bgra, GL_ARB_vertex_array_object, 
    GL_ARB_vertex_attrib_binding, GL_ARB_vertex_buffer_object, 
    GL_ARB_vertex_program, GL_ARB_vertex_shader, 
    GL_ARB_vertex_type_10f_11f_11f_rev, GL_ARB_vertex_type_2_10_10_10_rev, 
    GL_ARB_window_pos, GL_ATI_blend_equation_separate, GL_ATI_draw_buffers, 
    GL_ATI_fragment_shader, GL_ATI_meminfo, GL_ATI_separate_stencil, 
    GL_ATI_texture_compression_3dc, GL_ATI_texture_env_combine3, 
    GL_ATI_texture_float, GL_ATI_texture_mirror_once, GL_EXT_abgr, 
    GL_EXT_bgra, GL_EXT_blend_color, GL_EXT_blend_equation_separate, 
    GL_EXT_blend_func_separate, GL_EXT_blend_minmax, GL_EXT_blend_subtract, 
    GL_EXT_compiled_vertex_array, GL_EXT_copy_texture, 
    GL_EXT_depth_bounds_test, GL_EXT_draw_buffers2, GL_EXT_draw_instanced, 
    GL_EXT_draw_range_elements, GL_EXT_fog_coord, GL_EXT_framebuffer_blit, 
    GL_EXT_framebuffer_multisample, GL_EXT_framebuffer_multisample_blit_scaled, 
    GL_EXT_framebuffer_object, GL_EXT_framebuffer_sRGB, 
    GL_EXT_gpu_program_parameters, GL_EXT_multi_draw_arrays, 
    GL_EXT_packed_depth_stencil, GL_EXT_packed_float, GL_EXT_packed_pixels, 
    GL_EXT_pixel_buffer_object, GL_EXT_point_parameters, 
    GL_EXT_polygon_offset, GL_EXT_polygon_offset_clamp, 
    GL_EXT_provoking_vertex, GL_EXT_rescale_normal, GL_EXT_secondary_color, 
    GL_EXT_separate_specular_color, GL_EXT_shader_integer_mix, 
    GL_EXT_shadow_funcs, GL_EXT_stencil_two_side, GL_EXT_stencil_wrap, 
    GL_EXT_subtexture, GL_EXT_texture, GL_EXT_texture3D, 
    GL_EXT_texture_array, GL_EXT_texture_compression_dxt1, 
    GL_EXT_texture_compression_latc, GL_EXT_texture_compression_rgtc, 
    GL_EXT_texture_compression_s3tc, GL_EXT_texture_cube_map, 
    GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add, 
    GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3, 
    GL_EXT_texture_filter_anisotropic, GL_EXT_texture_integer, 
    GL_EXT_texture_lod_bias, GL_EXT_texture_mirror_clamp, 
    GL_EXT_texture_object, GL_EXT_texture_rectangle, GL_EXT_texture_sRGB, 
    GL_EXT_texture_sRGB_decode, GL_EXT_texture_shared_exponent, 
    GL_EXT_texture_snorm, GL_EXT_texture_swizzle, GL_EXT_timer_query, 
    GL_EXT_transform_feedback, GL_EXT_vertex_array, GL_EXT_vertex_array_bgra, 
    GL_IBM_multimode_draw_arrays, GL_IBM_rasterpos_clip, 
    GL_IBM_texture_mirrored_repeat, GL_INGR_blend_func_separate, 
    GL_KHR_context_flush_control, GL_KHR_debug, 
    GL_KHR_robust_buffer_access_behavior, GL_KHR_robustness, 
    GL_MESA_pack_invert, GL_MESA_shader_integer_functions, 
    GL_MESA_texture_signed_rgba, GL_MESA_window_pos, GL_NVX_gpu_memory_info, 
    GL_NV_blend_square, GL_NV_conditional_render, GL_NV_depth_clamp, 
    GL_NV_fog_distance, GL_NV_light_max_exponent, GL_NV_packed_depth_stencil, 
    GL_NV_primitive_restart, GL_NV_texgen_reflection, GL_NV_texture_barrier, 
    GL_NV_texture_env_combine4, GL_NV_texture_rectangle, GL_NV_vdpau_interop, 
    GL_OES_EGL_image, GL_OES_read_format, GL_S3_s3tc, 
    GL_SGIS_generate_mipmap, GL_SGIS_texture_border_clamp, 
    GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SUN_multi_draw_arrays

OpenGL ES profile version string: OpenGL ES 3.0 Mesa 13.0.2
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions:
    GL_ANGLE_texture_compression_dxt3, GL_ANGLE_texture_compression_dxt5, 
    GL_APPLE_texture_max_level, GL_EXT_base_instance, 
    GL_EXT_blend_func_extended, GL_EXT_blend_minmax, 
    GL_EXT_clip_cull_distance, GL_EXT_color_buffer_float, GL_EXT_copy_image, 
    GL_EXT_discard_framebuffer, GL_EXT_draw_buffers, 
    GL_EXT_draw_buffers_indexed, GL_EXT_draw_elements_base_vertex, 
    GL_EXT_map_buffer_range, GL_EXT_multi_draw_arrays, 
    GL_EXT_polygon_offset_clamp, GL_EXT_read_format_bgra, 
    GL_EXT_separate_shader_objects, GL_EXT_shader_integer_mix, 
    GL_EXT_texture_border_clamp, GL_EXT_texture_compression_dxt1, 
    GL_EXT_texture_filter_anisotropic, GL_EXT_texture_format_BGRA8888, 
    GL_EXT_texture_rg, GL_EXT_texture_sRGB_decode, 
    GL_EXT_texture_type_2_10_10_10_REV, GL_EXT_unpack_subimage, 
    GL_KHR_context_flush_control, GL_KHR_debug, 
    GL_KHR_robust_buffer_access_behavior, GL_KHR_robustness, 
    GL_MESA_shader_integer_functions, GL_NV_draw_buffers, 
    GL_NV_fbo_color_attachments, GL_NV_read_buffer, GL_NV_read_depth, 
    GL_NV_read_depth_stencil, GL_NV_read_stencil, GL_OES_EGL_image, 
    GL_OES_EGL_image_external, GL_OES_EGL_sync, 
    GL_OES_compressed_ETC1_RGB8_texture, GL_OES_copy_image, GL_OES_depth24, 
    GL_OES_depth_texture, GL_OES_depth_texture_cube_map, 
    GL_OES_draw_buffers_indexed, GL_OES_draw_elements_base_vertex, 
    GL_OES_element_index_uint, GL_OES_fbo_render_mipmap, 
    GL_OES_get_program_binary, GL_OES_mapbuffer, GL_OES_packed_depth_stencil, 
    GL_OES_rgb8_rgba8, GL_OES_sample_shading, GL_OES_sample_variables, 
    GL_OES_shader_multisample_interpolation, GL_OES_standard_derivatives, 
    GL_OES_stencil8, GL_OES_surfaceless_context, GL_OES_texture_3D, 
    GL_OES_texture_border_clamp, GL_OES_texture_float, 
    GL_OES_texture_float_linear, GL_OES_texture_half_float, 
    GL_OES_texture_half_float_linear, GL_OES_texture_npot, 
    GL_OES_texture_stencil8, GL_OES_vertex_array_object

Crash after "New Game" from menu

After pressing "New Game" in the menu the camera starts at some random position (at least it's not the center of the world, that would be the middle of the oldCamp) and then moves behind the shoulders of the hero at the starting point. During that camera-trip current master branch keeps crashing reliably for me.

backtrace:

Thread 1 "bgfx - renderer" received signal SIGSEGV, Segmentation fault.
0x00000000004b97c5 in World::WorldMesh::getTriangle (this=<optimized out>, triangleIdx=<optimized out>, v3=v3@entry=0x7fffffffd7a0, matgroup=@0x7fffffffd79f: 0 '\000')
    at /home/jeanluc/Projects/REGoth/src/engine/WorldMesh.cpp:43
43	    matgroup = m_WorldMeshData.subMeshes[tri.submeshIndex].material.matGroup;


#0  0x00000000004b97c5 in World::WorldMesh::getTriangle (this=<optimized out>, triangleIdx=<optimized out>, v3=v3@entry=0x7fffffffd7a0, matgroup=@0x7fffffffd79f: 0 '\000')
    at /home/jeanluc/Projects/REGoth/src/engine/WorldMesh.cpp:43
#1  0x00000000004f5be4 in Logic::PlayerController::getSurfaceMaterial (this=<optimized out>) at /home/jeanluc/Projects/REGoth/src/logic/PlayerController.cpp:2425
#2  0x00000000004f5d79 in Logic::PlayerController::getSurfaceMaterial (this=<optimized out>) at /home/jeanluc/Projects/REGoth/src/logic/PlayerController.cpp:835
#3  Logic::PlayerController::<lambda(auto:3, auto:4)>::operator()<Logic::ModelVisual::EModelAnimType, Logic::ModelVisual::EModelAnimType>(Logic::ModelVisual::EModelAnimType, Logic::ModelVisual::EModelAnimType) (groundAniType=groundAniType@entry=Logic::ModelVisual::Idle, waterAniType=waterAniType@entry=Logic::ModelVisual::Swim, 
    __closure=0xad95b0 <Logic::PlayerController::onUpdateByInput(float)::ManageAnimation>) at /home/jeanluc/Projects/REGoth/src/logic/PlayerController.cpp:825
#4  0x00000000004fc2e2 in Logic::PlayerController::onUpdateByInput (this=this@entry=0x22237e50, deltaTime=0.00458800001) at /home/jeanluc/Projects/REGoth/src/logic/PlayerController.cpp:858
#5  0x00000000004aad43 in World::WorldInstance::onFrameUpdate (this=this@entry=0x10dcb070, deltaTime=deltaTime@entry=0.0045880000106990337, updateRangeSquared=updateRangeSquared@entry=10000, 
    cameraWorld=...) at /home/jeanluc/Projects/REGoth/src/engine/World.cpp:496
#6  0x00000000004a770a in Engine::GameEngine::onFrameUpdate (this=0xc74520, dt=0.0045880000106990337, width=<optimized out>, height=<optimized out>)
    at /home/jeanluc/Projects/REGoth/src/engine/GameEngine.cpp:84
#7  0x000000000049ace4 in ExampleCubes::update (this=0x7fffffffdd30) at /home/jeanluc/Projects/REGoth/src/target/REGoth.cpp:740
#8  0x00000000004a9cc4 in Engine::PlatformGLFW::run (this=this@entry=0x7fffffffdd30, argc=5, argv=0x7fffffffde78) at /home/jeanluc/Projects/REGoth/src/engine/PlatformGLFW.cpp:266
#9  0x000000000048e7ba in main (argc=<optimized out>, argv=<optimized out>) at /home/jeanluc/Projects/REGoth/src/target/REGoth.cpp:815

Relevant (I hope) part of the log:

Info: Starting new game...
[Thread 0x7fffca75c700 (LWP 7848) exited]
[Thread 0x7fffcaf5d700 (LWP 7847) exited]
[New Thread 0x7fffcaf5d700 (LWP 7849)]
[New Thread 0x7fffca75c700 (LWP 7850)]
Info: Loading Daedalus compiled script file: /home/jeanluc/PlayOnLinux's virtual drives/Gothic/drive_c/Program Files/PiranhaBytes/Gothic/_work/DATA/scripts/_compiled/GOTHIC.DAT
Info: Zen-File found! Size: 3608664
Info: Reading...
Info: ZEN: Reading world...
Info: oCWorld reading chunk: MeshAndBsp
Info: ZEN: Reading mesh...
Info: numPolys: 480135
Info: Num nodes: 6644
Info: Found 105650 non lod polys
Info: Reading mesh '' (Version: 9)
Info: Found 55439 vertices
Info: ZEN: Done reading mesh!
Info: oCWorld reading chunk: VobTree
Info: oCWorld reading chunk: WayNet
Info: Loading 20 freepoints
Info: Loading 3500 edges
Info: Done loading edges!
Info: Initilizing BSP-Tree...
Info: Postprocessing worldmesh...
Info: Generating world collision mesh...
Info: Inserting vobs from zen...
/home/jeanluc/Projects/REGoth/src/engine/World.cpp(207):[World::WorldInstance::init(Engine::BaseEngine&, const string&, const json&)::<lambda(const std::vector<ZenLoad::zCVobData>&)>] Invalid item instance: 
/home/jeanluc/Projects/REGoth/src/engine/World.cpp(207):[World::WorldInstance::init(Engine::BaseEngine&, const string&, const json&)::<lambda(const std::vector<ZenLoad::zCVobData>&)>] Invalid item instance: 
Info: Done!
Info: Running startup-scripts
Info: Initializing scripts for world: world
Info: Running: Startup_world
/home/jeanluc/Projects/REGoth/src/logic/scriptExternals/Externals.cpp(925):[Logic::ScriptExternals::registerEngineExternals(World::WorldInstance&, Daedalus::DaedalusVM*, bool)::<lambda(Daedalus::DaedalusVM&)>] Invalid location: FP_MEATBUG_SPAWN_1
/home/jeanluc/Projects/REGoth/src/logic/scriptExternals/Externals.cpp(925):[Logic::ScriptExternals::registerEngineExternals(World::WorldInstance&, Daedalus::DaedalusVM*, bool)::<lambda(Daedalus::DaedalusVM&)>] Invalid location: FP_MEATBUG_SPAWN_1
/home/jeanluc/Projects/REGoth/src/logic/scriptExternals/Externals.cpp(925):[Logic::ScriptExternals::registerEngineExternals(World::WorldInstance&, Daedalus::DaedalusVM*, bool)::<lambda(Daedalus::DaedalusVM&)>] Invalid location: FP_MEATBUG_SPAWN_1
Info: Nek!
/home/jeanluc/Projects/REGoth/src/logic/scriptExternals/Externals.cpp(925):[Logic::ScriptExternals::registerEngineExternals(World::WorldInstance&, Daedalus::DaedalusVM*, bool)::<lambda(Daedalus::DaedalusVM&)>] Invalid location: FP_ROAM_OW_WOLF_08_08
/home/jeanluc/Projects/REGoth/src/logic/scriptExternals/Externals.cpp(925):[Logic::ScriptExternals::registerEngineExternals(World::WorldInstance&, Daedalus::DaedalusVM*, bool)::<lambda(Daedalus::DaedalusVM&)>] Invalid location: FP_ROAM_OW_WOLF_08_08
/home/jeanluc/Projects/REGoth/src/logic/scriptExternals/Externals.cpp(925):[Logic::ScriptExternals::registerEngineExternals(World::WorldInstance&, Daedalus::DaedalusVM*, bool)::<lambda(Daedalus::DaedalusVM&)>] Invalid location: OW_MONSTER_NAVIGATE02
/home/jeanluc/Projects/REGoth/src/logic/scriptExternals/Externals.cpp(925):[Logic::ScriptExternals::registerEngineExternals(World::WorldInstance&, Daedalus::DaedalusVM*, bool)::<lambda(Daedalus::DaedalusVM&)>] Invalid location: OW_MONSTER_NAVIGATE02
Info: Done!
Info: Running init_world
Info: Done!
Info: Creating player
Info: Inserting player of class 'PC_HERO' at startpoint 'zCVobStartpoint:zCVob'
Info: Setting camera mode to third-person
Info: Initialize dialog manager
Info: Loading OU-file from: /home/jeanluc/PlayOnLinux's virtual drives/Gothic/drive_c/Program Files/PiranhaBytes/Gothic/_work/DATA/scripts/content/CUTSCENE/OU.BIN
Info: Creating script-side dialog-manager
Info: Zen-File found! Size: 1724531
Info: Reading...
Info: Reading 7360 blocks
Info: Adding dialog-UI to root view
Info: Done initializing DialogManager!
Info: Script-initialization done!
Info: Done loading world!
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   700: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   701: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   702: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   703: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   704: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   705: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   706: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   707: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   708: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   709: BC1 (requested: BC1), layers 1, 256x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   710: BC1 (requested: BC1), layers 1, 128x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   711: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   712: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   713: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   714: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   715: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   716: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   717: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   718: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   719: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   720: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   721: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   722: BC2 (requested: BC2), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   723: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   724: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   725: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   726: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   727: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   728: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   729: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   730: BC2 (requested: BC2), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   731: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   732: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   733: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   734: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   735: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   736: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   737: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   738: BC1 (requested: BC1), layers 1, 256x64x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   739: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   740: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   741: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   742: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   743: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   744: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   745: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   746: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   747: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   748: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   749: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   750: BC1 (requested: BC1), layers 1, 256x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   751: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   752: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   753: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   754: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   755: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   756: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   757: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   758: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   759: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   760: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   761: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   762: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   763: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   764: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   765: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   766: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   767: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   768: BC1 (requested: BC1), layers 1, 128x64x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   769: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   770: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   771: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   772: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   773: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   774: BC2 (requested: BC2), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   775: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   776: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   777: BC1 (requested: BC1), layers 1, 64x64x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   778: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   779: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   780: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   781: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   782: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   783: BC1 (requested: BC1), layers 1, 64x64x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   784: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   785: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   786: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   787: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   788: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   789: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   790: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   791: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   792: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   793: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   794: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   795: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   796: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   797: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   798: BC1 (requested: BC1), layers 1, 32x32x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   799: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   800: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   801: BC1 (requested: BC1), layers 1, 256x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   802: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   803: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   804: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   805: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   806: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   807: BC2 (requested: BC2), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   808: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   809: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   810: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   811: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   812: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   813: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   814: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   815: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   816: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   817: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   818: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   819: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   820: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   821: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   822: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   823: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   824: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   825: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   826: BC1 (requested: BC1), layers 1, 64x64x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   827: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   828: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   829: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   830: BC2 (requested: BC2), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   831: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   832: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   833: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   834: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   835: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   836: BC2 (requested: BC2), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   837: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   838: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   839: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   840: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   841: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   842: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   843: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   844: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   845: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   846: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   847: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   848: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   849: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   850: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   851: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   852: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   853: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   854: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   855: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   856: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   857: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   858: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   859: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   860: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   861: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   862: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   863: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   864: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   865: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   866: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   867: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   868: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   869: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   870: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   871: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   872: BC1 (requested: BC1), layers 1, 64x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   873: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   874: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   875: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   876: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   877: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   878: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   879: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   880: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   881: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   882: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   883: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   884: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   885: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   886: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   887: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   888: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   889: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   890: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   891: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   892: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   893: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   894: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   895: BC1 (requested: BC1), layers 1, 64x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   896: BC1 (requested: BC1), layers 1, 64x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   897: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   898: BC2 (requested: BC2), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   899: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   900: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   901: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   902: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   903: BC2 (requested: BC2), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   904: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   905: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   906: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   907: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   908: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   909: BC2 (requested: BC2), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   910: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   911: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   912: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   913: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   914: BC1 (requested: BC1), layers 1, 256x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   915: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   916: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   917: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   918: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   919: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   920: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   921: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   922: BC1 (requested: BC1), layers 1, 32x32x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   923: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   924: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   925: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   926: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   927: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   928: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   929: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   930: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   931: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   932: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   933: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   934: BC2 (requested: BC2), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   935: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   936: BC1 (requested: BC1), layers 1, 64x64x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   937: BC2 (requested: BC2), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   938: BC1 (requested: BC1), layers 1, 64x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   939: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   940: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   941: BC1 (requested: BC1), layers 1, 64x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   942: BC2 (requested: BC2), layers 1, 128x64x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   943: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   944: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   945: BC1 (requested: BC1), layers 1, 64x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   946: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   947: BC1 (requested: BC1), layers 1, 256x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   948: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   949: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   950: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   951: BC1 (requested: BC1), layers 1, 128x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   952: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   953: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   954: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   955: BC1 (requested: BC1), layers 1, 128x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   956: BC1 (requested: BC1), layers 1, 128x32x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   957: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   958: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   959: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   960: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   961: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   962: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   963: BC1 (requested: BC1), layers 1, 512x512x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   964: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   965: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   966: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   967: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   968: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   969: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   970: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   971: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   972: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   973: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   974: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   975: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   976: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   977: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   978: BC2 (requested: BC2), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   979: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   980: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   981: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   982: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   983: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   984: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   985: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   986: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   987: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   988: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   989: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   990: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   991: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   992: BC2 (requested: BC2), layers 1, 64x64x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   993: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   994: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   995: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   996: BC1 (requested: BC1), layers 1, 64x64x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   997: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   998: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   999: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1000: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1001: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1002: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1003: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1004: BC2 (requested: BC2), layers 1, 16x16x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1005: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1006: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1007: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1008: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1009: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1010: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1011: BC2 (requested: BC2), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1012: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1013: BC2 (requested: BC2), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1014: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1015: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1016: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1017: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1018: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1019: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1020: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1021: BC1 (requested: BC1), layers 1, 64x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1022: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1023: BC1 (requested: BC1), layers 1, 64x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1024: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1025: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1026: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1027: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1028: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1029: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1030: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1031: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1032: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1033: BC1 (requested: BC1), layers 1, 512x512x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1034: BC1 (requested: BC1), layers 1, 512x512x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1035: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1036: BC2 (requested: BC2), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1037: BC2 (requested: BC2), layers 1, 128x64x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1038: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1039: BC1 (requested: BC1), layers 1, 128x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1040: BC2 (requested: BC2), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1041: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1042: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1043: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1044: BC2 (requested: BC2), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1045: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1046: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1047: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1048: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1049: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1050: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1051: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1052: BC2 (requested: BC2), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1053: BC2 (requested: BC2), layers 1, 64x64x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1054: BC2 (requested: BC2), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1055: BC1 (requested: BC1), layers 1, 64x64x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1056: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1057: BC1 (requested: BC1), layers 1, 32x32x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1058: BC1 (requested: BC1), layers 1, 64x64x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1059: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1060: BC1 (requested: BC1), layers 1, 32x32x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1061: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1062: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1063: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1064: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1065: BC1 (requested: BC1), layers 1, 32x32x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1066: BC2 (requested: BC2), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1067: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1068: BC2 (requested: BC2), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1069: BC2 (requested: BC2), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1070: BC2 (requested: BC2), layers 1, 32x32x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1071: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1072: BC1 (requested: BC1), layers 1, 64x64x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1073: BC1 (requested: BC1), layers 1, 128x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1074: BC2 (requested: BC2), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1075: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1076: BC2 (requested: BC2), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1077: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1078: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1079: BC2 (requested: BC2), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1080: BC1 (requested: BC1), layers 1, 512x512x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1081: BC2 (requested: BC2), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1082: BC2 (requested: BC2), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1083: BC2 (requested: BC2), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1084: BC1 (requested: BC1), layers 1, 64x64x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1085: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1086: BC1 (requested: BC1), layers 1, 64x64x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1087: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1088: BC2 (requested: BC2), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1089: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1090: BC2 (requested: BC2), layers 1, 32x64x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1091: BC2 (requested: BC2), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1092: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1093: BC2 (requested: BC2), layers 1, 64x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1094: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1095: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1096: BC2 (requested: BC2), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1097: BC2 (requested: BC2), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1098: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1099: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1100: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1101: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1102: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1103: BC1 (requested: BC1), layers 1, 64x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1104: BC2 (requested: BC2), layers 1, 64x64x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1105: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1106: BC1 (requested: BC1), layers 1, 16x64x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1107: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1108: BC1 (requested: BC1), layers 1, 64x64x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1109: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1110: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1111: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1112: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1113: BC1 (requested: BC1), layers 1, 512x512x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1114: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1115: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1116: BC1 (requested: BC1), layers 1, 128x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1117: BC2 (requested: BC2), layers 1, 128x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1118: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1119: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1120: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1121: BC1 (requested: BC1), layers 1, 256x256x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1122: BC1 (requested: BC1), layers 1, 64x32x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1123: BC1 (requested: BC1), layers 1, 64x64x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1124: BC1 (requested: BC1), layers 1, 512x512x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1125: BC1 (requested: BC1), layers 1, 128x128x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1126: BC1 (requested: BC1), layers 1, 256x512x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1127: BC1 (requested: BC1), layers 1, 256x64x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1128: BC1 (requested: BC1), layers 1, 256x64x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX Texture2D   1129: BC1 (requested: BC1), layers 1, 256x64x0.
/home/jeanluc/Projects/REGoth/lib/bgfx-cmake/bgfx/src/renderer_gl.cpp (4756): BGFX 

OS: Fedora 25 with radeonSI drivers
If there is more data I need to provide, don't hesitate to ask :)

Engine try to load modfile even if no modfile is specified

This line cause problem:

https://github.com/degenerated1123/REGoth/blob/833adbf42d666aac0dddaf2b79d90a75aac47b36/src/engine/BaseEngine.cpp#L176-L177

> REGoth.exe -g "C:\Program Files (x86)\Steam\steamapps\common\Gothic" -w world.zen
Running REGoth Engine
Info: Using C:\Program Files (x86)\Steam\steamapps\common\Gothic as game root
Info: Loading world world.zen on startup
Info: Loading VDF-Archives: [

 - C:\Program Files (x86)\Steam\steamapps\common\Gothic/Data/anims.VDF
 - C:\Program Files (x86)\Steam\steamapps\common\Gothic/Data/fonts.VDF
 - C:\Program Files (x86)\Steam\steamapps\common\Gothic/Data/meshes.VDF
 - C:\Program Files (x86)\Steam\steamapps\common\Gothic/Data/sound.VDF
 - C:\Program Files (x86)\Steam\steamapps\common\Gothic/Data/sound_patch2.VDF
 - C:\Program Files (x86)\Steam\steamapps\common\Gothic/Data/speech.VDF
 - C:\Program Files (x86)\Steam\steamapps\common\Gothic/Data/speech_babe_speech_engl.VDF
 - C:\Program Files (x86)\Steam\steamapps\common\Gothic/Data/textures.VDF
 - C:\Program Files (x86)\Steam\steamapps\common\Gothic/Data/textures_apostroph_patch_neu.VDF
 - C:\Program Files (x86)\Steam\steamapps\common\Gothic/Data/textures_bikini.VDF
 - C:\Program Files (x86)\Steam\steamapps\common\Gothic/Data/textures_choicebox_32pixel_modialpha.VDF
 - C:\Program Files (x86)\Steam\steamapps\common\Gothic/Data/textures_patch.VDF
 - C:\Program Files (x86)\Steam\steamapps\common\Gothic/Data/textures_Startscreen_ohne_Logo.VDF
 - C:\Program Files (x86)\Steam\steamapps\common\Gothic/Data/worlds.VDF
]
Info: Successfully loaded VDF-Archive: C:\Program Files (x86)\Steam\steamapps\common\Gothic/Data/anims.VDF
Info: Successfully loaded VDF-Archive: C:\Program Files (x86)\Steam\steamapps\common\Gothic/Data/fonts.VDF
Info: Successfully loaded VDF-Archive: C:\Program Files (x86)\Steam\steamapps\common\Gothic/Data/meshes.VDF
Info: Successfully loaded VDF-Archive: C:\Program Files (x86)\Steam\steamapps\common\Gothic/Data/sound.VDF
Info: Successfully loaded VDF-Archive: C:\Program Files (x86)\Steam\steamapps\common\Gothic/Data/sound_patch2.VDF
Info: Successfully loaded VDF-Archive: C:\Program Files (x86)\Steam\steamapps\common\Gothic/Data/speech.VDF
Info: Successfully loaded VDF-Archive: C:\Program Files (x86)\Steam\steamapps\common\Gothic/Data/speech_babe_speech_engl.VDF
Info: Successfully loaded VDF-Archive: C:\Program Files (x86)\Steam\steamapps\common\Gothic/Data/textures.VDF
Info: Successfully loaded VDF-Archive: C:\Program Files (x86)\Steam\steamapps\common\Gothic/Data/textures_apostroph_patch_neu.VDF
Info: Successfully loaded VDF-Archive: C:\Program Files (x86)\Steam\steamapps\common\Gothic/Data/textures_bikini.VDF
Info: Successfully loaded VDF-Archive: C:\Program Files (x86)\Steam\steamapps\common\Gothic/Data/textures_choicebox_32pixel_modialpha.VDF
Info: Successfully loaded VDF-Archive: C:\Program Files (x86)\Steam\steamapps\common\Gothic/Data/textures_patch.VDF
Info: Successfully loaded VDF-Archive: C:\Program Files (x86)\Steam\steamapps\common\Gothic/Data/textures_Startscreen_ohne_Logo.VDF
Info: Successfully loaded VDF-Archive: C:\Program Files (x86)\Steam\steamapps\common\Gothic/Data/worlds.VDF
C:\Users\Jacek\Downloads\REGoth\lib\ZenLib\vdfs\archive_virtual.cpp(55):[bool __thiscall VDFS::ArchiveVirtual::loadVDF(const class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &,unsigned int)] Failed to open file for reading:

Animation Sequencer

Create a class which coordinates high-level animation playback:

  • handle animation layers: replace animation / queue animation so that it is played when the current animation on the layer is finished
  • blend between animations
  • switch models
  • spawn particle FX
  • play sounds

All 'foreign' functionality (like particles / sound) should be delegated to the respective dedicated systems. Use messages to create a loose coupling between them (imperative style: snd_play, pfx_spawn, etc).

Structure could look like this .. each entity has a sequencer, probably wrapped in an AnimationController component which handles per-entity state:

  • AnimationSequencer
    ** AnimationLayer
    *** SkeletalAnimationTrack
    *** ParticleAnimationTrack
    *** SoundAnimationTrack
    *** TagAnimationTrack
    ** AnimationLayer
    ** ...

Use the current AnimHandler class as a basis to handle skeletal animation (it could be refactored to SkeletalAnimationTrack).

Please leave comments, additions, suggestions.

Current state of the engine

Hello,

First of all, thank you for your work, it's my favourite game by far.
Would it be possible to roughly add the current state of the engine? Like what works and what doesn't ?

Thanks!

Compile time error

Aren't some of the dependency libraries missing updates (perhaps some changes are not synced with remote repo?).

The compiler complains about remoteItem function being not available

/home/sebbie/apps/clion-2016.3/bin/cmake/bin/cmake --build /home/sebbie/REGoth/cmake-build-debug --target REGoth -- -j 4
[ 0%] Linking C static library ../libadpcm.a
[ 0%] Linking CXX static library ../../../libsquishd.a
[ 0%] Linking CXX static library ../../libutils.a
[ 0%] Linking C static library ../libbgfx3rdParty.a
[ 1%] Built target adpcm
[ 1%] Linking C static library ../../libvdfs.a
[ 3%] Built target squish
[ 5%] Built target utils
[ 5%] Linking CXX static library ../../../libBulletSoftBody.a
[ 6%] Built target vdfs
[ 6%] Linking CXX static library ../../../libBulletCollision.a
[ 11%] Built target bgfx3rdParty
[ 11%] Linking CXX static library ../../../libBulletDynamics.a
[ 13%] Built target BulletSoftBody
[ 13%] Linking CXX static library ../../../libLinearMath.a
[ 13%] Linking C static library ../../libglfw3.a
[ 16%] Built target LinearMath
[ 17%] Linking CXX static library ../../../../libsfml-system-s-d.a
[ 21%] Built target glfw
[ 21%] Linking C static library ../libbgfx.a
[ 25%] Built target sfml-system
[ 26%] Linking C static library ../../libzenload.a
[ 36%] Built target BulletDynamics
[ 36%] Linking CXX static library ../../../../libsfml-audio-s-d.a
[ 43%] Built target bgfx
[ 44%] Linking C static library ../libbgfx_common.a
[ 49%] Built target sfml-audio
[ 73%] Built target BulletCollision
[ 77%] Built target zenload
[ 77%] Linking C static library ../../libdaedalus.a
[ 83%] Built target bgfx_common
[ 84%] Built target daedalus
Scanning dependencies of target engine
[ 86%] Building CXX object CMakeFiles/engine.dir/src/components/AnimHandler.cpp.o
[ 86%] Building CXX object CMakeFiles/engine.dir/src/components/Vob.cpp.o
[ 86%] Building CXX object CMakeFiles/engine.dir/src/components/VobClasses.cpp.o
[ 86%] Building CXX object CMakeFiles/engine.dir/src/components/EntityActions.cpp.o
/home/sebbie/REGoth/src/components/VobClasses.cpp: In function ‘Handle::EntityHandle VobTypes::initItemFromScript(World::WorldInstance&, size_t)’:
/home/sebbie/REGoth/src/components/VobClasses.cpp:64:44: error: ‘class Daedalus::GameState::DaedalusGameState’ has no member named ‘removeItem’; did you mean ‘createItem’?
world.getScriptEngine().getGameState().removeItem(h);
^~~~~~~~~~
[ 86%] Building CXX object CMakeFiles/engine.dir/src/engine/BaseEngine.cpp.o
make[3]: *** [CMakeFiles/engine.dir/build.make:135: CMakeFiles/engine.dir/src/components/VobClasses.cpp.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [CMakeFiles/Makefile2:83: CMakeFiles/engine.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:1783: src/target/CMakeFiles/REGoth.dir/rule] Error 2
make: *** [Makefile:526: REGoth] Error 2

issue

The engine crashing if launch game with the second monitor in intel hd

Animation Aliases

A lot of animations are aliases of other animations, implement them by reading MSB / MDS files and using the aliases when playing back animations.

Dialogs do not work anymore

Hello and thanks for the project.

Since commit 5f42f82, dialogs have no input.

void UI::Hud::onInputAction(UI::EInputAction action)
{
-    if(!m_pDialogBox->isHidden())
-        m_pDialogBox->onInputAction(action);
}

It seems that we (reasonably) don't want to check all menus via hand-written code, but now we have no obvious way to propagate input to dialogs and no way to close Menu_Status on sequential GLFW_KEY_B pressed (ATM we open more and more status menus on each B pressed event).

I would like to fix it, but I have no idea how.

Compilation error

error: ‘class Daedalus::GameState::DaedalusGameState’ has no member named ‘addInventoryItem’; did you mean ‘createInventoryItem’?
When i try to compile this is what i get. If i force to ignore issues i'll get

grzegorz@linux-clh5:~/git/REGoth/build> make -i
[  2%] Built target glfw
[  4%] Built target bgfx3rdParty
[  7%] Built target bgfx
[ 10%] Built target bgfx_common
[ 11%] Built target squish
[ 11%] Built target utils
[ 12%] Built target vdfs
[ 14%] Built target zenload
[ 15%] Built target daedalus
[ 17%] Built target BulletInverseDynamicsUtils
[ 17%] Built target Bullet3Common
[ 17%] Built target BulletInverseDynamics
[ 18%] Built target BulletSoftBody
[ 28%] Built target BulletCollision
[ 32%] Built target BulletDynamics
[ 33%] Built target LinearMath
[ 33%] Building CXX object CMakeFiles/engine.dir/src/logic/Inventory.cpp.o
/home/grzegorz/git/REGoth/src/logic/Inventory.cpp: In member function ‘Daedalus::GameState::ItemHandle Logic::Inventory::addItem(const string&)’:
/home/grzegorz/git/REGoth/src/logic/Inventory.cpp:25:30: error: ‘class Daedalus::GameState::DaedalusGameState’ has no member named ‘addInventoryItem’; did you mean ‘createInventoryItem’?
     return vm.getGameState().addInventoryItem(vm.getSymbolIndexByName(symName), m_NPC);
                              ^~~~~~~~~~~~~~~~
[ 33%] Building CXX object CMakeFiles/engine.dir/src/logic/ItemController.cpp.o
[ 33%] Building CXX object CMakeFiles/engine.dir/src/logic/NpcScriptState.cpp.o
[ 33%] Building CXX object CMakeFiles/engine.dir/src/logic/PlayerController.cpp.o
[ 33%] Building CXX object CMakeFiles/engine.dir/src/logic/ScriptEngine.cpp.o
/home/grzegorz/git/REGoth/src/logic/ScriptEngine.cpp: In member function ‘void Logic::ScriptEngine::initForWorld(const string&)’:
/home/grzegorz/git/REGoth/src/logic/ScriptEngine.cpp:199:59: error: ‘class Daedalus::GameState::DaedalusGameState’ has no member named ‘addInventoryItem’; did you mean ‘createInventoryItem’?
    Daedalus::GameState::ItemHandle sword = getGameState().addInventoryItem(m_pVM->getDATFile().getSymbolIndexByName("ItMw_1H_Sword_Short_04"), hsnpc);
                                                           ^~~~~~~~~~~~~~~~
[ 33%] Building CXX object CMakeFiles/engine.dir/src/logic/VisualController.cpp.o
[ 34%] Building CXX object CMakeFiles/engine.dir/src/physics/MotionState.cpp.o
[ 34%] Building CXX object CMakeFiles/engine.dir/src/physics/PhysicsSystem.cpp.o
[ 34%] Building CXX object CMakeFiles/engine.dir/src/logic/visuals/ModelVisual.cpp.o
[ 34%] Building CXX object CMakeFiles/engine.dir/src/logic/visuals/StaticMeshVisual.cpp.o
[ 34%] Building CXX object CMakeFiles/engine.dir/src/logic/scriptExternals/Externals.cpp.o
/home/grzegorz/git/REGoth/src/logic/scriptExternals/Externals.cpp: In lambda function:
/home/grzegorz/git/REGoth/src/logic/scriptExternals/Externals.cpp:174:31: error: ‘class Daedalus::GameState::DaedalusGameState’ has no member named ‘addInventoryItem’; did you mean ‘createInventoryItem’?
             vm.getGameState().addInventoryItem(static_cast<size_t>(armorInstance), hnpc);
                               ^~~~~~~~~~~~~~~~
/home/grzegorz/git/REGoth/src/logic/scriptExternals/Externals.cpp: In lambda function:
/home/grzegorz/git/REGoth/src/logic/scriptExternals/Externals.cpp:211:61: error: ‘class Daedalus::GameState::DaedalusGameState’ has no member named ‘addInventoryItem’; did you mean ‘createInventoryItem’?
    Daedalus::GameState::ItemHandle item = vm.getGameState().addInventoryItem(instance, VobTypes::getScriptHandle(npc));
                                                             ^~~~~~~~~~~~~~~~
[ 34%] Building CXX object CMakeFiles/engine.dir/src/logic/scriptExternals/Stubs.cpp.o
[ 34%] Building CXX object CMakeFiles/engine.dir/src/logic/messages/EventManager.cpp.o
[ 34%] Building CXX object CMakeFiles/engine.dir/src/logic/messages/EventMessage.cpp.o
[ 34%] Linking C static library lib/libengine.a
/usr/bin/ar: CMakeFiles/engine.dir/src/logic/Inventory.cpp.o: Nie ma takiego pliku ani katalogu
[ 38%] Built target engine
[ 38%] Built target App_HelloWorld
[ 39%] Built target App_BasicExample
[ 41%] Built target OpenGLWindow
[ 41%] Built target AppBasicExampleGui
[ 42%] Built target BulletExampleBrowserLib
[ 49%] Built target gwen
[ 50%] Built target BussIK
[ 62%] Built target App_ExampleBrowser
[ 63%] Built target ConvexDecomposition
[ 63%] Built target HACD
[ 64%] Built target GIMPACTUtils
[ 65%] Built target BulletFileLoader
[ 66%] Built target BulletXmlWorldImporter
[ 66%] Built target BulletWorldImporter
[ 69%] Built target Bullet3OpenCL_clew
[ 70%] Built target Bullet2FileLoader
[ 71%] Built target Bullet3Dynamics
[ 72%] Built target Bullet3Collision
[ 72%] Built target Bullet3Geometry
[ 72%] Built target gtest
[ 73%] Built target Test_BulletInverseDynamicsJacobian
[ 75%] Built target Test_BulletInverseForwardDynamics
[ 75%] Built target Test_BulletInverseDynamics
[ 79%] Built target Test_PhysicsClientServer
[ 80%] Built target Test_Collision
[ 80%] Built target Test_BulletDynamics
[ 80%] Built target heightmap
[ 80%] Built target gears
[ 80%] Built target particles
[ 80%] Built target wave
[ 80%] Built target boing
[ 80%] Built target simple
[ 80%] Built target splitview
[ 81%] Built target reopen
[ 81%] Built target vulkan
[ 81%] Built target monitors
[ 82%] Built target iconify
[ 82%] Built target gamma
[ 82%] Built target icon
[ 83%] Built target tearing
[ 83%] Built target empty
[ 83%] Built target cursor
[ 83%] Built target threads
[ 84%] Built target clipboard
[ 84%] Built target title
[ 85%] Built target glfwinfo
[ 85%] Built target joysticks
[ 86%] Built target sharing
[ 87%] Built target timeout
[ 88%] Built target windows
[ 89%] Built target events
[ 90%] Built target msaa
[ 90%] Generating HTML documentation
[ 90%] Built target docs
[ 92%] Built target sfml-system
[ 94%] Built target sfml-window
[ 95%] Built target sfml-network
[ 98%] Built target sfml-graphics
[100%] Built target sfml-audio
[100%] Built target adpcm
[100%] Built target decode
Scanning dependencies of target REGoth
[100%] Building CXX object src/target/CMakeFiles/REGoth.dir/REGoth.cpp.o
make[2]: *** Brak reguł do zrobienia obiektu 'lib/libengine.a', wymaganego przez 'bin/REGoth'. Stop.
[100%] Built target REGoth

Handle ray tracing through water

Right now ray trace hits the surface and stops there, I will change the current behavior so we can trace down the bottom of reservoirs and determine their depth.

Switch to OpenAL

Working on it. Also laying some basics for 3D sound, though I'll probably not fully implement it ATM.

Crash after speeding through the world

Basically started REGoth in gothic1 world.zen, held down shift and sped through the world.
After about 1-2 minutes REGoth keeps crashing.

Here is the segfault and the backtrace

Thread 1 "bgfx - renderer" received signal SIGSEGV, Segmentation fault.
0x00000000005589d6 in World::BspTree::<lambda(const Utils::BBox3D&, World::NodeIndex)>::operator()(const Utils::BBox3D &, World::NodeIndex) const (__closure=0x7fffffffd1a0, bbox=..., n=1033633792) at /home/jeanluc/Projects/REGoth/src/engine/BspTree.cpp:81
81	        memcpy(&b, &m_Nodes[n].bbox, sizeof(b));
Missing separate debuginfos, use: dnf debuginfo-install dbus-libs-1.11.8-1.fc25.x86_64 elfutils-libelf-0.168-1.fc25.x86_64 expat-2.2.0-1.fc25.x86_64 flac-libs-1.3.1-6.fc24.x86_64 gsm-1.0.16-1.fc25.x86_64 json-c-0.12-7.fc24.x86_64 libICE-1.0.9-5.fc25.x86_64 libSM-1.2.2-4.fc24.x86_64 libX11-1.6.4-1.fc25.x86_64 libXau-1.0.8-6.fc24.x86_64 libXcursor-1.1.14-6.fc24.x86_64 libXdamage-1.1.4-8.fc24.x86_64 libXext-1.3.3-4.fc24.x86_64 libXfixes-5.0.3-1.fc25.x86_64 libXi-1.7.8-2.fc25.x86_64 libXinerama-1.1.3-6.fc24.x86_64 libXrandr-1.5.1-1.fc25.x86_64 libXrender-0.9.10-1.fc25.x86_64 libXtst-1.2.3-1.fc25.x86_64 libXxf86vm-1.1.4-3.fc24.x86_64 libasyncns-0.8-10.fc24.x86_64 libcap-2.25-2.fc25.x86_64 libdrm-2.4.74-1.fc25.x86_64 libffi-3.1-9.fc24.x86_64 libgcc-6.3.1-1.fc25.x86_64 libgcrypt-1.6.6-1.fc25.x86_64 libgomp-6.3.1-1.fc25.x86_64 libgpg-error-1.24-1.fc25.x86_64 libogg-1.3.2-5.fc24.x86_64 libpciaccess-0.13.4-3.fc24.x86_64 libselinux-2.5-13.fc25.x86_64 libsndfile-1.0.27-1.fc25.x86_64 libstdc++-6.3.1-1.fc25.x86_64 libtxc_dxtn-1.0.1-1.gitef072983.fc24.x86_64 libuuid-2.28.2-1.fc25.x86_64 libvorbis-1.3.5-1.fc25.x86_64 libxcb-1.12-1.fc25.x86_64 libxshmfence-1.2-3.fc24.x86_64 llvm-libs-3.8.0-1.fc25.x86_64 lz4-1.7.4.2-1.fc25.x86_64 mesa-dri-drivers-13.0.2-2.fc25.x86_64 mesa-libGL-13.0.2-2.fc25.x86_64 mesa-libglapi-13.0.2-2.fc25.x86_64 nettle-3.3-1.fc25.x86_64 openal-soft-1.17.2-2.fc24.x86_64 pcre-8.39-6.fc25.x86_64 pulseaudio-libs-9.0-1.fc25.x86_64 systemd-libs-231-10.fc25.x86_64 tcp_wrappers-libs-7.6-83.fc25.x86_64 xz-libs-5.2.2-2.fc24.x86_64 zlib-1.2.8-10.fc24.x86_64
(gdb) bt
#0  0x00000000005589d6 in World::BspTree::<lambda(const Utils::BBox3D&, World::NodeIndex)>::operator()(const Utils::BBox3D &, World::NodeIndex) const (__closure=0x7fffffffd1a0, bbox=..., n=1033633792) at /home/jeanluc/Projects/REGoth/src/engine/BspTree.cpp:81
#1  0x0000000000558eeb in std::_Function_handler<std::vector<int, std::allocator<int> >(const Utils::BBox3D&, int), World::BspTree::findLeafOf(const Utils::BBox3D&)::<lambda(const Utils::BBox3D&, World::NodeIndex)> >::_M_invoke(const std::_Any_data &, const Utils::BBox3D &, <unknown type in /home/jeanluc/Projects/REGoth/build/bin/REGoth, CU 0x162b519, DIE 0x16a71f4>) (__functor=..., __args#0=..., __args#1=<optimized out>)
    at /usr/include/c++/6.3.1/functional:1717
#2  0x0000000000558c69 in std::function<std::vector<int, std::allocator<int> > (Utils::BBox3D const&, int)>::operator()(Utils::BBox3D const&, int) const (__args#1=<optimized out>, __args#0=..., this=<optimized out>) at /usr/include/c++/6.3.1/functional:2127
#3  World::BspTree::<lambda(const Utils::BBox3D&, World::NodeIndex)>::operator()(const Utils::BBox3D &, World::NodeIndex) const (
    __closure=0x7fffffffd1a0, bbox=..., n=-1) at /home/jeanluc/Projects/REGoth/src/engine/BspTree.cpp:94
#4  0x0000000000558eeb in std::_Function_handler<std::vector<int, std::allocator<int> >(const Utils::BBox3D&, int), World::BspTree::findLeafOf(const Utils::BBox3D&)::<lambda(const Utils::BBox3D&, World::NodeIndex)> >::_M_invoke(const std::_Any_data &, const Utils::BBox3D &, <unknown type in /home/jeanluc/Projects/REGoth/build/bin/REGoth, CU 0x162b519, DIE 0x16a71f4>) (__functor=..., __args#0=..., __args#1=<optimized out>)
    at /usr/include/c++/6.3.1/functional:1717
#5  0x0000000000558b23 in std::function<std::vector<int, std::allocator<int> > (Utils::BBox3D const&, int)>::operator()(Utils::BBox3D const&, int) const (__args#1=<optimized out>, __args#0=..., this=<optimized out>) at /usr/include/c++/6.3.1/functional:2127
#6  World::BspTree::<lambda(const Utils::BBox3D&, World::NodeIndex)>::operator()(const Utils::BBox3D &, World::NodeIndex) const (
    __closure=0x7fffffffd1a0, bbox=..., n=461) at /home/jeanluc/Projects/REGoth/src/engine/BspTree.cpp:102
#7  0x0000000000558eeb in std::_Function_handler<std::vector<int, std::allocator<int> >(const Utils::BBox3D&, int), World::BspTree::findLeafOf(const Utils::BBox3D&)::<lambda(const Utils::BBox3D&, World::NodeIndex)> >::_M_invoke(const std::_Any_data &, const Utils::BBox3D &, <unknown type in /home/jeanluc/Projects/REGoth/build/bin/REGoth, CU 0x162b519, DIE 0x16a71f4>) (__functor=..., __args#0=..., __args#1=<optimized out>)
    at /usr/include/c++/6.3.1/functional:1717
#8  0x0000000000558b59 in std::function<std::vector<int, std::allocator<int> > (Utils::BBox3D const&, int)>::operator()(Utils::BBox3D const&, int) const (__args#1=<optimized out>, __args#0=..., this=<optimized out>) at /usr/include/c++/6.3.1/functional:2127
#9  World::BspTree::<lambda(const Utils::BBox3D&, World::NodeIndex)>::operator()(const Utils::BBox3D &, World::NodeIndex) const (
    __closure=0x7fffffffd1a0, bbox=..., n=459) at /home/jeanluc/Projects/REGoth/src/engine/BspTree.cpp:103
#10 0x0000000000558eeb in std::_Function_handler<std::vector<int, std::allocator<int> >(const Utils::BBox3D&, int), World::BspTree::findLeafOf(const Utils::BBox3D&)::<lambda(const Utils::BBox3D&, World::NodeIndex)> >::_M_invoke(const std::_Any_data &, const Utils::BBox3D &, <unknown type in /home/jeanluc/Projects/REGoth/build/bin/REGoth, CU 0x162b519, DIE 0x16a71f4>) (__functor=..., __args#0=..., __args#1=<optimized out>)

And the complete log (reproduced the crash again, not the same as the backtrace above)
debug.txt

Any other information I could provide?

Provide specific instructions on how to play Gothic I

Currently the README states to specifiy "one of the Zen-Files found in a .vdf-files in the games data/-directory". But it doesn't explain how to find out which Zen files are available. I presume the VDFs are some form of archive but haven't been able to extract them. Some more info on this would be helpful.

Furthermore, I could imagine many people are primarily interested in this project so they can play the game, rather than developing the engine, so simply providing copy-pastable lines for launching Gothic I or Gothic II would be cool.

Audio isn't working anymore

Since a few commits, the audio seems to be disabled or not working. I'm using a Conexant 20672 SmartAudio HD Chip on a X220 thinkpad, running a Windows 10 operating system.

Missing shaders?

Aren't some shaders missing in the recent build? This is what happens when I'm trying to run the engine with Gothic 1 :

Info: Initializing item: MENU_ITEM_TALENT_13_TITLE
Info: Initializing item: MENU_ITEM_TALENT_13_SKILL
Info: Loading texture: BAR_BACK.TGA
Info: Loading texture: BAR_HEALTH.TGA
Info: Loading texture: BAR_MANA.TGA
/home/sebbie/REGoth/lib/bgfx-cmake/bgfx/src/bgfx_p.h (3445): BGFX Creating uniform (handle 2) u_FogColor
/home/sebbie/REGoth/lib/bgfx-cmake/bgfx/src/bgfx_p.h (3445): BGFX Creating uniform (handle 3) u_FogNearFar
/home/sebbie/REGoth/src/utils/Utils.cpp(185):[const bgfx::Memory* Utils::loadMem(bx::FileReaderI*, const char*)] Failed to load shader at: shaders/glsl/vs_world_instanced.bin
/home/sebbie/REGoth/lib/bgfx-cmake/bgfx/src/bgfx.cpp (2854): BGFX CHECK _mem can't be NULL
Trace/breakpoint trap (core dumped)

Wrong paths for Windows + Valuetype name does not match expcted type

So when we are running stuff on Windows, you need to change the paths.

  1. Change the case senstive call to detect if there's Windows involved, f.i
    #if defined(_WIN64) || defined(_WIN32) return string

  2. Change directory "level" symbols from / to \

  3. Unfortunately I can't fix that one :
    When loading any .ZEN file I'm getting the following error message :

Valuetype name does not match expcted type

It happens at : parserImplBinsafe.cpp : 302
Logs:

Running REGoth Engine
Info: No game-root specified! Using the current working-directory as game root.
Use the '-g' flag to specify this!
Info: Using F:\Gothic as game root
Info: No startup-world specified. Using 'addonworld.zen' as default. Use the '-w
' flag to specify a ZEN-file!
Info: Loading world OLDMINE.ZEN on startup
Info: Loading VDF-Archives: [

  • F:\Gothic/Data/Anims.vdf
  • F:\Gothic/Data/Fonts.vdf
  • F:\Gothic/Data/Meshes.vdf
  • F:\Gothic/Data/Sound.vdf
  • F:\Gothic/Data/Sound_patch2.vdf
  • F:\Gothic/Data/Speech.vdf
  • F:\Gothic/Data/Speech_babe_speech_engl.vdf
  • F:\Gothic/Data/Textures.vdf
  • F:\Gothic/Data/Textures_apostroph_patch_neu.vdf
  • F:\Gothic/Data/Textures_bikini.vdf
  • F:\Gothic/Data/Textures_choicebox_32pixel_modialpha.vdf
  • F:\Gothic/Data/Textures_patch.vdf
  • F:\Gothic/Data/Textures_Startscreen_ohne_Logo.vdf
  • F:\Gothic/Data/Worlds.vdf
    ]
    Info: Successfully loaded VDF-Archive: F:\Gothic/Data/Anims.vdf
    Info: Successfully loaded VDF-Archive: F:\Gothic/Data/Fonts.vdf
    Info: Successfully loaded VDF-Archive: F:\Gothic/Data/Meshes.vdf
    Info: Successfully loaded VDF-Archive: F:\Gothic/Data/Sound.vdf
    Info: Successfully loaded VDF-Archive: F:\Gothic/Data/Sound_patch2.vdf
    Info: Successfully loaded VDF-Archive: F:\Gothic/Data/Speech.vdf
    Info: Successfully loaded VDF-Archive: F:\Gothic/Data/Speech_babe_speech_engl.vd
    f
    Info: Successfully loaded VDF-Archive: F:\Gothic/Data/Textures.vdf
    Info: Successfully loaded VDF-Archive: F:\Gothic/Data/Textures_apostroph_patch_n
    eu.vdf
    Info: Successfully loaded VDF-Archive: F:\Gothic/Data/Textures_bikini.vdf
    Info: Successfully loaded VDF-Archive: F:\Gothic/Data/Textures_choicebox_32pixel
    modialpha.vdf
    Info: Successfully loaded VDF-Archive: F:\Gothic/Data/Textures_patch.vdf
    Info: Successfully loaded VDF-Archive: F:\Gothic/Data/Textures_Startscreen_ohne

    Logo.vdf
    Info: Successfully loaded VDF-Archive: F:\Gothic/Data/Worlds.vdf
    Info: ZEN: Reading world...
    Info: oCWorld reading chunk: MeshAndBsp
    Info: ZEN: Reading mesh...
    Info: numPolys: 31522
    Info: Num nodes: 10805
    Info: Found 9554 non lod polys
    Info: Reading mesh '' (Version: 9)
    Info: Found 4628 vertices
    Info: ZEN: Done reading mesh!
    Info: oCWorld reading chunk: VobTree
    Info: oCWorld reading chunk: WayNet
    Info: Loading 0 freepoints
    Info: Loading 312 edges
    Info: Done loading edges!
    Info: Postprocessing worldmesh...
    Info: Generating world collision mesh...
    Info: Inserting vobs...
    Info: Loading Daedalus compiled script file: F:\Gothic_work\data\Scripts_compi
    led\GOTHIC.DAT
    Info: Zen-File found! Size: 3595531
    Info: Reading...
    Info: Initializing scripts for world: OLDMINE
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3936
    Info: itemInstance: 4337
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3924
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3837
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3837
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3837
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3849
    Info: itemInstance: 4053
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3849
    Info: itemInstance: 3837
    Info: itemInstance: 4053
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3849
    Info: itemInstance: 3837
    Info: itemInstance: 4053
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3843
    Info: itemInstance: 4290
    Info: itemInstance: 4053
    Info: DEBUG: ### (0) ### -> Npc_SetPermAttitude()
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3849
    Info: itemInstance: 3837
    Info: itemInstance: 4053
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3837
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3849
    Info: itemInstance: 3837
    Info: itemInstance: 4053
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3849
    Info: itemInstance: 3837
    Info: itemInstance: 4053
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3849
    Info: itemInstance: 3837
    Info: itemInstance: 4053
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3837
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3837
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3837
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3849
    Info: itemInstance: 3837
    Info: itemInstance: 4053
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3837
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 4052
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3837
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3837
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3837
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3837
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3915
    Info: itemInstance: 3841
    Info: itemInstance: 3861
    Info: itemInstance: 4053
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3915
    Info: itemInstance: 3841
    Info: itemInstance: 3861
    Info: itemInstance: 4053
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3915
    Info: itemInstance: 3841
    Info: itemInstance: 3861
    Info: itemInstance: 4053
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3915
    Info: itemInstance: 3841
    Info: itemInstance: 3861
    Info: itemInstance: 4053
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3915
    Info: itemInstance: 3841
    Info: itemInstance: 3861
    Info: itemInstance: 4053
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3915
    Info: itemInstance: 3841
    Info: itemInstance: 3861
    Info: itemInstance: 4053
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3915
    Info: itemInstance: 3841
    Info: itemInstance: 3861
    Info: itemInstance: 4053
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3915
    Info: itemInstance: 3841
    Info: itemInstance: 3861
    Info: itemInstance: 4053
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3915
    Info: itemInstance: 3841
    Info: itemInstance: 3861
    Info: itemInstance: 4053
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3915
    Info: itemInstance: 3841
    Info: itemInstance: 3861
    Info: itemInstance: 4053
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3915
    Info: itemInstance: 3841
    Info: itemInstance: 3861
    Info: itemInstance: 4053
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3915
    Info: itemInstance: 3861
    Info: itemInstance: 4053
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3915
    Info: itemInstance: 3861
    Info: itemInstance: 4053
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3859
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3915
    Info: itemInstance: 3841
    Info: itemInstance: 3861
    Info: itemInstance: 4053
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3837
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3837
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3915
    Info: itemInstance: 3841
    Info: itemInstance: 3861
    Info: itemInstance: 4053
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3915
    Info: itemInstance: 3841
    Info: itemInstance: 3861
    Info: itemInstance: 4053
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3915
    Info: itemInstance: 3841
    Info: itemInstance: 3861
    Info: itemInstance: 4053
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3915
    Info: itemInstance: 3841
    Info: itemInstance: 3861
    Info: itemInstance: 4053
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3915
    Info: itemInstance: 3861
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3837
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3837
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3915
    Info: itemInstance: 3841
    Info: itemInstance: 3861
    Info: itemInstance: 4053
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3861
    Info: itemInstance: 4053
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3915
    Info: itemInstance: 3841
    Info: itemInstance: 3861
    Info: itemInstance: 4053
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3915
    Info: itemInstance: 3841
    Info: itemInstance: 3861
    Info: itemInstance: 4053
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3543
    Info: itemInstance: 3853
    Info: itemInstance: 4050
    Info: itemInstance: 4053
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3853
    Info: itemInstance: 4046
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3853
    Info: itemInstance: 4046
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3853
    Info: itemInstance: 4046
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3853
    Info: itemInstance: 4046
    Info: DEBUG: ### (0) ### -> B_Scale
    Info: itemInstance: 3853
    Info: itemInstance: 4046
    Info: DEBUG: ### (0) ### -> B_InitGuildAttitudes
    Info: Inserting player of class 'PC_HERO' at startpoint 'zCVobStartpoint:zCVob'
    Info: itemInstance: 4128
    Info: Zen-File found! Size: 2139449
    Info: Reading...
    Info: Reading 7360 blocks
    C:\Users\dat\Desktop\regoth2\REGoth\lib\ZenLib\zenload\zCCSLib.cpp(47):[__cdecl
    ZenLoad::zCCSLib::zCCSLib(const class std::basic_string<char,struct std::char_tr
    aits,class std::allocator > &)] Valuetype name does not match expect
    ed type. Value:subType

Conversion error durring compilation

[ 93%] Building CXX object CMakeFiles/engine.dir/src/content/Texture.cpp.o
/media/linux/Gry/REGoth/src/content/Texture.cpp: In member function ‘Handle::TextureHandle Textures::TextureAllocator::loadTextureRGBA8(const std::vector&, uint16_t, uint16_t, const string&)’:
/media/linux/Gry/REGoth/src/content/Texture.cpp:79:118: error: invalid conversion from ‘unsigned int’ to ‘bgfx::TextureFormat::Enum’ [-fpermissive]
bgfx::TextureHandle bth = bgfx::createTexture2D(width, height, 1, bgfx::TextureFormat::RGBA8, BGFX_TEXTURE_NONE, mem);
^
In file included from /media/linux/Gry/REGoth/src/handle/HandleDef.h:4:0,
from /media/linux/Gry/REGoth/src/content/Texture.h:3,
from /media/linux/Gry/REGoth/src/content/Texture.cpp:1:
/media/linux/Gry/REGoth/lib/bgfx-cmake/bgfx/include/bgfx/bgfx.h:1654:16: note: initializing argument 5 of ‘bgfx::TextureHandle bgfx::createTexture2D(uint16_t, uint16_t, bool, uint16_t, bgfx::TextureFormat::Enum, uint32_t, const bgfx::Memory*)’
TextureHandle createTexture2D(
^~~~~~~~~~~~~~~
/media/linux/Gry/REGoth/src/content/Texture.cpp:79:118: error: invalid conversion from ‘const bgfx::Memory*’ to ‘uint32_t {aka unsigned int}’ [-fpermissive]
bgfx::TextureHandle bth = bgfx::createTexture2D(width, height, 1, bgfx::TextureFormat::RGBA8, BGFX_TEXTURE_NONE, mem);
^
In file included from /media/linux/Gry/REGoth/src/handle/HandleDef.h:4:0,
from /media/linux/Gry/REGoth/src/content/Texture.h:3,
from /media/linux/Gry/REGoth/src/content/Texture.cpp:1:
/media/linux/Gry/REGoth/lib/bgfx-cmake/bgfx/include/bgfx/bgfx.h:1654:16: note: initializing argument 6 of ‘bgfx::TextureHandle bgfx::createTexture2D(uint16_t, uint16_t, bool, uint16_t, bgfx::TextureFormat::Enum, uint32_t, const bgfx::Memory*)’
TextureHandle createTexture2D(

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.