• Please stop embedding files/images from Discord. Discord has anti-hotlinking logic in place that breaks links to Discord hosted files and images when linked to from anywhere outside of Discord. There are a multitude of file/image hosting sites you can use instead.

    (more info here)

Quick Modding/Hacking Answers Thread

Apr 7, 2025 at 5:02 AM
Sincerity will always triumph over irony.
Modding Community Discord Admin
"What're YOU lookin' at?"
Join Date: Apr 23, 2013
Location: In a cave above the surface.
Posts: 1091
Age: 27
Pronouns: He/They
Gender Notes: More info at a later date.
There's only 64 skipflags, anything above that will start poking unrelated memory.
@Bi_N just so it's explicitly clear for everyone, this means the valid range of skipflags is <SK+0000 to <SK+0063. Skipflag 0064 is not valid. Anything higher will not function as skipflags and instead, iirc, it will function like a regular flag as it's bleeding into the next section of memory. To avoid problems just only use 0 to 0063 for skipflag usage and use regular <FL+ for regular flag usage.

Meanwhile the valid range of normal event flags are <FL+0000 to <FL+7999 (8000 flags), but don't actually use flag 0000 because you'll run into other problems (So really it's 1 to 7999 that's safe for those).

And write down the flags that you use somewhere! Like have a .txt document in your mod folder (what I used to do) or write them down at the top of the script for map 0 (what I currently do).
 
Mar 7, 2026 at 3:08 AM
Bi_N Online
Senior Member
"Fly, Fly, Fly!"
Join Date: May 18, 2024
Location: First Cave
Posts: 128
Pronouns: He/him
Gender Notes: Cats are fluffy beings, this therefore makes them aliens.
Alrighty, what does LEA do? Specifically in the situation below:
1772852651498.png

It's in the MakeSoundObject8 function at address 0041A8F0 if that helps.
 
Mar 13, 2026 at 5:12 AM
Sincerity will always triumph over irony.
Modding Community Discord Admin
"What're YOU lookin' at?"
Join Date: Apr 23, 2013
Location: In a cave above the surface.
Posts: 1091
Age: 27
Pronouns: He/They
Gender Notes: More info at a later date.
Alrighty, what does LEA do? Specifically in the situation below:
View attachment 10264

It's in the MakeSoundObject8 function at address 0041A8F0 if that helps.
It calculates the math expression inside [the brackets] and then puts that value in the register (in this case ECX). NOT what's at that memory address, but the value itself.

So like, imagine that the value of edx is 4.
The instruction:
mov ecx, dword[edx+10]
would calculate edx+10 (in this case 4+10 = 14), then get whatever is inside memory address 14 and put that into ecx. If memory address 14 points to the value 0C, then 0C goes into ecx.
Meanwhile, the instruction
lea ecx, dword[edx+10]
also calculates edx+10 (which is 4+10 = 14), but then just puts the 14 into ecx. Doesn't look up the memory.

In the example you have, it puts whatever edx + (eax*8) + 4A4B48 is directly into ecx, no looking at memory.

If you're using ollydbg, you can right click an instruction and select "Help on command".
 
Mar 15, 2026 at 10:23 AM
Neophyte Member
"Fresh from the Bakery"
Join Date: Jun 15, 2025
Location:
Posts: 3
Age: 16
Pronouns: he/him
Gender Notes: Furry ^^
Does anyone know what to use to create a CS2 mod? I speak Spanish and English xdd
56208.jpg
 
Last edited by a moderator:
Mar 15, 2026 at 12:35 PM
Junior Member
"Wow! The more I drink of this magical beverage, the more games I can play! Wheee!"
Join Date: Nov 29, 2025
Location: Venezuela
Posts: 26
Age: 20
Pronouns: He/Him
Maybe you have to ask it to someone that make CSE2 mods
:)
Tal vez tengas que preguntarle a alguien que haga mods para CSE2
:)
 
Mar 15, 2026 at 1:14 PM
Bi_N Online
Senior Member
"Fly, Fly, Fly!"
Join Date: May 18, 2024
Location: First Cave
Posts: 128
Pronouns: He/him
Gender Notes: Cats are fluffy beings, this therefore makes them aliens.
Does anyone know what to use to create a CSE2 mod? I speak Spanish and English xddView attachment 10273
You just gotta go download it from github: CSE2
Though the branches are for different things, e. g. Portable is for porting Cave Story. You're probably going to want to use the enhanced-lite because it's intended for modding.
 
Back
Top