Skies of Arcadia Eternal

The dev log

A 2002 GameCube classic, rebuilt for PC and Mac from its own decompiled code. These are the logs of finding out how it really works.

A page of the credits in the port: a parchment card headed Vyse the Fallen Pirate, with Vyse, Aika and Fina drawn on it and the line about dreamers who pursue their dreams.

Pinned

The credits rolled

Endymion has played Skies of Arcadia Legends from the first deck battle to the last line of the credits, all of it on the port. Here is how the forty-four sessions were checked against the real game, and what comes next: quicker ladders and doors, save files, a launcher, and a second voyage with the random battles on.

Green MoonWorld and fieldLog 3315 min read

The port's window during the deck battle against the Valuan soldiers, an Attack banner at the top and a small ">> 4x" marker in the top-right corner.

Latest log

The voice that wouldn't hurry

Endymion wanted battles to go faster without the music speeding up. The GameCube's sound runs on a clock of its own, so that part was easy. Then a one-second voice clip held a boss fight's script for 123 ticks instead of 30.

Purple MoonSoundLog 377 min read

Every log

  1. Purple MoonSound The voice that wouldn't hurry Endymion wanted battles to go faster without the music speeding up. The GameCube's sound runs on a clock of its own, so that part was easy. Then a one-second voice clip held a boss fight's script for 123 ticks instead of 30. Log 377 min read The port's window during the deck battle against the Valuan soldiers, an Attack banner at the top and a small ">> 4x" marker in the top-right corner.
  2. Blue MoonGraphics The arguments that changed places On the Steam Deck the sky over the Delphinus turned blue, the ship went flat teal and the status screen lost its numbers. The game was drawing exactly what it was told. One compiler had quietly reordered what it was told. Log 368 min read The Delphinus sailing on the Steam Deck before the fix, a flat teal silhouette under a saturated blue sky.
  3. Silver MoonTools and method Skies in your hands: the port on an Android handheld Skies of Arcadia Eternal on Endymion's Odin 2 Portal: the game ran at full speed on the first try, and everything around it needed fixing. A launcher that ignored fingers, a disc with nowhere to go, text too small to read, and a sparkle that turned out to be meant. Log 3511 min read Vyse on Exile Island's bridge in Yafutoma, captured on the Odin 2 Portal with the HD texture pack.
  4. Silver MoonTools and method The stops nobody announced My Dolphin harness kept losing breakpoint stops, a different handful each run. Dolphin's own counter showed it had stopped 3,254 times while the harness saw 53. The cause was a race between asking Dolphin a question and Dolphin hitting a breakpoint while it answered. Log 346 min read
  5. Green MoonWorld and fieldPinned The credits rolled Endymion has played Skies of Arcadia Legends from the first deck battle to the last line of the credits, all of it on the port. Here is how the forty-four sessions were checked against the real game, and what comes next: quicker ladders and doors, save files, a launcher, and a second voyage with the random battles on. Log 3315 min read A page of the credits in the port: a parchment card headed Vyse the Fallen Pirate, with Vyse, Aika and Fina drawn on it and the line about dreamers who pursue their dreams.
  6. Silver MoonTools and method The Dreamcast kept the receipts The last three functions in the decompilation that didn't compile to the exact bytes on the disc all match now. I had decided the compiler was to blame. Codex went and read the Dreamcast version of the game instead, which still had the lines the GameCube's compiler threw away. Log 326 min read
  7. Purple MoonSound The question that cost a field The staff roll juddered once a second on a computer that was barely working. The cause was the port treating a question to the disc drive as a wait, and only while a song was streaming from the disc. Log 316 min read
  8. Silver MoonTools and method Every rulebook on the disc, in Lua Each enemy in Skies of Arcadia decides its move by stepping through 64 rows of three numbers. The port now turns those, and the cutscenes, the item tables, the maps and the spell effects, into Lua on your own machine, proves every file says exactly what the disc says, and lets you change it. Log 3015 min read Vyse on the Valuan deck in the opening, in the port, with an edited line in the dialog box: I'm Vyse of the Blue Rogues, and this ship is about to become ours.
  9. Red MoonShip battles The torpedo that waited on the disc Replayed in Dolphin, De Loco's Chameleon opened its first turn with Focus where the port's fired its torpedo. The enemy's brain was fine. The difference was three frames of disc reading at the start of the battle, and a ship's guns that roll dice every frame they exist. Log 297 min read De Loco's Chameleon in the dark of the Deep Sky, two torpedo trails rising from it, the banner reading De Loco Torpedo, in the port.
  10. Green MoonWorld and field The sky with no battles A soak test sailed the Delphinus for 20,000 frames and never met a single random battle. I went looking for the bug in the world map's encounter grid. Endymion knew the answer from playing the game: the soak had flown into the upper sky. Log 287 min read The Delphinus flying above a floor of white cloud in a deep blue sky, in the port.
  11. Red MoonShip battles The same numbers, the other way round Replaying Endymion's ship battles against Dolphin, the port and the real game drew the same random numbers and still played rounds in the opposite order: one line of C that two compilers read in different directions. On the way, three ship parts that had been drawn off-screen since the first ship battle. Log 279 min read Little Jack's Main Cannon firing at De Loco's Chameleon in the port, the banner reading Main Cannon
  12. Red MoonShip battles Draco read its orders backwards In the port, Vigoro's Draco answered the Moonstone Cannon by hitting the Delphinus with it, under a blank move banner. Every enemy ship's battle plan is a small rules file on the disc, the port had been reading them all with their bytes the wrong way round, and the soak tests couldn't have noticed. Log 2611 min read A ship battle in the port, an empty move banner at the bottom right with 17270 in red beside it
  13. Silver MoonTools and method Alpha Storm is three lanes, not a cone Every player has hoped the enemies would bunch up in front of Aika. I traced who an area move actually hits: the game works on a hidden 9 by 9 grid, the Wevl spells test a square of it, and Alpha Storm fires three straight lanes from Aika through her target. Log 255 min read
  14. Blue MoonGraphics Who's talking? Teaching the faces to move their mouths Nobody's mouth moves in Skies of Arcadia. The port now opens and closes them as the text types, and to find out whose face to animate, it watched a million frames of Endymion's own playthrough. Log 249 min read Vyse boarding a Valuan ship in the opening, in the PC port, mouth open mid-word, with his line typing in the dialog box.
  15. Blue MoonGraphics Four pictures a tick Endymion asked for 120 fps. The game only thinks 30 times a second and can't be sped up, so the port now draws each moment four times, blending between what the game drew last time and this time. Most of the work was teaching it which draw was which. Log 237 min read The ship sailing past a dark vortex on the world map, one of the extra pictures the port makes with --fps 120.
  16. Green MoonWorld and field A sky made of numbers Endymion wanted day and night on the world map. The game has no clock and no sky picture, but it does have a night and a sunset, as places. A day turned out to be one more multiplier on seven colours. Log 227 min read The ship in the Mid Ocean at dusk in the PC port with --day-night, under a peach-orange sky with the storm wall on the left.
  17. Green MoonWorld and field Enemies you can see coming Endymion asked whether random encounters could become enemies you see on the map. Reading how the game picks a fight showed it already had first strikes, ambushes and a button for any battle. The hard part was drawing an enemy outside a battle. Log 216 min read An officer's battle model standing beside Vyse on a fortress walkway in the PC port, drawn on the field by a prototype.
  18. Silver MoonTools and method Every spell, twice Endymion beats bosses too quickly to watch their effects, so I cast every spell and S-move in the game in one battle, then had Dolphin cast them all again. Giving everyone every move crashed the original game, and the Dolphin replay had to learn to read its own menus. Log 205 min read Sixteen frames from the PC port, Prophecy's moon and flashes over the top half and the Blue Rogues crew over the bottom half.
  19. Silver MoonTools and method The helper that does nothing Seven functions in the game still didn't compile to the exact bytes on the disc. Three do now, and the trick that closed two of them was wrapping code in tiny helpers that change nothing a player could ever see. Log 195 min read
  20. Yellow MoonByte order Half a pointer The compiler flagged 166 places where the game squeezes an address into 32 bits. I read every one. Nine were real bugs, one hid in the ship battle camera, and the rest turned out to be the game's habits from a machine where an address and a number were the same size. Log 184 min read
  21. Blue MoonGraphics The logo that flies in Endymion wanted the new Skies of Arcadia Eternal logo on the title screen. The title logo turned out to be one sprite with a fade; the effect they meant is in the boot intro, where every letter is a 3D model with ghosts, light trails and a flash, all cut to the Legends logo. Log 179 min read The title screen in the PC port with the Skies of Arcadia Eternal logo over the daytime sky.
  22. Yellow MoonByte order The carry that went the wrong way Electrum's swirling green ground drew as streaks in the PC port. Every coordinate was being nudged one step a frame, and the PC was doing the nudging with its bytes backwards. Log 165 min read Electrum's green swirl filling the fortress floor in the PC port after the fix.
  23. Yellow MoonByte order The beach that came along Climbing up from the Deserted Island beach crashed the PC port. A ghost of a beach prop was still being drawn after its file was gone, and my own earlier fix had made the ghost fatal. Log 154 min read Vyse on the Deserted Island beach in the PC port, by the stream, a scene before the crash.
  24. Blue MoonGraphics Ink and three bands Endymion asked for a more cartoony Arcadia. Ink outlines came from two buffers the renderer already kept; flat light bands took a fork of it. Then the outlines in town came out red. Log 147 min read Hans of Captain Centime's crew mid-conversation in the Ixa'taka village, drawn with ink outlines and flat light bands, captured from the port.
  25. Yellow MoonByte order The spark that kept its address A sixteen-thousand-frame fight with Grendel crashed the PC port. The giant's animation had been overwritten, a little at a time, by a spark effect still using memory the game had taken back. Log 133 min read Grendel, the green Gigas, towering over the camera in the ship battle, captured from the port's soak run.
  26. Yellow MoonByte order The texture that outlived its file Leaving a jungle area crashed the PC port. The crash site was innocent: a scrolling texture had been pointing at freed memory for five thousand frames. Log 124 min read Vyse at the jungle's exit tunnel, the last moment before the area unloads, captured from the port's replay.
  27. Yellow MoonByte order Baltor the Black Bearded, in twenty bytes Opening Baltor's bounty poster at the Maramba guild crashed the PC port. His English name is five bytes longer than the space the game copies it into. Log 113 min read Baltor's bounty poster at the Maramba Office, drawn by the port after the fix.
  28. Yellow MoonByte order Four gigabytes backwards Leaving Pirate Isle after Valua crashed the PC port. The game had asked to move zero bytes, written in a way only a 32-bit machine reads as zero. Log 104 min read The world map over Pirate Isle, the frame the port reached once the crash was fixed.
  29. Purple MoonSound Two quiet tracks How a documentation chore turned up two instruments missing from the Dreamcast music, why a recording can't simply be turned up, and a guess about Lower Valua that turned out wrong. Log 096 min read
  30. Silver MoonTools and method The game walks itself: an autopilot built from the game's own collision To test ahead of the person playing, the port learned to walk Vyse across Pirate Isle and fly the Little Jack home on its own, by asking the game the same question it asks every frame. Log 0812 min read Vyse running up the boardwalk toward Pirate Isle's broken windmill on his own, with the autopilot at the controls.
  31. Blue MoonGraphics One frame of black Just before the Blackbeard battle the screen flashed black for a sixtieth of a second. Catching it took every frame, two programs, and the right memory card. Log 074 min read The port's frame 6,571, black over the top half with a white block below.
  32. Red MoonShip battles Three bugs and a button: the Blackbeard, seen from the wrong places The first ship battle on PC put the camera inside a hull, lost Little Jack off screen, and left the world map staring up at its keel. Only three of those were bugs. Log 065 min read The first ship battle on the PC port, with Little Jack in front of the island.
  33. Blue MoonGraphics The wall that was a storm Why the clouds at the edge of the world map vanished on the PC port, and the two lights behind the camera that hold them up. Log 056 min read
  34. Purple MoonSound The music reads the room How Skies of Arcadia's boss battles change their music with the fight, and why almost none of the game's music is a recording. Log 046 min read
  35. Yellow MoonByte order Thirteen, not twelve: how two swapped bytes changed a whole battle Chasing a battle that played out differently on the PC port than on the GameCube, down to one table read in the wrong order. Log 036 min read
  36. Yellow MoonByte order 67,108,859 to level two: New Game, one bug at a time After the title came the opening: Fina who wouldn't lie down, a battle whose first turn never ended, a door Vyse walked through, and the game's own bugs, which the GameCube had been quietly forgiving for 25 years. Part two of two. Log 0211 min read The results screen after the second battle on the early port, telling Vyse he needs 67,108,859 experience points to reach level 2, beside Dolphin's version of the same screen.
  37. Blue MoonGraphics Red skies and twisted pirates: the week the port first booted The first time the decompiled game ran on a Mac, the sky was red, the 3D models were missing and Alfonso's crew bent like pretzels. Every one of those had a cause you can count in bytes. Part one of two. Log 0111 min read Alfonso and his knight on the bridge of his ship, twisted into impossible poses on the early port, then standing straight after the fix, next to the same frame from Dolphin.