[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-108627":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":8,"htmlUrl":8,"language":9,"languages":8,"totalLinesOfCode":8,"stars":10,"forks":11,"watchers":12,"openIssues":13,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":13,"stars7d":15,"stars30d":16,"stars90d":14,"forks30d":14,"starsTrendScore":17,"compositeScore":18,"rankGlobal":8,"rankLanguage":8,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":20,"topics":23,"createdAt":8,"pushedAt":24,"updatedAt":25,"readmeContent":26,"aiSummary":27,"trendingCount":14,"starSnapshotCount":14,"syncStatus":12,"lastSyncTime":28,"discoverSource":29},108627,"SD-Transporter","Shinygati\u002FSD-Transporter","Shinygati",null,"C",115,7,2,1,0,3,23,5,45.51,"GNU General Public License v3.0",false,"main",true,[],"2026-11-19 07:23:55","2026-11-23 15:01:06","# SD Transporter\n\nCurrent version **1.6.2**.\n\nFor app setup, activities, Wi-Fi handoffs and recovery, read [howtouse.txt](howtouse.txt).\n\nFor TWiLight setup and help with missing Pokémon, saving, or phone sync, see the [Pokéwalker troubleshooting guide](https:\u002F\u002Fgithub.com\u002FShinygati\u002FSD-Transporter\u002Fwiki\u002FTroubleshooting-%E2%80%90-Pokewalker).\n\nSD Transporter adds virtual cartridge support to TWiLight Menu++ and nds-bootstrap, allowing compatible Pokémon games to migrate or transfer Pokémon using ROMs and saves stored on the console SD card. It also provides a virtual Pokéwalker for HeartGold and SoulSilver, with companion applications for 3DS, DS\u002FDSi and Android, plus an iPhone source port.\n\nThis is an independent homebrew project built on upstream open-source software. Game ROMs, saves, console firmware and retail Download Play applications are not distributed with the project.\n\n## Educational purpose and AI assistance\n\nSD Transporter is an educational homebrew project developed with assistance from **OpenAI Codex** and **Anthropic Claude**. It is intended for learning, experimentation and studying virtual cartridge interfaces and Pokewalker communication.\n\nSD Transporter has undergone extensive testing, but bugs and device-specific issues may remain. Use it at your own risk, and keep backups of your saves and walker files. Users may compile the project from source using the instructions in this repository, subject to the applicable project and upstream licenses.\n\nAI assistance does not replace the authorship, credits or license requirements of the upstream projects and other contributors. Their notices and source attribution are retained in [CREDITS.md](CREDITS.md), the component licenses and individual source files.\n\n## Features\n\n### Virtual cartridges\n\n- **Virtual Slot-2:** select a GBA ROM for Gen III → IV migration through the game's normal Pal Park flow.\n- **Virtual Slot-1:** select a compatible Gen IV DS ROM for Gen IV → V Poké Transfer through the received Download Play application.\n- Set or remove a virtual cartridge from the per-game **Y menu** in the DSi-based, R4 and Acekard themes.\n- ROM\u002Fsave access and save-write handling through the virtual cartridge interface; the games retain their Pokémon conversion logic and transfer minigame.\n- Source-save write bounds, read-back verification and backups under `saves\u002Ftransfers\u002Fbackups\u002F`.\n- Optional, per-game migration-limit bypass for the supported Diamond, Pearl and Platinum revisions. The option defaults to **Off**.\n\nBlack, White, Black 2 and White 2 Download Play profiles cover English, French, German, Italian, Spanish, Japanese and Korean clients. The 28 verified layouts include both received-client variants for each game family\u002Flanguage. Each decompressed client is checked against its profile before patching; modified or unknown clients are refused. The Japanese Black\u002FWhite constructor has its own verified register layout. Both native Gen IV language-check paths are handled, while the actual source ROM header and native save reader\u002Fwriter remain in use.\n\n### Virtual Pokéwalker\n\nEnable **Virtual Pokewalker** in the Y menu for HeartGold or SoulSilver, then use the game's normal Pokéwalker menu. Each save uses a separate 64 KiB `.walker` EEPROM file alongside the save. On DS Phat\u002FLite, boot the flashcart kernel, launch TWiLight Menu++, and enable the option over the HGSS ROM. An enabled walker routes that game through the modified Nightly bootstrap, overriding kernel\u002FPico selection for that launch.\n\nThe companions provide:\n\n- Steps, watts, current-stroll and lifetime counters, trainer information and the walking Pokémon's species name.\n- Poké Radar, attack\u002Fevade\u002Fcatch battles, Dowsing, Pokémon\u002Fitem storage and explicit replacement choices when the pack is full.\n- Walking events, including item discoveries and wild visitors.\n- The original large portrait and animation stored in the walker file, including original portrait crops. No retail sprite collection is bundled. The phone shell uses the image supplied by the project owner; its LCD is replaced at runtime with current profile data.\n- `\u002Froms`-only walker discovery on the console, readable menus, D-pad navigation and graphical progress indicators.\n- Registered empty walkers keep earning steps and watts, but no Pokémon joins them: HGSS treats a joined partner as an event Pokémon and builds it from walker records the companions never had, which made it illegal. Send a partner from HGSS. Blank\u002Funregistered files and empty files without valid course data are refused.\n\nThe companions recreate Pokéwalker activities without executing retail firmware. Encounters are shiny-locked. On Android and iPhone, tap the Pokéwalker to open its original-style menu, three-button controls and uploaded sound scores. Progress is shared with the current profile. Display assets come from your own data; menu timing and piezo audio are recreated.\n\n**Visits and friendly battles:** connect two profiles on the same phone for a daily visit, or use Bluetooth LE between nearby Android\u002FiPhone devices. Visits keep both partners in their profiles and save their gifts. Friendly battles are available only between phones and cost **30 watts per player** after both accept. They use the retained four moves, PP, power, accuracy and priority, with simplified health and status rules; full game stats, type matchups and special move effects are not simulated. Winners receive an item with higher rare-item rates. Entry and reward receipts survive restarts.\n\n**Optional expanded items:** off by default. Dowsing follows the setting for the current profile. Friendly-battle rewards expand only when **both phones** enable it. If either phone disables it, every battle reward comes from the current course's original item table, weighted toward its rarer entries. Different settings trigger a warning before acceptance or entry payment.\n\n| Item group | Dowsing find | Friendly-battle win |\n| --- | ---: | ---: |\n| Master Ball | 0.01% | 0.5% |\n| PP Max | 0.09% | 4.5% |\n| PP Up | 0.20% | 10% |\n| TM01–TM92, combined | 1.70% | 35% |\n| Vitamins: HP Up, Protein, Iron, Carbos, Calcium, Zinc | 3% | 10% |\n| Rare Candy | 0.5% | 5% |\n| EV training: Macho Brace and six Power items | 0.5% | 5% |\n| Evolution stones and held evolution items | 1% | 5% |\n| Battle held items | 0.5% | 5% |\n| Heart Scale | 0.5% | 5% |\n| Current course item table | 92% | 15% |\n\nEach item is equally likely within its group. Evolution rewards include the ten Gen IV stones, King's Rock, DeepSeaTooth, DeepSeaScale, Metal Coat, Dragon Scale, Up-Grade, Dubious Disc, Protector, Electirizer, Magmarizer, Reaper Cloth, Razor Claw and Razor Fang. The held-item group contains White Herb, Choice Band, Scope Lens, Leftovers, Shell Bell, Muscle Band, Wise Glasses, Expert Belt, Life Orb, Power Herb, Focus Sash, Choice Scarf and Choice Specs.\n\nOriginal-course battle weights are 30%, 25%, 15%, 12%, 8%, 5%, 2%, 1%, 1% and 1% for course slots 1–10. Invalid entries are omitted and weights are normalized. Course data is never rewritten. Ordinary Dowsing with expanded items disabled keeps the game's original course selection rules.\n\n**Special courses:** in the console companion's file list, press **Y**, choose the HGSS game and press **X**, then confirm with **A**. The companion validates the matching raw 512 KiB save, preserves a verified original under saves\u002Ftransfers\u002Fbackups\u002F, enables that save language's supported special-course flags and updates the save checksum. Select an activated course in HGSS when sending a Pokémon. Ordinary watt-based course progression is unchanged. RAM-upload event commands and unsupported regional course entries are not enabled.\n\n### Step sources\n\n| Platform | Default | Available settings |\n| --- | --- | --- |\n| 3DS | System pedometer on; timer off | System pedometer, time-based counter, or pause |\n| Android | Phone step sensor on; timer off | Phone step sensor, time-based counter, or pause |\n| iPhone source port | Core Motion pedometer on; timer off | Physical step history, foreground timer, or pause |\n| DS\u002FDSi | Time-based counter on | Time-based counter or pause |\n\nEach phone profile uses one step source at a time. The timer defaults to **one step every 10 seconds**. Missing physical sensors do not automatically enable timer-based steps.\n\nOn 3DS and DS\u002FDSi, time-based walking counts while the selected walker is open, including lid sleep; elapsed sleep time is applied on waking. Closing the companion excludes that closed interval. The 3DS pedometer uses an opening baseline and includes system-recorded steps during the open session, including sleep; earlier steps are excluded. Android tracking runs through its foreground service, with an ongoing notification, including when its screen is off. Android's optional timer excludes intervals while that service is stopped.\n\nThe iPhone port queries Core Motion history from the current handoff baseline and credits it together with its saved journal; iOS supplies up to seven days of physical history. Its optional timer counts only while the app is active, excluding suspension and closed-app time. The iPhone app is supplied as source and requires an Apple SDK build. See [ios\u002FREADME.md](ios\u002FREADME.md).\n\nCurrent-stroll steps reset when HGSS returns the Pokémon; lifetime steps remain available on the trainer card. Available watts and pack contents return through HGSS's normal exchange. HGSS controls accumulated returned watts and course unlocks; normal walking does not change course-unlock flags directly. The separate, confirmed special-course option described above edits only the supported special flags.\n\n### Local Wi-Fi handoff\n\n- Sync using the console's **IP address**, with no pairing-code entry.\n- Save named consoles on Android and iPhone, select an existing address, or remove a saved entry.\n- Check out the walker to a phone and lock console\u002FHGSS loading until it is returned.\n- Verify response length, checksum, handoff session, walker identity and stroll information.\n- Retry interrupted transfers automatically using the same saved session, including a return whose acknowledgement was lost.\n- Recover on the console if the phone is unavailable. Confirmation restores the pre-checkout snapshot and revokes the old phone session; Phone-only progress is not merged into the restored snapshot, and existing recovery copies are retained.\n\nThe console refuses a receive retry or return that would replace a different, newer walker. Durable per-session receipts preserve revocation across later handoffs. A repeated completed return preserves newer console progress and requires a valid final walker file before it can acknowledge success. Android and iPhone freeze activities during a pending return and retain the pending state across process restarts.\n\nThe lock remains after an interrupted download because the console cannot assume that the phone received nothing. Retry **Receive Pokémon from console** on the same phone, or use **Recover** on the console to cancel the handoff. An old revoked phone session cannot upload its progress; a fresh checkout is required.\n\n## Requirements and compatibility\n\n| Component | Requirements and limits |\n| --- | --- |\n| Virtual cartridges \u002F HGSS integration | Matching modified TWiLight Menu++ and nds-bootstrap builds, compatible games, and console SD access on a homebrew-capable DSi or 3DS\u002F2DS. GBA\u002FGen V virtual-cartridge paths still require console SD. The virtual Pokéwalker also supports DS Phat\u002FLite flashcarts: HGSS, its save and its walker must all be on the flashcart microSD. |\n| Gen IV → V transfer | Two consoles and the supported received Download Play client setup. This does not replace the wireless host with a single-console transfer tool. |\n| GBA source | Region-independent ROM-header and save emulation, including Japanese GBA releases; the destination game retains its own migration rules. Supported 32, 64 or 128 KiB saves; a supported 16-byte RTC trailer is preserved. Header\u002Fsave access is emulated, not every GBA cartridge feature. Reads beyond the 512-byte ROM header return open-bus data; EEPROM saves and arbitrary Slot-2 DMA are not implemented. |\n| Gen IV source | Diamond, Pearl, Platinum, HeartGold and SoulSilver with 512 KiB saves. The selector, adapter and client family classifier accept English US\u002FEU\u002FAustralian, French, German, Italian, Spanish, Japanese and Korean game codes. The actual ROM header is preserved. Native save validation remains active; end-to-end Japanese\u002FKorean transfers still need verification with real regional ROMs\u002Fsaves. |\n| Gen V client | Verified layouts for English, French, German, Italian, Spanish, Japanese and Korean Black\u002FWhite\u002FBlack 2\u002FWhite 2 received clients. Native CPU read\u002Fcommit tests passed; regional radio stability and Japanese\u002FKorean text round-trips still need hardware verification. Modified or unknown clients are refused. |\n| Standalone NDS companion | DS\u002FDSi-compatible homebrew launch with working DLDI\u002FSD access. Native 256x192 UI with cached redraws. DS Lite adds in-app open\u002FWEP Wi-Fi setup; other models use saved Nintendo WFC settings. Access-point compatibility depends on hardware and launch mode. |\n| iPhone companion | Initial iOS 16+ SwiftUI source port; real Xcode build\u002Fdevice validation pending. Build on macOS, then sign\u002Finstall an IPA from Windows using AltStore. Free-account signing normally needs weekly refresh. |\n| Android companion | Android 8.0 or newer. Physical walking requires a `TYPE_STEP_COUNTER` sensor and physical-activity permission where required. ARM64, ARMv7 and x86-64 builds are supported. |\n\nROM hacks retaining compatible headers and native save formats may work through the virtual cartridge interface. Changes to game code, save layouts or transfer assumptions can break compatibility. Support for every game revision, localization or hardware combination is not implied.\n\nThe migration bypass currently targets USA Diamond\u002FPearl Rev 5 and USA Platinum Rev 0\u002F1. Header\u002Frevision checks and a unique migration-helper instruction signature guard the patch; these are **not full-ROM cryptographic verification**. Normal eligibility rules, a six-Pokémon batch and an empty Pal Park still apply. Retail HeartGold\u002FSoulSilver already removed the daily\u002Fclock restrictions, so they do not receive this bypass patch.\n\n## Installation\n\nStart with an existing working TWiLight Menu++ installation. Compile the required SD Transporter components from source using [BUILDING-WINDOWS.md](BUILDING-WINDOWS.md) and the component build instructions. The following table describes where to install your compiled outputs.\n\n| Build output | Destination \u002F action |\n| --- | --- |\n| `dsimenu.srldr`, `r4menu.srldr`, `akmenu.srldr` | Copy to `sd:\u002F_nds\u002FTWiLightMenu\u002F` |\n| `nds-bootstrap-nightly.nds` and `nightly-bootstrap.ver` | Copy both to `\u002F_nds\u002F` on the console SD or flashcart microSD; select **Nightly** for this build |\n| `pokewalker3ds.3dsx` and its `.smdh` | Copy to `sd:\u002F3ds\u002Fpokewalker3ds\u002F` for the Homebrew Launcher |\n| `3DS-Pokewalker.cia` | Install on a homebrew-enabled 3DS using a CIA installer |\n| `Pokewalker-NDS.nds` | Place under `\u002Froms`, then launch through TWiLight Menu++ or a suitable flashcart |\n| `Pokewalker-Android.apk` | Install on Android; update over the existing app to retain its handoff state |\n\nThe 3DS CIA title ID is `000400000F7E1200`.\n\n### Console SD and DSpico packages\n\n- **3DS or DSi cfw only** contains the console SD files. On a modded DSi, start TWiLight Menu++ from the console SD using `BOOT.NDS` in Unlaunch.\n- **DSi Flashcart \u002F 3DS or DSi SD** goes on the console SD. **DSi Flashcart \u002F Pico SD** goes on the DSpico microSD. Launch `BOOT_ALT.NDS` in DSi mode and select the console SD in TWiLight.\n\n### Physical HeartGold and SoulSilver\n\nThe [standalone cartridge launcher](TWiLightMenu-27.25.1\u002Fslot1launch\u002FREADME-CARTRIDGE.md) runs in DSi mode on DSi and 3DS and stores the virtual walker on the console SD. Insert the retail cartridge before boot or use the launcher’s insert prompt if you started through DSpico with console SD access. The physical cartridge send-and-return cycle still needs hardware testing.\n\n### Migration and Poké Transfer\n\n1. Hover over the source GBA or supported DS ROM and press **Y**.\n2. Choose **Set as virtual Slot-2 cartridge** or **Set as virtual Slot-1 cartridge**. The entry changes to **Remove as…** for the selected cartridge.\n3. Launch the destination Gen IV game for GBA migration, or use the Gen V host and received Download Play client for Poké Transfer.\n4. Complete the game's normal transfer flow.\n\nSettings are stored under `sd:\u002F_nds\u002Fnds-bootstrap\u002F`: `slot2.ini`, `poketransfer.ini`, `migration.ini` and `pokewalker.ini`. A source save such as `saves\u002FPokemon Pearl.sav` is backed up under `saves\u002Ftransfers\u002Fbackups\u002F` with a content-identifying `.poketransfer-XXXXXXXX.bak` suffix.\n\n### Pokéwalker and phone sync\n\n1. Enable the virtual Pokéwalker for HGSS and send a Pokémon on a stroll using the game's menu.\n2. Close HGSS, open the console companion, and select a valid registered walker beneath `\u002Froms`. It must have a partner sent from HGSS for Radar, Dowsing and catches; an empty walker only earns steps and watts.\n3. For phone use, connect both devices to the same local network and open **Settings → Phone sync** on the console.\n4. Open **Console Wi-Fi sync** on the phone, enter or select the console IP, and choose **Receive Pokémon from console**. Keep the console sync screen open.\n5. To return, reopen console Phone sync and choose **Return Pokémon** on the phone.\n6. Press **START → Save and exit** before reopening HGSS. Walking progress and rewards stay in memory until you save or complete a phone handoff.\n\nLocal sync uses TCP port **30820** over unencrypted HTTP. Trainer\u002Fgame information and step totals travel directly to the entered console IP; session tokens and CRC32 do not encrypt the connection. The phone discloses this before first use. No developer-operated server receives sync data. Guest-network client isolation can prevent devices from reaching each other. On DS Lite, use **Settings > Wi-Fi setup**, or press **Y** on the walker list to configure Wi-Fi before opening a walker. Select an open\u002FWEP network; WEP uses a 10-, 26- or 32-digit hexadecimal key. Select a blank-name result to enter its hidden SSID, or press **Y** inside Wi-Fi setup to enter a name and run a directed search. The SSID keyboard preserves case, spaces and symbols, accepts 1–32 printable ASCII bytes, and uses **R** to switch keyboard pages, **X** to delete, **START** to submit and **B** to cancel. The **SP** key inserts a space. D-pad\u002FA and touch entry are supported; X deletes a key digit and START connects. A successfully connected network is saved to `\u002Fdata\u002Fpokewalker\u002Fwifi.bin` on the flashcart card and reused for phone sync. This profile contains the network key; keep it private. WPA\u002FWPA2\u002FWPA3 are not supported by this DS Lite setup. Other console models keep their existing Nintendo WFC settings path. The DS Lite setup does not write the console firmware.\n\nKeep `.walker.phone`, `.walker.lease` and `.walker.returned` files beside the walker: they hold the recovery snapshot, checkout lock and retry\u002Frevocation receipt. A checked-out `.walker` is intentionally a zero-byte placeholder. Do not overwrite it with a backup to bypass checkout; use **Recover**. The supplied bootstrap also checks `.walker.lease` before opening or creating a walker. Immutable checkout, return, conflict and recovery snapshots and per-token receipts are kept under adjacent `transfers\u002Fbackups\u002F`; do not delete them during an active handoff. Bootstrap also creates a verified pre-launch snapshot before connecting HGSS to an existing walker. Holding **SELECT + LEFT** during the HGSS connection search still resets the virtual walker to an unregistered state. These backups provide recovery points, not a guarantee against every power or storage failure. Phone recovery copies can be exported through Settings.\n\n## Source and building\n\n| Folder | Purpose |\n| --- | --- |\n| `TWiLightMenu-27.25.1\u002F` | Modified DSi-based, R4 and Acekard menus and shared upstream code\u002Fassets |\n| `bootstrap\u002F` | Modified nds-bootstrap retail source, GBA\u002FGen V\u002FHGSS integration and phone-lock guard |\n| `3ds\u002F` | 3DS companion, native filesystem handling and console UI |\n| `nds\u002F` | Standalone NDS companion and framebuffer\u002Finput adapters |\n| `android\u002F` | Android app, foreground step service, saved consoles and Wi-Fi client |\n| `ios\u002F` | Initial SwiftUI iPhone port, Core Motion tracking, shared C bridge and reproducible Xcode project |\n| `shared\u002F` | Portable EEPROM\u002Fgameplay core used by Android and iPhone; keep it consistent with the console copies when changing shared logic |\n\n**[Windows build instructions](BUILDING-WINDOWS.md)** cover every independently built component, including each menu theme. The legacy TWiLight Menu++\u002Fbootstrap SDK and current Calico-based NDS companion SDK must be kept separate. The shared folder is compiled by its consumers and has no standalone application target.\n\nOn Linux, use the corresponding devkitPro SDKs with GNU Make and the commands in the component documentation: [bootstrap](bootstrap\u002FBUILD.md), [3DS](3ds\u002FREADME.md), and `python3 nds\u002Fbuild.py`. Android uses its Gradle\u002FCMake project on either platform. iOS builds require macOS\u002FXcode; [iPhone build and Windows installation instructions](ios\u002FREADME.md) and an optional manual CI template are included. Linux builds have not been validated for this snapshot.\n\n## DS Lite support\n\nLaunch the flashcart kernel, then TWiLight Menu++. Keep HGSS, its save and its walker on the same flashcart microSD. Enable **Virtual Pokewalker** in the HGSS Y menu and launch with the matching modified Nightly bootstrap. Hold **SELECT** on the game's Pokéwalker connection screen. The standalone NDS companion opens the same walker under `\u002Froms` and provides DS Lite Wi-Fi setup for compatible open\u002FWEP networks.\n\n## Backups, recovery and readable names\n\nCompanions display English in-game Pokémon and item names, including catch\u002Ffind confirmations. Console walker previews and phone recovery entries show trainer names and public five-digit Trainer IDs when available. The 3DS recovery browser reads native SD timestamps for dates and oldest-first ordering; unavailable dates display **Unknown date**.\n\nRecovery histories retain **10 snapshots per walker**, removing the oldest only after a new snapshot is verified. Active files, in-flight phone snapshots and ownership receipts are protected separately. Backups never become active profiles automatically. Settings offers confirmed deletion of individual snapshots or the active walker; active deletion preserves a verified recovery copy first.\n\nOn consoles, **Settings → X** or **file list → SELECT** opens Recovery. **Y** changes walker history and **L\u002FR** selects a snapshot. **START** opens selected-backup restoration; **A** confirms it. **SELECT** inside Recovery opens missing-file recovery from adjacent `.tmp`\u002F`.bak` candidates. Phone Settings provides export\u002Fdelete recovery controls. See [howtouse.txt](howtouse.txt) for full controls and interrupted-transfer recovery.\n\n## Mobile profiles\n\n\nAndroid and the iPhone source app support several named walker profiles. The existing single walker remains in its original storage location as Walker 1. Each profile has a separate ownership journal, trainer binding, progress, pack, settings and recovery folder. Use **Walker profiles** to add, select or rename one. All active profiles earn steps; viewing another profile does not pause the others. Paused, revoked, pending-return and currently syncing profiles do not earn steps. Android's notification provides **Pause all**.\n\nAfter its first receive, a profile accepts only the same trainer name and public Trainer ID. Matching consoles check these before checkout, and phones verify the received data too. This intentionally treats saves with identical trainer names and IDs as the same trainer; existing session checks continue to protect returns. Update console and phone companions together. A returned profile retains its trainer binding. Deleting its active Pokémon clears that binding; recovery history remains available.\n\nConsole Recovery now supports **START → Restore selected backup → A Confirm**, including over an existing empty walker. The current file is preserved first, trainer mismatches are refused, and an outstanding phone lease is revoked. This is deliberate recovery: an old checkpoint can duplicate Pokémon already received in HGSS. **SELECT** in the recovery browser selects missing-file recovery from adjacent `.tmp`, `.replace-old`, `.bak` and `.bak.tmp` candidates; START also offers it when no history snapshot is selected.\n\nThe NDS companion mounts storage without libdvm's write-back cache so save verification reaches the underlying DLDI media interface. Both console companions recheck the final `.walker` after return cleanup. A receipt alone cannot confirm a missing, empty or invalid final file. Phone copies stay locked until a verified acknowledgement; recovery histories remain separate from active profiles.\n\nPhone battles now show the original two-frame partner and opponent images supplied by the walker, with attack, evade and Poké Ball presentation. Motion timing is recreated; the original firmware is not executed. A catch with an available pack slot is saved before its animation plays. Native console battle frames are preserved.\n\nAutomated checks cover profile migration\u002Fisolation, all-active physical\u002Ftimer credit, catalogue write failures, trainer mismatch refusal before checkout, final-file acknowledgement checks, explicit snapshot restoration and existing save\u002Frestart\u002Fownership behavior. The iPhone app is provided as source; an Apple SDK build is required to produce an IPA.\n\n## Repository contents and validation\n\n`.gitignore` excludes game dumps, saves, walker EEPROMs and sidecars, local firmware\u002FBIOS\u002FNAND dumps, compiled distributions, signing keys and build caches. Required source assets and binary patch tables remain eligible for version control.\n\nExtensive testing includes portable gameplay and ownership checks, interrupted-transfer and storage-failure injection, Android profile\u002Fjournal tests, native ARM checks for DS startup, Wi-Fi and save\u002Freload behavior, and build\u002Fsignature verification. Use the project at your own risk and keep independent backups of your saves and walkers.\n\nFor a sync issue, include the console\u002Fapp version, phone model, direction and displayed error. Console diagnostics are written to `sd:\u002F3ds\u002Fpokewalker3ds\u002Fsync-error.log` on 3DS and `\u002Fdata\u002Fpokewalker\u002Fsync-error.log` on NDS. Keep private ROMs and saves out of public issues.\n\nAndroid Play Store preparation documents are in [android\u002Fplay-store](android\u002Fplay-store\u002FREADME.md), including draft listing, privacy and testing material.\n\n## Credits and license\n\nSD Transporter builds on **[TWiLight Menu++](https:\u002F\u002Fgithub.com\u002FDS-Homebrew\u002FTWiLightMenu)** and **[nds-bootstrap](https:\u002F\u002Fgithub.com\u002FDS-Homebrew\u002Fnds-bootstrap)**. Credit belongs to Rocket Robz, ahezard, shutterbug2000, Pk11 and the upstream projects' developers, designers, translators and other contributors.\n\nThe project also uses work from devkitPro and its library contributors, bundled third-party libraries, and Pokémon\u002FPokéwalker research projects. **[CREDITS.md](CREDITS.md)** records source provenance, additional authors, research references and the locations of retained notices. Existing file-level authorship and licenses remain authoritative.\n\nSee [LICENSE](LICENSE), the component license files and individual source notices. This independent project is not affiliated with or endorsed by Nintendo, Game Freak or The Pokémon Company.\n\n### Returning after local files were deleted\n\nPhone sync remains available when the console has no walker files. From the file list press **Y**, select the HGSS ROM under \u002Froms, then **A** and confirm receiving the phone copy. This creates the matching missing save-folder destination and verifies the final .walker before acknowledging the return. If Android\u002FiPhone reports a revoked old session, use its explicit phone-copy recovery confirmation with this console screen open. Existing active console files and other phone leases cannot be overwritten.\n\nDeleting a phone profile's active Pokémon clears its trainer-name\u002Fpublic-ID pairing. The next receive can bind that empty profile to another trainer. An ordinary successful return keeps the pairing. Recovery copies remain separate and do not appear as active Pokémon.\n\n## v1.6.2 update\n\n- **\"This Pokéwalker has not been registered\":** when HGSS pairs a walker it first resets it, which clears the registration, then writes your trainer details. If the link is cut between those two steps, the walker is left unregistered. At launch, if the save has no Pokémon out and the walker has lost its registration, the bootstrap now puts back the newest copy registered to the same trainer (`\u003Cwalker>.lastgood`, or the newest prelaunch snapshot), keeping steps and watts and ending any leftover stroll. A walker wiped on purpose, or a `.walker` file you deleted, is recognised (still erased) and left as a new walker. Noted in `_nds\u002Fnds-bootstrap\u002Fpokewalker-repair.txt`.\n- **SELECT + LEFT now needs a deliberate hold:** both buttons must be held for about two seconds on the search screen before the walker is wiped. A quick or accidental press does nothing, and it never works once a connection has started.\n\n## v1.6.1 update\n\n- **Lost walker Pokémon and \"a Pokémon is already on the Pokéwalker\" (DSi\u002F3DS):** since v1.5.1 the walker held back its final \"connection complete\" reply until every change was verified on the SD card. On a slower card that could outlast HGSS's timeout, so the game abandoned a return the walker had already applied: the Pokémon was in neither place, and the game's save still said it was out on the walker. The walker now replies straight away, writes everything as soon as the session ends, and answers a resent completion. The real-cartridge launcher saves the same way.\n- **Holding SELECT through a transfer (all setups, including DS flashcarts):** the walker re-armed and advertised on the very first poll after a session ended if SELECT was still held, while HGSS was closing the link, so the game abandoned the send or return without saving. SELECT now only arms the walker on a fresh press after each link, and the walker stays silent for 120 polls after any session ends.\n- **Automatic walker repair at launch:** before HGSS starts, the bootstrap compares the walker with the save. A Pokémon the save says isn't out (left on the walker by an unfinished send, and still in the party or PC) is removed so sending works again; a walker that lost the Pokémon the save says is out is restored from `\u003Cwalker>.lastgood` or the newest matching prelaunch snapshot. Same trainer only, never a phone-held walker, and older joined partners are left alone. Changes are noted in `_nds\u002Fnds-bootstrap\u002Fpokewalker-repair.txt`; the pre-repair walker stays in the prelaunch snapshot. ROM launches only.\n- **Real HGSS cartridge launcher:** fixed \"Cannot verify the SD sector map\". Raw SD reads went into stack buffers in ARM9 DTCM, which the ARM7 SD driver cannot reach; they now go through a main-RAM buffer.\n- **Empty move slot with PP:** HGSS's overlay 112 sets walker move IDs over the default moveset without fixing PP. While the walker session runs, the bootstrap patches that routine in RAM so empty slots get 0 PP. It only patches an exact, unique match.\n- **Illegal Pokémon:** removed the solo-join feature, which produced event-path Pokémon HGSS could not build legally.\n- **Data checks:** before every save, the NDS, 3DS, Android and iPhone companions repair a damaged mirrored-record copy from the good one and refuse to save malformed walker data (species, level, item, form, or moves: missing first move, gaps or repeats). Consoles apply the same check to phone returns. Caught Pokémon are only stored from well-formed course data.\n- Removed unused code: the UI preview build hooks and unused helpers.\n- Release build: removed the DS-flashcart walker diagnostics (forced nds-bootstrap logging and `pokewalker-status.txt`). `pokewalker-error.txt` still explains why a walker did not connect.\n\n## v1.5.1 update\n\nThe rebuilt bootstrap spreads background EEPROM writes across frames and holds the final session-completion acknowledgement until verified write-back has completed. Source, binaries and build records are included. These safeguards address a specific RAM-to-disk completion window; they do not establish the cause of every reported lost Pokemon. See [the bootstrap build record](bootstrap\u002FBUILD.md).\n","SD Transporter 是一个为任天堂DS\u002F3DS平台设计的开源虚拟卡带工具，主要用于在兼容的宝可梦游戏中实现跨世代精灵迁移与传输。其核心功能包括：通过虚拟Slot-1\u002FSlot-2支持GBA\u002FDS ROM加载，实现钻石珍珠→白金→黑\u002F白→XY等版本间的合法迁移流程；集成虚拟Pokéwalker，支持心金魂银的步行器同步；提供多平台配套应用（DSi、3DS、Android、iOS）。项目基于TWiLight Menu++和nds-bootstrap构建，强调ROM与存档的本地化管理、写入校验与备份机制，适用于宝可梦收藏者、跨版本玩家及家用破解设备上的存档迁移场景。","2026-11-24 04:34:47","CREATED_QUERY"]