• 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

Feb 16, 2016 at 3:15 PM
Senior Member
"This is the greatest handgun ever made! You have to ask yourself, do I feel lucky?"
Join Date: Aug 15, 2015
Location: 0xDEADBEEF
Posts: 111
Pronouns: he/him
You mean this?
p212643-0-z5pdahe.png

Might be a different version, but welp.
I had a different version but I was able to find it. Thank you so much Miccs! ^o^
 
Feb 16, 2016 at 3:35 PM
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
also I'm pretty sure that has to do with being on a 64-bit environment, if you just hit play once it should jump to the 32-bit entry point.
 
Feb 16, 2016 at 3:52 PM
Senior Member
"This is the greatest handgun ever made! You have to ask yourself, do I feel lucky?"
Join Date: Aug 15, 2015
Location: 0xDEADBEEF
Posts: 111
Pronouns: he/him
also I'm pretty sure that has to do with being on a 64-bit environment, if you just hit play once it should jump to the 32-bit entry point.
When you say entry point, you mean that OllyDbg doesn't start in an arbitrary place?
 
Feb 16, 2016 at 3:55 PM
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
When you say entry point, you mean that OllyDbg doesn't start in an arbitrary place?
No, it always starts at the first opcode to be run as part of the program.
 
Feb 16, 2016 at 4:00 PM
Senior Member
"This is the greatest handgun ever made! You have to ask yourself, do I feel lucky?"
Join Date: Aug 15, 2015
Location: 0xDEADBEEF
Posts: 111
Pronouns: he/him
No, it always starts at the first opcode to be run as part of the program.
So basically the code that actually does stuff in the game, managing it overall, yes?
And the stuff before it is all of the initialization code, like the title screen, allocating memory, loading files, setting up weapons and NPC's, preparing rects, etc.?

I wonder how it determines that though.
 
Feb 16, 2016 at 4:07 PM
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
it's uh.. not quite that simple. There's a lot of other stuff that needs to get done too. The WinMain entry point probably won't mean much to you.
The executable format is very complex and I wouldn't waste time worrying about how it all works right away. Just remember that ctrl-g can be used to jump to an address.
 
Feb 16, 2016 at 4:20 PM
Senior Member
"This is the greatest handgun ever made! You have to ask yourself, do I feel lucky?"
Join Date: Aug 15, 2015
Location: 0xDEADBEEF
Posts: 111
Pronouns: he/him
it's uh.. not quite that simple. There's a lot of other stuff that needs to get done too. The WinMain entry point probably won't mean much to you.
The executable format is very complex and I wouldn't waste time worrying about how it all works right away. Just remember that ctrl-g can be used to jump to an address.
I can appreciate the complexity of Assembly, and a little head-wrapping wouldn't hurt. But I also appreciate the useful shortcut. :>
 
Feb 17, 2016 at 1:05 AM
Novice Member
"Officially Worth 1 Rupee"
Join Date: Feb 17, 2016
Location:
Posts: 1
Age: 33
Hi there!

So long story short my Jenka's Nightmare save got fucked up and now I have 0 hp. I was playing with the health in CE but now my health is fucked and every time I change the value, it goes back down to 0. I have no idea what happened to it and I'm right before a Genesis boss. Can anyone fix this?

thx bby
 

Attachments

Feb 19, 2016 at 9:07 AM
Bonds that separate us
Forum Administrator
"Life begins and ends with Nu."
Join Date: Aug 20, 2006
Location:
Posts: 2863
Age: 34
Pronouns: he/him
Hi there!

So long story short my Jenka's Nightmare save got fucked up and now I have 0 hp. I was playing with the health in CE but now my health is fucked and every time I change the value, it goes back down to 0. I have no idea what happened to it and I'm right before a Genesis boss. Can anyone fix this?

thx bby
http://www.cavestory.org/download/miscellaneous-tools.php
There's a save editor on this page I can only assume works properly, otherwise someone else will have to look at the profile and see what's broken
 
Feb 20, 2016 at 3:54 AM
Senior Member
"Wahoo! Upgrade!"
Join Date: Mar 13, 2012
Location: Jourzar
Posts: 64
Question: How might one change the amount of time the intro of Cave Story lasts? It comes up for a while, shows what it needs to show (typically the doc laughing, waltzing over to the crown, then laughing some more), then it fades away and goes to the main menu. So does anyone have a clue as to how I can change the time it takes before it fades out?

Thanks to all who respond!
 
Feb 20, 2016 at 4:05 AM
Senior Member
"Wahoo! Upgrade!"
Join Date: Mar 13, 2012
Location: Jourzar
Posts: 64
Question: What do the "Starting Flags" affect?

p212730-0-fawtg3.png


What will "0X01", "0X04", "0X08", "0X10", "0X20", "0X40" do when I turn them on? What will happen if I check the box with "Needs to be off"? Or for that matter, unchecking "Needs to be on"?

Responses appreciated.
 
Feb 20, 2016 at 12:10 PM
Senior Member
"Huzzah!"
Join Date: Dec 2, 2015
Location:
Posts: 211
Age: 26
Pronouns: he/him
Question: How might one change the amount of time the intro of Cave Story lasts? It comes up for a while, shows what it needs to show (typically the doc laughing, waltzing over to the crown, then laughing some more), then it fades away and goes to the main menu. So does anyone have a clue as to how I can change the time it takes before it fades out?

Thanks to all who respond!

If you go to the script for the intro map (u - Kings) you'll find something like this
upload_2016-2-20_6-6-6.png
This is the event ran with the doctor going up to the crown.
Change it however you want, put in new animations, use <WAI to determine how long, ect.

Question: What do the "Starting Flags" affect?

p212730-0-fawtg3.png


What will "0X01", "0X04", "0X08", "0X10", "0X20", "0X40" do when I turn them on? What will happen if I check the box with "Needs to be off"? Or for that matter, unchecking "Needs to be on"?

Responses appreciated.

No idea what those are, you using Cave Editor? Sorry I use Booster's Lab, and I've never seen these "starting flags" before.
 
Feb 20, 2016 at 12:36 PM
Senior Member
"Huzzah!"
Join Date: Dec 2, 2015
Location:
Posts: 211
Age: 26
Pronouns: he/him
If you remove all the code in the event then the game doesn't work, if you leave the <WAI9999 then there's still an intro which lasts approx. 3 seconds and consists of nothing. I believe he's asking how to change the time between the <WAI9999 being hit and the cut-scene going to the title screen.

Also BL (Booster's Lab) is far superior to CE (Cave Editor) at this point, the only thing BL can't do which CE can is change the "starting flags," let you use any file extension you want (not a filetype, you can't use .pngs or anything, but you can use some made-up filetype just as long as they're essentially .bmps) and change the name of the Profile.dat (saved game) files.
You can change the Profile.dat and .pbm/.bmp extensions to whatever you want using Notepad++'s find (and replace) tool, but it's much more convenient to be able to do it with your editor.
Hopefully someday BL can be the IDE of Cave Story modding, being able to resource hack and such.

Huh, don't really know what these "starting flags" do.

Anyways, yeah, zxin's right, keep the beginning commands and leave the <WAI9999 command at the end. if you want to make it longer, just put some <WAI commands in-between.

Here's an example I did:
upload_2016-2-20_6-35-6.png
It's for a Quote entity, and it just makes him walk back and forth, the more <WAI commands you put, the longer the intro lasts.
 
Feb 20, 2016 at 3:54 PM
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
If you remove all the code in the event then the game doesn't work, if you leave the <WAI9999 then there's still an intro which lasts approx. 3 seconds and consists of nothing. I believe he's asking how to change the time between the <WAI9999 being hit and the cut-scene going to the title screen.

Also BL (Booster's Lab) is far superior to CE (Cave Editor) at this point, the only thing BL can't do which CE can is change the "starting flags," let you use any file extension you want (not a filetype, you can't use .pngs or anything, but you can use some made-up filetype just as long as they're essentially .bmps) and change the name of the Profile.dat (saved game) files.
You can change the Profile.dat and .pbm/.bmp extensions to whatever you want using Notepad++'s find (and replace) tool, but it's much more convenient to be able to do it with your editor.
Hopefully someday BL can be the IDE of Cave Story modding, being able to resource hack and such.

I would have let people change starting flags if they actually did anything besides cause confusion to people like fixer90
 
Feb 20, 2016 at 4:16 PM
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
0049E638 PlayerFlags [0x01 Inspecting | 0x02 Removed | 0x04 Walking | 0x08 | 0x10 | 0x20 | 0x40 | 0x80 Visible | 0x100 Water]
translation: fuckin nothing useful
 
Feb 21, 2016 at 3:45 AM
Bonds that separate us
Forum Administrator
"Life begins and ends with Nu."
Join Date: Aug 20, 2006
Location:
Posts: 2863
Age: 34
Pronouns: he/him
@Fixer90 you only need post once and then edit your old post, double posting is frowned upon.
He didn't double post, he made two threads which both got merged into this one

This is why you shouldn't try to comment on other people's behaviour
 
Feb 22, 2016 at 7:20 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
Right. Since nobody is telling me the offsets for the boss HPs, I've figured it out for myself.
Monster X: 0x047E813______________________________MOV DWORD PTR DS:[ECX+40],2BC
Balfrog: 0x04793E4________________________________MOV DWORD PTR DS:[ECX+40],12C
Core: 0x04744CD__________________________________MOV DWORD PTR DS:[ECX+40],28A
Ironhead: 0x047AA4B______________________________MOV DWORD PTR DS:[ECX+40],190
Sisters: 0x047D2EE________________________________MOV DWORD PTR DS:[ECX+40],1F4
Undead Core: 0x04754C0____________________________MOV DWORD PTR DS:[ECX+40],2BC
Heavy Press: 0x047C985_____________________________MOV DWORD PTR DS:[ECX+40],2BC
Ballos 2nd Form: 0x04774C4_________________________MOV DWORD PTR DS:[ECX+40],320
Ballos 4th Form: 0x0477AE6_________________________MOV DWORD PTR DS:[ECX+40],4B0
 
Feb 22, 2016 at 7:31 AM
Moo~
"Life begins and ends with Nu."
Join Date: Jun 27, 2013
Location:
Posts: 2912
Age: 30
Pronouns: She/Her
If you also need the HP offset for Omega, here you go.
Code:
CPU Disasm
Address   Hex dump          Command                                  Comments
0047B7C9  |.  C705 98BA4B00 MOV DWORD PTR DS:[4BBA98],190
 
Feb 22, 2016 at 7:36 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
@TLincoln:
Oh oops I forgot that sorry

EDIT: Looking at it again, it's the only boss health that doesn't use [ECX+40].
I wonder why.


Awesome, thanks. Still need help with the big bosses health, but this is a good start.
Also would someone be able to help me make the spur go trough solid entities?
Oh yes. I'm sorry to answer this so late, but I'm going to answer this now. I sorta forgot how to do this, since I did it a long time ago.
I think it was because for the Spur bullets, I set all the flags except 'Ignore Solid' and 'No destroy Solid'.
Either that, or just change the number of hits and damage to a ridiculously high value and it'll go through.

EDIT: Oops double post. Meh
 
Last edited by a moderator:
Back
Top