Open lossefanya opened 1 year ago
The log you've provided is a page fault which is an outright crash and an issue with memory not storage.
ok maybe log is not directly related to the issue. That log appeared when I quit the game. The game didn't finish correctly. Instead, it crashes when I quit the game, with that log. Save/load issue happens while the game is running. But save/load doesn't cause crash. So I couldn't get more relative log.
I couldn't even to get it to Start at all - (so Step 1 of your List) 😬 are there any settings needed ?
I can confirm the issue on 2.1.0 (29). Also happens with newest CX Patch on Crossover 22.1.1
I couldn't even to get it to Start at all - (so Step 1 of your List) 😬 are there any settings needed ?
Give it a try with those settings.
It just starts, stays all in black view and then maybe a minute later it crashes can't see the Splashscreen and what not
I also updated XCode today and Wisky is from today (but before the XCode update) maybe thats the reason that the Toolkit was loaded before I updated xcode? I dunno
```
Unhandled exception: page fault on read access to 0x00000001b00c83c8 in 64-bit code (0x0000017005a695).
Register dump:
rip:000000017005a695 rsp:000000000010fad0 rbp:0000000000000000 eflags:00000202 ( - -- I - - - )
rax:00000001816e8fa0 rbx:0000000181a7c630 rcx:00000001b00c83a8 rdx:0000000000000000
rsi:00000001b00c8380 rdi:0000000181a8f660 r8:0000000000000000 r9:0000000000360000 r10:0000000000250138
r11:0000000000360000 r12:000000000000000a r13:0000000000000000 r14:0000000000000049 r15:0000000000000000
Stack dump:
0x0000000010fad0: 0000000000000000 0000000000000000
0x0000000010fae0: 0000000181a8f100 000000018027cde2
0x0000000010faf0: 0000000181a7c630 00000001802783cd
0x0000000010fb00: 0000000181a7c630 0000000000000001
0x0000000010fb10: 0000000000000000 0000000000000049
0x0000000010fb20: 0000000181a7df40 0000000180277190
0x0000000010fb30: 0000000181a7c630 0000000000000000
0x0000000010fb40: 0000000000000006 000000000000000a
0x0000000010fb50: 0000000000000000 0000000180697a14
0x0000000010fb60: 0000000000000000 0000000000000000
0x0000000010fb70: 0000000000000000 00000000ffffffff
0x0000000010fb80: 0000000000000004 0000000000000000
Backtrace:
=>0 0x0000017005a695 RtlEnterCriticalSection+0x5(crit=00000001B00C83A8) [Z:\private\tmp\game-porting-toolkit-20231014-39759-18t46bi\wine\dlls\ntdll\sync.c:381] in ntdll (0000000000000000)
1 0x000001802783cd in unityplayer (+0x2783cd) (0000000000000000)
2 0x00000180277190 in unityplayer (+0x277190) (0000000000000000)
3 0x00000180697a14 in unityplayer (+0x697a14) (0000000000000000)
4 0x0000018069950b UnityMain+0xb() in unityplayer (0000000000000000)
5 0x000001400011f2 in corekeeper (+0x11f2) (0000000000000000)
6 0x0000007b62a889 BaseThreadInitThunk+0x9(unknown=
@negue You need to disable cloud sync from Steam. It causes crash
ohh I see - yeah I did wanted to play my save state haha - alright - then I hope there is a fix for that someday
Is there any way to get Steam cloud syncing to work?
https://github.com/Whisky-App/Whisky/issues/479#issuecomment-1763480023
Give it a try with those settings.
These settings didn't help.
https://github.com/Whisky-App/Whisky/issues/479#issuecomment-1763762347
You need to disable cloud sync from Steam. It causes crash
This fixes it. Though, of course, it's an unfortunate requirement :cry:
Just adding my findings to the thread. Although I'm using CrossOver, the problem should be the same and logs would be useful.
I tried giving
Still no luck.
After checking the log from _Users/{username}/Library/Application Support/CrossOver/Bottles/{bottle_name}/ drivec/users/crossover/AppData/LocalLow/Pugstorm/Corekeerp/Player.log
Allocating a new file write buffer of size 8.000MB for WorldSave. Total buffer size for this file including pool is 8.000MB
Write failed: Success : 'C:\users\crossover\AppData\LocalLow\Pugstorm\Core Keeper\Steam\{steam_id}\maps\0\0.mapparts.gzip.pugbackup' (-2147024896)
Write failed: Success : 'C:\users\crossover\AppData\LocalLow\Pugstorm\Core Keeper\Steam\{steam_id}\worldinfos\0.worldinfo.pugbackup' (-2147024896)
Write failed: Success : 'C:\users\crossover\AppData\LocalLow\Pugstorm\Core Keeper\Steam\{steam_id}\worlds\0.world.gzip.pugbackup' (-2147024896)
Windows error code (-2147024896) "ERROR_SUCCESS", suggests the write operation was successful, but the file was not actually written.
Bumping this as Whisky can't save characters or worlds or anything from Core Keeper to the drive, meaning after closing the game all progress is lost.
Playing on a dedicated server can save the world, but the player character will be gone forever as it persists in memory only due to this inability to write data to the drive.
我最近几天接触游戏,游玩一段时间后发现存档丢失,苦恼之际看到此issue,受此启发,有了一些好点子并实践成功。 突出重点:我们无法存档,但可以制作存档! 我的需求场景是和朋友联机游玩,将由好友(windows系统)作为主机开启地图,本人远程接入。事实上,当我们退出游戏后,我们将无法保存存档。但我们可以通过自定义制作人物存档参与游戏,虽然局内成长仍无法存档,但我们可以在局外动态模拟人物成长,以下我将描述我的方式。 1、进入人物编辑器,设置技能点数后生成文件(如0.json),0代表人物插槽。 2、将人物文件复制至如下路径:/Users/个人用户名/Library/Application Support/CrossOver/Bottles/Steam/drive_c/users/crossover/AppData/LocalLow/Pugstorm/Core Keeper/Steam/个人steamId/saves 3、关闭云存档,启动游戏,你将会发现你亲手创建的角色就在上面 如果希望获得沉浸式的体验,可以在关闭游戏前,将角色物品放入箱子,他们将保存在好友地图存档中。在重新进入游戏前,可以按需调整技能点,进入游戏后取回道具,这种方式相信能让我们mac玩家有一定的游戏体验。 @pocketlim @kksmiles @lossefanya
I saw someone on reddit recommending to start the game, play a little, then tab out and put the files that would be required in the corresponding folders manually, tab back in and continiue playing. then the save and exit should work. It didnt work for me though. I also tried just not quitting but at some point the game shut down and I lost all my progress.
To replicate and maybe get this fix to working:
Save data locations and file names https://corekeeper.atma.gg/en/Save_data
Json File for Character save https://core-keeper-save-editor.com/
Random savegame for the world files https://github.com/SnailUSB/core-keeper-all-items
When using the technique presented above, upon startup only the downloaded files remain selectable. I am able to set up a new world and character and they even appear in the main menu when returning. When I try to load up the newly created world again though, I get a black screen and after some time the error message "connection closed", returning me to the title screen. I checked the folders but no new files have been created during this process.
Whisky Version: 2.3.2 Date: 2024-09-05T12:27:34Z macOS Version: 14.5.0
Bottle Name: bgznh7jm8k,9i Bottle URL: /Volumes/T7/CrossOver/Windows
Wine Version: 7.7.0 Windows Version: win10 Enhanced Sync: msync
Metal HUD: false Metal Trace: false
Arguments: start /unix /Volumes/T7/CrossOver/Windows/drive_c/GOG Games/Core Keeper/CoreKeeper.exe
Environment: { "DXVK_ASYNC" = 1; "GST_DEBUG" = 1; WINEDEBUG = "fixme-all"; WINEESYNC = 1; WINEMSYNC = 1; WINEPREFIX = "/Volumes/T7/CrossOver/Windows"; }
msync: bootstrapped mach port on wine-1c715-msync. msync: up and running.
I have been able to reproduce the same problem in Wine and CrossOver on MacOS and did some research.
For anyone who wants to try something else, I share a saved game created with GoG's Core Keeper version 1.0.0.6 in a Windows OS. This contains 4 different worlds, 1 standard character and 1 creative character (the standard character starts with a magic mirror with which one can change their name and appearance). The files have to be placed in C:/Users/[Username]/AppData/LocalLow. For the Steam version, I think it's enough to rename the internal GoG folder to Steam, but I'm not sure.
My observations:
- Changes to worlds and characters saved first with Windows and moved to AppData in a CrossOver bottle, are then saved successfully by the game running with CrossOver on MacOS.
Thank you, for your effort @iz88, it works for me on 1.0.0.7 version.
For Steam version you need to move files from "GoG" folder to the "[numbers]" folder, which creates by the game at the first play. If you are reading this topic, you are already have this folder.
I also met some troubles with this decision (maybe I accidentally deleted necessary files or replaced it):
Btw, Core Keeper creates the saves after your vanilla play, but unfortunately doesn't see them, then deletes it (but you can see them while the game is running).
Seems like the issue is not specific to Whisky, because people on Reddit (this thread for example) complaining of similar issue (game not creating save files) who are running Crossover/Wine. However this game creates the save files its causing issues if you emulating Windows using Wine. As @kksmiles pointed out in his comment the error seems to be in writing save files into hard disk.
Callstack of the failure to write file to disk:
Write failed: Success : 'C:\users\crossover\AppData\LocalLow\Pugstorm\Core Keeper\Steam\{steamid}\saves\0.json.pugbackup' (-2147024896)
0x0000000180a1271d (unityplayer) UnityMain
0x0000000180a12498 (unityplayer) UnityMain
0x00000001809f9bd9 (unityplayer) UnityMain
0x00000001810925e1 (unityplayer) UnityMain
0x000000018007b471 (unityplayer)
0x0000000110e48813 (Mono JIT Code) (wrapper managed-to-native) UnityEngine.DebugLogHandler:Internal_Log (UnityEngine.LogType,UnityEngine.LogOption,string,UnityEngine.Object)
0x0000000110e4872b (Mono JIT Code) UnityEngine.DebugLogHandler:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
0x0000000110e47390 (Mono JIT Code) Sentry.Unity.Integrations.UnityLogHandlerIntegration:LogFormat (UnityEngine.LogType,UnityEngine.Object,string,object[])
0x0000000110e47090 (Mono JIT Code) UnityEngine.Logger:Log (UnityEngine.LogType,object)
0x0000000070de41c0 (Mono JIT Code) UnityEngine.Debug:LogError (object)
0x0000000112bc72eb (Mono JIT Code) Pug.Platform.StandaloneFilesystem:Write (string,string,byte[])
0x0000000070db9bee (Mono JIT Code) Pug.Platform.FilesystemManager:WriteHandler ()
0x000000010a25c936 (Mono JIT Code) System.Threading.ThreadHelper:ThreadStart_Context (object)
0x000000010a2548de (Mono JIT Code) System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
0x000000010a25442b (Mono JIT Code) System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
0x000000010a25c63b (Mono JIT Code) System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
0x000000010a25bebb (Mono JIT Code) System.Threading.ThreadHelper:ThreadStart ()
0x0000000109e31891 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
0x0000000063514bfe (mono-2.0-bdwgc) mono_jit_set_domain
0x000000006344d254 (mono-2.0-bdwgc) mono_object_get_virtual_method
0x0000000063450b3d (mono-2.0-bdwgc) mono_runtime_delegate_invoke
0x000000006347fa2d (mono-2.0-bdwgc) mono_profiler_init_etw
0x000000006347fbee (mono-2.0-bdwgc) mono_profiler_init_etw
0x000000007b630239 (kernel32) BaseThreadInitThunk
0x000000017006d454 (ntdll) RtlUserThreadStart
Just a note: There is NO such issue if you run the game using VMware or Parallels.
I solved the problem by creating a world and a character in windows, and then moved all the saves.
I solved the problem by following the guide at the end of this page https://www.reddit.com/r/macgaming/comments/1f48bho/core_keeper_not_saving/
I solved the problem by following the guide at the end of this page https://www.reddit.com/r/macgaming/comments/1f48bho/core_keeper_not_saving/
Does this work on the current version of the game?
- Changes to worlds and characters saved first with Windows and moved to AppData in a CrossOver bottle, are then saved successfully by the game running with CrossOver on MacOS.
Thank you, for your effort @iz88, it works for me on 1.0.0.7 version.
For Steam version you need to move files from "GoG" folder to the "[numbers]" folder, which creates by the game at the first play. If you are reading this topic, you are already have this folder.
I also met some troubles with this decision (maybe I accidentally deleted necessary files or replaced it):
- doesn't work mouse scroll
- mods are no longer support
Btw, Core Keeper creates the saves after your vanilla play, but unfortunately doesn't see them, then deletes it (but you can see them while the game is running).
Steam autoupdates the game, and now this no longer works for me with the recent update, any potential fixes?
- Changes to worlds and characters saved first with Windows and moved to AppData in a CrossOver bottle, are then saved successfully by the game running with CrossOver on MacOS.
Thank you, for your effort @iz88, it works for me on 1.0.0.7 version. For Steam version you need to move files from "GoG" folder to the "[numbers]" folder, which creates by the game at the first play. If you are reading this topic, you are already have this folder. I also met some troubles with this decision (maybe I accidentally deleted necessary files or replaced it):
- doesn't work mouse scroll
- mods are no longer support
Btw, Core Keeper creates the saves after your vanilla play, but unfortunately doesn't see them, then deletes it (but you can see them while the game is running).
Steam autoupdates the game, and now this no longer works for me with the recent update, any potential fixes?
Actually I'm having another kind of problem.. I can join a dedicated server hosted by a friend without any problem, but I can't join that same friend's game. Any idea on which file is involved on this?
Description
Hello, Thank you for the great app. With Whisky I could run Core Keeper on my m1 mac. But there was an issue
Steps to reproduce
Expected behaviour
The game should be able to read/write files
Logs
What version of Whisky are you using?
2.0.1
What version of macOS are you using?
Sonoma (macOS 14)
Issue Language