- Python 63.8%
- Rust 34.9%
- PowerShell 0.7%
- C++ 0.6%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| fixtures | ||
| players | ||
| src | ||
| tests | ||
| tools | ||
| vendor/peliarch-toolkit | ||
| .gitattributes | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| LICENSE | ||
| PLAYTESTS.md | ||
| PORTABLE-README.txt | ||
| README.md | ||
| supported-scope.json | ||
Sunshine Archipelago WIP
An independent native Super Mario Sunshine Archipelago integration, with a Windows playable package and inspectable client source. A full campaign on the current playable binaries has not been played.
Download the Windows ZIP from this repository's
WIP releases.
Extract the whole ZIP to a writable folder and open Sunshine Archipelago.cmd.
It asks for your own USA GMSE01 revision 0 ISO/NKit image. No game image,
extracted Nintendo assets, player saves or credentials are included. The package
includes the native port, Peliarch GUI client, embedded Python and a local AP
server; no compiler, Python or AP installation is required to use it.
The included SunshinePlayable solo example uses normal randomization:
87 active checks, 70 Shine items, 50 Shines required for Corona. It needs no
partner, plando or server item commands. The original world model reaches every
active check and Victory in eight progression spheres. Play normally, choose the
save for this run and save once to enroll. Subsequent launches resume its paired
native card, bridge journal and AP server save in runs/solo. Preserve that whole
folder when moving or backing up the package. Use a separate complete profile
for another seed/slot; the player chooses the matching save.
Keyboard: Enter pauses, Space confirms, Escape quits. After receiving the capabilities, 3 / D-pad left equips Hover, 2 / D-pad down Rocket and 4 / D-pad right Turbo. If a ticket or Yoshi arrives while already in Plaza, Save & Continue and reopen the game to refresh entrances and objects.
Supported scope and evidence
The current matching native/client source pair supports all original APWorld
options: ticket or vanilla access, Spray/Hover/FLUDDless starts, all four
difficulty presets, all three blue-coin modes, eight 100-coin Shine checks,
ten nozzle-box checks, selectable-all episodes and bidirectional DeathLink.
It publishes the original PopTracker stage and episode keys. Shine quantity,
all four nozzle capabilities, Yoshi and 1-UP retain the original IDs and saves.
The original wip-2026-10-14 download remains the older 87-check profile; these
features require the new matching pair. Exact admitted values and evidence
boundaries are in supported-scope.json.
Runtime reachability is unknown; generation uses the original world logic.
The eighteen-profile server matrix and 72 native-method combinations cover the added runtime options. The methods exercise actual Mario/WaterGun, director box callbacks, episode/tutor predicates and native card serialization. The server fixtures substitute physical events and readiness. They verify functional delivery and persistence without claiming a played rendered campaign. The two-slot fault/replay report also covers tracker keys, DeathLink readiness and echo suppression, denied atomic writes and retry, duplicate/fractional timestamps, native boot changes and both slots' complete generated check/reward delivery. Valid same-boot native commands that expire across a menu/transition, or become far-future after a clock change, retire their sequence without killing Mario. The next fresh real AP link succeeds without restarting; wrong boot/save/slot and duplicate commands cannot advance acknowledgment. The preserved old native fails this regression (negative control).
Blue coins and boathouse trades (new native/client pair)
These are existing APWorld YAML options. They affect newly generated seeds;
the original wip-2026-10-14 download does not support these modes.
The original 87-check seed and its no_blue_coins protocol remain compatible.
| Configuration | blue_coin_sanity |
blue_coin_maximum |
trade_shine_maximum |
Checks | 1-UP filler with 70 Shines |
|---|---|---|---|---|---|
| Coin checks only | full_shuffle |
0 |
0 |
327 | 247 |
| Coin checks plus 12 trades | full_shuffle |
120 |
12 |
339 | 139 |
| Normal coin collection, 12 trade checks | trade_shines_only |
240 (unused) |
12 |
99 | 19 |
All examples keep tickets, Spray start, normal difficulty, 70 Shine items and a 50-Shine Corona gate. Copy the complete example from players. For coin checks only, the relevant section is:
Super Mario Sunshine:
blue_coin_sanity: full_shuffle
blue_coin_maximum: 0
trade_shine_maximum: 0
full_shuffle turns all 240 physical blue coins into checks regardless of how
many Blue Coin rewards are in the pool. Pickups send AP items; received currency
pays for trades. Set blue_coin_maximum to 120 and trade_shine_maximum to 12
to enable twelve trade checks. The trade limit accepts 0–24 and the currency
limit accepts 0–240. The original generator adjusts incompatible quantities.
trade_shines_only keeps ordinary physical coin currency and randomizes only
the configured boathouse trades. no_blue_coins retains the old behavior.
The three example seeds passed original-world generation and full model reachability. Real AP server tests with the compiled production bridge delivered all 327/339/99 checks and all rewards, including 120 Blue Coin rewards in the trade-enabled shuffle. Duplicate checks, reconnect, process restart, spent-life replay and the ending goal passed; the original 87-check seed also passed with the new pair. These server fixtures substitute physical/save callbacks. Eight actual native-method cases also cover all 240 pickup flags, currency rules, trade caps and card save/load/restore. Physical collision, boathouse dialogue/scripts and normal rendered save prompts remain unverified; generated reachability is not a physical playthrough. Delivery, accounting and replay are owned by automation. There is no mandatory human queue; see the validation boundaries and Peliarch testing principle.
Evidence is deliberately bounded:
- Generation and original-world contract coverage: 87 checks, 70 Shines, 50-Shine Corona, every active check and Victory reachable in the model.
- Actual AP server and compiled production-bridge harness: all 87 check receipts, 89 item tuples including two starting items, seven applied 1-UP receipts, reconnect/restart and AP completion status 30. Physical/save callbacks are substituted in that harness; this is not a game playthrough.
- Player-confirmed physical partner Airstrip pickup and receiver Shine count
0 to 1 on the earlier two-slot profile. A normal save serialized that Shine;
a fresh headless process loaded a copy and retained it, the same GUID, checks
[1,63]and four receipts. That reload used no AP connection or new grants. - Rendered Rocket firing, ordinary Save & Continue, fresh normal card load and Rocket firing again passed on an isolated earlier profile. The current playable executable also passed bounded normal menu/load compatibility on a copied card.
- Portable package real AP authentication and native runtime relocation tests launch no visible game or GUI. The complete current solo campaign remains unplayed; game feel and rendered campaign usability remain unobserved.
fixtures retains the generation, server, contract and native load
reports. package.json inside the download pins every distributed file. The
download uses the previously tested playable client and native executable;
the bundled matching SDK source is independently compiled and tested.
Connect your own supported AP room
The included solo seed is an example. From the extracted package in PowerShell:
& '.\Sunshine Archipelago.cmd' --server 'ws://HOST:PORT' --slot 'YourSlot' `
--profile 'my-room' --disc 'C:\games\my-owned-sunshine.iso'
This creates a separate runs/remote-my-room native card/bridge pair and does
not start the bundled solo server. Keep that pair for reconnects. Use the existing
Super Mario Sunshine world and the exact supported options; the client refuses
unsupported contracts. For a passworded room, set an environment variable and
add --password-env NAME; passwords are not stored in the launcher arguments.
Use wss:// when the server provides TLS. Headless remote preflight is available
by adding --verify-server; it opens no game or GUI. Remote auth uses the same
client but arbitrary external rooms have not been manually played through.
For the included local seed, these open no game or GUI:
& '.\Sunshine Archipelago.cmd' --plan
& '.\Sunshine Archipelago.cmd' --verify-server
The second command creates/resumes real local AP state. Logs are under the run's
launches directory. To restart the fixed seed from scratch, preserve and move
the entire runs/solo folder aside first. Never mix its component saves.
Build the client source
The repository includes a neutral MIT-licensed Peliarch toolkit export under
vendor/peliarch-toolkit, derived from revision
e691531bc97757cc4426d541ac422f8b7e6f2a41. Cargo dependencies use relative paths;
no private server or developer checkout is needed. The export manifest records
its files and independent lockfile. The public websocket fork is pinned by
revision in that SDK. Install the Rust nightly MSVC toolchain and Windows MSVC
build tools, then from the repository root:
cargo build --features gui --locked
cargo test --features gui --locked
cargo clippy --features gui --all-targets --locked -- -D warnings
cargo fmt -- --check
Native source/build and licenses
are published alongside this integration. The tested native code revision is
ac40c4b26771ab44d6182e6a938271fbf001f789 (docs revision 64a547e). Its upstream
decompilation uses CC0; the port and integration use MIT, with additional runtime
and embedded-code notices shipped in the package. No bundled disc is enabled.
The existing SMS world is
Joshark/archipelago-sms, pinned at
20cc30b58613ee28a7fe3dd4143f96c33fdadf72; this source snapshot differs from the
published world 0.6.2 release. The client preserves that world's network
identities and ordered IDs rather than creating a replacement APWorld.
Packaging and historical engineering tools
tools/package_wip.py builds a fresh package from explicit
tested client/game/seed, native DLL/license, AP core runtime and shared server
helper inputs. It refuses changed binary pins or an existing destination and
downloads official CPython 3.12.10 embedded plus pinned Windows wheels. The
distributed AP 0.6.8 runtime's source and individual hashes are included.
Run python tools/package_wip.py --help for its complete input list.
tools/portable.py is the package's independent launcher;
it discovers everything relative to its extracted root, authenticates freshly
before native launch, keeps run saves paired and stops only its own children.
The older launch_test, preparation and fixture tools retain historical local
workspace defaults for reproducing earlier experiments. They are not the
download's entry point. Historical fixture paths identify evidence locations,
not installation requirements. No complete campaign claim is inferred from
those records.