Spore, rebuilt byte for byte
Every function of Spore's SporeApp.exe (2008, PC) rewritten as readable C++ that compiles, with the original compilers, to exactly the machine code that shipped. Almost right counts as zero.
Spore and Galactic Adventures are effectively one program. The current PC release (Steam and GOG) ships one executable for each, built from the same source with the same compilers: 99.75% of Spore's functions are byte-identical in Galactic Adventures, which adds about 1% of different code. Every function rebuilt here counts for both games.
These numbers are Spore's own code. The open-source libraries the game links (zlib, libpng, libjpeg, expat, OpenSSL and EA's published libraries) are counted apart: they are rebuilt by compiling their published sources, which recovers none of Spore's code. 1,292 of their 1,370 functions (94.6% of 306 KB) are rebuilt so far.
See every function on the map of the program, and watch it fill in.
Bytes are the honest measure: most of what remains is in large functions. Every count here is checked against retail fingerprints by the pull-request check; nothing is counted on trust. "Proven equivalent" functions compile to different bytes that a machine-checked proof shows behave identically to the original for every input. "Tested" functions passed a randomized test sweep: run side by side with the original on random inputs until every branch had run, with identical results. That is strong evidence, not a proof. Both stay open until someone makes them byte-exact.
Over time
Matching share at the end of each day (solid: bytes, dashed: functions), with proven and tested stacked above it by bytes. The drop on Nov 9 is the pull-request fingerprint check arriving: 1,093 earlier matches that fail it from a clean checkout were set aside.
By function size
| size | functions done | of | bytes done | share |
|---|---|---|---|---|
| 0-63 bytes | 45,383 | 47,438 | 1.21 MB | 95% |
| 64-255 bytes | 18,467 | 28,532 | 1.97 MB | 58% |
| 256-1023 bytes | 1,709 | 10,782 | 702 KB | 14% |
| 1024-4095 bytes | 190 | 2,260 | 347 KB | 9% |
| 4096+ bytes | 23 | 217 | 119 KB | 9% |
By module
| module | byte-exact (bytes) | functions | code | |
|---|---|---|---|---|
| SPGonzago | 26% | 23,403 / 32,159 | 5.42 MB | |
| SPEngine | 20% | 3,502 / 6,242 | 1.58 MB | |
| UTFSpore_Win32 | 30% | 4,213 / 7,116 | 1.42 MB | |
| SPEditors | 29% | 3,917 / 5,749 | 1.30 MB | |
| SPBake | 34% | 1,411 / 2,198 | 971 KB | |
| Compiler-generated code | 99% | 21,841 / 22,205 | 920 KB | |
| Havok | 10% | 994 / 2,125 | 683 KB | |
| SPCreatureAnim | 15% | 622 / 1,325 | 455 KB | |
| SPTerrain | 14% | 435 / 917 | 425 KB | |
| SPAudio | 35% | 1,567 / 2,361 | 366 KB | |
| Open-source libraries | 95% | 1,292 / 1,370 | 306 KB | |
| EA sound library | 11% | 443 / 1,063 | 286 KB | |
| Swarm | 16% | 474 / 885 | 275 KB | |
| Spui | 29% | 1,148 / 1,696 | 263 KB | |
| Native Release | 10% | 372 / 915 | 163 KB | |
| SPMovie | 24% | 215 / 362 | 68 KB | |
| dll_obj | 17% | 41 / 97 | 6,810 B | |
| SporeApp | 22% | 12 / 19 | 5,309 B | |
| Not yet attributed | 29% | 1,162 / 1,795 | 307 KB |
Modules are EA's own top-level source directories from the development build. "Compiler-generated code" is the glue the compiler emits for every source file (initializers and destructors of global objects, exception-handling stubs); "Open-source libraries" are the published libraries the game links. "Not yet attributed" is code whose module is not known yet, most of it added with Galactic Adventures after the development build the module map comes from.
Contributors
| contributor | pull requests | functions | bytes | made readable* |
|---|---|---|---|---|
| supercid87 | 48 | 2,578 | 196,486 | 0 |
| turtnip | 39 | 1,335 | 145,382 | 0 |
| NoahBPeterson | 41 | 558 | 66,489 | 4 |
| davurphy | 69 | 688 | 65,536 | 0 |
| tricko3D | 3 | 200 | 59,339 | 0 |
| MugenMan | 132 | 355 | 30,316 | 0 |
| ThijnBr | 2 | 20 | 1,414 | 0 |
Recent pull requests
| pull request | merged | by | functions | bytes | made readable* | model or tool |
|---|---|---|---|---|---|---|
| #561 | 2026-11-21 | turtnip | 10 | 1,439 | 0 | Claude Opus 5.5 |
| #560 | 2026-11-21 | turtnip | 68 | 11,087 | 0 | Claude Opus 5.5 |
| #559 | 2026-11-21 | turtnip | 81 | 11,583 | 0 | Claude Opus 5.5 |
| #558 | 2026-11-21 | turtnip | 12 | 1,249 | 0 | Claude Opus 5.5 |
| #556 | 2026-11-21 | turtnip | 3 | 559 | 0 | Claude Opus 5.5 |
| #555 | 2026-11-21 | turtnip | 80 | 11,250 | 0 | Claude Opus 5.5 |
| #553 | 2026-11-20 | turtnip | 80 | 8,730 | 0 | Claude Opus 5.5 |
| #545 | 2026-11-20 | turtnip | 80 | 7,327 | 0 | Claude Opus 5.5 |
| #543 | 2026-11-20 | NoahBPeterson | 0 | 0 | 4 | |
| #537 | 2026-11-20 | turtnip | 80 | 6,612 | 0 | Claude Opus 5.5 |
| #535 | 2026-11-20 | turtnip | 80 | 9,758 | 0 | Claude Opus 5.5 |
| #534 | 2026-11-20 | turtnip | 77 | 8,121 | 0 | Claude Opus 5.5 |
| #533 | 2026-11-20 | turtnip | 81 | 7,247 | 0 | Claude Opus 5.5 |
| #532 | 2026-11-20 | turtnip | 78 | 6,532 | 0 | Claude Opus 5.5 |
| #530 | 2026-11-20 | turtnip | 80 | 6,950 | 0 | Claude Opus 5.5 |
| #529 | 2026-11-20 | turtnip | 81 | 7,374 | 0 | Claude Opus 5.5 |
| #528 | 2026-11-20 | davurphy | 3 | 332 | 0 | Three GPT-6.2 Sol workers at low reasoning attem |
| #527 | 2026-11-20 | turtnip | 78 | 5,866 | 0 | Claude Opus 5.5 (Claude Code): four parallel sub |
| #526 | 2026-11-20 | davurphy | 6 | 882 | 0 | Three GPT-6.2 Sol workers at low reasoning attem |
| #525 | 2026-11-20 | NoahBPeterson | 1 | 56 | 0 | Claude Opus 5.5 |
| #523 | 2026-11-20 | davurphy | 7 | 823 | 0 | Codex with GPT-6.2 Sol agents. |
| #522 | 2026-11-20 | turtnip | 75 | 8,462 | 0 | Claude Opus 5.5 (Claude Code): four parallel sub |
| #516 | 2026-11-20 | turtnip | 81 | 7,571 | 0 | Claude Opus 5.5 (Claude Code): four parallel sub |
| #511 | 2026-11-19 | turtnip | 49 | 7,869 | 0 | Claude Opus 5.5 (Claude Code): ten parallel suba |
| #510 | 2026-11-19 | turtnip | 21 | 2,570 | 0 | Claude Opus 5.5 (Claude Code): five parallel sub |
Counted from pull requests merged since contributions opened (November 2026). Most earlier work was done by the maintainer's own agent runs. *"Made readable": byte-exact functions a pull request made easier to read without changing their bytes: it removed byte offsets (pointer casts plus a number, such as *(int*)(p + 8), where the code should name a member), or it gave a function whose bytes a generated match already reproduced with another function's source its own source, with the right calls and globals. More measures may be added. These count here, not as new functions.
Help
Hundreds of functions are only a few bytes from a match. Start here.