Typescript/Javascript KSP MU reader/writer, based on https://github.com/taniwha/io_object_mu
- Get all 'muTS.*' from VanillaJS folder
- Include the muTS.js to the html using
<script src="[location]/muTS.js"></script>
tag
- Get all files from 'AMDModules/bin/'
- Require Mu module from 'Mu.js' (I have never used AMD module resolution outside of TS, I hope you'll figure it out)
new Mu (binary);
will return the interpreted object (Or throw errors). 'binary' is a Uint8Array with .mu filemuObj.Serialize ()
will return the .mu data of the object
Example of an interpreted Mu object:
Example of usage: