Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to download/update mods from from file preset. #4

Open
ogaseb opened this issue Feb 16, 2021 · 2 comments
Open

Add ability to download/update mods from from file preset. #4

ogaseb opened this issue Feb 16, 2021 · 2 comments

Comments

@ogaseb
Copy link

ogaseb commented Feb 16, 2021

Hi there! I hope you're doing great in this covid time. I have a small question. Is it possible to make this script take a file with id's of the mod and check if they exist already and if not download/update them? My very simple node parser is capable of generating a very simple txt file with all info needed for this from the HTML preset file.

...
@2071282396 - BRF Faction Pack
@861133494 - JSRS SOUNDMOD
@1624803912 - JSRS SOUNDMOD - CUP WEAPONS MOD SOUND SUPPORT
@2127693591 - Real Engine
@825174634 - Suppress
@825172265 - Immerse
@2179632906 - Task Force 132 Sounds
@1981964169 - CUP Terrains - Maps 2.0

-mod="@843425103;@843577117;@450814997;@583496184;@843593391; ... "

@843425103;@843577117;@450814997;@583496184;@843593391; ...

https://github.com/ProPanek/Arma3ModsPresetParser

I'm using it now for our hosted server with TCAdmin, but I want to automate this process as much as possible on my machine.

After getting my mini PC (where I will be hosting a small arma 3 server and do some dev stuff) I will probably try to implement it myself somehow, and maybe then making a PR for your script with new arg. etc. And now I'm curious if you were planning to add something like this by yourself in the future? (there is a chance my attempt will be a failure as I have no experience with bash scripting :P )

@ogaseb
Copy link
Author

ogaseb commented Feb 16, 2021

Hmm or at least it would be great to add the ability to download the mod by something like ./a3upddownmods.sh -d 'modID' and then I could handle downloading mods one by one in my nodejs script. But yeah, those are just suggestions.

@Varrkan82
Copy link
Owner

Varrkan82 commented Feb 18, 2021

Hi. I'm thinking about to add something like a batch mods downloading. It could be something like a list in a file or just a list of IDs in a CLI as a parameters. Unfortunately have a lack of time currently to implement something big like this functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants