Golden Sun Hacking Community
December 14, 2017, 10:25:58 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: The Magic River  (Read 487 times)
0 Members and 1 Guest are viewing this topic.

Regular Member
**

Coins: 2
Offline Offline

Posts: 135

« on: October 05, 2017, 06:43:13 PM »

https://www.twitch.tv/videos/179942723

So this is a thing.

Frostfx made this convenient image to help explain the glitch: https://images-ext-1.discordapp.net/external/1t7y1yv3glyOzJNRFdQFPmDmP5OwcqooThpMibEnCCE/https/i.imgur.com/mo7Dg33.jpg
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: 2393

« Reply #1 on: October 06, 2017, 12:06:52 AM »

Not exactly a "river," if going by the graphics, but that looks amazing!

Happy
Alex  Continental shelves are shifting!  And in an unexpected way, no kidding!

I feel like I want to call it The Magic Roundabout. (Referencing a UK cartoon, I think.) ... (And also secretly references something I was part of on RuneScape years ago. :P A clan I joined was named Skilling Central, and they changed their name to The Magic Roundabout, eventually, the clan "died", and owner moved on to another clan: The Round Table. (King Arthur reference, I assume.) I also followed, and that clan is still here today... Though, I haven't been on RS much lately.... I do want to eventually get back to it, but I was planning to hold off until AT LEAST the release of the bank rework. :/ )

---

Seems to be a 16-pixel margin? 0x1F00-0x1F0F

Map when not scaled is 0x2000px x 0x2000px, I think... but with the scaling, likely doubled... (Referring to current x and y location, since the top of the screen is shorter/bottom is longer.)... so 0x1F00 being right under the half way mark is interesting... (I feel like some rounding thing could be going on... like adding 1 when a number is negative, but I have no idea. Can probably look into it, though. Expecting it to be as simple as a breakpoint write on tilemap ram data. *crosses fingers*)


But first:  Going left/right with Map view open... (using auto-update).... And I'm not sure I understand this...  (Attachement... the column in the middle/at the bottom... when I walked left.) Did not need an encounter to see this... (But I imagine if it is the same as the glitch above.. then you probably would need one to "abuse" it?)
(Also see the same "flickering" on the left side when going right. (First column in map view.))

Almost forgot:  I should test it without messing up the flags... sso this is with messing up storybook flags.... in case it doesn't happen in cannon.


* otheraxisgltich.png (141.44 KB, 840x792 - viewed 110 times.)

* otheraxisgltich.png (245.23 KB, 1680x792 - viewed 107 times.)
« Last Edit: October 06, 2017, 01:12:09 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...
Did you know? In English, you are suppose to capitalize the languages. (e.g. English is a proper noun.) Subjects like math, science, history can be left lower-cased unless they are a title. (Kind of like how you can say either "my mom" or "Mom" in "I went with (X) to the store.", except that I don't think languages are ever lower-cased in English.) In Spanish, both subjects and languages are left lower-cased. (I put this here because I've noticed people make this mistake quite often. And am curious if they know about this, and whether they use their way because they believe this grammar usage should have never been a thing?

Remember kids! In getting a job, it's not about what you know, it's about WHO you know! So start making friends with the people that work where you want to work. :) (Friend of a friend and volunteering count too, so keep that in mind.)[/si
View Profile
Atrius
Programmer Extraordinaire
Web Host

Fear my blades

Veteran Member
*

Coins: 1
Offline Offline

Gender: Male
Emblems: Website Founder
Clan Position: Creation God of Sol
Posts: 1756

« Reply #2 on: October 07, 2017, 10:44:00 PM »

He's correct about the map being split up, but the sections are 256x256 pixels, or 16x16 tiles that are 16x16px.  I don't know what's happening with this glitch beyond that.


Edit:
FYI there's a full rip of TLA's world map as stored in the game data (except some tilesets are incorrect) available here (8192x8192px, 10.8MB)

I could understand why the graphical glitch might happen because of how the graphics rendering is optimized (see Fox's post above), but the fact that the collisions are incorrect too baffles me.
« Last Edit: October 07, 2017, 11:30:04 PM by Atrius » Logged

I'm shaking my head in general disapproval of everything
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: 2393

« Reply #3 on: October 08, 2017, 06:45:15 AM »

@FYI: That's cool, but a lot of those tiles are incorrect. (Since the tileset is switched.) ... Um? Not sure why the link sometimes doesn't work? Says it contains errors. Might be due to memory, though.

Anyway: From gsmagic (At least my version.):  ...  https://i.imgur.com/7zd1ibu.jpg (Prox/Mars Lighthouse area.... Gaia Falls... Snow areas... etc.)
Looks like I got some tiles wrong! (I lack water where it is needed.)  Thank you for posting that link!!
(I think I might know why.....) Fixed: https://i.imgur.com/mRzaKyi.jpg (And yes, some of the water tiles are snow in the second huge segment = That is correct. It'll look like water when you're off those tiles, though.)

I know there's a collision tileset (Just for World Map.),... so isn't the indexes that are used for graphics also used for that tileset too? So that would kind of make sense... However, I kind of forgot what I researched a long time ago, so....

World Map tilemap is pasted at 02020000. (Instead of 02010000 as normal maps do.) - 4 square maps are loaded at a time.
zzyyxxxx
zz = Can effect the tileset used.
yy = Event ID
xxxx = Graphical index , but also collision index?(Not confirmed?) (World Map only?) (May not necessarily be 16-bit, but for example...)


---
Update:  Been too lazy to put that breakpoint in. :/ (It's possible I may even have the function already documented, even if I don't have its contents documented.)
« Last Edit: October 08, 2017, 09:01:42 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...
Did you know? In English, you are suppose to capitalize the languages. (e.g. English is a proper noun.) Subjects like math, science, history can be left lower-cased unless they are a title. (Kind of like how you can say either "my mom" or "Mom" in "I went with (X) to the store.", except that I don't think languages are ever lower-cased in English.) In Spanish, both subjects and languages are left lower-cased. (I put this here because I've noticed people make this mistake quite often. And am curious if they know about this, and whether they use their way because they believe this grammar usage should have never been a thing?

Remember kids! In getting a job, it's not about what you know, it's about WHO you know! So start making friends with the people that work where you want to work. :) (Friend of a friend and volunteering count too, so keep that in mind.)[/si
View Profile

Regular Member
**

Coins: 2
Offline Offline

Posts: 135

« Reply #4 on: October 13, 2017, 08:49:37 PM »

Thanks for the map Atrius. Having explored that area using the first flight cutscene glitch its really cool to actually see what is there :)

But your map also reminded me that there is another point in the game where the overworld is updated - after you fix the boat and set Briggs free.

Getting an encounter with y-coordinate as indicated in the image will cause the bridge to un-fix itself (EDIT: its actually way more lenient, there's a large band of y values than work south of where I am standing). I can't see any other errors caused in this occurrence of the glitch. Of course, opening the menu and closing it again will fix the bridge - as illustrated in this gif: https://gyazo.com/01fe839247061ad159edd296e3fba40b

I guess then the next question is this - when Venus lighthouse is lit at the start of the game, are those cutscenes happening on the copy of gondowan far to the west of the world map? Or is it happening within the world map but having tiles updated?


* 6d010b3dbd81387d00350b3fc8b23162.png (280.36 KB, 722x486 - viewed 81 times.)
« Last Edit: October 13, 2017, 08:55:18 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: 2393

« Reply #5 on: October 14, 2017, 09:30:04 AM »

Attachment: An image showing where a flag check is done, and how two map sections (side by side) are copied over. (For the Contigo area.)

In map code initialization....

Arguments: srcx, srcy, desx, desy
No size values or anything, so the whole square (16x16 tiles) should be "copied" over...  By putting a file number in the 03001448 list.

Calls a function that hasn't really been documented, but is in an expected area.

0802BD08

r6 = 02032640 = screen x
r7 = src position
r12 = 02032648 = screen y

to be continued?

---
Not sure where glitch occurs yet, but I now at least have something about this function in my doc.


* copytiles.png (12.78 KB, 605x412 - viewed 81 times.)
« Last Edit: October 14, 2017, 11:25:15 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...
Did you know? In English, you are suppose to capitalize the languages. (e.g. English is a proper noun.) Subjects like math, science, history can be left lower-cased unless they are a title. (Kind of like how you can say either "my mom" or "Mom" in "I went with (X) to the store.", except that I don't think languages are ever lower-cased in English.) In Spanish, both subjects and languages are left lower-cased. (I put this here because I've noticed people make this mistake quite often. And am curious if they know about this, and whether they use their way because they believe this grammar usage should have never been a thing?

Remember kids! In getting a job, it's not about what you know, it's about WHO you know! So start making friends with the people that work where you want to work. :) (Friend of a friend and volunteering count too, so keep that in mind.)[/si
View Profile
Pages: [1]   Go Up
  Print  
 
Jump to:  

Cbox
Yesterday at 09:19:38 PM
Fox: Okay, so that Summon Night games adds the fram number to the seed, before generating another seed via mul/add....  (GS1-GS3 never adds the fram number.) ... So um, that makes sense! ;  Summon Night:  ((seed + frame) * 0x343FD + 0x269E3C) >> 0x10 ; Which is also on the list here: https://en.wikipedia.org/wiki/Linear_congruential_generator
December 12, 2017, 11:10:45 PM
Fox: Yes, and there could be contests. Maybe ones where 1st/2nd/3rd place get a cash reward, but eh. Dunno.... Kind of thinking about making a topic about how people got their job, and what was their experience. (e.g. Did they use references of people already working in the job, and various other things.)
December 09, 2017, 04:24:14 AM
Majora: Import old forum posts for reference, perhaps take posts containing important info like documentation away from the old stickied forum post model and make them into their own pages on a site with an in-built search bar. Might help with SEO, too. If nothing else, perhaps whipping them into PDFs and hosting them via Scribd? The possibilities are boundless when it comes to restructuring a site
December 09, 2017, 04:20:02 AM
Majora: Just a nice idea to have even if it doesn't come to fruition. Updating, modernizing, always a good idea. Could probably do something pretty nifty using a good Wordpress theme
December 09, 2017, 04:15:45 AM
Majora: Would be kind of neat to do something like that for GSHC. Could change it up a bit to show all tweets/instagram posts/facebook posts/golden sun subreddit posts all in one sidebar. It would be cool in that it gives the site it's on (and the topic in general) appear more lively and active, which is a plus
December 09, 2017, 04:14:19 AM
Majora: That does sound interesting. One cool thing I've seen some sites use is a sort of unique take on a sidebar option that acts like a social media integration (like, "See GSHC's latest Tweets"). It displays activity from a variety of related sites, such as Reddit, Twitter, Instagram, etc.
December 09, 2017, 12:58:53 AM
Fox: And the way it'd work via code is not that all users would instantly get nicknames the minute you register... but rather, the moment you view a name if it doesn't have a nickname, it gets one. (My Thoughts.)
December 09, 2017, 12:53:55 AM
Fox: (I was thinking that it would be "Name (Nickname)" ... The nickname is what you first known the user as, and you can change that yourself... and the Name is what the user wants to be called... Something like that.
December 09, 2017, 12:47:56 AM
Fox: So like... for starters, one idea I had was to make it so anyone can name anyone... much like how it works on Skype, and you (the namer) would be the only one to see it, and such...
December 09, 2017, 12:45:02 AM
Fox: Would need to be carefully thought out and tested, though.
December 09, 2017, 12:43:02 AM
Fox: I'm thinking I could make it so that name changes can happen whenever... (Without any limit)... Since I believe there's a way to do it with minimum confusion. (I think.) Hmm....
December 09, 2017, 12:31:36 AM
Fox: (I mean an offline version... at least initially.)
December 09, 2017, 12:25:01 AM
Fox: Now that I have thought about it a bit more, would I be right to assume that GSHC would be one of the most interesting websites to administrate, or no? It's sad to see not much going on with it. == I almost want to make a concept website at some point. :D Anyway, how is everyone doing today?
December 06, 2017, 12:12:59 AM
Fox: Like... Start using Github or something... Do like how many of those other projects such as Citra (WIP 3DS Emulator) does. Etc.
December 06, 2017, 12:08:12 AM
Fox: No idea. I just wish OpenGoldenSun would release it as unfinished, but oh well.
December 05, 2017, 06:52:09 AM
MaxiPower: Bummed out that the open golden sun project is dead it seems with no actitivy in close to a year at this point. Is there any hope left in any other projects?
November 27, 2017, 10:25:28 AM
Fox: (When I say research, mainly refering to the data in the game, though checking websites can count to a degree.)
November 27, 2017, 09:52:27 AM
Fox: Maybe. But Dark Dawn is meh, hahah... I still research it, though, because data can be interesting.
November 27, 2017, 05:28:36 AM
Portakin: I'm here! This game is underrated!
November 25, 2017, 08:03:23 PM
Fox: .... and the email listed in that post makes me think we should just make a new rules topic with most of the same information. (So the old ones can be sort o archived.)

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