Skip to content

Instantly share code, notes, and snippets.

View DISREL's full-sized avatar
:shipit:

Karan (Nat) DISREL

:shipit:
View GitHub Profile
@DISREL
DISREL / arma3-preset2steamcmd.py
Created November 29, 2024 12:00
ARMA3-Preset2SteamCMD
# This script parses ARMA 3 Mod Presets (.html) and downloads them using SteamCMD
# Requires SteamCMD to be installed on OS
import re
import os
def install_mods(mods, install_path, username, password):
for mod_id in mods:
try:
os.system(f'steamcmd +login {username} {password} +force_install_dir {install_path} +workshop_download_item 107410 {mod_id} validate +quit')
except Exception as e:

Keybase proof

I hereby claim:

  • I am disrel on github.
  • I am disrel (https://keybase.io/disrel) on keybase.
  • I have a public key ASBbG1OUJz_kXguu5VOzJ0hh8t87WBxyF0U148ecrl3Ukgo

To claim this, I am signing this object: