# Chuck E. Cheese Sketch Book gets a static recompilation to Win32

> Puyodead1 released a static recompilation project turning the i386 Linux ELF arcade photo-booth game Sketch Book into a native Win32 executable.

- Published: 2026-11-16T00:25:53Z
- Score: 8/10
- Tags: recomp, pc
- Port / platforms: Arcade, Linux / Steam Deck -> PC (Windows) (Recompilation)
- Web page: https://emu-radar.customfw.xyz/news/chuck-e-cheese-sketchbook-static-recomp/
- Sources: https://github.com/Puyodead1/cec-sketchbook-recomp

Developer Puyodead1 has published a static recompilation project for [Sketch Book](https://github.com/Puyodead1/cec-sketchbook-recomp), an i386 Linux ELF arcade photo-booth game, targeting native Win32 execution.

Python scripts handle recursive-descent disassembly and translate the original game binary into C code. A custom Win32 runtime (`rt/`) manages CPU state, libc and syscall shims, X11 to GDI window conversion, sound, camera input, cabinet buttons, and printer output. Original game binaries and data are not included and must be supplied from the game disc.

### How to try it

1. Install Python 3 with the `capstone` package and MinGW gcc in `C:\MinGW\bin`.
2. Place the game binary as `v8mnu22b.elf` and put the extracted game data in the `vend\` folder.
3. Run `powershell -ExecutionPolicy Bypass -File fixlinks.ps1` to handle directory junctions.
4. Run `python recomp.py v8mnu22b.elf gen` to generate the C source files.
5. Run `powershell -ExecutionPolicy Bypass -File build.ps1` to compile everything with MinGW into `v8mnu22b.exe`.

Controls map to the keyboard where pressing `C` adds a coin and keys `1` through `8` act as cabinet buttons. Fullscreen toggles with `F11` or `Alt+Enter`, while printer outputs save automatically as PNG files in a `prints\` directory.
