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.9.tar.gz (34.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.9-py3-none-any.whl (70.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for sw_mc_lib-0.4.9.tar.gz
Algorithm Hash digest
SHA256 ceb3e8ab62ab49825b323bb717c44b28886cc1576ea48bfbbc44ffe094989e81
MD5 3d4c08a8c0bcd31d679760b7b0612701
BLAKE2b-256 3ff442aa9c774a28fc4ce9c59887d6272f6449d3a055a49bdf707a2b6521c2a6

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for sw_mc_lib-0.4.9-py3-none-any.whl
Algorithm Hash digest
SHA256 849f3e76d2afbaaaa09750a09b874302d20c34b8904f11694b32e0141c0dbae9
MD5 e2659f4e8541e0700b8fe29915cba378
BLAKE2b-256 d3850ef587ba37107557e196780cdd1fe5c32a250f798cb559555ed0e3adacd7

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