Closed ghost closed 2 years ago
Hi, @XardasXP !
loading error: Not a valid format
That doesn't look normal: do you have a clean setup, or with mods installed?
This error occurs on clean install (Polish version from GOG), not even SystemPack installed. I tried on my install of The Golden Gate mod with -w addonworld.zen
switch and it launches new game without issues. When I try to specify -w newworld.zen
on clean install I get:
yberion@localhost:~/.wine/drive_c/OpenGothic> ./build/opengothic/Gothic2Notr.sh -g "../GOG Games/Gothic 2 PL/" -w newworld.zen OpenGothic v1.0 dev no *.ini file in path - using default settings GPU = AMD RADV RAVEN Depth format = 13 Shadow format = 5 Info: ZEN: Reading presets... swapchain is outdated - reset renderer Info: ZEN: Reading world... Info: oCWorld reading chunk: MeshAndBsp Info: ZEN: Reading mesh... Info: Reading mesh '' (Version: 265) Info: Found 260696 vertices Info: ZEN: Done reading mesh! Info: oCWorld reading chunk: VobTree loading error: Valuetype name does not match expected type. Value:numKeyframes
And the new game is not loading again.
Thanks for info, @XardasXP !
I've been trying to reproduce the issue on Steam/PL edition with no success so far. Error you observing is:
loading error: Valuetype name does not match expected type. Value:numKeyframes
Mean that file-parser failed to load variable named as numKeyframes
. I'm not sure why exactly, but seems different releases of gothic have a slightly different data packing, what makes our reader not 100% bulletproof.
If it's possible for you, you may try to switch from GOG to CD/Steam or from polish to english, while I'm working on fix.
I don't have the problem on the polish version - but the exact same problem with the german GOG version; fortunately I also have a steam version and can confirm that the german Steam version works
Tested current dev build on freshly installed GoG/Pl. Issue is not reproducable:
I did another clean install of GOG/PL NOTR and tested current dev build. I noticed something weird. When I have tried to launch new game with OpenGothic, it don't launched again. But after I launched a game with original Gothic2.exe and then tried OpenGothic it worked this time. It seems like Gothic2.exe did something to game files.
On clean install, where I have not launched Gothic2.exe I'm getting now this output:
yberion@localhost:~/.wine/drive_c/OpenGothic> ./build/opengothic/Gothic2Notr.sh -g ../GOG\ Games/Gothic\ 2\ PL/ OpenGothic v1.0 dev no .ini file in path - using default settings no .ini file in path - using default settings GPU = AMD RADV RAVEN Depth format = 13 Shadow format = 5 Info: ZEN: Reading presets... swapchain is outdated - reset renderer unable to open Zen-file: "world.zen" Info: Reading 20826 blocks
---crashlog(SIGSEGV)--- GPU: AMD RADV RAVEN
Segmentation fault (core dumped)
I compared md5sums of my previous clean install (where I have not launched Gothic2.exe) and new clean install (where I have launched Gothic2.exe). Many files have diffrent md5sums. I'm not pasting there output from diff because it's very long.
unable to open Zen-file: "world.zen"
Seems like your setup was detected as Gothic1 for some reason
Try to specify world explicitly:
./build/opengothic/Gothic2Notr.sh -g ../GOG\ Games/Gothic\ 2\ PL/ -w newworld.zen
It says:
yberion@localhost:~/.wine/drive_c/OpenGothic> ./build/opengothic/Gothic2Notr.sh -g ../GOG\ Games/Gothic\ 2\ PL/ -w newworld.zen OpenGothic v1.0 dev no .ini file in path - using default settings no .ini file in path - using default settings GPU = AMD RADV RAVEN Depth format = 13 Shadow format = 5 Info: ZEN: Reading presets... swapchain is outdated - reset renderer Info: ZEN: Reading world... Info: oCWorld reading chunk: MeshAndBsp Info: ZEN: Reading mesh... Info: Reading mesh '' (Version: 265) Info: Found 260696 vertices Info: ZEN: Done reading mesh! Info: oCWorld reading chunk: VobTree loading error: Valuetype name does not match expected type. Value:numKeyframes
Tried GoG English and Polish version on Arch Linux, both worked as expected. I also tried to install openSUSE Tumbleweed, but my USB drive seems to be broken, I will try again in the next few days.
I was able to test it on openSUSE Tumbleweed and it worked as expected, so the problem is most likely hardware related.
Just a quick note, when I got OpenGothic to compile and link properly with clang I got an error from the Vulkan API. I could resolve the problem by installing the vulkan validation layer (I remembered that from one of our debug sessions). @Try I don't think that this is intended or is it? If not then I would create a new issue with the necessary log files.
I did a clean install of the newest GOG Gothic 2 PL and run the newest OpenGothic from AppVeyor on top of it. The game started without issues.
Hello. I can't start new game. My system is openSUSE Tumbleweed. I tried some time ago on openSUSE Leap and had similar problem.
Here is what terminal says:
Should I provide more info?