dolle Posted December 29, 2012 Share Posted December 29, 2012 I did an strace -o log ./shank2-bin to diagnose the problem. Seems like the game does not correctly handle if subdirectories in the ~/.klei/shank2 folder does not exist: stat("/home/ulrik/.klei/shank2/users", 0x7fff35ecdfd0) = -1 ENOENT (No such file or directory)open("/home/ulrik/.klei/shank2/users", O_RDONLY) = -1 ENOENT (No such file or directory)stat("./", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0stat("./", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0stat("/home/ulrik/.klei/shank2", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0stat("/home/ulrik/.klei/shank2", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0...[snip]...open("/home/ulrik/.klei/shank2/users/savegame.sav", O_WRONLY|O_CREAT|O_TRUNC, 0600) = -1 ENOENT (No such file or directory) A quick fix is to just create the folders youself. cd into ~/.klei/shank2 and create the folders: cd ~/.klei/shank2mkdir usersmkdir log Link to comment Share on other sites More sharing options...
dolle Posted December 29, 2012 Author Share Posted December 29, 2012 Just to confirm: I can now save my progress after finishing the first chapter. The above fix works on Ubuntu 12.04. Link to comment Share on other sites More sharing options...
cole Posted December 29, 2012 Share Posted December 29, 2012 (edited) I did an strace -o log ./shank2-bin to diagnose the problem. Seems like the game does not correctly handle if subdirectories in the ~/.klei/shank2 folder does not exist:stat("/home/ulrik/.klei/shank2/users", 0x7fff35ecdfd0) = -1 ENOENT (No such file or directory)open("/home/ulrik/.klei/shank2/users", O_RDONLY) = -1 ENOENT (No such file or directory)stat("./", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0stat("./", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0stat("/home/ulrik/.klei/shank2", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0stat("/home/ulrik/.klei/shank2", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0...[snip]...open("/home/ulrik/.klei/shank2/users/savegame.sav", O_WRONLY|O_CREAT|O_TRUNC, 0600) = -1 ENOENT (No such file or directory)A quick fix is to just create the folders youself. cd into ~/.klei/shank2 and create the folders:cd ~/.klei/shank2mkdir usersmkdir logConfirmed working with Windows 8.Download the new zip file from Humble Bundle (if you got the game from there like I did)On the Shank2 folder, create those directories dolle mentioned.Play the game!A very quick way to see if it's working is start the game, choose Survival, skip the tutorial and exit. There should be a settings.sav file on the users folder you just created, and the next time you pick survival, it won't ask you to see the tutorial again.Edit: Forgot to say, thanks dolle for providing this fix. Edited December 29, 2012 by cole credit where credit is due Link to comment Share on other sites More sharing options...
dolle Posted December 29, 2012 Author Share Posted December 29, 2012 Edit: Forgot to say, thanks dolle for providing this fix.You're welcome . Link to comment Share on other sites More sharing options...
geel Posted December 29, 2012 Share Posted December 29, 2012 Thanks to dolle, the progress can be saved on win vista. Link to comment Share on other sites More sharing options...
wh1t3 Posted December 29, 2012 Share Posted December 29, 2012 Works like a charm here as well. Hard to imagine this issue hasn't shown up during testing. Thanks dolle Link to comment Share on other sites More sharing options...
meche Posted December 29, 2012 Share Posted December 29, 2012 thanks, it's work fine after create this folders (W7) Link to comment Share on other sites More sharing options...
patkoscsaba Posted December 30, 2012 Share Posted December 30, 2012 I did not try this, yet, but it sounds like classic counter-example of "Users should see no errors" An error saying "Can not write to ~/.klei/shank2/users/something" would have been most helpful. Link to comment Share on other sites More sharing options...
patkoscsaba Posted January 1, 2013 Share Posted January 1, 2013 I can also confirm the workaround. Saving is OK after creating the 2 specified folders.Sabayon Linux, 64bits Link to comment Share on other sites More sharing options...
Developer Wade Posted January 2, 2013 Developer Share Posted January 2, 2013 We are also continuing to work on fixing these issues and will hopefully have them all addressed Soon.Thanks! Link to comment Share on other sites More sharing options...
Titi Posted January 3, 2013 Share Posted January 3, 2013 (edited) I did an strace -o log ./shank2-bin to diagnose the problem. Seems like the game does not correctly handle if subdirectories in the ~/.klei/shank2 folder does not exist:stat("/home/ulrik/.klei/shank2/users", 0x7fff35ecdfd0) = -1 ENOENT (No such file or directory)open("/home/ulrik/.klei/shank2/users", O_RDONLY) = -1 ENOENT (No such file or directory)stat("./", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0stat("./", {st_mode=S_IFDIR|0775, st_size=4096, ...}) = 0stat("/home/ulrik/.klei/shank2", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0stat("/home/ulrik/.klei/shank2", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0...[snip]...open("/home/ulrik/.klei/shank2/users/savegame.sav", O_WRONLY|O_CREAT|O_TRUNC, 0600) = -1 ENOENT (No such file or directory)A quick fix is to just create the folders youself. cd into ~/.klei/shank2 and create the folders:cd ~/.klei/shank2mkdir usersmkdir logHi,This solution works great for me. I am on a Linux Mint 64 bits. However, my game still does not want to save the controlls. My keyboard is AZERTY so I tried to change the settings to fit my keyboard. But after I quit the game I need to change them again.Does anyone have the same issue?edit: btw I tried with the last version found on humblebundle webpage (shank2-linux-update3-1357159966.tar.gz) Edited January 3, 2013 by Titi Link to comment Share on other sites More sharing options...
dolle Posted January 4, 2013 Author Share Posted January 4, 2013 (edited) Hi,This solution works great for me. I am on a Linux Mint 64 bits. However, my game still does not want to save the controlls. My keyboard is AZERTY so I tried to change the settings to fit my keyboard. But after I quit the game I need to change them again.Does anyone have the same issue?edit: btw I tried with the last version found on humblebundle webpage (shank2-linux-update3-1357159966.tar.gz)I just tried changing the controls, and it doesn't work for me neither. I can see, however, that the file ~/.klei/shank2/users/settings.sav is actually created (it's binary though, so I can't see whether the contents are correct). Using strace does not indicate that any other folders or files are missing, so this seems like a bug that doesn't have an immediate quick-fix, unfortunately. Edited January 4, 2013 by dolle grammar Link to comment Share on other sites More sharing options...
pholklore Posted January 5, 2013 Share Posted January 5, 2013 I see the same think with update 3. The controls are not saved... Gessh, are these things actually tested? I bought the humble bundle for fun, but getting this to work actually feels like work... Please open source the code so we can fix it. Link to comment Share on other sites More sharing options...
pholklore Posted January 5, 2013 Share Posted January 5, 2013 Oh crap, it's not just controls. Levels start still aren't saved, it seems to me... Link to comment Share on other sites More sharing options...
pholklore Posted January 5, 2013 Share Posted January 5, 2013 Another thing I see is the default gamepad controls leave "dodge left" and "dodge right" unassigned ("none selected"). I think on the original version they would default to the right stick (which is what makes sense). It'd be good to bring that back (leaving unassigned is just silly), though it's minor. Link to comment Share on other sites More sharing options...
Stringkiller Posted January 5, 2013 Share Posted January 5, 2013 I'm using Windows XP and the latest version of Shank2 downloaded from Humble Bundle. There's no way I'm able to save levels nor configurations and I don't really understand the directories thing people are saying. Is there still no way to fix this? Link to comment Share on other sites More sharing options...
Titi Posted January 8, 2013 Share Posted January 8, 2013 (edited) I just tried changing the controls, and it doesn't work for me neither. I can see, however, that the file ~/.klei/shank2/users/settings.sav is actually created (it's binary though, so I can't see whether the contents are correct). Using strace does not indicate that any other folders or files are missing, so this seems like a bug that doesn't have an immediate quick-fix, unfortunately.Still happening with the last version "shank2-linux-update5-1357333136.tar.gz"edit: It is now good with the shank2-linux-update7 version!!! Edited January 10, 2013 by Titi Link to comment Share on other sites More sharing options...
zargo Posted January 31, 2013 Share Posted January 31, 2013 if someone has still not figured it out, the following worked for me on Windows 8 create a folder called users in the Shank 2 game folder(not in saved games or my documents) for eg. if you have installed shank2 to: c:\games\shank2 create the folder: c:\games\shank2\users In this folder I put a saved game(the .sav file) I downloaded from http://www.savemygame.fr/en/start-download/s/1053-pc-shank-2-by-bigsmoke.html for testing and it worked. the saved game file will be at c:\games\shank2\users\savegame.sav tc Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now