Re: how to decompile bytecode into human readable format
Posted: Mon Dec 21, 2020 2:51 pm
Are you using pybricks? If so, the source code appears to be here: https://github.com/pybricks/pybricks-micropython
Online community discussing all things related to MicroPython
https://forum.micropython.org/
Can you provide these compiled mpy to me? jon <at> cunninglogic <dot> com, or explain to me what a lego spike hub is and where I can buy one?MasterOfGizmo wrote: ↑Sun Nov 29, 2020 8:44 pmAny news on this?
The Lego Spike hub runs micropython and the source code doesn't seem to be public. Its default UI comes in form of a mpy and can easily be downloaded from the device. It would be nice to be able to decompile and modify this.
Check this repo.. this is regularly updated and there is some work going on here related to decompiler.
Thanks, my decompiler is somewhat reliable now, but im off on another project for the time being, work has me slammedmohankrr wrote: ↑Mon Dec 28, 2020 11:26 pmCheck this repo.. this is regularly updated and there is some work going on here related to decompiler.
https://github.com/gpdaniels/spike-prime
The following folder contains the file sytem files (mpy) from various versions of the Lego Spike and Lego Mindstorms inventor firmwares..
https://github.com/gpdaniels/spike-prim ... filesystem
The current version of decompiler is here..
https://github.com/gpdaniels/spike-prim ... decompiler
Some conversations on it is here:
https://github.com/gpdaniels/spike-prime/pull/10