fmsetr.blogg.se

Factorio download for linux
Factorio download for linux







factorio download for linux

The selectors used to retrieve version numbers and build combinations are presented below, but they are probably obsolete. The previous endpoints for experimental and headless releases and now both redirect to this page containing only the latest releases: It is also better to rely on the endpoint and version number comparisons to distinguish between stable and experimental versions than to extract that information from the download HTML page with selectors. The second method has a clear advantage of reliability through potential HTML structure changes and simplicity. Where structure described in the section above.username_or_email: your username or email address.csrf_token: the CSRF token you grabbed earlier.

factorio download for linux

  • XPATH1: Then send a POST request with the following parameters:.
  • CSS1: input (and then take the "value" attribute).
  • There's a CSRF token you'll need to grab which can be found using one of the following selectors:
  • Create an HTTP session and send a GET request.
  • (I'll document that later, promise!)ĭownloading Factorio requires an authenticated session with the web server, which is different than the typical API authentication mechanism. Also note that's there's a separate, (semi)official API for upgrading between releases, which should be used when possible to lighten the load on the Factorio servers. Mods can also be enabled or disabled from this menu. If the mod is installed correctly, start Factorio, and it should show on the 'mods' page accessed from the game's main menu.

    #Factorio download for linux for mac os

    For Mac OS X: /Library/Application Support/factorio/mods. Please update this page if you utilize it and the information becomes outdated. For Windows: C:\Users\user name\AppData\Roaming\Factorio\mods\ For Linux: /.factorio/mods. It's not so much of an API as it is web scraping, but it's documented here for completeness. This API allows you to download official releases of stand-alone Factorio from the Factorio servers.









    Factorio download for linux