# soniccdrespinned: a cross-platform Sonic CD port built on the decompiled code

> soniccdrespinned is a cross-platform port of Sonic CD that runs the decompiled stage, special-stage, time-warp and title-screen code on a newly written platform layer. That layer decompresses the original SZDD-packed CMP sprite and tile bitmaps, streams ADX music from the US or Japanese AFS soundtrack, and renders through SDL 1.2 or SDL2, with PC and PSP input backends.

- Type: Case study
- Targets: Game
- Category: Independent reconstruction cases
- Relationship: Independent reconstruction project
- Sources reviewed: 2026-11-09
- Added to the catalog: 2026-11-10
- Original resource: <https://git.sr.ht/~benoitren/soniccdrespinned>
- Primary source: <https://git.sr.ht/~benoitren/soniccdrespinned/tree/38a212b8482627a9417567ee569f81fbfe130d56/item/makefile>
- Catalog page: <https://awesomerea.org/resources/soniccdrespinned-case/>
- Record JSON: <https://awesomerea.org/resources/soniccdrespinned-case/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/soniccdrespinned-case/index.md)

## Requirements & limits

- **Prerequisites:** The makefile builds a 32-bit i386 executable with MinGW gcc and links SDL2.
- **Prerequisites:** Original Sonic CD data files are read at runtime, including the .CM_ bitmap files, PCM.CMP and BGM_US.AFS or BGM_JP.AFS.
- **License:** CC0 1.0 Universal.

## Primary sources

1. <https://git.sr.ht/~benoitren/soniccdrespinned/tree/38a212b8482627a9417567ee569f81fbfe130d56/item/makefile>
2. <https://git.sr.ht/~benoitren/soniccdrespinned/tree/38a212b8482627a9417567ee569f81fbfe130d56/item/src/audio.c>
3. <https://git.sr.ht/~benoitren/soniccdrespinned/tree/38a212b8482627a9417567ee569f81fbfe130d56/item/src/szdd.c>
4. <https://git.sr.ht/~benoitren/soniccdrespinned/tree/38a212b8482627a9417567ee569f81fbfe130d56/item/src/input/input-psp.c>

## More in Games

- [SoulCalibur Vita: running the Android game on PS Vita](https://awesomerea.org/resources/soulcalibur-vita-case/index.md) · Case study
- [Space Rangers HD — Free Pascal Port: adapting recovered Delphi source](https://awesomerea.org/resources/space-rangers-hd-free-pascal-port-case/index.md) · Case study
- [SpaghettiKart: a native Mario Kart 64 port built on decompiled source](https://awesomerea.org/resources/spaghettikart-mk64-port-case/index.md) · Case study
- [SpaghettiKart: an Android port of Mario Kart 64](https://awesomerea.org/resources/spaghettikart-android-case/index.md) · Case study
- [SpaghettiPad: Mario Kart 64 iOS port integration](https://awesomerea.org/resources/spaghettipad-mario-kart-64-ios-case/index.md) · Case study
- [SpartanPort: a native PC port of God of War III Remastered](https://awesomerea.org/resources/spartanport-case/index.md) · Case study

## About this entry

The description was reviewed against primary sources.
Original editorial content: MIT. Linked projects, papers and assets retain their own rights and licenses.
