Code Monkey home page Code Monkey logo

Comments (1)

marwanbd83487 avatar marwanbd83487 commented on June 25, 2024

How it works, I think is
the HTML file contains links to mods
the script loads all the mods id's in an array or something from the HTML file then checks if they exist on the server and does a quick integrity/update check
if not,
then download each mod with steamcmd
workkshop_download_item <appid> <modworkshopid>
Arma 3's app id is: 107410

A mod's workshop ID is in the URL for its' workshop page. example mod URL is https://steamcommunity.com/sharedfiles/filedetails/?id=463939057
to download that mod you would type:
workshop_download_item 107410 463939057
the downloaded mod would be in a folder called @463939057
anyways the script downloads each mod,
after downloading a mod, the script will have the mod folder and files changed to lowercase
( NO capital letters, or spaces, to prevent errors).
and then checks each downloaded mod for keys, and moves them to the Keys folder server root directory, which is where the are MPMission folder and Arma 3 EXE are located

after all is finished it adds the mods id's listed in the HTML file to the -mod= startup parameter so the server launches with these mods ( example -mod=@463939057;@2NDMODHERE;@3RDMODHERE; )

(.bikey files are called keys, they are used by the server will allow the client to use the mod)
sample .html mods preset file here https://s3.amazonaws.com/guildtag/file/12395/67509-483799.html
https://community.bistudio.com/wiki/Arma:_Mod_Folders
https://community.bistudio.com/wiki/Arma_3:_Startup_Parameters

list of all the extra configs that can be changed in this JSON file
https://github.com/parkervcp/eggs/blob/master/game_eggs/steamcmd_servers/arma/arma3/egg-arma3.json

from amp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.