News:

The forum has been updated to SMF (2.1.3)!
Please be patient as we work to polish up the place and update features as we can.

Main Menu

The Magic River

Started by Plexa, 05, October, 2017, 02:43:13 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


Daddy Poi's Oily Gorillas

#1
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.
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...

Sometimes I like to compare apples to oranges. (Figuratively) ... They are both fruits, but which one would you eat more? (If taken literally, I'd probably choose apples.)
Maybe it is over-analyzing, but it doesn't mean the information is useless.


The only GS Discord servers with significance are:
Golden Sun Hacking Community
GS Speedrunning
/r/Golden Sun
GS United Nations
Temple of Kraden

Can you believe how small the Golden Sun Community is?

2+2=5 Don't believe me? Those are rounded decimal numbers. Take that, flat earth theorists! :)

Atrius (He/Him)

#2
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.
[sprite=220,4,0]I'm shaking my head in general disapproval of everything[/sprite]

Daddy Poi's Oily Gorillas

#3
@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.)
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...

Sometimes I like to compare apples to oranges. (Figuratively) ... They are both fruits, but which one would you eat more? (If taken literally, I'd probably choose apples.)
Maybe it is over-analyzing, but it doesn't mean the information is useless.


The only GS Discord servers with significance are:
Golden Sun Hacking Community
GS Speedrunning
/r/Golden Sun
GS United Nations
Temple of Kraden

Can you believe how small the Golden Sun Community is?

2+2=5 Don't believe me? Those are rounded decimal numbers. Take that, flat earth theorists! :)

Plexa

#4
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?

Daddy Poi's Oily Gorillas

#5
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.
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...

Sometimes I like to compare apples to oranges. (Figuratively) ... They are both fruits, but which one would you eat more? (If taken literally, I'd probably choose apples.)
Maybe it is over-analyzing, but it doesn't mean the information is useless.


The only GS Discord servers with significance are:
Golden Sun Hacking Community
GS Speedrunning
/r/Golden Sun
GS United Nations
Temple of Kraden

Can you believe how small the Golden Sun Community is?

2+2=5 Don't believe me? Those are rounded decimal numbers. Take that, flat earth theorists! :)