wskit Brings Static Recompilation to the Bandai WonderSwan
wskit statically recompiles the entire Bandai WonderSwan and WonderSwan Color library into native C++ code.
The wskit project brings static recompilation to the Bandai WonderSwan and WonderSwan Color, turning the handheld’s entire library into native C++ code. Developed as a sibling to earlier recompilation kits, the tool handles segmented addresses, x86 flags, RAM-based interrupt vectors, and code that switches the bank it runs from.
The project includes a V30MZ-to-C++ recompiler and a runtime that replaces the console hardware, covering the display, sound, timers, DMA, and save memory. According to the project repository, the static recompiler builds all 205 cartridges from MAME’s software lists. Of those, 204 run 6,000 frames identical to the interpreter in a lockstep comparison, while the 205th title stays identical up to frame 1581, then crashes in both builds under the monkey pad input. wskit does not ship game dumps. You need your own WonderSwan and WonderSwan Color dump set, placed in the WonderSwan/ folder.
How to Try It
- Run a game with the python module. The command finds the dump, recompiles it if needed, and opens a window:
python -m wskit.play "gunpey" - List your carts with what MAME’s software lists say about each one:
python -m wskit.cart "wskit/WonderSwan/*/*" --table - Get a listing from the far jump in the ROM footer:
python -m wskit.v30mz ROM.ws --entry -n 40