Golden Sun Hacking Community
July 22, 2018, 08:41:31 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
  Home   Forum   DC Wiki Help Search Calendar Downloads Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Game Crash from falling Z-coordinate and retreat glitch  (Read 679 times)
0 Members and 1 Guest are viewing this topic.

Regular Member
**

Coins: 2
Offline Offline

Posts: 135

« on: September 08, 2017, 06:09:37 PM »

https://www.youtube.com/watch?v=Ki_aclH14a4

Found by fx (definitelynotfx on twitch)

Going into the ICG state in this particular room and jumping around will cause your Z coordinate to descend infinitely. Entering retreat mode and then save/reset will cause a game crash on load. Apparently it causes the glitch out making noises similar to https://www.youtube.com/watch?v=BPwQR8xeEGU
Logged
View Profile
Fox
Fox McCloud, the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 28
Offline Offline

I am: certainly not a Gallant!
Clan Position: Head Gallant
Posts: 2412

« Reply #1 on: September 08, 2017, 09:19:09 PM »

Oh cool... About the infinite falling thing... But doesn't the crash happen without the ladder glitch as well? Hmm...

I'll look, but it wouldn't surprise me if both rooms used different map code files and that's why. No idea, yet, though.


Edit:  They do use different map code files. But not sure which part causes the crash yet.


Edit:  It is possible this could be similar to the mirror puzzles.... there's pointers to 02009AA9... see the objects at 02030EBC... will look a little further, though.
Those are the Lift blocks.
« Last Edit: September 08, 2017, 09:39:06 PM by Fox » Logged

Golden Sun Docs: Broken Seal - The Lost Age - Dark Dawn | Mario Sports Docs: Mario Golf & Mario Tennis | Misc. Docs
Refer to Yoshi's Lighthouse for any M&L hacking needs...

Remember kids! Before you go on that interview, remember to wash your hands in teawater! *Coughs on hand* (Excuse me, I just coughed up a little teawater, so they're still clean!) You wouldn't want that hiring manager to be unimpressed.

May the force be with you!
Shoo! Why does it smell in here?
Maybe that's the wrong kind of force. *smirk*
View Profile

Regular Member
**

Coins: 2
Offline Offline

Posts: 135

« Reply #2 on: September 08, 2017, 09:34:52 PM »

I played around trying to get the crash just by lowering the Z-coordinate, but I was unable to replicate it. It definitely is because of the infinitely falling Z-coordinate. It is probably similar to the Anemos sanctum crash.
Logged
View Profile
Fox
Fox McCloud, the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 28
Offline Offline

I am: certainly not a Gallant!
Clan Position: Head Gallant
Posts: 2412

« Reply #3 on: September 08, 2017, 09:48:06 PM »

I tried it again.
I went to the Retreat Map (Went to World Map and back just to make sure it sets it correctly.)
Then I went to that room.
(Did not bother with ladder glitch... even though I did try that a little earlier.)
I Retreat Glitch.
Save.
Restart.
(Made sure Debug Mode was on because that's what I usually use/and since it can affect sanctum warping.)
And I get a crash.

So unless I did something wrong (doubt it), there's definitely a crash not involving glitching the z-coord.  (At the minimum.) ... (Doesn't prove changing the coords can't cause a crash, but anyway.... I need to investigate those Lift blocks.... since those are like the only "objects" here... (Other than chests/Isaac)  ... Like 4 objects in list (if ignoring Isaac)... and two of them (Lift blocks) appear to be at (0,0)?)

^I mean, the code pointers in the NPC data ... when called... when a different map code file is used... would cause a memory leak  (depending on pointer) ... (What do you call it when you skip putting stuff in the stack/take it out as though it were there?) ... which basically messes everything up.... esp. when return addresses are put in the stack, and some values that aren't return addresses are treated as such.
« Last Edit: September 08, 2017, 10:09:33 PM by Fox » Logged

Golden Sun Docs: Broken Seal - The Lost Age - Dark Dawn | Mario Sports Docs: Mario Golf & Mario Tennis | Misc. Docs
Refer to Yoshi's Lighthouse for any M&L hacking needs...

Remember kids! Before you go on that interview, remember to wash your hands in teawater! *Coughs on hand* (Excuse me, I just coughed up a little teawater, so they're still clean!) You wouldn't want that hiring manager to be unimpressed.

May the force be with you!
Shoo! Why does it smell in here?
Maybe that's the wrong kind of force. *smirk*
View Profile
Pages: [1]   Go Up
  Print  
 
Jump to:  

Cbox
Yesterday at 09:19:06 PM
Salanewt: Time to upload that "EXP gain when KO'd" patch I made a month ago.
Yesterday at 09:18:48 PM
Salanewt: Oh hey, the site's back up!
July 18, 2018, 10:49:52 PM
roger: I can post but it goes to an error page when I submit.
July 18, 2018, 05:24:12 PM
zman9000: Site is back WOO!
May 09, 2018, 12:35:37 AM
KyleRunner: The "Start In" field is not editable... I'll try making new shortcuts
May 08, 2018, 09:51:08 PM
Fox: If all else fails, you canmake new Shortcuts to do the same thing.
May 08, 2018, 09:49:53 PM
Fox: Export Properties > Shortcut (Tab) > Target / Start In ; Target (for Export) should be: (filename) 0 , and for Import: (filename) 1
May 08, 2018, 08:52:00 PM
KyleRunner: I can't change the path in properties menu...
May 08, 2018, 01:27:19 AM
Fox: You may need to edit something in properties, though... so it uses the exe file in the same directory.
May 08, 2018, 01:24:59 AM
Fox: It is suppose to be a shortcut, yes.
May 03, 2018, 11:48:05 PM
KyleRunner: Fox, the "export" function in your text editor is just a shortcut... Could you please fix it?
May 02, 2018, 09:53:45 PM
KyleRunner: I come here everyday. I'm working on a Portuguese translation, and the people here help me a lot.
May 02, 2018, 08:56:07 AM
Drake baku: My feel as well, I posted a little as well since my return, but silence was all that followed... At least the forum is a great source for data when hacking GS/ GS2, currently looking for something I have read a long time ago cause my PP recovery psy is not working
May 01, 2018, 09:58:04 AM
Fox: I am thinking a lot of this might be because of Discord?
May 01, 2018, 09:56:08 AM
Fox: Yeah, this forum is more dead than ever before.  February and April have 0 new topics. (All other months prior have more.) And March has lowest number of new posts. (It'd be dumb to count the very first month this site was created.)
April 25, 2018, 09:02:13 PM
Fox: Yes. The best tool is a hex editor. Well.... VBA, VBA-SDL-H, no$gba Debugger, GBATEK, and my documentation.... to use these to learn how the code/data works. Best method because it maximizes your editing ability... and then there is my program gsmagic that I was working on. Still in its early stages, though. (Even after year(s).)
April 25, 2018, 04:21:58 PM
Xendrox D: *exept tla editor.
April 25, 2018, 04:21:29 PM
Xendrox D: is there any other tool for hacking gs?
April 23, 2018, 09:26:27 PM
Atrius: Rarely, but not never.
April 23, 2018, 08:01:48 AM
Drake baku: Can it be, the god who created the editor, atrius. I heard you never came back online here anymore

Affiliates
Temple of Kraden Golden Sunrise
Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.042 seconds with 22 queries.