Opened 22 months ago
Closed 21 months ago
#14056 closed defect (fixed)
TETRAEDGE: WIN32: Loading game fails after intro
Reported by: | lotharsm | Owned by: | lotharsm |
---|---|---|---|
Priority: | normal | Component: | Engine: Tetraedge |
Version: | Keywords: | ||
Cc: | Game: | Syberia 1 |
Description
In Syberia 1 (Mac version taken from GoG), loading/continuing the game fails after the intro was either played or being skipped. It looks like the game isn't able to find the required game data:
WARNING: TeCore::findFile Searched but didn't find scenes/ValReceptionInn/10000/For10000.lua! WARNING: TeCore::findFile Searched but didn't find scenes/ValReceptionInn/10000/Marker10000.lua! searched for scenes/ValReceptionInn/10000/Android-MacOSX/For10000.lua [InGameScene::load] Unknown type of object named : Croque10000 [InGameScene::load] Unknown type of object named : Croque10000_Comptoir [InGameScene::load] Unknown type of object named : Croque10000_Valise [InGameScene::load] Unknown type of object named : Croque10030_Chaise [InGameScene::load] Unknown type of object named : Croque10030_Momo [InGameScene::load] Unknown type of object named : Croque10050 [InGameScene::load] Unknown type of object named : Croque10060-0 [InGameScene::load] Unknown type of object named : Croque10060-1 [InGameScene::load] Unknown type of object named : Croque10070_Valise [InGameScene::load] Unknown type of object named : Croque10070_vers10080 [InGameScene::load] Unknown type of object named : Croque10090 [InGameScene::load] Unknown type of object named : Engrenage01 [InGameScene::load] Unknown type of object named : Engrenage02 [InGameScene::load] Unknown type of object named : MaskPFNode_10050 [InGameScene::load] Unknown type of object named : depliant_auberge [InGameScene::load] Unknown type of object named : engrenageA [InGameScene::load] Unknown type of object named : engrenageB WARNING: TODO: Handle _g_bWidescreen! WARNING: TODO: Handle _g_bWidescreen! WARNING: TODO: Handle _g_bWidescreen! Request to remove child (background) which is not a child of this (layoutFront). Request to remove child (videoButtonLayout) which is not a child of this (noScaleLayout2). Request to remove child (videoLayout) which is not a child of this (layoutFront). No button 'background' in gui data ''! Debugger started, type 'exit' to return to the game. Type 'help' to see a little list of commands and variables. ERROR: No button 'background' in gui data ''!
This was tested on Windows 11 with the very latest code from the master branch. I couldn't check if other platforms are affected as well. I extracted all the game data from the original .pkg file with 7-zip.
Maybe it is just the path handling being wrong on Win32 here?
Change History (4)
comment:1 by , 22 months ago
Component: | --Unset-- → Engine: Tetraedge |
---|---|
Game: | Syberian 1 → Syberia 1 |
comment:2 by , 22 months ago
comment:3 by , 22 months ago
Okay, what I figured out so far:
As soon as I replace
const Common::Path resPath = Common::Path(gamePath).join("Resources");
with
const Common::Path resPath = Common::Path(gamePath).join("Resources/");
in te_core.cpp, I get past the intro screen, _but_ all the markers and cursor elements are missing. I'm a bit out of ideas, since trying to modify the imgpath just lead to more issues.
comment:4 by , 21 months ago
Owner: | set to |
---|---|
Resolution: | → fixed |
Status: | new → closed |
I tried to replicate it on Ubuntu 22.04 and I can't trigger the issue here.
So it is most likely related to Win32's path handling.