Skip to main content

Library for interaction with Stormworks Microcontrollers

Project description

sw_mc_lib

Stormworks Microcontroller library

This is a library aimed at simplifying parsing, manipulating and formatting Stormworks Microcontrollers (Microprocessors). It includes a custom XML parser, that allows for the games quirks, and is tailored to the needs. It may be used without the Microcontroller parser, if you want to parse i.e. Vehicles.

Goals

  • Make Microprocessor parsing great again
  • Accurate emulation of the games behaviour
  • In case of a conflict, use the design from the GUI rather than the XML
    • For composite read/write, this means that properties like start_channel are one based like in the gui rather than zero based.
    • Several names have been changed towards the GUI language.
  • Try to parse reasonably ill-formed Microcontrollers and use defaults where necessary
  • Don't use RegEx (it has other uses, but not this one)

In case you see any violation of those rules, feel free to open an issue.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sw_mc_lib-0.3.1.tar.gz (26.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sw_mc_lib-0.3.1-py3-none-any.whl (59.2 kB view details)

Uploaded Python 3

File details

Details for the file sw_mc_lib-0.3.1.tar.gz.

File metadata

  • Download URL: sw_mc_lib-0.3.1.tar.gz
  • Upload date:
  • Size: 26.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for sw_mc_lib-0.3.1.tar.gz
Algorithm Hash digest
SHA256 1abb3febe3aa390467643440d2394c6a4d135ad1ae428051f3502a11499d3cd7
MD5 7154bb44ca5788bb958d98e0df8e83b0
BLAKE2b-256 bf2e3e4074d1a3d13132e56b9cf85493a9da1a94357497384f703be6fe338d62

See more details on using hashes here.

File details

Details for the file sw_mc_lib-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: sw_mc_lib-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 59.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for sw_mc_lib-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f3914e17aafff77e4de2ced0aa29b9672dd175c8e403e7e9fbb825c4cfd8f0e3
MD5 f85247d37890fb0a2d3b9982788c1279
BLAKE2b-256 a4c3ec3db5969107ba20681069c558b0af30bd9d01925c606118b148a662168d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page