Glitch City Laboratories Archives

Glitch City Laboratories closed on 1 September 2020 (announcement). This is an archived copy of a thread from Glitch City Laboratories Forums.

You can join Glitch City Research Institute to ask questions or discuss current developments.

You may also download the archive of this forum in .tar.gz, .sql.gz, or .sqlite.gz formats.

Generation IV Glitch Discussion

Wrongwarping is now possible to any map - Page 1

Wrongwarping is now possible to any map

Posted by: RETIRE
Date: 2019-04-22 01:07:33
Over the course of the last days the ledgecancel glitch has lead to many crazy discoveries. Here is a summary of what is now possible, and what lead to the possibility of wrongwarping to even indoor maps, or maps you aren't supposed to be able to use your menu's in.

First of all, a reminder of what ledgecanceling is.
In the void we can write tiles by changing our gfx set, like grasstiles and sandtiles. If we also have the correct ASLR, which is the randomisation of RAM initiated on booting the game, we can write a bikeledge in the void.

Interesting things about the bikeledge; the game doesn't actually disable your menu when on top of them, usually momentum does. And you should require momentum to enter the bikeledge under normal circumstances. But if you use the void you can write those tiles but they will update once you already stand on them. Therefore you won't have momentum!

So, we step onto this tile, the ledgetile moves the player left and we can now still open your sidemenu or use key items. This is known as ledgecanceling, even tho technically only the sidemenu stops the player from moving. This in itself can make loadlines move, causing custom tweaking areas, walk through walls and way more. But that's not what we're gonna be talking about right now.

What's important to know is that while opening the side menu, the game can still move you until the menu is actually on screen. This is a few frames, enough to move into another map id in the void. We call this Window Map Swapping.

Now this is where it gets interesting. The game assigns a Menu Id to you when opening a menu, and determines all functions based on that menu Id, not your current Map Id!
This means that if you open your sidemenu on the last frames of moving from an outdoor map into an indoor map, the menu will still allow you to fly, use bike and more importantly use Explorer Kit.

Explorer Kit, as some may know, writes your current Map Id and coordinates to [base]+1488 in RAM, which is also used by union room and allows us to wrongwarp to it. But since we can use Explorer Kit and any other outdoor function indoors, this means we can wrongwarp to the Map we moved into.

Next to that, Window Map Swapping also allows you to get NPC storage, which crashes the game after a few seconds, get a new error screen that saves the game but then puts you back into it without clearing RAM first, save inside maps that have mapscripts and the list goes on. I will make a video about all subglitches of ledgecanceling and Window Map Swapping soon!

Re: Wrongwarping is now possible to any map

Posted by: Torchickens
Date: 2019-04-22 06:32:45
Great work RETIRE! ^^ So umm.. am I right in thinking now would there be viable methods to visit all of the unused maps without a cheating device (I guess that by the impression of the title)? It's amazing how far Tweaking/void glitch has come.

Re: Wrongwarping is now possible to any map

Posted by: RETIRE
Date: 2019-04-22 10:09:40

Great work RETIRE! ^^ So umm.. am I right in thinking now would there be viable methods to visit all of the unused maps without a cheating device (I guess that by the impression of the title)? It's amazing how far Tweaking/void glitch has come.


Definitely! You can acces maps that dont allow you to use your menu usually with this. You could also use battletower voids for that, those allow you to open your menu in any map.