Jump to content
Sign in to follow this  
Yoma

Yoma's Arma Addon Synchroniser

Recommended Posts

Status update:

- I removed the .pbo restriction so that any file in a modfolder can get zipped and gets its md5calc.

THIS MEANS A POTENTIAL SECURITY RISK: in the final version NEVER PUT ANY IMPORTANT PERSONAL FILES IN A MODFOLDER, we don't need to know your mail logins etc ;-)

It's important to realise that the whole thing is (for the moment) still single addon directory based. It should be possible to do some stuff recursively through all subdirs in some future.

-You get to select the stuff you want to download/upload.

(upload not yet implemented, download works pretty good, but needs some tweaking (ie catching 404's etc)

-Still no statusbars...

-I'll need some betatesters soon.

-I'll get some webby up when i have a better version.

Share this post


Link to post
Share on other sites
Quote[/b] ]-I'll need some betatesters soon.

client and/or serverside? smile_o.gif

Share this post


Link to post
Share on other sites
client and/or serverside?  smile_o.gif

First download side (client) only, later upload side('server'wink_o.gif too.

Remember: the "server" side in this only involves uploading zipped addons and an xml to an ftpserver that makes them accessible through http...

Share this post


Link to post
Share on other sites
Quote[/b] ]First download side (client) only

*Hand raised* biggrin_o.gif

Share this post


Link to post
Share on other sites
Quote[/b] ]First download side (client) only

*Hand raised*  biggrin_o.gif

Ok i've put a new version online.

get it here

-PRIOR TO INSTALLATION: make sure you have .NET 2.0 installed, normally the installer will warn you if it's not installed.

-If you've installed the previous version, remove it prior to installing this version.

-After installing the program exit it, and restart it (a shortcut should be in your programs menu.) DOWNLOAD THE UPDATE!

-NO WORKING UPLOAD CAPABILITY

-PRIOR TO USING THE PROGRAM SHUT DOWN ARMA (remember arma LOCKS FILES/DIRECTORIES)

I'll add a built in check later and force you to shut down arma before launching a compare/download.

-You can create packages via "Create Packages" button on upload tab.

-If you wanna sync an addonfolder with the one i've put online, just click the compare files button on the synchronize tab, wait a bit, normally you should then get a list of files that exist remote.

-To download files, select them in the grid and click download

note: Downloading can take a while (i've put in some files that are about 30MB big zipped, just to test how it handles somewhat bigger files)

During this time the application will seem like it doesn't respond. This is perfectly normal (downloading happens on same thread as gui for now, and again there are no download status bars yet)

After download/install completes you'll get a messagebox.

-Please do not select BIS Addons folder as local folder, not that it should break things, but one never knows, besides, calculating the md5's will take a rather long time i guess.

-After synchronisation you should have a @birdsaddonsfolder with about 160MB of addons.

-Afterwards click "check files again", you will now see if the download worked ok.

-Consider this still Beta beta beta: work in progress, a lot of exceptions are competely unhandled.

-Feedback (does it work for you or doesn't it) is allways welcome, future versions will have some kind of logfile which i'll ask you to send in case of problems.

-IF YOU ARE BEHIND A PROXY SERVER THE APPLICATION WILL NOT WORK (for now)!

-The application will remember stuff you put in the textboxes after you click 'Save', if you messed up the settings just make all the boxes completely blanc, this will restore default settings.

-The way it's implemented for now is still geared towards a single addons folder (yes i have a daytime job, no it's not programming little tools for Arma).

Share this post


Link to post
Share on other sites

Did only a short test for now.

Works fine like described. thumbs-up.gif

Excellent stuff mate. smile_o.gif

Share this post


Link to post
Share on other sites

I've added a check that looks if Arma is running.

When you click a button that will touch files in the arma directory and Arma is running, you should now get a message that asks to shut down Arma. If you click no, the application abords the current operation. You can then continue playing and shut down Arma at a later time.

If you click yes, the application will try to shutdown Arma and continue it's operation.

I've also added a check that looks if the program itself is running so that you can't double start it and create synchronisation mayhem by double synching the same dir.

To install the update simply launch the program . It should ask to install the update.

Currently working on download statusbars,download resume and proxy compatibility for download.

Share this post


Link to post
Share on other sites

-New version with download status bar coming soon.

-Should be compatible with proxies too.

(I can't test as i'm not behind one, looking for a solution to that)

-Dropped the whole resume idea because it lead to too much possibility for corrupt files.

-I NEED SOMEONE TO TELL ME HOW THE Queens Gambit exe is called exactly. (so i can check if that one is running too)

Share this post


Link to post
Share on other sites

Much better version is now online. Download update and test if u like.

Share this post


Link to post
Share on other sites

Synchronize (and download) works very well so far. thumbs-up.gif

Didn't test upload. wink_o.gif

Share this post


Link to post
Share on other sites
Synchronize (and download) works very well so far.  thumbs-up.gif

Didn't test upload.  wink_o.gif

Lol don't bother testing the upload it's ripped apart for the moment.

Share this post


Link to post
Share on other sites

Would it be possible to get some instructions written as to how to properly implement please?

Share this post


Link to post
Share on other sites

New version out.

(Just restart the previous version, to download update or use the link on first page to download and install it)

Changes:

*After clicking compare files or download files, the zipdir in addons folder is removed, a bit cleaner in the long run.

*ON Upload Tab, CREATE ZIPS now creates only new zips + full remote md5sum file.

This enables server admins to upload only the files that changed + the updated checksum file in an easy way.

*Added setting to remove upload tab,by default the uploadtab is removed. Enable it by doubleclicking just under "Synchronise". You will get a question to enable upload tab.

Thanks to the Aussi for some good feedback.

Share this post


Link to post
Share on other sites

Nice chatting with you Yoma, and thanks for spending some time helping me set it up, I shall try the new update and post results. Great work smile_o.gif

Share this post


Link to post
Share on other sites

I think you'll be even more pleased when you see the next version. It now even makes your coffee while downloading addons. rofl.gif

Share this post


Link to post
Share on other sites

New version out. (restart application, install update)

You can now use a small file containing a list of the addon folders you whish to sync, and put that on the server.

Users will then get the possibility to easily download multiple addon folders.

The file should be named

modfolders.txt

It should be a plain text file containing stuff like

@BirdsAddons/Addons

@CSM/Addons

If for example you have a server on http://www.yomatools.be

and there you have 2 modfolders ready to sync.

(http://www.yomatools.be/@BirdsAddons/Addons)

(http://www.yomatools.be/@CSM/Addons)

When you start the application you can add a server.

Make sure the server URL is refering to the location where the modfolders.txt is located (e.g. http://www.yomatools.be/modfolders.txt = location of the modfolders file

in the application you should put http://www.yomatools.be as Server URL

).

The actual modfolders should be under that path.

(look at the example above)

When you click on a modfolder, the application jumps to the sync tab for that modfolder, you only have to click on download and it will automagically sync that folder.

Added a button on the server tab that starts sync for all modfolders on the selected server. You still have to click ok after each folder and it looks like crap when it's downloading...

But... it works.

A bit like out on the battlefield, if it looks good it will most probably get you killed.

Share this post


Link to post
Share on other sites

New version online:

-Fixed bugs in xml creation (certain characters bugged it out)

-When you create packages certain addon names get renamed (filenames seem te be url encoded by editor, this causes download problems on some files (the file will not be found)) => the quickest and easiest solution was to rename the file, which happens automatically now.

-Made it a bit easier to enable upload tab. (just click on the checkbox on the synchronise tab.

Thanks again to Aussie for great feedback!

Btw Aussie: can i include your server in the default server list?

Share this post


Link to post
Share on other sites
Quote[/b] ]Btw Aussie: can i include your server in the default server list?

Sure thing.

Share this post


Link to post
Share on other sites

New version online

*You can now export/import a serverlist.

*And launch Arma with same mods as server.

Share this post


Link to post
Share on other sites

New version out

*Added gameserver ip /port /pwd parameters to servers

*You can now directly launch game and connect to server

*Added gamespyquery so you can check who's logged playing and what the game status is. This still needs some improvement (other thread + refresh + maybe some warningsounds if setup status is reached)

Share this post


Link to post
Share on other sites

Keep up the excellent work Yoma. smile_o.gif

Share this post


Link to post
Share on other sites

New Version out: with great new feature!

When you see those addons in that little listbox , you whish that you just had a little more information about the addon.

Well guess what: IT'S POSSIBLE. The very good guys at arma.info keep the pbo name in every one of there posts.

I just added code so that you can doubleclick on a pbo in the grid and it opens up an explorerer window that queries Arma.info's site for the given addon!

The best thing is: IT WORKS!

Share this post


Link to post
Share on other sites

New Version out

*Downloading the modfolders.txt is now on a different thread.

(else the app would lock up for 30-45 secs if modserver was unreachable)

The only downside is that you get errormessage after the timespan, if webserver is down/file is unreachable.

*You can now "monitor" a server (the app will check if status changed once every 30 secs)

My voice will tell you the gamestatus when it changes.

(good for non JIP missions)

Share this post


Link to post
Share on other sites

Followed this a bit, and sounds promising.

Im trying it atm, and the mod downloading works great, but imo the UI isnt very good, try to make it be more inutitive. well its a Beta anyway biggrin_o.gif

Keep it up.

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  

×