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.
- For composite read/write, this means that properties like
- 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.0.tar.gz
(27.6 kB
view details)
Built Distribution
sw_mc_lib-0.3.0-py3-none-any.whl
(65.6 kB
view details)
File details
Details for the file sw_mc_lib-0.3.0.tar.gz
.
File metadata
- Download URL: sw_mc_lib-0.3.0.tar.gz
- Upload date:
- Size: 27.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | decded478ff687bb5afadbcdd5f0c31b1c9c2c5c63ae257afbb6eba990339e06 |
|
MD5 | c06341c5dfe390669f8cfa4ec46fbcb2 |
|
BLAKE2b-256 | db972d678e102aab2435aff3b6ab3e89615c0afefdbcdf80af0adba544219926 |
File details
Details for the file sw_mc_lib-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: sw_mc_lib-0.3.0-py3-none-any.whl
- Upload date:
- Size: 65.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d89c16c9f626d2b8227e6bfc8bb3965fdb8f8e3905c9ab65996c6f80be8e091c |
|
MD5 | a8032cb6aa9ffb479fc1892ab1ec5cdf |
|
BLAKE2b-256 | 490973aa93b165fb9aded2dc63b77a27bb8449b882a3ca47c4291b576bb395fe |