0 of 0

File information

Last updated

Original upload

Created by

Dude

Uploaded by

TWJ347

Virus scan

Safe to use

Tags for this mod

14 comments

  1. lock10100
    lock10100
    • member
    • 0 kudos
    Nice move.
  2. murkamk1
    murkamk1
    • member
    • 0 kudos
    Good script but can't we kill the sifu process and launch it once the script is done? 

    Where would I add close sifu and relaunch it on this script if you don't mind helping me? I'm not really good at it, thanks
  3. Kurihball
    Kurihball
    • supporter
    • 0 kudos
    Tried everything, still doesn't work for me, even after all the fixes I saw in the comment section
  4. NoobieModder30
    NoobieModder30
    • member
    • 0 kudos
    sorry im new to this stuff but the script i downloaded does not look like the picture you sent and i was wondering how do we put the script in auto hot key i get error at line 1 line text: ?#UseHook
    1. TWJ347
      TWJ347
      • member
      • 0 kudos
      If you Right-click -> Edit the file, it should look like the text file in the image.  What is different about the file you are seeing?  Is there a question mark before #UseHook in the script as I can see in your post?  There shouldn't be.  The script was tested with the latest version of Autohotkey, 1.1.33.10, installed with the default options (Unicode 64-bit).  What version of Windows are you using?  In Notepad, if you click File -> Save As, is the default encoding UTF-8?

      You can try removing the first line in the script, #UseHook.  It isn't necessarily required.
  5. TheRealHardyBoy1
    TheRealHardyBoy1
    • member
    • 0 kudos
    This doesn't seem to work for me. I do everything step by step.


    • I edited the path to my savegame folder (I'm using codex release)

    • I'm starting the file with admin rights
    • Ingame i press f5 and then i press ESC and Quit game (backup/copy saves are create successfully, i can see them in the save folder)
    • i press f8 and i got the notice that the reload is done by autokey
    • I'm starting the game but it sets me back to when i last saved before i used this mod.
    • I also tried quitting the game with ALt+f4, didn't worked either.
    1. TWJ347
      TWJ347
      • member
      • 0 kudos
      It seems that the save function is working if the folders are being copied, but that the load function is not.  Be sure that you have modified the folder paths near the bottom of the script as well, this section:

      FileCopyDir, C:\Users\PC User\AppData\Local\Sifu\Saved\SaveGames\1638.copy\, C:\Users\PC User\AppData\Local\Sifu\Saved\SaveGames\1638\ , 1
      TrayTip , Reload, Done !, 5 ;show for 5 seconds
      return
    2. TheRealHardyBoy1
      TheRealHardyBoy1
      • member
      • 0 kudos
      The script is edited correctly i think. This is what it looks like

      ?#UseHook
      Source = C:\Users\xxxxxxx\AppData\Local\Sifu\Saved\SaveGames\1638\
      Destination = C:\Users\xxxxxxx\AppData\Local\Sifu\Saved\SaveGames\1638.bak
      f5::
      FileCopyDir, C:\Users\xxxxxxx\AppData\Local\Sifu\Saved\SaveGames\1638\, C:\Users\xxxxxxx\AppData\Local\Sifu\Saved\SaveGames\1638.copy\ , 1
      Start:
      FileCopyDir, %Source%, %Destination%
      {
      If ErrorLevel ;There will be an errorlevel if the destination file exists
      {
      Loop ; in which case
      {
      FileCopyDir, %Source%,%Destination%_%A_Index% ; stick a number on the end
      If ErrorLevel = 0 ; continue with increasing numbers until there is no error
      {
      Break
      }
      }
      }

      TrayTip , Save, Done !, 5 ;show for 5 seconds
      Return
      f8::
      FileCopyDir, %Source%, %Destination%
      {
      If ErrorLevel ;There will be an errorlevel if the destination file exists
      {
      Loop ; in which case
      {
      FileCopyDir, %Source%,%Destination%_%A_Index% ; stick a number on the end
      If ErrorLevel = 0 ; continue with increasing numbers until there is no error
      {
      Break
      }
      }
      }

      FileCopyDir, C:\Users\xxxxxxx\AppData\Local\Sifu\Saved\SaveGames\1638.copy\, C:\Users\xxxxxxx\AppData\Local\Sifu\Saved\SaveGames\1638\ , 1
      TrayTip , Reload, Done !, 5 ;show for 5 seconds
      return 

      i replaced my username with xxxxxx
    3. TWJ347
      TWJ347
      • member
      • 0 kudos
      That all looks good to me except for the question mark on the very first line, which shouldn't be there.
    4. mfks98
      mfks98
      • member
      • 0 kudos
      Same problem as me.The script looks correct.
    5. TheRealHardyBoy1
      TheRealHardyBoy1
      • member
      • 0 kudos
      The question mark is not in my script, don't know why it is here. 
    6. TWJ347
      TWJ347
      • member
      • 0 kudos
      I misread your issue the first time.  It seems like the first time you saved with F5, the 1638.copy folder was successfully saved.  Then, after progressing in the game and pressing F5 again to save periodically, you exited the game and hit the F8 key to load, and it loaded the first save that you did with the F5 key instead of the latest save.  Is that correct?

      So it appears that the first F5 save worked, and subsequent saves did not.  I don't know what could cause this.  Try checking the "Date Modified" of the files in 1638.copy\ folder after pressing F5 (the files, not the folder itself).  Some of the files within the folder should have an updated timestamp each time the game is saved with F5, as long as the game itself performed a new save beforehand.  Then, after exiting the game, check the timestamp of the files in the 1638\ folder.  The files should be older than the files in the 1638.copy\ folder.  After pressing F8, the timestamp of the files in the 1638\ folder should match those in the 1638.copy\ folder.  This should help you figure out where things are going wrong.

      You can also try Right Click -> Properties on your "SaveGames" folder.  Uncheck "Read-Only" if it is checked, and apply it to all subfolders and files (the script works fine for me without doing this, but worth a try).  In the Security tab, make sure your username has Full Control of the folder.
    7. TheRealHardyBoy1
      TheRealHardyBoy1
      • member
      • 0 kudos
      https://gyazo.com/d896913597d198d7a98b7474ea68a2b2

      Just tried it again, and it does not work. Each time I press F5 only one time and it creat the folders which you can see above. It seems like it does not even save.

      https://gyazo.com/7c4adaad00180ac79874cb468844f3bd
      https://gyazo.com/8a4462c5cc04799ca8fcae01e5572718

      As you can see the last time it saved was yesterday when I played normally. And every save in each folder has the same timestamp which you see above.

      When i uncheck the Read-Only Box (it was checked) and save that option it is still checked when I reopen the properties with right click. But it seems like i can read/write https://gyazo.com/ef2473ac39a8471ca8ab10c9390d47cf

      And yes I'm admin on my laptop and only have that 1 user.
  6. GPM26
    GPM26
    • premium
    • 18 kudos
    Ty for the script, thats a brilliant time saver!