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
  #11  
Old 10-22-2012, 06:23 AM
EJGr.Ost_Caspar EJGr.Ost_Caspar is offline
Approved Member
 
Join Date: Dec 2007
Posts: 939
Default

Not being in such stuff... was it possible to have more than one server to load from? As you know, we mainly rely on mirrors.
__________________

----------------------------------------------
For bugreports, help and support contact:
daidalos.team@googlemail.com

For modelers - The IL-2 standard modeling specifications:
IL-Modeling Bible
Reply With Quote
  #12  
Old 10-22-2012, 11:29 AM
fly_zo's Avatar
fly_zo fly_zo is offline
Approved Member
 
Join Date: Oct 2007
Location: Zagreb, Croatia
Posts: 234
Default

swell, another app which would cause more confusion and possible screwed game installations ( faulty download ; broken files which cannot be checked after update ...etc.)

please stick with classic patch style or give us option to choose .

regards
Z
Attached Images
File Type: jpg HSFX-update error.jpg (103.4 KB, 34 views)
__________________


Born to fly...forced to work!!!
Reply With Quote
  #13  
Old 10-22-2012, 11:39 AM
TheGrunch's Avatar
TheGrunch TheGrunch is offline
Approved Member
 
Join Date: Oct 2009
Location: United Kingdom
Posts: 843
Default

Quote:
Originally Posted by EJGr.Ost_Caspar View Post
Not being in such stuff... was it possible to have more than one server to load from? As you know, we mainly rely on mirrors.
Hi Caspar,
Depending upon the program used as the basis for the updater (rsync is one of the best bandwidth-wise as it only transfers changed files), nearly any number of mirrors could be provided. Using rsync or similar is usually as simple as distributing the sync software and including a short batch file, e.g.

Code:
@echo off
if not exist il2fb.exe goto :noexeerror
echo Sync IL-2 1946 with mirror:
echo 1 - http://www.jgzbv.de/downloads/IL2-46/
echo 2 - http://www.atomicgamer.com/files/IL2-46/
set /p mirror= Please enter mirror number: 
goto %mirror%
:1
echo cwrsync -avz http://www.jgzbv.de/downloads/IL2-46/ ./
goto :eof
:2
echo cwrsync -avz http://atomicgamer.com/files/IL2-46/ ./ 
goto :eof
:noexeerror
echo Please run from the main IL-2 1946 directory!
Try it out, just create a file with the above content, name it whatever.bat and run it from the command prompt in a directory that also contains a file called il2fb.exe. It won't do anything because the actual file operations are just printed in this example but it proves the concept. If there is no il2fb.exe it prints an error and exits. There are various ways to make this more sophisticated including providing the mirrorlist as a separate file that can also be updated.

However, if the mods have a more sophisticated updater built around this concept already that could possibly update itself and its own mirror list etc., I don't see why it wouldn't be easier to just use that providing the authors are happy for you to do so.

Last edited by TheGrunch; 10-22-2012 at 12:02 PM.
Reply With Quote
  #14  
Old 10-23-2012, 11:19 AM
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
  #15  
Old 10-23-2012, 03: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
  #16  
Old 10-23-2012, 05:28 PM
theOden theOden is offline
Approved Member
 
Join Date: May 2011
Location: Sweden
Posts: 221
Thumbs up

I like the idea.
:thumbsup:
__________________
Reply With Quote
  #17  
Old 11-28-2012, 05:16 AM
wheelsup_cavu's Avatar
wheelsup_cavu wheelsup_cavu is offline
Approved Member
 
Join Date: Jan 2009
Location: Riverside County, California
Posts: 302
Default

Quote:
Originally Posted by fly_zo View Post
swell, another app which would cause more confusion and possible screwed game installations ( faulty download ; broken files which cannot be checked after update ...etc.)

please stick with classic patch style or give us option to choose .

regards
Z
I agree with fly-zo on this one. I am not at all interested in an auto updater but if one comes about I want the option to chose not to use it and still be able to get the updated content by other means.


Wheels
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 10:24 PM.


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