Gen2Recomped

Gen2Recomped is a native PC port of Pokémon Gold, Silver, and Crystal, supporting many later generations and romhacks with features like cloud saves and a map editor.

README

gen2recomp

Gen2Recomp Discord!

by UNDERdecodedHD
a fork of Gen1Recomp by bryanthaboi and BOIS CLUB GAMES

A native LÖVE2D recreation of Poke Gold, Silver and Crystal, built on Gen1Recomp's Red/Blue/Yellow engine. The engine, script VM, and map behavior are hand-written Lua; game data and graphics are decoded from a ROM supplied by the player.

gen2recomp keeps everything the upstream project does for Generation I and adds the Generation II half: the Gen2 script VM and its command table, the Johto and Kanto world, day/night, breeding and the Day-Care, the Pokegear, shinies, held items, and the Gold/Silver title sequence.

It has since grown well past Generation II. The same launcher now imports and runs FireRed and Emerald (Gen 3), Platinum, HeartGold and SoulSilver (Gen 4), and Black and White (Gen 5), plus the Polished Crystal and Prism romhacks — all side by side, all from your own cartridge dumps. Around the games sit the Monster Walker (a next-gen Pokéwalker with minigames and a Watt Shop), a Map Editor, a Save Editor, machine translation into 25 languages, cloud saves, dual-screen support for the DS games, and touch controls. See What's New for the tour.

Caution

Neither this project nor Gen1Recomp is affiliated with the website gen1recomp[.]com. That site is not run by either project and was not authorized by anyone involved. Do not download anything from it, and treat anything it hosts or claims as untrustworthy. Even if it links back to a real repository, the people behind it can change its content at any time. This GitHub repository is the only official source for gen2recomp.

This project does not include a ROM, emulate the Game Boy, GBA or DS, transpile assembly, or download a disassembly. A canonical cartridge dump of one of the supported games is the only game content input.

The ROM is verified, used during import, and then released from memory. It is not copied into the cache. Later launches load the private generated cache and do not ask for the ROM again. Every version can be imported and played side by side.

Quick Start

Open the desktop app. On first boot, choose your legally obtained .gb / .gbc / .gba / .nds file or drop it onto the window. Import takes a few seconds for Gen 1, a couple of minutes for Gen 2, and longer for the GBA and DS games, then the game starts automatically. Have a whole folder of dumps? Tools → Import ROMs takes several files at once and imports every one it recognises.

On a console or handheld there is no file picker to open: you copy the dump into a folder the launcher scans instead. See Downloads for the exact path per device.

Supported games

Only specific canonical dumps are accepted. The importer verifies SHA-1 before creating any game data; a dump it does not accept is named (game, region, revision) so you know why — see docs/rom-revisions.md.

GameSystemStageSHA-1
RedGBStableea9bcae617fdf159b045185467ae58b2e4a48b9a
BlueGBStabled7037c83e1ae5b39bde3c30787637ba1d4c48ce2
YellowGBStablecc7d03262ebfaf2f06772c1a480c7d9d5f4a38e1
GoldGBCStabled8b8a3600a465308c9953dfa04f0081c05bdcb94
SilverGBCStable49b163f7e57702bc939d642a18f591de55d92dae
Crystal (Rev 1)GBCStablef2f52230b536214ef7c9924f483392993e226cfb
Crystal (Rev 0)GBCStablef4cd194bdee0d04ca4eac29e09b8e4e9d818c133
Polished Crystal 3.2.3GBCBeta6930b48af5844d373e3c9130f26d6dd1084cf4ed
PrismGBCExperimental752076692ae3387cf426ce5f51a98c6b60e8df6a
FireRed (Rev 0)GBAAlpha41cb23d8dccc8ebd7c649cd8fbb58eeace6e2fdc
EmeraldGBAAlphaf3ae088181bf583e55daf962a92bb46f4f1d07b7
Platinum (Rev 1)DSPre-alpha0862ec35b24de5c7e2dcb88c9eea0873110d755c
Platinum (Rev 0)DSPre-alphace81046eda7d232513069519cb2085349896dec7
HeartGold (USA)DSPre-alpha4fcded0e2713dc03929845de631d0932ea2b5a37
SoulSilver (USA)DSPre-alphaf8dc38ea20c17541a43b58c5e6d18c1732c7e582
Black (USA/EU)DSPre-alpha26ad0b9967aa279c4a266ee69f52b9b2332399a5
White (USA/EU)DSPre-alphabc696a0dfb448c7b3a8a206f0f8214411a039208

HeartGold, SoulSilver, Black and White dumps that have had their trailing FF padding trimmed are also accepted, as long as every game byte is intact — see docs/hgss-bw-import.md. The launcher shows each game's stage on its card; Alpha and Pre-alpha games are playable but expect gaps and bugs.

The packaged app contains neither a ROM nor pre-extracted game data. Music, sound effects, and cries are synthesized while the game runs from compact audio channel programs copied out of the verified ROM.

A note on Windows Defender warnings

Windows Defender sometimes flags LÖVE builds with a generic machine-learning detection such as Trojan:Win32/Wacatac!ml. This is a known false positive: the exe is the official LÖVE runtime with the game archive appended (the standard way LÖVE games ship), and Defender's heuristics distrust unsigned executables with appended data. Releases publish SHA-256 checksums (sha256sums.txt) so you can verify your download, and you can confirm a flagged file yourself on VirusTotal, where these builds come back clean on every engine except Defender's heuristic.

What's New

Everything below arrived since this README was last updated.

New games
  • FireRed and Emerald run on a native Gen 3 engine: the Gen 3 bag, PC and Item PC, naming screen, Oak's intro, Town Map FLY, V.S. Seeker rematches, Teachy TV, the Battle Frontier groundwork, Berry Blender, and much more ROM parity work. Both are labelled ALPHA.
  • Platinum brings Sinnoh in 3D from the cartridge's own terrain meshes and props, the Pokétch on the lower screen, bikes, double battles, the Underground menu, and wide-screen battles.
  • HeartGold, SoulSilver, Black and White import and boot to the field — including Professor Juniper's intro in BW — as PRE-ALPHA builds.
  • Polished Crystal (beta) and Prism (experimental) romhacks, with audio, overworld rendering and feature-parity fixes.
  • Mass ROM import: pick a folder's worth of dumps at once.
Monster Walker

A full-screen app in the launcher sidebar, a next-gen take on the HGSS Pokéwalker that works with every imported game:

  • Take a Pokémon out of any game's PC, walk it with your phone's step counter (Android), and send it home levelled up with whatever it found.
  • All 27 original courses, Poké Radar battles, Dowsing, friendship and the 7-day step history, faithful to the original rules.
  • Minigames: Catch Timing, Jump Runner, Memory Match, Rhythm Tap and Treasure Hunt, each with its own leaderboard.
  • Watt Shop: spend watts on items for each generation, a daily Pokémon stock, weekly Mystery Gifts, cosmetics, and the real per-game event distributions (event Pokémon and key items), delivered straight into your save.
  • Passive watts while the app is open, a daily login streak, and 26 achievements.

Every save the Walker touches is backed up first. Details in docs/pokewalker.md.

Map Editor

Tools → Map Editor opens any imported game's maps — Gen 1 through Gen 4 — in a 2D view or the 3D voxel world. Paint tiles, place NPCs and trainers, edit their text, events and flags, shape voxel height, then export your work as a content mod. Nothing is written to the ROM. The full manual (also in the editor under ?) is docs/MAP_EDITOR.md; per-generation differences are in docs/map-editor-gen34.md. Classic Tiled round-tripping is still available (docs/tiled-map-editing.md).

Launcher

The launcher now has a sidebar — News, Games, Monster Walker, Mods, Tools, Settings — with box art and descriptions you can scrape for each game, a choice of layouts, custom backgrounds (including your own .ogv video) and background music. Tools collects:

ToolWhat it does
Map EditorEdit an imported game's maps
Save EditorOpen a save slot and edit it live — party, PC, items, badges, and creating Pokémon
Translate a GameMachine-translate a game's text
Import a SaveBring in a .sav / .dsv from an emulator or cartridge (Gen 1–5)
Export a SaveWrite the active slot out for an emulator
Import ROMsPick one or more ROM files to import
Touch ControlsLay out the on-screen controls
Scrape Game ArtFetch box art and a description for a game
Sync SavesSync every game's saves with the cloud
Restore a SaveBrowse every backup of a slot and restore one
Languages and translation

The launcher and engine are localised (including Brazilian Portuguese), and Translate a Game machine-translates a game's own text into 25 languages — French, German, Spanish, Italian, both Portugueses, Dutch, Polish, Japanese, Simplified Chinese, Russian and more — with official Pokémon names kept from a glossary. Choose a language per game or for the whole launcher.

Cloud saves

Settings → Cloud Saves syncs saves through a local sync folder (OneDrive, Google Drive, Dropbox, iCloud), or signs straight into Google Drive or OneDrive with a short device code. A save is never replaced on its first sync, conflicting copies are both kept, and each side keeps backups. See docs/cloud-saves.md.

Dual screens, touch and controllers
  • Dual-screen devices (Android dual-screen handhelds and second displays) put the DS games' lower screen — the Pokétch, menus — on the second panel; on Gen 1–3 the second screen becomes a live save companion editor.
  • Reworked touch controls with a layout editor and gesture fixes.
  • DS X / Y buttons for Gen 4+ (see Controls).
Safer saves and storage
  • Every save is written atomically, verified, and snapshotted; a lost or corrupt save is recovered automatically from the best copy, and Tools → Restore a Save brings back older ones. See docs/save-safety.md.
  • Settings → Game Data Folder moves ROM caches, mods and imports to another drive or SD card (docs/data-location.md).
Mods and visuals
  • DRAMATIC_SHAPE voxels extended to Gen 3 and HGSS/BW with big performance work, plus cave darkness and many building profiles.
  • A streaming download API (src/net/Fetch.lua) lets mods such as the HD sheets installer pull large asset packs with progress.
  • New mod hooks (party submenu options, and more), copy-on-import for mod files, and launcher/gamedata customisation from mods.

Downloads — which file do I want?

Every release publishes one archive per platform, all built from the same payload in the same run. Grab the row that matches your device.

DeviceFileThen
WindowsGen2Recomped-<ver>-windows.zipUnzip, run the .exe
Windows (Store-style install)Gen2Recomped-<ver>-windows.msix + the .cerSee MSIX below — the .cer is required
macOSGen2Recomped-<ver>-macos.zipUnzip, drag to Applications
Linux (x86-64)Gen2Recomped-<ver>-linux.zipUnzip, run the AppImage inside
Linux (ARM64 / Raspberry Pi / SBC)Gen2Recomped-<ver>-linux-arm64.AppImagechmod +x, run it
Steam DeckGen2Recomped-<ver>-linux.zipThe x86-64 one — the Deck is x86
AndroidGen2Recomped-<ver>-android.apkAllow unknown sources, install
Nintendo SwitchGen2Recomped-<ver>-switch.zipSee Switch below
Xbox (Dev Mode)Gen2Recomped-<ver>-xbox-uwp.zipSee Xbox below
Anbernic RG34XXSPGen2Recomped-<ver>-rg34xxsp-stockos64-mod.zipSee Handhelds below
iOSGen2Recomped-<ver>-ios.ipaSideload — see iOS below
Already have LÖVE 11.5Gen2Recomped-<ver>.lovelove Gen2Recomped-<ver>.love

sha256sums.txt covers every asset in the release. The .love is also what the in-app updater downloads, so it is the smallest file if you are updating by hand.

No download contains a ROM or any game data. Every platform asks for your own cartridge dump on first launch.

Some assets are missing from a release only when that platform's build job failed; the release notes say so explicitly rather than silently omitting it.

Windows (MSIX)

Download both the .msix and the .cer. Windows refuses to install a package it cannot verify, and the certificate is what makes it verifiable. Once per machine, in an elevated PowerShell:

Import-Certificate -FilePath .\Gen2Recomped-<ver>-windows.cer `
  -CertStoreLocation Cert:\LocalMachine\TrustedPeople

Add-AppxPackage .\Gen2Recomped-<ver>-windows.msix

LocalMachine, not CurrentUser — App Installer only reads the machine store, and a certificate in the user store produces error 0x800B010A, which looks exactly like having imported nothing. Later releases then install with just Add-AppxPackage. Details and the signing setup are in docs/msix-signing.md.

If you would rather not deal with certificates at all, take the plain -windows.zip instead — it is the same game.

Nintendo Switch

Needs a homebrew-capable console (Atmosphère + hbmenu). Extract Gen2Recomped-<ver>-switch.zip at the root of your microSD, merging folders when asked. You get:

switch/gen2recomp/gen2recomp.nro          the launcher
switch/gen2recomp/Gen2Recomp/imports/     put your cartridge dump here
switch/gen2recomp/Gen2Recomp/exports/     battery saves come back out here

Then:

  1. Copy a legal .gb / .gbc into switch/gen2recomp/Gen2Recomp/imports/. Dumps are matched by SHA-1, so the filename does not matter.
  2. Launch through hbmenu with a title override (hold R on HOME and open any installed game).
  3. Press Import in the launcher — it scans that folder.

Launcher controls: left stick or D-pad moves the pointer, A clicks, L/R change tabs, +/− play or import on the current tab.

Updating: re-extract the zip and keep the Gen2Recomp/ folder — that is where your saves, imported ROMs, mods and options live. The bundled OTA launcher can also fetch new releases from the console itself.

Xbox (Dev Mode)

Needs Developer Mode on the console — a retail Xbox cannot install this. Gen2Recomped-<ver>-xbox-uwp.zip is a UWP app package; upload it through the Xbox Device Portal in your browser, or Add-AppxPackage it from a paired PC. Build notes are in ports/uwp/BUILD.md.

Handhelds

Gen2Recomped-<ver>-rg34xxsp-stockos64-mod.zip targets the Anbernic RG34XXSP on Stock OS 64-bit MOD with PortMaster, and bundles its own LÖVE runtime, so no separate runtime download is needed. Unzip into the card's roms/PORTS/ folder so Gen2recomp.sh and gen2recomp/ sit side by side, drop your dump into gen2recomp/lovegame/, then launch it from Ports. Install steps, controls and troubleshooting are in docs/anbernic-rg34xxsp.md.

Other ARM64 handhelds and single-board computers can use the generic -linux-arm64.AppImage instead.

Android

Install the APK and pick your dump with the system file picker on first launch. If your device has no document picker, copy the .gb / .gbc into the app's own folder — the launcher shows the exact path. Build steps and the packaging layout are in mobile/ANDROID.md.

iOS

There is no App Store build; sideload the .ipa with AltStore from Windows or a Mac — see docs/ios-sideload.md. To build and install from source on a Mac, see docs/ios-install.md.

Updating

Desktop and mobile builds check GitHub Releases and can update themselves. Console builds tell you a release exists but will not replace themselves — a packaged console app cannot rewrite its own files — so update those the same way you installed them. The Switch is the exception: its OTA launcher replaces both NROs in place. See docs/updater.md.

Controls

ActionKeyboardController
MoveArrow keys / WASDD-pad / left stick
AZ / Enter / SpaceA
BX / BackspaceB
StartEscapeStart
SelectTab / ShiftBack / Select
X (Gen 4+)/North face button (Xbox Y / PS Triangle / Nintendo X)
Y (Gen 4+)'West face button (Xbox X / PS Square / Nintendo Y)

Rebind any of these in-game under OPTIONS → CONTROLS. Controllers are supported out of the box, and touch devices get on-screen controls you can lay out from Tools → Touch Controls. X opens the field menu on DS games; Y uses the registered item.

Hotkeys
KeyWhat it does
- / =Zoom out / in (overworld; also mouse wheel)
2Cycle COLORS
3Cycle TILT (free-roam overworld)
4Cycle ZOOM through every level (free-roam overworld)
5Cycle GBC FX
F1Save
F2Load
F10Open / close the mod manager

COLORS, TILT, ZOOM, GBC FX, and VOID FILL are also in the Options menu and persist in options.lua.

Low-end devices

OPTIONS → PERFORMANCE scales the port's optional extras for weaker hardware: HIGH (everything on), BALANCED (no 3D tilt or GBC FX), LOW (also no survey zoom, FPS capped), or AUTO — the default, which picks a tier from your device (ARM handhelds → LOW, phones → BALANCED, normal desktops → HIGH, unchanged). It only scales presentation; the fixed-step game logic is identical on every tier, and a lower tier hides your tilt/zoom/GBC-FX preferences without forgetting them. Details in docs/new-features.md.

Rulesets

OPTIONS → RULESET picks which set of Generation I battle behaviors to run. Both rulesets share the same damage formulas; they differ only in whether the original's quirks are kept. The setting persists in options.lua, and mods can register their own. Gold and Silver always run their own Gen 2 rules.

gen1_faithful is the default and reproduces the original cartridge, famous bugs included:

RuleBehavior
oneIn256MissA 100%-accurate move still misses on a roll of 255
critUsesBaseSpeedCrit rate reads base speed, not the current stat
critIgnoresStagesCrit rate ignores stat stages
focusEnergyBugFOCUS ENERGY quarters the crit rate instead