Golden Sun Hacking Community
January 19, 2018, 11:16:48 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: Can anyone explain this?  (Read 731 times)
0 Members and 1 Guest are viewing this topic.

Regular Member
**

Coins: 2
Offline Offline

Posts: 135

« on: July 07, 2017, 05:10:04 PM »

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

Why on earth is the item pulled by the retreat glitch the Sol Blade?

Bonus: you get different garbage text by talking to the stone from different directions.
« Last Edit: July 07, 2017, 05:16:20 PM by Plexa » Logged
View Profile
Salanewt
His Sexiness
Mercury Clan

Oh yeah, baby!

Prodigy
*

Coins: 32
Offline Offline

I am: A part of the organization of Cool Cats, but more of a dog person in reality.
Emblems: Have a nice day.
Posts: 4565

« Reply #1 on: July 07, 2017, 05:34:45 PM »

Huh, I guess the Retreat glitch also messed with the behaviour of stones and stuff? Does it do anything weird with chests too?

It kind of looks like it did something to the stone's scripting, hence the garbage text and the item. I don't have an explanation beyond that though!

Nice find!
Logged

Oh yeah baby, £ me harder.

Fusion is just a cheap tactic to make weak Adepts stronger.

Yoshi's Lighthouse is a hacking website in progress. Why not check it out if you like Yoshi or the Mario & Luigi games?
View Profile WWW

Regular Member
**

Coins: 2
Offline Offline

Posts: 135

« Reply #2 on: July 07, 2017, 07:22:00 PM »

Yeah so we know retreat chests is a thing. We know that interacting with psynergy stones and/or mimics is equivalent to interacting with chests so far as the retreat glitch is concerned. Why we get the Sol blade in Airs Rock, however, is unknown. Other instances where I've gotten glitchy text I've had the following items given to me
- Long Sword
- Silver Blade
- ?
- "It looks like something is buried there maybe I can dig it out" (and scoop does nothing)

Nothing as gamebreaking as the Sol Blade
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: 2403

« Reply #3 on: July 07, 2017, 08:27:24 PM »

Oh!! Good find!

Treasure Chests and Psynergy Stones do use the same table... so if your Retreat Map is different than your current map, strange things could happen...

So that is map 0x56? ... Okay... The Retreat Map is 0x55... and that Treasure data starts at 080F2562.

It looks like it is trying to get second entry when that map only has one treasure entry.

4055 FFFF = (55 is the map id)
0080 0006 0F3A 00B6

That is /suppose/ to be all that data for that map... but then look at the next entry:

405A FFFF 0080 000A

^Ah. would you look at that. It gets out of line and reads data as something that it isn't even intended to be.
0080 is read as the flag id (Which is originally intended to be Treasure type for first treasure in map 0x5A)
000A happens to be read as the item reward. (Suppose to be location id (Probably meant object id in my doc?) for the first treasure in map 0x5A) (*fix'd ... I'm always making mistakes. :O)


Flag 0x080 does get reset when switching maps, and item 0xA is the Sol Blade.


--
So we're not just focusing on Chest/Stones:

0080 = Treasure chest
0081 = Mimic
0082 = Psynergy Stone
0083 = Visible Item
0084 = Summon Tablet
0085 = Item in pond
Anything less than 0x80 is basically a text id to something that basically says "there was nothing found".. (For jars/barrels/etc.) If I remember correctly...


@0x80 = Imagine if you could find a way to set an event flag that could help you skip a good portion of the game like this.... I have no idea if that's possible with the current data, but is interesting to think about. Unfortunately, this specific flag index 0x80 is useless.... (Outside of it being reset so you can get more items.) - I could see maybe enabling more PCs (as Isaac?) if we're lucky probably (That being if we can find the numbers ranging from 0000-0003, and maybe 0007 if they even exist. And even if they do, adhereing to the Retreat Glitch makes it very limiting to even access...), but... ehhh????


(Hmm... Treasure type might not be the only piece of data that can be read as a flag... maybe map number too if you are in a room with a ton of treasure? Eh.... I'd have to think on that...)
« Last Edit: July 07, 2017, 09:18:40 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 #4 on: July 07, 2017, 09:21:49 PM »

Hahaha this is amazing. As I mentioned the stuff I've found with this is usually useless, amazing that it just is coincidentally the sol blade.
Logged
View Profile
Rolina
The Fulminous Witch
Jupiter Clan

Template maker turned lurker

Alchemist
*

Coins: 10
Offline Offline

Gender: Female
I am: wondering if we can get our clan position changed...
Clan Position: Grand Overlady of Jupiter
Posts: 6051

« Reply #5 on: July 07, 2017, 10:00:36 PM »

That's pretty impressive.  I kinda wish you'd been livestreaming when you discovered that, rather than showing off the discovery.  I'd have loved to have seen your reaction. XD

Can you get that from any entry into that area, or does it have to be from that specific entrance into the room?
Logged

View Profile WWW
Fox
Fox McCloud, the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 28
Offline Offline

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

« Reply #6 on: July 07, 2017, 10:06:06 PM »

Yep... Definitely amazing!

Curious about GS1? Did GS1 have any early end-game gear? Or is that still up for research?

Speaking of GS1:
If we can manage to set flag 0x005 at any time in the game.... then we can also get rid of random battles if I recall?  Gosh, it came so close. :/
Though the flag is Jenna's flag, you do not actually have to have Jenna in your party. (e.g. Isaacs are fine.)
Jenna would need more than 130 xp to disable random battles.
« Last Edit: July 07, 2017, 10:55:14 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 #7 on: July 07, 2017, 11:27:35 PM »

That's pretty impressive.  I kinda wish you'd been livestreaming when you discovered that, rather than showing off the discovery.  I'd have loved to have seen your reaction. XD

Can you get that from any entry into that area, or does it have to be from that specific entrance into the room?
Haha it was pretty underwhelming, I just started laughing hysterically. Of all places for something this ridiculous it HAD to be airs rock which is already the most busted dungeon of the whole game.

It has to be the alternate entry into airs rock. This is why it's taken this long to find it.

Yep... Definitely amazing!

Curious about GS1? Did GS1 have any early end-game gear? Or is that still up for research?

Speaking of GS1:
If we can manage to set flag 0x005 at any time in the game.... then we can also get rid of random battles if I recall?  Gosh, it came so close. :/
Though the flag is Jenna's flag, you do not actually have to have Jenna in your party. (e.g. Isaacs are fine.)
Jenna would need more than 130 xp to disable random battles.
Nothing in GS1 because no retreat chests. Which is unfortunate but alas.

Yeah the only way we can conceivably stop encounters is by leaving Sol Sanctum early ... which remains elusive to this day!
« Last Edit: July 07, 2017, 11:33:37 PM by Plexa » Logged
View Profile
Rolina
The Fulminous Witch
Jupiter Clan

Template maker turned lurker

Alchemist
*

Coins: 10
Offline Offline

Gender: Female
I am: wondering if we can get our clan position changed...
Clan Position: Grand Overlady of Jupiter
Posts: 6051

« Reply #8 on: July 08, 2017, 12:01:48 AM »

Hmm... so if I simply enter that door normally and backtrack, would I be able to get the Sol Blade?  Or do I need to have make a Retreat Warp first?
Logged

View Profile WWW

Regular Member
**

Coins: 2
Offline Offline

Posts: 135

« Reply #9 on: July 08, 2017, 12:10:34 AM »

Hmm... so if I simply enter that door normally and backtrack, would I be able to get the Sol Blade?  Or do I need to have make a Retreat Warp first?
Correct! Just enter through that door, back track to the entrance (either via the whirlwind statue or the convenient retreat warp), do the retreat glitch and talk to the psynergy stone and you get the blade. Just keep in mind that if you're in retreat glitch mode and you get an encounter the effect goes away :)
Logged
View Profile
Rolina
The Fulminous Witch
Jupiter Clan

Template maker turned lurker

Alchemist
*

Coins: 10
Offline Offline

Gender: Female
I am: wondering if we can get our clan position changed...
Clan Position: Grand Overlady of Jupiter
Posts: 6051

« Reply #10 on: July 08, 2017, 01:18:40 AM »

So stock up on sacred feathers to try it out myself, got it.  I'll have to try it sometime.  Good job.
Logged

View Profile WWW
Fox
Fox McCloud, the Hacking Doctor
Mercury Clan

Prodigy
*

Coins: 28
Offline Offline

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

« Reply #11 on: July 08, 2017, 09:38:31 AM »

Quote
Nothing in GS1 because no retreat chests. Which is unfortunate but alas.
Ohh!!! That's nice and not nice at the same time... I mean, it kind of gives me more to compare to Dark Dawn with...

*Looks up how chests are done in GS1*
Apparently, it is done as an event entry in map code... (The interaction part, anyway... which matters most.) .... Interesting.... So yeah, doesn't seem to be abuseable.


And the 32-bit that's usually a pointer to thumb code is the item reward and I assume Treasure Type? (A little different from GS2's version....) You can do Coins and Items. I don't think that occurs anywhere in GS2 map code data.


* gs1chestsdonethroughevents.png (11.94 KB, 762x388 - viewed 41 times.)
« Last Edit: July 08, 2017, 09:59:27 AM 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
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)?
January 11, 2018, 08:33:13 PM
Fox: But if it isn't an oversight, I still can't imagine it being that useful.
January 11, 2018, 08:28:24 PM
Fox: part, ofcourse.

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