Jump to content
Sign in to follow this  
1longtime

Yoma AddOnSync tool for LINUX

Recommended Posts

This is a PHP script to sync a Linux based Arma2 server to a Yoma repository.

It downloads an AddOnSync "manifest" file (some .7z), parses it for mod files, checks if they've changed, and if so it will delete the stale file and re-download the new one. This is essentially what AddOnSync does. This is useful for repositories that do not allow anonymous FTP or do not have a proper "rsync" server for sync'ed updates.

Download at Armaholic:

http://www.armaholic.com/page.php?id=10732

UPDATED: 6/15/2010

Comes pre-loaded with the ACE2 repository at Kelly's Heroes ( http://www.kellys-heroes.eu/ they maintain an AddOnSync-ready ACE2 mirror, a much needed community service), so this is also a good way to get an updated version of ACE2 on your Linux server without using the SIX Linux workaround.

Edited by 1longtime

Share this post


Link to post
Share on other sites

ArmedAssault.info Mirror and News: :cool:

9470498.gif

We have also added this release to your personal author profile

If a release or contact information is missing, feel free to drop a PM, it will then be added.

And here is the BBCode if you want to add our Mirror to your release post :

[url=http://www.armedassault.info/index.php?cat=utilities&game=1&id=100][img=http://www.armedassault.info/mirrorgen2/9470498.gif][/url]

If you prefer a text only BBCode please copy and paste the code below :

[b]ArmedAssault.info Mirror :[/b]
[url=http://www.armedassault.info/index.php?cat=addons&game=1&id=100]DOWNLOAD - Yoma AddOnSync LINUX (v.1.0) - [4 KB] from ArmedAssault.info[/url][/spoiler]

Share this post


Link to post
Share on other sites

TOOL UPDATED:

1) Now properly handles lower-case filenames used for a Linux dedicated server (the "permanent backup" workaround is no longer necessary).

2) Now handles multiple AddOnSync repositories, running the tool will sync all configured modpack repositories.

Strongly recommend anyone using the old version to download the updated version. The improvements are important.

Edited by 1longtime

Share this post


Link to post
Share on other sites

so i dont understood how it work ^) i mean how to change config.php correctly? ^)

Share this post


Link to post
Share on other sites

Very late response, but the config.php is changed like this:

1) Find the following lines:

# add as many more mods as you like... just copy the next line, uncomment, and edit:

#array_push($mods, array("http://www.some-yoma-link.com/updater/someyomafile.7z", "/home/arma2user/arma2-server/@mymodfolder/"));

2) Remove the # from the second line (the array_push line) and fill out the two fields so:

a) first parameter is the Yoma Autoconfig URL

b) second parameter is the folder where the mods are located

Example to set up Kelley's Heroes ACE Yoma URL with the folder located at "/home/arma2user/arma2-server/@ace2/"

array_push($mods, array("http://www.kellys-heroes.eu/updater/ArmA2ACE-Repository/ArmA2ACE-Repo.7z", "/home/arma2user/arma2-server/@ace2/"));

...then in the folder where this script is located, executed the script with:

php -f addonsync-update.php

This is also contained in the readme.txt.

Edited by 1longtime

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×