Official Fulqrum Publishing forum

Official Fulqrum Publishing forum (http://forum.fulqrumpublishing.com/index.php)
-   Daidalos Team discussions (http://forum.fulqrumpublishing.com/forumdisplay.php?f=202)
-   -   Would an Auto Updater benefit Daidalos Team and the community? (http://forum.fulqrumpublishing.com/showthread.php?t=35174)

EJGr.Ost_Caspar 10-22-2012 06:23 AM

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.

fly_zo 10-22-2012 11:29 AM

1 Attachment(s)
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

TheGrunch 10-22-2012 11:39 AM

Quote:

Originally Posted by EJGr.Ost_Caspar (Post 471908)
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.

T}{OR 10-23-2012 11:19 AM

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

+1

TheGrunch 10-23-2012 03:28 PM

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.

theOden 10-23-2012 05:28 PM

I like the idea.
:thumbsup:

wheelsup_cavu 11-28-2012 05:16 AM

Quote:

Originally Posted by fly_zo (Post 472006)
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


All times are GMT. The time now is 08:59 AM.

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