Skip to content

ModCS.ModLoader

The ModCS.ModLoader namespace contains functions related to the Cave Story Mod Loader, developed by Clownacy.

ModCS.ModLoader.WriteByte()

ModCS.ModLoader.WriteByte(address, number)

Replace the byte at address with the number given.

ModCS.ModLoader.WriteWord()

ModCS.ModLoader.WriteWord(address, number)

Replace the word (2 bytes) at address with the number given.

ModCS.ModLoader.WriteLong()

ModCS.ModLoader.WriteLong(address, number)

Replace the long (4 bytes) at address with the number given.

ModCS.ModLoader.WriteWordBE()

ModCS.ModLoader.WriteWordBE(address, number)

Replace the word (2 bytes) at address with the number given, in Big Endian format (reversed byte order).

ModCS.ModLoader.WriteLongBE()

ModCS.ModLoader.WriteLongBE(address, number)

Replace the long (4 bytes) at address with the number given, in Big Endian format (reversed byte order).

ModCS.ModLoader.GetByte()

ModCS.ModLoader.GetByte(address)

Returns the byte found at address.

ModCS.ModLoader.GetWord()

ModCS.ModLoader.GetWord(address)

Returns the word found at address.

ModCS.ModLoader.GetLong()

ModCS.ModLoader.GetLong(address)

Returns the long found at address.