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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file cm2mem-1.0.2.tar.gz.

File metadata

  • Download URL: cm2mem-1.0.2.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.5

File hashes

Hashes for cm2mem-1.0.2.tar.gz
Algorithm Hash digest
SHA256 c791862edf3934711b1d76d33482973881ff3fd631daad03d7980839a423a904
MD5 2da78f8b37ca5e1c9a24f508a578c59a
BLAKE2b-256 bf48514e55eac6d4380e3b91aa225a5192214617a145cfa8ce638ab6da12de46

See more details on using hashes here.

File details

Details for the file cm2mem-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: cm2mem-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.5

File hashes

Hashes for cm2mem-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 43970427aa38ca8774d3060d4101e2781092fbaec6fc5c9b79b90875ccf69b10
MD5 7066dfc78492c0b3816ccad80ba655f8
BLAKE2b-256 1277756833c3416021bd75f03f602e1ec11e228cce53f69353a6d64ef6bf4f7f

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