Issue description
I was able to play this game, using crossover + gptk with macos. But after updates this morning, I can't save the game, no matter load from old saves or create new game.
Error Log:
Failed to save the game!:
Failed to write save data to 'C:\users\crossover\AppData\Roaming\Captain of Industry\Saves\Secluded Shore\Save 2024-04-24, 21-38-09.save': 成功。 : 'C:\users\crossover\AppData\Roaming\Captain of Industry\Saves\Secluded Shore\Save 2024-04-24, 21-38-09.tmp.save'Ensure that the game has access rights to the save directory and there is enough free space on the drive. Access can be blocked by antivirus software or by Windows feature called 'Controlled Folder Access'.
System.IO.IOException: 成功。 : 'C:\users\crossover\AppData\Roaming\Captain of Industry\Saves\Secluded Shore\Save 2024-04-24, 21-38-09.tmp.save'
at System.IO.FileSystem.DeleteFile (System.String fullPath) [0x0001a] in <dc753a1061284f8e971ee88ee4826eee>:0
at System.IO.File.Delete (System.String path) [0x00014] in <dc753a1061284f8e971ee88ee4826eee>:0
at Mafi.Core.SaveGame.ASyncSaver.doWork (System.Object _, System.ComponentModel.DoWorkEventArgs __) [0x000bf] in <1400a23fb38c4e15a63d9d5cf23872fe>:0
BTW: in the log, “成功” means success
Update 2024-4-25:
It can save a tmp file now, but still throw exception when moving file.
Failed to save the game!:
An error occurred while moving save file to the final location, but a temporary file can be found at C:\users\crossover\AppData\Roaming\Captain of Industry\Saves\Secluded Shore\Save 2024-04-25, 13-06-41.tmp.save: 成功。 : 'C:\users\crossover\AppData\Roaming\Captain of Industry\Saves\Secluded Shore\Save 2024-04-25, 13-06-41.save'System.IO.IOException: 成功。 : 'C:\users\crossover\AppData\Roaming\Captain of Industry\Saves\Secluded Shore\Save 2024-04-25, 13-06-41.save'
at System.IO.FileSystem.DeleteFile (System.String fullPath) [0x0001a] in <dc753a1061284f8e971ee88ee4826eee>:0
at System.IO.File.Delete (System.String path) [0x00014] in <dc753a1061284f8e971ee88ee4826eee>:0
at Mafi.Core.SaveGame.ASyncSaver.<doWork>g__deleteFile|21_0 (System.String deleteFilePath) [0x00011] in <2d94e377774746a4a7664df7abfebd30>:0
at Mafi.Core.SaveGame.ASyncSaver.doWork (System.Object _, System.ComponentModel.DoWorkEventArgs __) [0x0018b] in <2d94e377774746a4a7664df7abfebd30>:0
Reproduction steps
- create new game
- save game
or
- load old saves
- save game
Game version and build number
v0.6.3(b332)
Operating system
Mac OS