Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > IL-2 Sturmovik > Daidalos Team discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 10-23-2012, 12:19 PM
T}{OR's Avatar
T}{OR T}{OR is offline
Approved Member
 
Join Date: Feb 2008
Location: Zagreb, Croatia
Posts: 833
Default

ED has gone the same way with the latest v1.2.1 of the DCS World.

+1
__________________

LEVEL BOMBING MANUAL v2.0 | Dedicated Bomber Squadron
'MUSTANG' - compilation of online air victories
Reply With Quote
  #2  
Old 10-23-2012, 04:28 PM
TheGrunch's Avatar
TheGrunch TheGrunch is offline
Approved Member
 
Join Date: Oct 2009
Location: United Kingdom
Posts: 843
Default

Here's an example cobbled together which uses a mirrorlist.txt file:

Code:
@echo off
set index=1

if not exist il2fb.exe goto :noexeerror

echo Sync IL-2 1946 with mirror:

setlocal enabledelayedexpansion
for /f "tokens=*" %%f in (mirrorlist.txt) do (
set url!index!=%%f
echo !index! - %%f
set /a index=!index!+1
)

setlocal disabledelayedexpansion

set /p selection= Please enter mirror number: 
set url%selection% >nul 2<&1

if errorlevel 1 (
	echo Invalid number selected!
	pause
	goto :eof
)

call :resolve %%url%selection%%%

echo Selected mirror: %mirror%
echo Replace this command with sync command for %mirror%

pause

goto :eof

:resolve
set mirror=%1
goto :eof

:noexeerror
echo Please run from the main IL-2 1946 directory!
pause
mirrorlist.txt is simply any text file with a single URL to each line. The bold line should be replaced with a reference to the sync software. There are several pieces of software which will do this kind of task easily from a command line in Windows, but Duplicati seems the most complete.
Reply With Quote
Reply


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. The time now is 01:21 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.