Quick Modding/Hacking Answers Thread

Jun 22, 2016 at 12:39 AM
In my body, in my head
Forum Moderator
"Life begins and ends with Nu."
Join Date: Aug 28, 2009
Location: The Purple Zone
Posts: 5998
Pronouns: he/him
quote doesn't move at one pixel per tick though
as well, is he going full speed? are you in the air? is the booster being used? there are a lot of considerations.
 
Jun 22, 2016 at 1:06 AM
Soup Man
"In Soviet Russia, graves keep YOU!"
Join Date: Jul 15, 2014
Location: IN YOUR HEAD, SHIT FOR BRAINS
Posts: 670
Age: 8
Pronouns: she/her
How do I put the Guest tileset, and the Weed tileset on one map w/out sprite glitches?
 
Jun 22, 2016 at 1:09 AM
Its dark in here
"Deaths: 4000"
Join Date: Nov 21, 2013
Location: farther
Posts: 922
Age: 27
Pronouns: he/him
How do I put the Guest tileset, and the Weed tileset on one map w/out sprite glitches?
make sure the npc's are set to the correct tile sets

as a matter a fact you can have npc's set to the Guest sprites rather than the 2 sprite sets set to the map
 
Jun 22, 2016 at 1:11 AM
Soup Man
"In Soviet Russia, graves keep YOU!"
Join Date: Jul 15, 2014
Location: IN YOUR HEAD, SHIT FOR BRAINS
Posts: 670
Age: 8
Pronouns: she/her
Jun 22, 2016 at 1:13 AM
Its dark in here
"Deaths: 4000"
Join Date: Nov 21, 2013
Location: farther
Posts: 922
Age: 27
Pronouns: he/him
Both of them need to be at Tileset 1. How do I change that?
make some of the npc's you are using set to tileset 2, or if thats already being used for a boss, use the tileset that isn't guest for the tileset 1 and just set the npc's to take sprites from guest
 
Jun 22, 2016 at 1:15 AM
Soup Man
"In Soviet Russia, graves keep YOU!"
Join Date: Jul 15, 2014
Location: IN YOUR HEAD, SHIT FOR BRAINS
Posts: 670
Age: 8
Pronouns: she/her
make some of the npc's you are using set to tileset 2, or if thats already being used for a boss, use the tileset that isn't guest for the tileset 1 and just set the npc's to take sprites from guest
Ohhh! I'm sorry. I misunderstood your last post. I'll go set them to tileset 2. Thank you!
 
Jun 22, 2016 at 8:15 AM
Deliverer of Sweets
Bobomb says: "I need a hug!"
Join Date: Jul 20, 2015
Location: Under sea level or something
Posts: 804
Age: 26
Pronouns: 菓子
How do I change how much damage you get when make contact with Balrog.(when fighting him, of course.)
 
Jun 22, 2016 at 10:17 AM
Catz R cool
Modding Community Discord Moderator
"..."
Join Date: Nov 23, 2015
Location: Somewhere within a world far away from reality...
Posts: 381
Age: 24
Pronouns: he/him
How do I change how much damage you get when make contact with Balrog.(when fighting him, of course.)
I'm assuming you mean the first Balrog fight?
CPU Disasm
Address Command
00435024 MOVZX EAX,BYTE PTR DS:[49E638]
0043502B OR EAX,00000002
0043502E MOV BYTE PTR DS:[49E638],AL
00435033 PUSH 2
00435035 CALL 00419910
0043503A ADD ESP,4
0043503D JMP 0043525B
Replace PUSH 2 with the hex of the required damage.
EDIT: I'll just post the rest of the balrogs just cause I can.
CPU Disasm
Address Command
00428736 MOV ECX,DWORD PTR SS:[EBP+8]
00428739 MOV DWORD PTR DS:[ECX+0A4],5
00428743 JMP SHORT 00428752
^ For Balrog shooting, the 5 is the value of damage.
CPU Disasm
Address Command
0042D326 MOV ECX,DWORD PTR SS:[EBP+8]
0042D329 MOV DWORD PTR DS:[ECX+0A4],0A
0042D333 JMP SHORT 0042D342
^ For when Balrog lands on Quote, 0A is the value of damage.
CPU Disasm
Address Command Comments
00448DB6 MOVZX EDX,BYTE PTR DS:[49E638]
00448DBD OR EDX,00000002
00448DC0 MOV BYTE PTR DS:[49E638],DL
00448DC6 PUSH 5
00448DC8 CALL 00419910
00448DCD ADD ESP,4
00448DD0 JMP 00449211
^ For balrog missiles, once again 5 is the damage
If you also need Balfrog, I'll post it later
 
Last edited:
Jun 22, 2016 at 2:43 PM
Soup Man
"In Soviet Russia, graves keep YOU!"
Join Date: Jul 15, 2014
Location: IN YOUR HEAD, SHIT FOR BRAINS
Posts: 670
Age: 8
Pronouns: she/her
I'm assuming you mean the first Balrog fight?
CPU Disasm
Address Command
00435024 MOVZX EAX,BYTE PTR DS:[49E638]
0043502B OR EAX,00000002
0043502E MOV BYTE PTR DS:[49E638],AL
00435033 PUSH 2
00435035 CALL 00419910
0043503A ADD ESP,4
0043503D JMP 0043525B
Replace PUSH 2 with the hex of the required damage.
EDIT: I'll just post the rest of the balrogs just cause I can.
CPU Disasm
Address Command
00428736 MOV ECX,DWORD PTR SS:[EBP+8]
00428739 MOV DWORD PTR DS:[ECX+0A4],5
00428743 JMP SHORT 00428752
^ For Balrog shooting, the 5 is the value of damage.
CPU Disasm
Address Command
0042D326 MOV ECX,DWORD PTR SS:[EBP+8]
0042D329 MOV DWORD PTR DS:[ECX+0A4],0A
0042D333 JMP SHORT 0042D342
^ For when Balrog lands on Quote, 0A is the value of damage.
CPU Disasm
Address Command Comments
00448DB6 MOVZX EDX,BYTE PTR DS:[49E638]
00448DBD OR EDX,00000002
00448DC0 MOV BYTE PTR DS:[49E638],DL
00448DC6 PUSH 5
00448DC8 CALL 00419910
00448DCD ADD ESP,4
00448DD0 JMP 00449211
^ For balrog missiles, once again 5 is the damage
If you also need Balfrog, I'll post it later
Or you can just do it in CE by going to his NPC settings and changing the Attack damage.
 
Jun 22, 2016 at 4:43 PM
Eevee Enthusiast
"Big Joe Tire and Battery Restaurant! Opening Soon! Eat at Big Joes!"
Join Date: Mar 26, 2014
Location: Somewhere with Wi-Fi
Posts: 541
Age: 27
Pronouns: he/him
Or you can just do it in CE by going to his NPC settings and changing the Attack damage.
You can do the same in Booster's Lab using the "Edit npc.tbl" feature under "Entities".
 
Jun 22, 2016 at 4:50 PM
Deliverer of Sweets
Bobomb says: "I need a hug!"
Join Date: Jul 20, 2015
Location: Under sea level or something
Posts: 804
Age: 26
Pronouns: 菓子
Jun 22, 2016 at 4:52 PM
Eevee Enthusiast
"Big Joe Tire and Battery Restaurant! Opening Soon! Eat at Big Joes!"
Join Date: Mar 26, 2014
Location: Somewhere with Wi-Fi
Posts: 541
Age: 27
Pronouns: he/him
Jun 22, 2016 at 5:49 PM
Eevee Enthusiast
"Big Joe Tire and Battery Restaurant! Opening Soon! Eat at Big Joes!"
Join Date: Mar 26, 2014
Location: Somewhere with Wi-Fi
Posts: 541
Age: 27
Pronouns: he/him
the npc.tbl lets you edit touch damage to.

but not this, I think you need asm for that
p217531-0-vftr4dm.png
Despite being Balrog's first form, it doesn't show how much damage his grapple does. However, it does let you change his health; in this case, Balrog's health would be 300 instead of whatever it would be when you first fight him in vanilla Cave Story.
 
Jun 22, 2016 at 11:24 PM
Catz R cool
Modding Community Discord Moderator
"..."
Join Date: Nov 23, 2015
Location: Somewhere within a world far away from reality...
Posts: 381
Age: 24
Pronouns: he/him
p217531-0-vftr4dm.png
Despite being Balrog's first form, it doesn't show how much damage his grapple does. However, it does let you change his health; in this case, Balrog's health would be 300 instead of whatever it would be when you first fight him in vanilla Cave Story.
Changing the damage seems to combine the damage with the one in asm. So if you set the first form damage to 8, it will do 10 (Dec) damage altogether. But sometimes it just does 8 and doesn't hug you.
 
Jun 23, 2016 at 12:08 PM
Deliverer of Sweets
Bobomb says: "I need a hug!"
Join Date: Jul 20, 2015
Location: Under sea level or something
Posts: 804
Age: 26
Pronouns: 菓子
I'm assuming you mean the first Balrog fight?
CPU Disasm
Address Command
00435024 MOVZX EAX,BYTE PTR DS:[49E638]
0043502B OR EAX,00000002
0043502E MOV BYTE PTR DS:[49E638],AL
00435033 PUSH 2
00435035 CALL 00419910
0043503A ADD ESP,4
0043503D JMP 0043525B
Replace PUSH 2 with the hex of the required damage.
So I replaced 2 with something higher, and it only worked when he was leaping at me.
Did I do something wrong?
 
Jun 23, 2016 at 12:22 PM
Catz R cool
Modding Community Discord Moderator
"..."
Join Date: Nov 23, 2015
Location: Somewhere within a world far away from reality...
Posts: 381
Age: 24
Pronouns: he/him
So I replaced 2 with something higher, and it only worked when he was leaping at me.
Did I do something wrong?
So... does he only do damage when he's jumping, or does he only do a higher amount of damage when jumping?
 
Jun 23, 2016 at 12:26 PM
Deliverer of Sweets
Bobomb says: "I need a hug!"
Join Date: Jul 20, 2015
Location: Under sea level or something
Posts: 804
Age: 26
Pronouns: 菓子
He does more damage while leaping at me, but still does 2 damage when he runs into me.
 
Jun 23, 2016 at 12:35 PM
Catz R cool
Modding Community Discord Moderator
"..."
Join Date: Nov 23, 2015
Location: Somewhere within a world far away from reality...
Posts: 381
Age: 24
Pronouns: he/him
He does more damage while leaping at me, but still does 2 damage when he runs into me.
Hmm... did you change the damage he does in npc.tbl? Because you shouldn't

EDIT: I missed one of the damage functions. This should be the other one.
CPU Disasm
Address Command
00434EF6 PUSH 2
00434EF8 CALL 00419910
00434EFD ADD ESP,4
00434F00 JMP 0043525B
^ This is for the damage while running. Separate to the damage while jumping on you
 
Last edited:
Back
Top