Generated from the tools' own --help (python site/gen_reference.py), so it matches the code.
maxduo_saves.py (save backup)
usage: maxduo_saves.py [-h] [--list] [--out OUT] [--verbose] [--gba-save] [--banks {1,2}]
[--map MAP] [--lab ARG [ARG ...]] [--width {1,2,4}] [--map-lab MAP_LAB]
[--save-type {flash128,flash64,sram32}] [--slow] [--restart]
[--cart-report] [--wait WAIT] [--update FILE] [--cart]
Export DS saves from an Action Replay MAX DUO (read-only)
options:
-h, --help show this help message and exit
--list only list what's stored
--out OUT folder for exported saves (default: saves)
--verbose show raw directory entries
--gba-save read the GBA cartridge's save (needs the patched firmware)
--banks {1,2} 64 KB banks to read for --gba-save (2 for 128 KB Flash, e.g. Pokemon)
--map MAP cartridge mapping for --gba-save: 0x7 (default), 0x1 or 0x101 (needs patch
version 2)
--lab ARG [ARG ...] lab firmware: probe | peek ADDR LEN | scope ADDR SECONDS | script
FILE.json | batch FILE.json
--width {1,2,4} access width for --lab peek/scope
--map-lab MAP_LAB mapping for --lab peek/scope
--save-type {flash128,flash64,sram32}
override save-type detection for --gba-save (v3 firmware)
--slow use the slower Datel-style lab transfers even on v3.1
--restart restart the DUO program and bring it back into USB SERVER MODE (Reckless
v4)
--cart-report read-only report on the GBA cartridge: header, size, whole-ROM checksum,
health
--wait WAIT seconds to wait for the GBA to be switched on (default 120)
--update FILE install a DUO firmware update file (asks for confirmation)
--cart read the save straight from the cartridge in the slot
duo_events.py (events and link features)
usage: duo_events.py [-h] [--wait WAIT] [--virtual HOST:PORT] COMMAND ...
Pokemon Generation III events from the Action Replay MAX DUO's GBA (firmware v4.2). Reads and
writes nothing on either cartridge: the game saves what it receives itself.
positional arguments:
COMMAND
gift Mystery Gift: a Wonder Card over the wireless adapter route (MGB-010 cable)
union the Union Room: the DUO as a trainer in the room (MGB-010 cable): its card,
a chat, and a trade from the trading board
friend Mystery Gift with a friend: the game SENDs its Wonder Card or News to the
DUO, and this PC keeps it (MGB-010 cable; simulator-tested only)
news Mystery Gift: Wonder News over the wireless adapter route (MGB-010 cable)
event Mystery Event: the e-Reader route to Ruby/Sapphire (GBA link cable)
trade a trade in the Cable Club: the game receives a Pokemon (.pk3) and saves it
itself
colosseum a battle in the Cable Club Colosseum (single or double; Ruby, Sapphire,
Emerald, FireRed, LeafGreen): the PC chooses the DUO's moves, and
everything the game sends is recorded
tower Emerald's Battle Tower link multi battle: the DUO is your partner, the PC
choosing its moves
blender the Berry Blender (Ruby, Sapphire, Emerald): the DUO blends with you,
pressing as its arrow passes, and the PC says which Pokeblock you made
contest Emerald's link Contest (E mode): the DUO enters a Pokemon (.pk3) against
yours
lab4p a lab experiment: can the DUO be three players on a two-player cable?
(docs/MULTI.md)
multiboot send a multiboot program (your own file) to a GBA with no cartridge, as
Emerald's Berry Fix screen does (docs/MULTIBOOT.md)
gifts the GameCube discs' Jirachi and the Berry Program fix, made from your own
discs and cartridges (docs/GAMECUBE_MULTIBOOT.md); lists them, or sends one
with --send
bios read the DUO's own GBA BIOS (16 KB, read only) and keep it on this PC in
bios/ (docs/DUO_RESOURCES.md): Nintendo's code, never shared
mix Record Mixing in the Cable Club: Secret Bases (.sb3) go in, the game's own
come back
inspect the save explorer: sent to a GBA in the owner's Berry Fix, it reads the
cartridge's save and shows everything in it (reads only); add --send
clock set a Ruby/Sapphire/Emerald cartridge's clock from this PC's time (--set
'YYYY-MM-DD HH:MM'); add --send
bases read-only: write a save backup's Secret Bases as .sb3 files; no DUO needed
base Secret Base cards: `base make CARD.txt` writes its .sb3; `base show
FILE.sb3` prints one
adapter-test lab: does a game on the second GBA detect the adapter?
adapter-check a REAL Wireless Adapter in the DUO's GBA: the DUO asks it what a game asks,
listens to a search, and compares the answers with its own adapter (nothing
is written)
probe lab: the 2 MHz answer-encoding probe
pk3-info read-only: describe Gen 3 Pokemon files (.pk3); no DUO needed
find-serial read-only: search the cartridge in the DUO for the distributor serial
options:
-h, --help show this help message and exit
--wait WAIT seconds to wait for the DUO's GBA to be switched on (default 120)
--virtual HOST:PORT talk to a Virtual DUO (the emulated DUO in mGBA) at this address instead of
over USB
Examples: duo_events.py gift --card "E - Item Old Sea Map (JPN).wc3" duo_events.py event --event
"RS - Item Eon Ticket (ENG) (UK).me3"
gift
usage: duo_events.py gift [-h] [--card FILE.wc3] [--serial HEX] [--sweep-serial] [--check-search]
[--lab] [--air] [--seconds SECONDS] [--keep-going]
options:
-h, --help show this help message and exit
--card FILE.wc3 your own .wc3 file; without one, the distributor has nothing to send
--serial HEX use this distributor serial instead of choosing one for the game (Japanese
Emerald 7F7F, others 7F7D)
--sweep-serial offer every distributor serial in turn until the game connects (about 6
minutes; a test)
--check-search list the distributor four times per search answer: the game restarts its
search if they arrive intact (a test)
--lab the lab build: flick tuning, a link-port scope, the first data commands
--air over the air: a REAL Wireless Adapter in the DUO's GBA and the other in the
game's GBA (no cable); needs --card; at most 120 seconds
--seconds SECONDS stop after this long (default 600)
--keep-going don't stop when the game has the gift: keep listening (Ctrl+C stops)
union
usage: duo_events.py union [-h] [--pk3 FILE.pk3]
[--want {normal,fighting,flying,poison,ground,rock,bug,ghost,steel,fire,water,grass,electric,psychic,ice,dragon,dark}]
[--seconds SECONDS] [--keep-going]
options:
-h, --help show this help message and exit
--pk3 FILE.pk3 a Pokemon the DUO puts on the trading board (without one, it offers no
trade)
--want {normal,fighting,flying,poison,ground,rock,bug,ghost,steel,fire,water,grass,electric,psychic,ice,dragon,dark}
the type the DUO asks for in return (default normal)
--seconds SECONDS stop after this long (default 600)
--keep-going don't stop when the game has the gift: keep listening (Ctrl+C stops)
friend
usage: duo_events.py friend [-h] [--out FILE] [--seconds SECONDS] [--keep-going]
options:
-h, --help show this help message and exit
--out FILE where to keep it (default: a dated .wc3 or .wcn in the 'received' folder)
--seconds SECONDS stop after this long (default 600)
--keep-going don't stop when the game has the gift: keep listening (Ctrl+C stops)
news
usage: duo_events.py news [-h] --news FILE [--serial HEX] [--seconds SECONDS] [--keep-going]
options:
-h, --help show this help message and exit
--news FILE your own Wonder News file (bare, or with its CRC in front)
--serial HEX as for gift
--seconds SECONDS stop after this long (default 600)
--keep-going don't stop when the game has the gift: keep listening (Ctrl+C stops)
event
usage: duo_events.py event [-h] [--event FILE [FILE ...]] [--seconds SECONDS] [--keep-going]
options:
-h, --help show this help message and exit
--event FILE [FILE ...]
your own Mystery Event script or saved event (.me3); several Japanese
Emerald Trainer Hill e-Cards go together; without one, a dry run (link
players only)
--seconds SECONDS stop after this long (default 600)
--keep-going don't stop when the game has the gift: keep listening (Ctrl+C stops)
trade
usage: duo_events.py trade [-h] --pk3 FILE [FILE ...] [--seconds SECONDS] [--keep-going]
options:
-h, --help show this help message and exit
--pk3 FILE [FILE ...]
the Pokemon to send (.pk3): up to six, traded one after another in one
sitting
--seconds SECONDS stop after this long (default 600)
--keep-going don't stop when the game has the gift: keep listening (Ctrl+C stops)
colosseum
usage: duo_events.py colosseum [-h] --pk3 FILE [FILE ...]
[--level {easy,medium,elite,impossible,simple}] [--allow-unchecked]
[--fallback S] [--seconds SECONDS] [--keep-going]
options:
-h, --help show this help message and exit
--pk3 FILE [FILE ...]
the DUO's team (.pk3): 1 to 6 Pokemon
--level {easy,medium,elite,impossible,simple}
how the DUO plays: easy, medium (default), elite, impossible (sees your
team and your choice each turn, within the game's rules), or simple (the
first move with PP, the probe)
--allow-unchecked battle even with a Pokemon that couldn't exist in the games as it is
--fallback S seconds the DUO waits for the PC before choosing by itself (default 15)
--seconds SECONDS stop after this long (default 1800)
--keep-going don't stop when the game has the gift: keep listening (Ctrl+C stops)
tower
usage: duo_events.py tower [-h] --pk3 FILE [FILE ...] [--level {easy,medium,elite,impossible}]
[--retire-after N] [--allow-unchecked] [--as-player0] [--fallback S]
[--seconds SECONDS] [--keep-going]
options:
-h, --help show this help message and exit
--pk3 FILE [FILE ...]
the DUO's two Pokemon (.pk3)
--level {easy,medium,elite,impossible}
how the DUO plays (default medium)
--retire-after N the DUO retires after battle N (default: it carries on as long as you do)
--allow-unchecked bring a Pokemon that couldn't exist in the games, or a team the Battle
Frontier's rules wouldn't take
--as-player0 carry on with the DUO's GBA on the master end (by Emerald's rules you then
command the DUO's Pokemon and it yours)
--fallback S seconds the DUO waits for the PC before choosing by itself (default 15)
--seconds SECONDS stop after this long (default 3600)
--keep-going don't stop when the game has the gift: keep listening (Ctrl+C stops)
blender
usage: duo_events.py blender [-h] [--berry NAME [NAME ...]] [--skill {expert,good,casual}]
[--blends N] [--name NAME] [--gender {boy,girl}] [--seconds SECONDS]
[--keep-going]
options:
-h, --help show this help message and exit
--berry NAME [NAME ...]
the DUO's berries, in order of choice: the first that isn't yours goes in
(up to four; default Oran, then Sitrus: they leave your Pokeblock's
flavours as they are)
--skill {expert,good,casual}
how the DUO presses: expert (always the best spot, default), good, or
casual
--blends N how many blends the DUO stays for (1-9, default 1)
--name NAME the DUO's trainer name (default DUO)
--gender {boy,girl} the DUO's trainer (default boy)
--seconds SECONDS stop after this long (default 1800)
--keep-going don't stop when the game has the gift: keep listening (Ctrl+C stops)
contest
usage: duo_events.py contest [-h] --pk3 FILE [--category {cool,beauty,cute,smart,tough}]
[--order N [N ...]] [--rivals FILE FILE] [--allow-unchecked]
[--seconds SECONDS] [--keep-going]
options:
-h, --help show this help message and exit
--pk3 FILE the DUO's contestant (.pk3)
--category {cool,beauty,cute,smart,tough}
the category you'll choose at the counter: the DUO then shows its ribbon
rank in it
--order N [N ...] the move slots (1-4) in the order the DUO uses them, in turn (default: the
PC plans the five rounds from the moves' contest effects)
--rivals FILE FILE two .pk3s for the other two contestants, used if the DUO is player 0 (on
the cable's master end): player 0 chooses them
--allow-unchecked enter a Pokemon that couldn't exist in the games
--seconds SECONDS stop after this long (default 1800)
--keep-going don't stop when the game has the gift: keep listening (Ctrl+C stops)
lab4p
usage: duo_events.py lab4p [-h] [--players {1,3}] [--link {none,trade,corner,blender}] [--gap Q]
[--bit-adjust N] [--hybrid] [--scope] [--seconds SECONDS]
[--keep-going]
options:
-h, --help show this help message and exit
--players {1,3} the DUO's players: 3 (slots 0, 2, 3; default) or 1 (the control)
--link {none,trade,corner,blender}
the link-up to ask link players for (default trade: two players only);
none: the handshake only
--gap Q quarter bits before slots 2 and 3 (default 4; with --hybrid the DUO tries
several unless this is given)
--bit-adjust N the bit time's correction (1/256 cycle a bit)
--hybrid the DUO's link hardware sends slot 0, the DUO slots 2 and 3 by hand (16
November: the game takes the hardware's words, not the hand-made ones)
--scope the DUO's own link hardware as the master, the lines watched: how a real
GBA master's transfer looks, to copy
--seconds SECONDS stop after this long (default 600)
--keep-going don't stop when the game has the gift: keep listening (Ctrl+C stops)
multiboot
usage: duo_events.py multiboot [-h] [--send] [--from-rom EMERALD.gba] [--seconds SECONDS]
[--keep-going]
[FILE]
positional arguments:
FILE the program: a 0xC0-byte cartridge header, then the program for 0x02000000
options:
-h, --help show this help message and exit
--send really send it (without this, the tool only checks the program and says
what it is): the program may write the other GBA's cartridge, so back it
up first
--from-rom EMERALD.gba
take the Berry Fix program (for Ruby and Sapphire's berry clock) from your
own Emerald, FireRed or LeafGreen ROM, as their title screens send it
--seconds SECONDS stop after this long (default 300)
--keep-going don't stop when the game has the gift: keep listening (Ctrl+C stops)
gifts
usage: duo_events.py gifts [-h] [--roms ROMS] [--send] [--seconds SECONDS] [--keep-going] [which]
positional arguments:
which the number or part of the name of the gift to send (from the list)
options:
-h, --help show this help message and exit
--roms ROMS where your .ciso discs and .gba cartridges are (default: roms/ beside the
tools)
--send really send it: it writes the other GBA's cartridge (a Jirachi into the save,
or the Berry Fix's clock change), so back the save up first
--seconds SECONDS stop after this long (default 300)
--keep-going don't stop when the game has the gift: keep listening (Ctrl+C stops)
bios
usage: duo_events.py bios [-h] [--out FOLDER] [--seconds SECONDS] [--keep-going]
options:
-h, --help show this help message and exit
--out FOLDER where to keep it (default: bios/ beside the tools)
--seconds SECONDS stop after this long (default 120)
--keep-going don't stop when the game has the gift: keep listening (Ctrl+C stops)
mix
usage: duo_events.py mix [-h] [--base FILE [FILE ...]] [--gift ITEM] [--strict]
[--record FILE.rm3] [--layout {ruby,emerald}]
[--tv FILE.tv3 [FILE.tv3 ...]] [--news FILE.pn3] [--old-man FILE.om3]
[--trend FILE.dt3 [FILE.dt3 ...]] [--mail FILE.dm3] [--tower FILE.bt3]
[--seconds SECONDS] [--keep-going]
options:
-h, --help show this help message and exit
--base FILE [FILE ...]
Secret Bases to bring (.sb3): up to twenty, one sitting; without any, the
DUO only reads the game's bases
--gift ITEM an item the game receives (e.g. "Eon Ticket"); only when the DUO is player
0
--strict refuse bases a real player couldn't have made, not just warn
--record FILE.rm3 a whole record to bring (records.py; its bases unless --base)
--layout {ruby,emerald}
the record's layout: ruby (the default; every game mixes with it) or
emerald (to an Emerald only, its own layout: the Lilycove lady,
apprentices and hall records too; Japanese Emerald needs this, as it won't
mix with an English Ruby)
--tv FILE.tv3 [FILE.tv3 ...]
TV shows to bring (sent off the air, so they travel)
--news FILE.pn3 PokéNews to bring
--old-man FILE.om3 the Mauville old man to bring
--trend FILE.dt3 [FILE.dt3 ...]
Dewford trends to bring (up to five)
--mail FILE.dm3 day-care letters to bring
--tower FILE.bt3 a Battle Tower trainer to bring
--seconds SECONDS stop after this long (default 600)
--keep-going don't stop when the game has the gift: keep listening (Ctrl+C stops)
inspect
usage: duo_events.py [-h] [--set 'YYYY-MM-DD HH:MM'] [--roms ROMS] [--send] {inspect,clock}
Berry tools: the save explorer (reads only) and the clock setter
positional arguments:
{inspect,clock}
options:
-h, --help show this help message and exit
--set 'YYYY-MM-DD HH:MM'
clock: the time to offer (default: now, plus about a minute for the
transfer; you can still adjust it on the GBA before pressing A)
--roms ROMS your ROMs (default: roms/)
--send send it with the DUO (python duo_events.py multiboot ... --send)
clock
usage: duo_events.py [-h] [--set 'YYYY-MM-DD HH:MM'] [--roms ROMS] [--send] {inspect,clock}
Berry tools: the save explorer (reads only) and the clock setter
positional arguments:
{inspect,clock}
options:
-h, --help show this help message and exit
--set 'YYYY-MM-DD HH:MM'
clock: the time to offer (default: now, plus about a minute for the
transfer; you can still adjust it on the GBA before pressing A)
--roms ROMS your ROMs (default: roms/)
--send send it with the DUO (python duo_events.py multiboot ... --send)
bases
usage: duo_events.py bases [-h] [--game {Ruby,Sapphire,Emerald}] [--out FOLDER] SAVE.sav
positional arguments:
SAVE.sav
options:
-h, --help show this help message and exit
--game {Ruby,Sapphire,Emerald}
if the backup's folder doesn't say
--out FOLDER where to write them (default: a 'bases' folder beside this tool)
base
usage: duo_events.py base [-h] [--out FOLDER] [--strict] {make,show} FILE [FILE ...]
positional arguments:
{make,show}
FILE
options:
-h, --help show this help message and exit
--out FOLDER make: where to write the .sb3 files (default: beside each card)
--strict make: refuse a card with warnings too
adapter-test
usage: duo_events.py adapter-test [-h] [--seconds SECONDS] [--keep-going]
options:
-h, --help show this help message and exit
--seconds SECONDS stop after this long (default 180)
--keep-going don't stop when the game has the gift: keep listening (Ctrl+C stops)
adapter-check
usage: duo_events.py adapter-check [-h] [--seconds SECONDS] [--host] [--serial HEX] [--lang LANG]
options:
-h, --help show this help message and exit
--seconds SECONDS how long to listen during the search (1-60, default 10)
--host instead of searching, broadcast a Mystery Gift distributor over the air and
see whether a game (with the other adapter) finds and joins the DUO
--serial HEX --host: the distributor serial (default 7F7D; Japanese Emerald 7F7F)
--lang LANG --host: the language to broadcast (1 Japanese, 2 English...)
probe
usage: duo_events.py probe [-h] [--seconds SECONDS] [--keep-going]
options:
-h, --help show this help message and exit
--seconds SECONDS stop after this long (default 600)
--keep-going don't stop when the game has the gift: keep listening (Ctrl+C stops)
pk3-info
usage: duo_events.py pk3-info [-h] FILE [FILE ...]
positional arguments:
FILE
options:
-h, --help show this help message and exit
find-serial
usage: duo_events.py find-serial [-h] [--deep]
options:
-h, --help show this help message and exit
--deep read the cartridge into memory and find the accepted-serials list
records.py (Record Mixing files)
usage: records.py [-h] {show,split,join,predict} ...
Record Mixing records and their parts, as files.
positional arguments:
{show,split,join,predict}
predict what a Ruby or Sapphire save would keep after mixing with a record
options:
-h, --help show this help message and exit
duo_battle.py (the battle partner on its own)
usage: duo_battle.py [-h] [--demo] [--pk3 PK3 [PK3 ...]] [--vs VS [VS ...]]
[--level {random,easy,medium,elite,impossible}]
[--opponent {random,easy,medium,elite,impossible}] [--tournament N]
[--seed SEED]
A Gen 3 single battle on the PC, with easy, medium and elite players.
options:
-h, --help show this help message and exit
--demo a battle between two made-up teams, turn by turn
--pk3 PK3 [PK3 ...] your team, as .pk3 files
--vs VS [VS ...] the other team, as .pk3 files (default: made up)
--level {random,easy,medium,elite,impossible}
how your team plays (default elite)
--opponent {random,easy,medium,elite,impossible}
how the other team plays
--tournament N N battles between --level and --opponent
--seed SEED
duo_rom.py (your ROM's parts for the workshop)
usage: duo_rom.py [-h] [--whole] [--out FOLDER] [--map MAP] [--wait WAIT]
Copy what the Secret Base Workshop needs from the cartridge in the DUO to a ROM file (read-only).
options:
-h, --help show this help message and exit
--whole copy the whole ROM, any game (slow: well over an hour)
--out FOLDER where to save it (default: a 'roms' folder beside this tool)
--map MAP cartridge mapping (default 0x101, as for saves)
--wait WAIT seconds to wait for the GBA to be switched on (default 120)