Guides:TimoVM's gen 2 ACE setups: Difference between revisions

From Glitch City Wiki
Jump to navigation Jump to search
Content added Content deleted
(Created page with "==What is ACE?== Arbitrary Code Execution (ACE) is the use of glitches to force the game to execute custom code written by the player. This gives near-complete control of the game, allowing the following uses: * Add any pokémon, regardless of version. * Add any item to the item bag. * Freely edit pokémon data, including giving a pokémon any move, editing stat experience and editing DVs to obtain shiny pokémon. * For Virtual Console versions, transfer pokémon that...")
 
No edit summary
 
(25 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Guides header|Arbitrary code execution}}
==What is ACE?==


Arbitrary Code Execution (ACE) is the use of glitches to force the game to execute custom code written by the player. This gives near-complete control of the game, allowing the following uses:
Arbitrary Code Execution (ACE) is the use of glitches to force the game to execute custom code written by the player. This gives the player near-complete control of the game, allowing the following uses:


* Add any pokémon, regardless of version.
* Add any pokémon, regardless of version.
* Add any item to the item bag.
* Add any item to the item bag.
* Freely edit pokémon data, including giving a pokémon any move, editing stat experience and editing DVs to obtain shiny pokémon.
* Freely edit pokémon data, including giving a pokémon any move, editing stat experience and editing DVs to obtain shiny pokémon.
* Experiment with more complex behaviour, such as walking through walls or adding a run function.
* For Virtual Console versions, transfer pokémon that could otherwise not be transferred like Mew, the full Treecko line and Torchic.
* For Virtual Console versions, transfer pokémon that could otherwise not be transferred like Mew, the full Treecko line and Torchic.
* And many more uses.
* And many more uses.


This page provides setup for every single language/version release of gen 2. All setups are tested to be compatible for both original cartridge and virtual console releases. Alongside that, they should work on most (decently accurate) emulators.
This page provides ACE setups for every single language/version release of gen 2. All setups are tested to be compatible for both original cartridge and virtual console releases. Alongside that, they should work on most (decently accurate) emulators.

The following demonstrates the setup on English Crystal, alternative setups are available for other versions and languages:

{{youtube|iJRb3PwUrkg|TimoVM}}


==What does this set of guides install?==
==What does this set of guides install?==
Line 19: Line 24:
# Provide several useful scripts and programs that can be used in combination with the mail writer.
# Provide several useful scripts and programs that can be used in combination with the mail writer.


ACE for Gold and Silver can be set up after reaching Goldenrod City, requiring at least two badges. ACE for Crystal can be set up after reaching Violet City, requiring zero badges.
ACE for Gold and Silver can be set up after reaching Goldenrod City, requiring at least two badges. ACE for Crystal can be set up after reaching Cherrygrove City, requiring zero badges.


In addition, more technically demanding alternative setups exist for Gold and Silver that can be set up in Violet City, right after obtaining the first badge.
==Obtaining initial ACE setups==

==Obtaining initial ACE setups and installing the Mail Writer==

The following are a finished collection of guides that are suitable for all users.


{| class="wikitable"
{| class="wikitable"
Line 27: Line 36:
|-
|-
! rowspan="7" | Gold & Silver
! rowspan="7" | Gold & Silver
| English || [[/Coin_Case_ACE_with_stat_xp_redirection|Coin Case ACE]]
| English || [[Guides:Coin_Case_ACE|Coin Case ACE]]
|-
|-
| French || rowspan="4" | [[User:TimoVM/Wrong_Pocket_TM_ACE_setup_(non-EN)|Wrong Pocket TM ACE (non-EN)]]
| French || [[Guides:Goldenrod_Glitch_Pokédex_Mode_ACE_setup_(FR)|Glitch Pokédex Mode ACE setup (FR)]]
|-
|-
| German || [[Guides:Goldenrod_Glitch_Pokédex_Mode_ACE_setup_(DE)|Glitch Pokédex Mode ACE setup (DE)]]
| German
|-
|-
| Italian || rowspan="2" | [[Guides:Goldenrod_Glitch_Pokédex_Mode_ACE_setup|Glitch Pokédex Mode ACE setup]]
| Italian
|-
|-
| Spanish
| Spanish
|-
|-
| Japanese ||[[User:TimoVM/Wrong Pocket TM ACE setup (JP)|Wrong Pocket TM ACE (JP)]]
| Japanese ||[[Guides:Wrong Pocket TM ACE setup (JP)|Wrong Pocket TM ACE (JP)]]
|-
|-
| Korean ||[[User:TimoVM/Wrong Pocket TM ACE setup (KOR)|Wrong Pocket TM ACE (KOR)]]
| Korean ||[[Guides:Wrong Pocket TM ACE setup (KOR)|Wrong Pocket TM ACE (KOR)]]
|-
|-
! rowspan="6" | Crystal
! rowspan="6" | Crystal
| English || rowspan="5" | [[/TMless_0x1500_ACE| 0x1500 Control Code ACE]]
| English || [[Guides:Fast_0x1500_ACE| 0x1500 ACE]]
|-
|-
| French || rowspan="2" | [[Guides:Fast_0x1500_ACE_(FR_and_DE)| 0x1500 ACE (FR and DE)]]
| French
|-
|-
| German
| German
|-
|-
| Italian || rowspan="2" | [[Guides:Fast_0x1500_ACE| 0x1500 ACE]]
| Italian
|-
|-
| Spanish
| Spanish
|-
|-
| Japanese || [[User:TimoVM/TMless 0x1500 ACE (JP)|0x1500 Control Code ACE (JP)]]
| Japanese || [[Guides:TMless 0x1500 ACE (JP)| 0x1500 ACE (JP)]]
|}
|}


The following are guides that allows a faster setup on Pokémon Gold & Silver (from Violet City onwards instead of Goldenrod City). The drawback is that these are more technical to perform compared to the guides in the next table.
==Installing the mail writer to easily set up arbitrary payloads==


{| class="wikitable"
{| class="wikitable"
! Game !! Applicable language !! Link
! Game !! Applicable language !! Link
|-
|-
! rowspan="7" | Gold & Silver
! rowspan="6" | Gold & Silver
| English || [[User:TimoVM/Mail_Writer_GS_(EN)|Mail Writer GS (EN)]]
| English || [[Guides:Glitch_Pokédex_Mode_ACE_setup|Fast Glitch Pokédex Mode ACE setup]]
|-
|-
| French || rowspan="4" | [[User:TimoVM/Mail_Writer_GS_(non-EN)|Mail Writer GS (non-EN)]]
| French || [[Guides:Glitch_Pokédex_Mode_ACE_setup_(FR)|Fast Glitch Pokédex Mode ACE setup (FR)]]
|-
|-
| German || [[Guides:Glitch_Pokédex_Mode_ACE_setup_(DE)|Fast Glitch Pokédex Mode ACE setup (DE)]]
| German
|-
|-
| Italian || rowspan="2" | [[Guides:Glitch_Pokédex_Mode_ACE_setup|Fast Glitch Pokédex Mode ACE setup]]
| Italian
|-
|-
| Spanish
| Spanish
|-
|-
| Japanese || [[User:TimoVM/Mail Writer GS (JP)|Mail writer GS (JP)]]
| Japanese || [[Guides:Glitch_Pokédex_Mode_ACE_setup_(JP)|Fast Glitch Pokédex Mode ACE setup (JP)]]
|-
| Korean || [[User:TimoVM/Mail Writer GS (KOR)|Mail writer GS (KOR)]]
|-
! rowspan="6" | Crystal
| English || rowspan="5" | [[User:TimoVM/Mail Writer C|Mail writer C]]
|-
| French
|-
| German
|-
| Italian
|-
| Spanish
|-
| Japanese || [[User:TimoVM/Mail Writer C (JP)|Mail writer C (JP)]]
|}
|}


==Mail writer applications==
==Mail writer applications==


After setting up the mail writer, you can browse through the pages linked below that details the various applications. Versions of the included codes have been made for all versions and all languages.
After setting up the Mail Writer, you can browse through the pages linked below that details the various applications. Versions of the included codes have been made for all versions and all languages.


===Mail codes===
===Mail codes===


Using the mail writer, you can easily write and execute small codes with various effects. The page itself offers a selection of preconfigured codes that can be immediately used once the RAM writer has been set up and require little prior knowledge to effectively use.
Using the Mail Writer, you can easily write and execute small codes with various effects. The page itself offers a selection of preconfigured codes that can be immediately used once the Mail Writer has been set up and require little prior knowledge to effectively use.


[[User:TimoVM/Mail Writer Codes|Mail Writer Codes]]
[[Guides:Mail Writer Codes|Mail Writer Codes]]


===RAM writers===
===RAM writers===


The RAM writer is a complex program that allow you to both read from and write to memory using a simple graphical user interface. The programs linked on the page are quite large (between 288 and 320 bytes in size), require a bit of time to set up and are most useful for players who have some technical knowledge. In return, the RAM writer can be used at any time and offers a high flexibility in writing and executing custom payloads.
The RAM writer is a complex program that allow you to both read from and write to memory using a simple graphical user interface. The programs linked on the page are quite large (between 288 and 320 bytes in size), requiring a bit of time to set up and are most useful for players who have some technical knowledge. In return, the RAM writer can be used at any time and offers a high flexibility in writing and executing custom payloads.

[[Guides:RAM Writer|RAM Writer]]

==Acknowledgements==

* This collection of guides wouldn't have been possible without the setups and programs written by [https://flag3833753.hatenablog.com/entry/2022/08/17/192006 flag3833753] and other members of the JP glitching community, most of which could be easily adapted to other versions.
* Thanks to Crystal_'s earlier contributions on setups for Gold/Silver, along with working out advanced box name code application.
* Thanks to TheZZAZZGlitch for demonstrating efficient ways to program a RAM writer program.
* Thanks to LuckyTyphlosion for working out rough guides on how to abuse 0x1500 ACE on Crystal.
* Thanks to the members of the Glitch City Research Institute discord for providing valuable support and feedback.
* Thanks to Scotteh for providing invaluable help in the development of the mail code converter tool.
* Thanks for Trent and Retire for proofreading the full set of guides.


[[Category:Guides]]
[[User:TimoVM/RAM Writer|RAM Writer]]

Latest revision as of 16:23, 5 June 2024

This is a guide on how to execute and/or exploit a glitch. For a more technical overview of the glitch involved, see Arbitrary code execution.

Arbitrary Code Execution (ACE) is the use of glitches to force the game to execute custom code written by the player. This gives the player near-complete control of the game, allowing the following uses:

  • Add any pokémon, regardless of version.
  • Add any item to the item bag.
  • Freely edit pokémon data, including giving a pokémon any move, editing stat experience and editing DVs to obtain shiny pokémon.
  • Experiment with more complex behaviour, such as walking through walls or adding a run function.
  • For Virtual Console versions, transfer pokémon that could otherwise not be transferred like Mew, the full Treecko line and Torchic.
  • And many more uses.

This page provides ACE setups for every single language/version release of gen 2. All setups are tested to be compatible for both original cartridge and virtual console releases. Alongside that, they should work on most (decently accurate) emulators.

The following demonstrates the setup on English Crystal, alternative setups are available for other versions and languages:

YouTube video by TimoVM


What does this set of guides install?

This set of guides will guide you through the process of setting up ACE for any language version of Gold, Silver or Crystal:

  1. How to obtain an initial ACE setup.
  2. Using that initial ACE setup, install a small mail writer program that allows quick installation of more complicated programs and scripts.
  3. Provide several useful scripts and programs that can be used in combination with the mail writer.

ACE for Gold and Silver can be set up after reaching Goldenrod City, requiring at least two badges. ACE for Crystal can be set up after reaching Cherrygrove City, requiring zero badges.

In addition, more technically demanding alternative setups exist for Gold and Silver that can be set up in Violet City, right after obtaining the first badge.

Obtaining initial ACE setups and installing the Mail Writer

The following are a finished collection of guides that are suitable for all users.

Game Applicable language Link
Gold & Silver English Coin Case ACE
French Glitch Pokédex Mode ACE setup (FR)
German Glitch Pokédex Mode ACE setup (DE)
Italian Glitch Pokédex Mode ACE setup
Spanish
Japanese Wrong Pocket TM ACE (JP)
Korean Wrong Pocket TM ACE (KOR)
Crystal English 0x1500 ACE
French 0x1500 ACE (FR and DE)
German
Italian 0x1500 ACE
Spanish
Japanese 0x1500 ACE (JP)

The following are guides that allows a faster setup on Pokémon Gold & Silver (from Violet City onwards instead of Goldenrod City). The drawback is that these are more technical to perform compared to the guides in the next table.

Game Applicable language Link
Gold & Silver English Fast Glitch Pokédex Mode ACE setup
French Fast Glitch Pokédex Mode ACE setup (FR)
German Fast Glitch Pokédex Mode ACE setup (DE)
Italian Fast Glitch Pokédex Mode ACE setup
Spanish
Japanese Fast Glitch Pokédex Mode ACE setup (JP)

Mail writer applications

After setting up the Mail Writer, you can browse through the pages linked below that details the various applications. Versions of the included codes have been made for all versions and all languages.

Mail codes

Using the Mail Writer, you can easily write and execute small codes with various effects. The page itself offers a selection of preconfigured codes that can be immediately used once the Mail Writer has been set up and require little prior knowledge to effectively use.

Mail Writer Codes

RAM writers

The RAM writer is a complex program that allow you to both read from and write to memory using a simple graphical user interface. The programs linked on the page are quite large (between 288 and 320 bytes in size), requiring a bit of time to set up and are most useful for players who have some technical knowledge. In return, the RAM writer can be used at any time and offers a high flexibility in writing and executing custom payloads.

RAM Writer

Acknowledgements

  • This collection of guides wouldn't have been possible without the setups and programs written by flag3833753 and other members of the JP glitching community, most of which could be easily adapted to other versions.
  • Thanks to Crystal_'s earlier contributions on setups for Gold/Silver, along with working out advanced box name code application.
  • Thanks to TheZZAZZGlitch for demonstrating efficient ways to program a RAM writer program.
  • Thanks to LuckyTyphlosion for working out rough guides on how to abuse 0x1500 ACE on Crystal.
  • Thanks to the members of the Glitch City Research Institute discord for providing valuable support and feedback.
  • Thanks to Scotteh for providing invaluable help in the development of the mail code converter tool.
  • Thanks for Trent and Retire for proofreading the full set of guides.