ACR Updater[CLI]
2014-01-06, 01:06 AM
#1
ACR Updater[CLI]
I have finished implementing what should be a fully featured ACR updater in python3(requires you to have python3 installed to run it). It checks the server for the latest version and downloads it based on Operating System. It will save your data, mods, and configs across updates so you don't have to worry about reinstalling everything.

There is also a mod manager built into it(Though it only supports installing from local mods for now since I broke my server). It will install the mods without overwriting the main files and update the batch/shell script with the new commands to load the mod.

I have tested it and with the following commands, they download the most recent ACR with the fn2000 and mapfix mods and then run it(assumes it runs in the same directory as updater.py and the zips for the mods).

Code:
updater.py init
updater.py updateacr
updater.py installlocalmod fn2000-1.0.zip
updater.py installlocalmod mapfix-1.0.zip
updater.py runclient

Download is here https://github.com/actf/updater/raw/master/updater.py
Github page is here if you want to contribute https://github.com/actf/updater

Since this is also a mod manager I feel I should give a shoutout to the other mod manager out there. rXn made a mod manager with the qt framework https://acrf.victorz.ca/thread-1227.html It appears to overwrite files though so it does not use the mod system. This does save you the hassle of having to edit the batch/shell script(or let a program do it for you), but it also makes it impossible to remove mods.
Post Reply Quote this message in a reply


Messages In This Thread
ACR Updater[CLI] - by ruler501 - 2014-01-06, 01:06 AM
RE: ACR Updater[CLI] - by dm.mossberg590a1 - 2014-01-06, 01:32 AM
RE: ACR Updater[CLI] - by ruler501 - 2014-01-06, 11:33 AM
RE: ACR Updater[CLI] - by rXn - 2014-01-06, 12:46 PM
RE: ACR Updater[CLI] - by ruler501 - 2014-01-06, 01:06 PM
RE: ACR Updater[CLI] - by Playfrog4u - 2014-01-07, 07:02 AM
RE: ACR Updater[CLI] - by ruler501 - 2014-01-07, 11:22 AM
RE: ACR Updater[CLI] - by DeltaStrikeOp - 2014-01-07, 12:53 PM
RE: ACR Updater[CLI] - by rXn - 2014-01-07, 12:59 PM
RE: ACR Updater[CLI] - by ruler501 - 2014-01-07, 03:55 PM
RE: ACR Updater[CLI] - by Playfrog4u - 2014-01-07, 04:28 PM
RE: ACR Updater[CLI] - by rXn - 2014-01-10, 08:36 AM
RE: ACR Updater[CLI] - by ruler501 - 2014-04-06, 08:57 PM
RE: ACR Updater[CLI] - by jonaspm - 2014-04-15, 10:46 PM
RE: ACR Updater[CLI] - by Victor - 2014-04-16, 03:48 PM
RE: ACR Updater[CLI] - by jonaspm - 2014-04-16, 08:21 PM
RE: ACR Updater[CLI] - by rXn - 2014-05-13, 08:00 AM
RE: ACR Updater[CLI] - by Victor - 2014-05-13, 03:28 PM
RE: ACR Updater[CLI] - by rXn - 2014-05-14, 05:21 AM
RE: ACR Updater[CLI] - by rXn - 2014-06-23, 04:49 AM
RE: ACR Updater[CLI] - by ruler501 - 2014-06-25, 04:43 PM
RE: ACR Updater[CLI] - by rXn - 2014-06-27, 04:49 AM
RE: ACR Updater[CLI] - by ruler501 - 2014-06-27, 07:33 AM
RE: ACR Updater[CLI] - by rXn - 2014-06-27, 10:09 AM
RE: ACR Updater[CLI] - by ruler501 - 2014-06-27, 10:31 AM
RE: ACR Updater[CLI] - by Victor - 2014-06-27, 10:36 AM
RE: ACR Updater[CLI] - by ruler501 - 2014-06-27, 10:39 AM
RE: ACR Updater[CLI] - by rXn - 2014-06-27, 11:35 AM
RE: ACR Updater[CLI] - by Victor - 2014-06-27, 11:46 AM
RE: ACR Updater[CLI] - by ruler501 - 2014-06-27, 12:26 PM
RE: ACR Updater[CLI] - by rXn - 2014-06-28, 08:28 AM
RE: ACR Updater[CLI] - by rXn - 2014-07-17, 11:59 AM
RE: ACR Updater[CLI] - by rXn - 2014-10-05, 10:31 AM
RE: ACR Updater[CLI] - by ruler501 - 2015-04-21, 04:16 PM

Forum Jump: