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 III Glitch Discussion

Any interest in non-GameCube Game Boy Advance link cable Pokémon Ruby ACE? - Page 1

Any interest in non-GameCube Game Boy Advance link cable Pokémon Ruby ACE?

Posted by: Torchickens
Date: 2019-04-22 06:59:12
Thanks to Metarkrai, TheZZAZZGlitch and others, we have documented that Pokémon Emerald arbitrary code execution exists and is viable, however, these methods may be subject to Dynamic Memory Allocation (DMA) and may take a lot of patience to succeed.

When I checked the memory of Pokémon Ruby however, it seemed that DMA was not present (at least at certain regions of the memory), hence in theory; an ACE executing glitch move will always give the same result, without the luck factor. Patience would still be needed to initially obtain the glitch Pokémon (or if there is not a way to transfer it, possibly the glitch Pokémon Egg) in Pokémon Emerald or FireRed/LeafGreen however, once traded, a non-DMA influenced ACE method could save much time in the future.

Pokémon Ruby ACE would also have an additional advantage, namely that the sound test in North American and Japanese Ruby (otherwise exclusive to Japanese Emerald) may be accessible in a reliable and persistent way.

However, I'm unsure whether this subject has been discussed in terms of putting it into practice before. What are our thoughts on this?

Notes: In Pokémon Emerald, the glitch items that may be necessary for this can be duplicated; including access of glitched quantities (over 999?) with Pomeg glitch data corruption. I don't know whether this is possible in EN Pokémon Ruby and if there is a viable solution (at least as of now). I wonder whether we can use something else.

Re: Any interest in non-GameCube Game Boy Advance link cable Pokémon Ruby ACE?

Posted by: Parzival
Date: 2019-04-22 13:08:53
>Any interest in
Always.

Re: Any interest in non-GameCube Game Boy Advance link cable Pokémon Ruby ACE?

Posted by: Torchickens
Date: 2020-03-01 14:25:02

>Any interest in
Always.


:)

So we know we can do it with move animations. I found this in the disassembly https://github.com/pret/pokeruby/blob/master/data/battle_anim_scripts.s
Also we've got https://github.com/pret/pokeruby/blob/master/data/battle_ai_scripts.s , and other branches at https://github.com/pret/pokeruby/tree/master/data

Since DMA might not be present in Ruby (or at least; a lot of it wasn't), I wonder if there could potentially be a way/if we can find a pointer just lucky enough to be useful?

Recently merrp has done Japanese Emerald TASes. I wonder if a method be used in Ruby too (except Ruby Pomeg glitch doesn't work)? https://www.youtube.com/channel/UCONRCg17CLQ0DJdvqfkAS_A