SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > Silent Hunter 5
Forget password? Reset here

View Poll Results: Do you sync your games 'online'
Yes I take advantage of this 'service' and sync my games online 10 14.29%
No I dont sync my games online 60 85.71%
Voters: 70. You may not vote on this poll

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 03-24-10, 03:35 PM   #23
remowilliams
Loader
 
Join Date: Mar 2010
Posts: 90
Downloads: 16
Uploads: 0
Default

Quote:
Originally Posted by gutted View Post
I second this. I have it turned off and it still says it's syncing as soon as it hits the main menu.

I have to wait for it to finish before i can play.
I have it turned off as well and it still syncs.

I wrote a little script to semiautomagically archive all my saves to avoid getting screwed by the sync.

Code:
'==========================================================================
'
' NAME: saveback.vbs
'
' PURPOSE: automatically create recursive archive of files in sourcedir
' to an archive in backupdestdir, named with time / date stamp
'
' USAGE: cscript saveback.vbs "c:\sourcedir" "c:\backupdestdir"
' 
'==========================================================================

On Error Resume Next

Set WshShell = WScript.CreateObject("WScript.Shell")
homed = WshShell.CurrentDirectory

Set WshShell = Nothing

Dim objFSO
Set objFSO = WScript.CreateObject("Scripting.FileSystemObject")
set objShell = CreateObject("Wscript.Shell")

Set oArgs = Wscript.Arguments
sourceDir = oArgs.Item(0)
destDir = oArgs.Item(1)

rarpath = "C:\Program Files\WinRAR\rar.exe"
raroptions = " a -r -ep1 -inul "

backupname = Replace(Date, "/", ".") & " " & Replace(Time, ":", ".") & ".rar"

set objExec = objShell.Exec(Chr(34) & rarpath & Chr(34) & raroptions & Chr(34) & destDir & "\" & backupname & Chr(34) & " " & sourceDir & Chr(34))

wscript.echo("Please wait while " & backupname & " is created")

Do While objExec.Status = 0	
	wscript.sleep 1000
	wscript.stdout.write(".")
Loop
remowilliams is offline   Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 01:24 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.