• 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 3, 2016 at 10:49 AM
The miracles of alchemy...!
Bobomb says: "I need a hug!"
Join Date: Jul 20, 2015
Location: Under sea level or something
Posts: 810
Age: 26
Pronouns: 菓子
I honestly blame my shitty laptop for the error.
Try explaining the exact steps you take(Starting from after you opened whatever you were using OllyDbg for) that causes the error.
 
Feb 3, 2016 at 6:14 PM
Senior Member
"Huzzah!"
Join Date: Aug 24, 2013
Location: 0xDEADBEEF
Posts: 211
Pronouns: she/her
Is a 64-bit OllyDbg even needed? Cave story isn't 64-bit(as far as I know) and I use the 32-bit version myself and haven't had any problems.
Also there isn't a 64-bit OllyDbg yet as far as I'm concerned.
CS is 32-bit, but that doesn't really have much to do with what version of olly you use - x64 bit olly will run better on x64-bit computers.
I'm pretty sure there's an x64-bit olly and that I have it downloaded, but I could be wrong. Of course if there isn't, @Kenzo_ITC should consider the other disassembler I linked.
 
Feb 3, 2016 at 10:04 PM
Senior Member
"Huzzah!"
Join Date: Dec 2, 2015
Location:
Posts: 211
Age: 26
Pronouns: he/him
Try explaining the exact steps you take(Starting from after you opened whatever you were using OllyDbg for) that causes the error.

I actually made a thread explaining my problem in the technical issues.

YOU EVEN REPLIED TO IT, SAYING THAT I SHOULD JUST TRY TO REPORT THE PROBLEM, WHICH REALLY DIDN'T HELP.
 
Feb 3, 2016 at 10:15 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
Can someone tell me the asm offsets for the health of each of the 'major room bosses?'

I mean like Balfrog, Monster X, Ballos' third form etc
 
Feb 3, 2016 at 11:07 PM
The miracles of alchemy...!
Bobomb says: "I need a hug!"
Join Date: Jul 20, 2015
Location: Under sea level or something
Posts: 810
Age: 26
Pronouns: 菓子
I actually made a thread explaining my problem in the technical issues.

YOU EVEN REPLIED TO IT, SAYING THAT I SHOULD JUST TRY TO REPORT THE PROBLEM, WHICH REALLY DIDN'T HELP.
I already know this, but I think I had the same error when I used ollydbg about two weeks ago, later than when you started the thread and me answering.
I'm just asking what you did to try and help, no need to get so aggressive tbh.
 
Feb 3, 2016 at 11:39 PM
Senior Member
"Huzzah!"
Join Date: Dec 2, 2015
Location:
Posts: 211
Age: 26
Pronouns: he/him
I already know this, but I think I had the same error when I used ollydbg about two weeks ago, later than when you started the thread and me answering.
I'm just asking what you did to try and help, no need to get so aggressive tbh.

Sorry, I wasn't trying to go off as aggressive.

Well here's how it went:

1. Set up olly, everything's fine...

2. Load up Dokutsu, everything's still fine...

3. Changed some offsets, and copy to excutable.

4. Try to exit out and it says:

"Would you like to save your changes?"

I click yes, and then that's when the error happens...
 
Feb 4, 2016 at 1:20 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
are you sure the file is not read-only
 
Feb 4, 2016 at 5:41 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
that's great but your statement doesn't contribute to a solution and only serves to take away from my attempt to diagnose the situation
 
Last edited:
Feb 4, 2016 at 9:07 AM
The miracles of alchemy...!
Bobomb says: "I need a hug!"
Join Date: Jul 20, 2015
Location: Under sea level or something
Posts: 810
Age: 26
Pronouns: 菓子
Sorry, I wasn't trying to go off as aggressive.
No problem, don't worry.

Well here's how it went:
1. Set up olly, everything's fine...
2. Load up Dokutsu, everything's still fine...
3. Changed some offsets, and copy to excutable.
4. Try to exit out and it says: "Would you like to save your changes?"
I click yes, and then that's when the error happens...
Try editing whatever you wanted to edit, right click whatever you changed and select copy to excutable>all modifications, and then select copy all. Right click in the new window and select save file to save. Then see if it worked.
I might be wrong here since I can't really test wether it works or not right now, but I haven't gotten the error with this method.
 
Feb 4, 2016 at 9:32 AM
Senior Member
"Huzzah!"
Join Date: Dec 2, 2015
Location:
Posts: 211
Age: 26
Pronouns: he/him
Try editing whatever you wanted to edit, right click whatever you changed and select copy to excutable>all modifications, and then select copy all. Right click in the new window and select save file to save. Then see if it worked.
I might be wrong here since I can't really test wether it works or not right now, but I haven't gotten the error with this method.

Tried it, and it gave me the exact same error...

are you sure the file is not read-only

It's not, I checked before-hand.

I know it's something to do with my laptop cause I can use olly just fine on the computers at my school.
 
Last edited:
Feb 4, 2016 at 9:39 AM
The miracles of alchemy...!
Bobomb says: "I need a hug!"
Join Date: Jul 20, 2015
Location: Under sea level or something
Posts: 810
Age: 26
Pronouns: 菓子
Tried it, and it gave me the exact same error...
When did the error appear? Because if you got this when trying to exit&save again you clearly haven't manually saved.
 
Feb 4, 2016 at 10:53 AM
The miracles of alchemy...!
Bobomb says: "I need a hug!"
Join Date: Jul 20, 2015
Location: Under sea level or something
Posts: 810
Age: 26
Pronouns: 菓子
Feb 4, 2016 at 11:24 AM
Senior Member
"Huzzah!"
Join Date: Dec 2, 2015
Location:
Posts: 211
Age: 26
Pronouns: he/him
The right click menu seems to be different than what I have, are you using version 1.10?
If not, try downloading it and try it again.

Also short question of my own: What tiles are used by the motionwall NPC?

Yeah, I had the version 2.0.1

Anyways I downloaded the 1.10

I did everything you said, aaaand olly just flat-out closes out when I save.
Hey, at least I didn't get that error.
And no, the changes were not saved.
 
Feb 4, 2016 at 6:22 PM
Lvl 1
Forum Moderator
"Life begins and ends with Nu."
Join Date: May 28, 2008
Location: PMMM MMO
Posts: 3713
Age: 32
Can someone please tell me how to edit the health of all the bosses that don't appear in Npc.tbl? (Eg. Ballos' 2nd/3rd form, The Undead Core, etc.)
The health for "big bosses" is hard coded into the executable, and is actually a part of their enemy AI. If you go to their ASM functions individually, you should be able to find somewhere in their enemy AI subroutine where they set their HP.
 
Feb 4, 2016 at 9:34 PM
Senior Member
"Huzzah!"
Join Date: Dec 2, 2015
Location:
Posts: 211
Age: 26
Pronouns: he/him
The health for "big bosses" is hard coded into the executable, and is actually a part of their enemy AI. If you go to their ASM functions individually, you should be able to find somewhere in their enemy AI subroutine where they set their HP.

So these big bosses, are they not their own entities?

Would there be any way to change them through the assembler?
 
Feb 4, 2016 at 9:54 PM
Lvl 1
Forum Moderator
"Life begins and ends with Nu."
Join Date: May 28, 2008
Location: PMMM MMO
Posts: 3713
Age: 32
So these big bosses, are they not their own entities?

Would there be any way to change them through the assembler?
They're special entities. They do bigger tile collision checks and stuff, but for the most part, they're a normal "entity", except that they don't appear in the npc table. A sort of super-entity.

I'd recommend using a disassembler to take a look at them at least, but theoretically, you could entirely overwrite their AI functions with the assembler.
 
Feb 5, 2016 at 10:32 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
Can I ask something?

If you offset an NPC, and the asm coding takes up more space than the original, does it overwrite the next NPC as well?
 
Feb 5, 2016 at 2:59 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
what do you mean "offset"
 
Back
Top