Skip to main content

Allows easy manipulation of memory in the Roblox game Circuit Maker 2. Supports MassiveMemory and MassMemory.

Project description

cm2mem

To use, initialize a Memory instance. Use massive=False if you're using a MassMemory and not a MassiveMemory. Use the Memory class as if it were an array, for example: print(mem[123]) or mem[123] = 255. You can also use binary strings as indexes and values, for example: print(mem['00000011']) or mem['0b00000011'] = '00000001'

To initialize a Memory object from pre-existing data (data you copied from a Memory ingame), use Util.load(data). (This will automatically determine the type of memory aswell)

You can use the various functions under the Premade class to (quickly) write values to a MassiveMemory that allow you to use the MassiveMemory as a multiplier, adder, etc.. Premade usage example:

from cm2mem import *
mem = Memory()
Premade.multiplier(mem)
print(mem.pack())

The functions under the Premade class ONLY work with MassiveMemory

You can find a couple utility functions under the Util class.

If you need help with anything, feel free to DM me on Discord @animepfp

May break if memory in Circuit Maker 2 is modified. (DM me if that happens, or if you find a bug)

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

cm2mem-1.0.2.tar.gz (4.3 kB view hashes)

Uploaded Source

Built Distribution

cm2mem-1.0.2-py3-none-any.whl (4.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page