Golden Sun Hacking Community
September 21, 2017, 05:39:58 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: Jupiter Lighthouse Stuff  (Read 1301 times)
0 Members and 1 Guest are viewing this topic.

Regular Member
**

Coins: 2
Offline Offline

Posts: 133

« on: February 08, 2017, 12:11:32 PM »

Hey everyone. Jupiter lighthouse is known as the most unbroken dungeon in TLA. Everything we've thought of has failed. I took another run at the Lighthouse today and made a curious observation concerning the retreat glitch.

Normally the retreat glitch works like this. After retreat has failed the game thinks you are in the room that you would have been sent to if retreat was successful (the 'retreat room'). Example - entering Airs rock through the second entrance makes the retreat point Area 55 Door 10, if you enter another Area of the dungeon (say Area 58) and use the retreat glitch then the Area is reset to 55, while you're still physically in Area 58. In this glitched state walking through doors loads the corresponding door in the retreat room. So if you're in Area 58 and walk through Door 3, instead of being sent where this door sends you instead you will be sent to where Area 55 Door 3 will send you.

Hopefully that's not too confusing.

In Jupiter Lighthouse this doesn't appear to happen. Regardless of which door you access, you always get sent back to Area 251 Door 0. This is the same location you'd be if you'd entered the dungeon from the overworld. I'm not sure if it is Door 0, but it certainly seems like it is.

I'm just wondering if there's anything special code wise surrounding this lighthouse that might explain this. I know that encountering Alex resets the last visited Sanctum to Contigo, but beyond that I don't know of anything. 
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: 2362

« Reply #1 on: February 08, 2017, 02:24:34 PM »

It is most likely because the Retreat room uses a different map code file than the rest of the Lighthouse, so the map number doesn't get found.... and if none are found, it doesn't know what to change the map/door number to, so it leaves it as is?

http://forum.goldensunhacking.net/index.php?topic=1014.0 = This topic describes how Exit data is formatted, to point out that a map number is looked up. (Compared with what is stored at the value that gets changed when Retreat fails.) .... However, when I say "different map code files" then that means this gets changed as well... (02008000-0200FFFF = Map code file section.) (When Retreat fails, it doesn't revert back to the Retreat Map's Map Code, which would have been cool, but oh well. And even if it did in this case, then there wouldn't be much abuse you could do, could you? With only two doors that's nearly 10 seconds apart....)
« Last Edit: February 08, 2017, 03:08:41 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...
*Cross my fingers and hope we have Big Brother All-Stars next year... with Paulie & Cody Califorie(sp?)... and Vanessa & Tiffany Rousso.... Would be fun? :P Especially if one of the boys got evicted early since there's usually some all-guy alliance in there, right?
View Profile

Regular Member
**

Coins: 2
Offline Offline

Posts: 133

« Reply #2 on: February 09, 2017, 11:42:34 AM »

The retreat glitch still works, just the every door sends you to the entrance of the dungeon (where you would have been sent if retreat was successful).

If I'm reading the editor correctly, I see the following exits; door 1 -> world map, door 2-> door 2 of 0xFE, door 3->door 3 of 0xFE, door 4 -> door 4 of 0xFC

This doesn't indicate that there's anything funny going on. Although I'm comparing it to another room which has a "madra warp" (felix gets sent to a default position on the world map) to see what is different. Along these lines, it's probably worth clarify exactly what is going when these madra warps happen.

One example is the 0xB door in room 0xCF (Tundaria Tower Interior). Door 0xB in map 0xCF gets sent to door 2 room 0xCF. If you retreat warp through the door you get sent to madra. Looking up Room 0xB relative to map 0xCE (which is where retreat would send you) would make the game read the blank code 0xFFFFFFFF

http://imgur.com/YNQW8RG

Does this mean that the game trying to send you to door 0xFF in area 0xFFF and this sends Felix to the default position on the world map? Or does the game try to look up Door 0xB in Map 0xCE, find nothing, then default you to the default position?

I noticed that the Jupiter Lighthouse stuff is missing any of the 0xFFFFFFFF separators, hence these questions.

EDIT: the first room of Jupiter lighthouse for convenience https://gyazo.com/bc4cb999812c43654b92e1cd6273409f

« Last Edit: February 09, 2017, 12:32:02 PM by Plexa » 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: 2362

« Reply #3 on: February 09, 2017, 06:26:25 PM »

While I believe Jupiter is b/c of separate map code files... / Map's exit list not found ....
Tundaria is a different case... (It is the same file in both places)... In that case, map's exit list is found.... however, the exit is not (Exit 0xB is higher than how many the retreat room had...) So that one choose the map of the first entry. (Interesting/ assuming I read things right... was rather quick...) (Seems like the list detects entrance 0 as the end of a list of map exits.)

Exit data stops at 0x000001FF. (If you seen Atrius's topic, you'd know you can have multiple tables of these ending in that, but also multiple exit lists in one... erm... heheh.... )

080C9694 = Relevant function that scans the exit data... I probably should write up some psuedo-code, huh....?
« Last Edit: February 09, 2017, 06:52:53 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...
*Cross my fingers and hope we have Big Brother All-Stars next year... with Paulie & Cody Califorie(sp?)... and Vanessa & Tiffany Rousso.... Would be fun? :P Especially if one of the boys got evicted early since there's usually some all-guy alliance in there, right?
View Profile

Regular Member
**

Coins: 2
Offline Offline

Posts: 133

« Reply #4 on: February 09, 2017, 06:51:53 PM »

Ah yup I get it now. Curious that some dungeons have map code files split and others not.
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: 2362

« Reply #5 on: February 09, 2017, 07:20:29 PM »

My guess is that its probably for compression/spacing. Not 100% sure...

If you have all map's map code files separated.... it might be too bulky in the ROM.
If you hae all maps using the same map code file.. well, we're limited to only 0x8000 bytes in RAM for it, so then it wouldn't fit.
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...
*Cross my fingers and hope we have Big Brother All-Stars next year... with Paulie & Cody Califorie(sp?)... and Vanessa & Tiffany Rousso.... Would be fun? :P Especially if one of the boys got evicted early since there's usually some all-guy alliance in there, right?
View Profile
Pages: [1]   Go Up
  Print  
 
Jump to:  

Cbox
Yesterday at 12:08:05 AM
Atrius: Thanks for letting me know, it should be fixed now.
September 19, 2017, 11:47:02 PM
Fox: Okay cool.  Speaking about broken things = There was some error I've known about for awhile now:  When you try to upload something to the Downloads section. The user may think the upload failed, but it actually succeeds. - I wonder if that was one of the few things? And whether that could be fixed if it hasn't yet.
September 19, 2017, 11:42:01 PM
Atrius: Oops, that wasn't even supposed to go up.  So, our hosting company moved the site over to a different server, and I was just updating some settings to fix things that broke in the move.
September 19, 2017, 11:39:18 PM
Fox: @Atrius: Probably going to need to update the Maintenance Description... I was confused at first, but it says 20 Mar 2017.
September 19, 2017, 07:29:35 AM
dawnbomb: can someone link me the discord
September 19, 2017, 04:52:32 AM
Majora: That's hilarious, lmao. I thought it read like something you might have written, Fox, was almost unsure if it was a bot at first
September 18, 2017, 03:01:57 PM
Fox: Yeah, he copied this post: http://forum.goldensunhacking.net/index.php?topic=1425.0
September 18, 2017, 02:57:48 PM
Fox: (Although, not sure about the last part, it just feels strangely familiar for some reason.)
September 18, 2017, 02:56:43 PM
Fox: BOT ALERT! Kill it, kill it! I think it copied one of my posts? :P
September 17, 2017, 12:58:02 AM
Fox: Not saing we actually need those ofcourse (we don't?), but more saying that minorities could get too attached to them.
September 17, 2017, 12:54:47 AM
Fox: I think it's interesting how Facebook likes to start things, and then retire them. For example, Advanced Search, and E-mail. - They seemed like pretty fine features in my opinion, but retiring them because most people aren't using them at that time? I'm not sure if they know what they're doing, but it sound like they don't. :P
September 14, 2017, 12:59:16 PM
Fox: (At leat when I think about establishments...)  ; Oops, pardon my rudeness... .I forgot to welcome you back.... Well... WElcome back! We are glad you've returned.
September 14, 2017, 12:52:57 PM
Fox: (Just want to clarify that "founded" may be an actual word, but sounds weird the way it was used.)
September 14, 2017, 12:47:42 PM
Fox: Cringy? Let me check... Hm... Low number of posts [check] (5 posts) ; misspellings/grammar [check] ("Toturial" (Torture-ial?) , ; founded, ehh.... double past-tense?) ; The best part is at least the posts have a positive attitude! (That may be the most important part?) :)
September 14, 2017, 05:59:01 AM
KeinoGSTLA: back then my posts were so cringy lmao
September 14, 2017, 05:58:39 AM
KeinoGSTLA: damn feels good to find this place again
September 10, 2017, 04:27:04 PM
Fox: I don't suppose there is anything else? ;; Hmmm... What if a Big Brother game was similar to ... er.... Exit/Corners .... which seems to have a Trust system. 
September 06, 2017, 11:02:17 AM
Plexa: Honestly we haven't looked into that ... I completely forgot about it until now!
September 06, 2017, 05:44:33 AM
Fox: (Referring to the box/crate that would allow you to get stuck.)
September 06, 2017, 05:43:42 AM
Fox: Is SW Atteka Islet the only one that forgets to update the heightmap when save/resetting? ... The Move pillar seems to update it fine... Hm.

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