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.4.3.tar.gz (32.0 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.4.3-py3-none-any.whl (67.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for sw_mc_lib-0.4.3.tar.gz
Algorithm Hash digest
SHA256 f946ffdbaad910f7b1aba9d7d5b98d04225f8a7ba5c6f9e2ac4a56daccc3429f
MD5 1a493293677dbc0a990469a6261bd200
BLAKE2b-256 f720b86c622cf5f4774f90754f6eb5ed13d5273c676129e10f776f94c8d38c21

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for sw_mc_lib-0.4.3-py3-none-any.whl
Algorithm Hash digest
SHA256 53995fdfb589efc53a3ddd62d66bedd44016a5c459e525d4bc094d36a1d52561
MD5 314da7ed956a5c57b0d444c42ed991fe
BLAKE2b-256 dea18956e12badbf26dcaac0ebec52ac2d576f6f597d0987b0a5151dfc9d52b5

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