Andrettin / Wyrmsun

Strategy game based on history, mythology and fiction
http://andrettin.github.io/
GNU General Public License v2.0
301 stars 47 forks source link

4.1.1 error on system install: Invalid map_template instance: "caverns_of_chaincolt_gates". #183

Closed akien-mga closed 3 years ago

akien-mga commented 3 years ago

I updated my Mageia package to 4.1.1 locally and things now build fine/the engine runs properly, but there seems to be an issue with the data:

$ wyrmsun 
Stratagus v4.1.1, Copyright (c) 1998-2020 by The Stratagus Project
  written by Lutz Sammer, Fabrice Rossi, Vladi Shabanski, Patrice Fortier,
  Jon Gabrielson, Andreas Arens, Nehal Mistry, Jimmy Salmon, Pali Rohar,
  cybermind, Andrettin and others.
        https://github.com/Andrettin/Wyrmgus
Compile options ZLIB OPENGL LINUX X11 

Stratagus may be copied only under the terms of the GNU General Public License
which may be found in the Stratagus source kit.

DISCLAIMER:
This software is provided as-is.  The author(s) can not be held liable for any
damage that might arise from the use of this software.
Use it at your own risk.

Invalid map_template instance: "caverns_of_chaincolt_gates".
Error parsing config file "/usr/share/games/wyrmsun/data/map_templates/nidavellir/untersberg.cfg".
Thanks for playing Stratagus.
$ ls -l /usr/share/games/wyrmsun/data/map_templates/nidavellir/untersberg.cfg
-rw-r--r-- 1 root root 1465 Jan  9 22:56 /usr/share/games/wyrmsun/data/map_templates/nidavellir/untersberg.cfg

The file seems properly formatted, not sure what the issue is.

Andrettin commented 3 years ago

This commit should solve that: https://github.com/Andrettin/Wyrmsun/commit/c3d822e9b7b89e8132b71cecd41edb0f3e8c9674

I had forgotten to add the new "modules" folder to the directory list in CMakeLists.txt.

akien-mga commented 3 years ago

Seems fixed in 4.1.2 indeed, but now I have another issue #184.