Golden Sun Hacking Community
January 22, 2018, 08:25:57 PM *
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: Sand glitching  (Read 343 times)
0 Members and 1 Guest are viewing this topic.
Fox
Fox McCloud, the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 28
Offline Offline

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

« on: August 18, 2017, 01:00:51 PM »

This instance is not abusable as far as I'm aware... but I want to document it anyway.... in case anything similar could be researched elsewhere.

Result:


(Going to call these by layer 1-3, rather than 0-2 for right now.)

Tilemap EVENTS for layer 3: (Sand and impassible tiles) (As it is initially... as in... before the statue is moved... because if the statue is moved, at least one tile is changed. The one south of where the statue started.)




How it works:

As a PC, you usually start on layer 1. When you use Sand, a function in the Map Code may be called. (Listed in map's events list) that could switch you to layer 3.... Sand only works on tiles that are "Sand tiles" on layer 3, so if you leave the Sand tiles, you'll revert to layer 1.
In the picture, we are trying to go to the tile that is at ground level, and is not an impassable tile, but once we leave the sand tiles, we immediately go back to layer 1/exit Sand mode... Making it so the tile you would be on now would be an impassable tile. Event id 0xFF.... Which is especially unfortunate since not all collision relies on event id 0xFF... There are lots of places that just use the height table.

When you are in the center of an 0xFF tile, you can't really move in any direction... Unless you are close enough to the edge... (In which case you walk where you came from.) So this isn't exactly a game-breaking bug.


--
If it is what it looks like... going through warps on any layer... will result in being on layer 1 in the next room... Hmmm... No surprise if the npc data gets unloaded/reloaded between rooms?... But it is still an unfortunate to see this possibility of a glitch also go away.... when I think of out-of-bounds stuff... Because had it been possible, you could have also had a chance to go out-of-bounds in the next room, I'm thinking.... (Would have also been limited to Sand rooms that switch layers, in that case... or anything that might do the same.)
« Last Edit: August 18, 2017, 03:12:52 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 #1 on: August 22, 2017, 05:37:29 AM »

Sounds like being able to wedge yourself into the wall? We do something like this currently where we wedge ourselves into the wall by forcing sand to end, and then we are in range of the move statue and can cast move on it. Saves doing about half of Ankhol Ruins.
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: 2404

« Reply #2 on: August 22, 2017, 06:10:59 PM »

https://www.twitch.tv/videos/27756417
^This?

Yeah, that's pretty clever!
I'm going to guess I know why.... You're technically still on the non-solid tile when you get out of sand. (Normally, you can't get that close to the edge of it.)
My "discovery" was more or less about tilemap errors... but yours mostly looks like a functionality error... :) Both of which fit this topic.

I feel like the ability to go to higher ground in that example at the end... would be a combination of the tiles used after the statue moves, and the fact the tile has two heights. (Diagonal tile.)

There's another place you can go into the wall b/c of tilemap error/s... but it isn't useful either.

--
I am not sure if objects being moved around from Retreat Glitching can be moved (with psynergy) where they need to be to get around in any case.... but I doubt it'd be useful anyway.
« Last Edit: August 22, 2017, 06:53:24 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 #3 on: August 23, 2017, 03:41:45 AM »

Yup! Exactly that!
Logged
View Profile
Pages: [1]   Go Up
  Print  
 
Jump to:  

Cbox
Today at 03:35:58 PM
Fox: Referring to the Golf game.
Today at 03:35:07 PM
Fox: Interesting. So... Atrius's Editor = It seems there are fewer English lines in the (U) version? So the number of strings he coded in for is based on the (E) version.
January 17, 2018, 04:07:51 PM
KyleRunner: :D
January 16, 2018, 08:44:56 PM
Fox: I must say... life can be complicated..... when you have question(s) (via email) ... and it seems like they sort of get ignored. :D ; Fun, (And sometimes, a person may respond, and completely not answer the question.... so like... 3-person conversation.) Hahahaha!!
January 15, 2018, 07:26:16 PM
Fox: (path) 1 text=(address) char=(address) free=(address) ; << Well, closer to this... but yeah... even if I do choose to have defaults in the code, I could still use this method for overrides.
January 15, 2018, 07:24:28 PM
Fox: So like (path) 0 text=(address) char=(address) len=(number) ; (path) 1 free=(address) ; Or something. But that's just a quick example.
January 15, 2018, 06:59:14 PM
Fox: Hopefully. I was wanting to make it so you could put in the addresses/etc. as one of the arguments in the path. Hm?
January 15, 2018, 03:37:07 PM
KyleRunner: Nice! I hope you'll add compatibility with others games (GS1, Mario Golf and Tennis) soon.
January 14, 2018, 11:40:09 PM
Fox: Okay. Posted (in Downloads section) an initial cutdown version for now, for my text compressor. Basically to separate the code from my Editor for anyone who wants to mess with it. It only supports GS2, because I still didn't add the addresses/etc. for the other games.
January 14, 2018, 05:01:00 PM
Fox: Okay! Going to need to think how I want it to work. Initial thoughts is maybe have a number of arguments in the filepath thing. And have a number of shortcuts (files) to be used as examples. Assuming there are no problems.
January 14, 2018, 10:38:24 AM
KyleRunner: Well... I'm used to editing text ina a text editor, so... yes! Thanks in advance!
January 13, 2018, 11:38:43 PM
Fox: (Text editor = Text Document like notepad.)
January 13, 2018, 11:38:21 PM
Fox: Would you prefer during the text editing in a text editor? (Like what gstoolkit lets you do?) I could probably make a separate tool or something to compress it.
January 13, 2018, 10:10:02 PM
KyleRunner: Ok. Once I finish my Lost Age translation, I'll try a Mario Golf one. Thanks. (But I'll need help).
January 13, 2018, 10:03:17 PM
Fox: If you want to make it "permanent" (part of a hack), then you'd edit code in the ROM that writes to this location of the IDs you'd want to change. (You can find these locations by using a breakpoint debugger like SDL-H or no$gba.)
January 13, 2018, 10:00:11 PM
Fox: Reload/switch = Recommended to be done through Debug mode/warp menu, ofcourse... since doors seem to appear as if they were disabled? ; 03001238:01 and B+Start to get to warp menu.
January 13, 2018, 09:55:39 PM
Fox: @Kyle Runner = It might be, but you'd have to use the correct addresses for Mario Golf, rather than for GS2 as I have it right now. ; @raijinken = Yes. 02000454 = ID of leader. (Change this and reload/switch room you are in, enjoy.)
January 13, 2018, 02:23:29 PM
raijinken: Hey guys, is it possible to somehow change the lead character on the map? Was wondering. I remember there was a cheat to use Jenna, but what if I wanted Isaac, or Piers?
January 13, 2018, 02:10:03 PM
KyleRunner: Hey, Fox *
January 13, 2018, 02:09:37 PM
KyleRunner: Hey, is your text editor compatible with Mario Golf (GBA)?

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.038 seconds with 22 queries.