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.10.tar.gz (44.8 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.10-py3-none-any.whl (79.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sw_mc_lib-0.4.10.tar.gz
  • Upload date:
  • Size: 44.8 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.10.tar.gz
Algorithm Hash digest
SHA256 a60afc7f5224711b53d9b1992d8580d06b52f066c91ee157074af020b2f02903
MD5 c328ec414d0afa1c2f221515b19a9250
BLAKE2b-256 9ac4686762572f013a0d66273c745d319ba6bc3fee2d66d037e7cac6c8ce4f7e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sw_mc_lib-0.4.10-py3-none-any.whl
  • Upload date:
  • Size: 79.4 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.10-py3-none-any.whl
Algorithm Hash digest
SHA256 923ecf3c79f9dedad869614bd2761b74c4e7301f4179adb7fdc0e637ccb76246
MD5 b6b60d27bc8eb735e719e17f31e995d1
BLAKE2b-256 9d3db0ee37656eeed9ce14117b10e1bee1645bc6a45ae47d0ee9256cab541819

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