Projects / Amagami / Devlog

Counting the rebuild by level

Rewriting the game’s own code was measured by one number: how many functions compile to exactly the original bytes. That number may not be able to grow for some of them: the original seems to have been built with an older compiler than the one available.

So each function now has a level. Exact means the same bytes. Near means the same structure with small compiler differences. Equivalent means the original and the new function were run side by side on a CPU emulator over many generated inputs and agreed on the result, the memory written and the calls made. The levels are kept apart, because an equivalent only covers the inputs that were sampled. The project page shows where each one stands.

The program you play is its own engine and runs none of this code. The count says how well the original is understood.

Back to Amagami