# Pizza Boy SC

> Built from commit 3effc4a043e0 on 2026-11-24. The current build: https://abdess.github.io/retrobios/version.json

Source: https://abdess.github.io/retrobios/emulators/pizza-boy-sc/

Pizza Boy SC emulates Sega Master System, Sega Game Gear, Sega Mega Drive and Sega Mega CD. It reads 8 files, 1 of them required: without a required file it does not start games. Any one file of a required set fills it. A required file is needed only by the machines that use it. Each file below cites the line of source code that reads it.

**About this profile**

| Detail | Value |
|---|---|
| Type | standalone |
| Classification | Other |
| Source | [https://play.google.com/store/apps/details?id=it.dbtecno.pizzaboyscpro](https://play.google.com/store/apps/details?id=it.dbtecno.pizzaboyscpro) |
| Upstream | closed-source |
| Version | 1.2.14, read from it.dbtecno.pizzaboyscbasic XAPK versionName (versionCode 43) |
| Releases announced at | [https://play.google.com/store/apps/details?id=it.dbtecno.pizzaboyscpro&hl=en](https://play.google.com/store/apps/details?id=it.dbtecno.pizzaboyscpro&hl=en) (version 1.4.34 announced there, found only as rebuilt copies) |
| Profiled | 2026-10-20 |
| Profile | [YAML](https://github.com/Abdess/retrobios/blob/main/emulators/pizza-boy-sc.yml), [JSON](https://abdess.github.io/retrobios/api/v1/emulators/pizza-boy-sc.json) |
| Cores | pizza-boy-sc, Pizza Boy SC, it.dbtecno.pizzaboyscpro, it.dbtecno.pizzaboyscbasic |
| Systems | [Sega Master System](https://abdess.github.io/retrobios/systems/sega/#master-system), [Sega Game Gear](https://abdess.github.io/retrobios/systems/sega/#game-gear), [Sega Mega Drive](https://abdess.github.io/retrobios/systems/sega/#mega-drive), [Sega Mega CD](https://abdess.github.io/retrobios/systems/sega-mega-cd/) |
| Author | Pizza Emulators |

**Technical notes**

Two Android packages, closed source, sold and given away on Google Play under the Pizza Boy SC name, reached by ES-DE through its PIZZA-BOY-SC find rule and started with the game passed as the rom_uri extra: it.dbtecno.pizzaboyscpro, the paid build the rule names first, and it.dbtecno.pizzaboyscbasic, the free one. The build read here is Basic 1.2.14 (versionCode 43), the Play split set Uptodown serves as an XAPK, every split carrying the source stamp and signed by the Play App Signing certificate sha256 5ae32245362ccafab6977e759f658dda66bac81cebdd804581cb55db2f219149, the one Basic 1.2.4 carried. The Pro on the store is 1.4.34 and no genuine copy of it is reachable: apkcombo no longer resolves, the APKPure API holds no entry for either package, APKMirror and Uptodown carry no Pro build, archive.org holds none, and the one apkvision copy, labelled Pro 1.3.7, is signed CN=APKVISION.ORG with no source stamp and was rejected. The Basic library serves both packages: besides its own entry points it exports Java_it_dbtecno_pizzaboyscpro_MainActivity_jniEnableCallback and Java_it_dbtecno_pizzaboyscpro_MainActivity_jniEnableMultiplayerCallback.

The core is libsc.so, a Rust tree built as one workspace whose compilation units are named in its own panic and log records: emulated/systems/genesis, emulated/systems/sms, emulated/systems/mega_cd, emulated/components/cdrom, emulated/common and frontend/android. The arm64-v8a build shipped in the split is stripped and carries no DWARF, so the file and line of every reference below comes from the file and line constants the Rust log calls load and the Location records the panic paths embed. Four machines run: engine start compares the system name against SMS, GameGear and SegaCD and falls through to Genesis, the branches logging at lib.rs:569, 590 and 602, which covers Master System and Mark III, Game Gear, Mega Drive and Genesis, and Mega CD and Sega CD. Discs are read from cue and chd images through components/cdrom.

Four BIOS slots exist, one per machine, set in one call whose log reads "jni setBIOSFiles sms: {} gg: {} cd: {} md: {}" (lib.rs:475). A fifth setter stores a single path in a slot of its own that engine start never reads (lib.rs:467), and setBIOSBoot logs "TODO jni setBIOSboot" and does nothing (lib.rs:493). Each branch reads the slots its machines use, the Master System one reading the Game Gear slot as well, and an empty slot is an ordinary case for Master System, Game Gear and Mega Drive. Only the Mega CD slot is mandatory: without it the run stops at "MegaCD Bios not provided" (lib.rs:616) and engine start returns its failure code.

The Mega CD image is the only file the core examines. It is read as a plain file and its length compared with 131072, then handed to the machine, which reads it again, repeats the same comparison and panics on a mismatch (megacd_main_machine.rs:169-178). Nothing else about it is tested: no name, no header, no hash, and no region, the Game Region setting being passed separately as jap, usa or eu and never selecting a file.

The user supplies each file through the document picker, which filters nothing: the chosen document is copied into the application temp directory under the name the picker reports, or, when that name ends in zip, the first entry is extracted there instead, and the absolute path of the copy is stored. In the free package the BIOS preferences are declared android:enabled="false" behind a paid badge, and its Java never hands a path to the core.

Everything else the app opens it makes itself: the default skins, the cheat descriptors and the two shaders are raw resources unpacked at first run, and the box art, cheat, layout, sticker and per-ROM databases are created by their own CREATE TABLE.

## Files

**8 files**: 1 required, 5 optional. Any one file of a required set fills it.

In this collection: 8 in repo and 0 missing.

## Required

| File | Status |
|---|---|
| ** ### `bios_CD_U.bin` ** Sega CD boot ROM - System: [Sega Mega CD](https://abdess.github.io/retrobios/systems/sega-mega-cd/)- Chosen from any location under any name through the document picker, or, when the picked document is named .zip, taken from its first entry. The stored path is read at engine start and the byte count compared with 131072, and the machine compares it a second time and panics when it differs. An absent path ends the run with "MegaCD Bios not provided", an empty one with "MegaCD BIOS path is missing", a failed read with "Error loading BIOS file", and a wrong length with "Invalid BIOS len". The core holds one Mega CD slot and applies no other test, so the boot ROM of any region satisfies it. The three are listed because the region of the discs decides which one has to be installed. - Size: 128.0 KB (131,072 bytes)- Collection copy: [`bios/Sega/Mega CD/bios_CD_U.bin`](https://abdess.github.io/retrobios/systems/sega-mega-cd/#sha1-f4f315adcef9)- Platforms: `bios_CD_U.bin`: [EmuDeck](https://abdess.github.io/retrobios/platforms/emudeck/#sega-mega-cd), [Lakka](https://abdess.github.io/retrobios/platforms/lakka/#sega-mega-cd), [RetroArch](https://abdess.github.io/retrobios/platforms/retroarch/#sega-mega-cd), [RetroPie](https://abdess.github.io/retrobios/platforms/retropie/#sega-mega-cd), [ROCKNIX](https://abdess.github.io/retrobios/platforms/rocknix/#sega-mega-cd). `segacd/bios_CD_U.bin`: [Recalbox](https://abdess.github.io/retrobios/platforms/recalbox/#sega-mega-cd), [RomM](https://abdess.github.io/retrobios/platforms/romm/#sega-mega-cd). `SCD_m1_us_110.bin`: [BizHawk](https://abdess.github.io/retrobios/platforms/bizhawk/#sega-mega-drive). `bios/bios_CD_U.bin`: [RetroDECK](https://abdess.github.io/retrobios/platforms/retrodeck/#sega-mega-cd) **Validation and source** - Validation: size- Source: `Pizza Boy SC Basic 1.2.14 libsc.so frontend/android/src/lib.rs:475` (four slot handoff), `Pizza Boy SC Basic 1.2.14 libsc.so frontend/android/src/lib.rs:569` (SegaCD branch), `Pizza Boy SC Basic 1.2.14 libsc.so frontend/android/src/lib.rs:616` (absent), `Pizza Boy SC Basic 1.2.14 libsc.so frontend/android/src/lib.rs:619` (validation entry), `Pizza Boy SC Basic 1.2.14 libsc.so frontend/android/src/lib.rs:625` (empty path), `Pizza Boy SC Basic 1.2.14 libsc.so frontend/android/src/lib.rs:632` (read failure), `Pizza Boy SC Basic 1.2.14 libsc.so frontend/android/src/lib.rs:644` (length), `Pizza Boy SC Basic 1.2.14 libsc.so frontend/android/src/lib.rs:648` (accepted), `emulated/systems/mega_cd/src/megacd_main_machine.rs:169-178` (second read, length test and panic), `SettingsActivity.java:176-224` (picker, zip entry, stored path), `yg.java:1591-1626` (first file entry), `res/xml/pref_general.xml:129-152` (preferences and defaults) | required for Sega Mega CDin repo |
| ** ### `bios_CD_E.bin` ** Mega CD boot ROM - System: [Sega Mega CD](https://abdess.github.io/retrobios/systems/sega-mega-cd/)- Same slot, same picker and same length test as the other Mega CD boot ROMs. - Size: 128.0 KB (131,072 bytes)- Collection copy: [`bios/Sega/Mega CD/MCD_eu_100.bin`](https://abdess.github.io/retrobios/systems/sega-mega-cd/#sha1-f891e0ea651e)- Platforms: `bios_CD_E.bin`: [Batocera](https://abdess.github.io/retrobios/platforms/batocera/#sega-mega-cd), [EmuDeck](https://abdess.github.io/retrobios/platforms/emudeck/#sega-mega-cd), [KNULLI](https://abdess.github.io/retrobios/platforms/knulli/#sega-mega-cd), [Lakka](https://abdess.github.io/retrobios/platforms/lakka/#sega-mega-cd), [RetroArch](https://abdess.github.io/retrobios/platforms/retroarch/#sega-mega-cd), [RetroBat](https://abdess.github.io/retrobios/platforms/retrobat/#megacd), [RetroPie](https://abdess.github.io/retrobios/platforms/retropie/#sega-mega-cd), [ROCKNIX](https://abdess.github.io/retrobios/platforms/rocknix/#sega-mega-cd). `bios/bios_CD_E.bin`: [AmberELEC](https://abdess.github.io/retrobios/platforms/amberelec/#sega-mega-cd), [EmuELEC](https://abdess.github.io/retrobios/platforms/emuelec/#sega-mega-cd), [RetroDECK](https://abdess.github.io/retrobios/platforms/retrodeck/#sega-mega-cd). `segacd/bios_CD_E.bin`: [Recalbox](https://abdess.github.io/retrobios/platforms/recalbox/#sega-mega-cd), [RomM](https://abdess.github.io/retrobios/platforms/romm/#sega-mega-cd). `MCD_eu_100.bin`: [BizHawk](https://abdess.github.io/retrobios/platforms/bizhawk/#sega-mega-drive) **Validation and source** - Validation: size- Source: `Pizza Boy SC Basic 1.2.14 libsc.so frontend/android/src/lib.rs:619-648`, `emulated/systems/mega_cd/src/megacd_main_machine.rs:169-178` | required for Sega Mega CDin repo |
| ** ### `bios_CD_J.bin` ** Mega CD boot ROM (Japan) - System: [Sega Mega CD](https://abdess.github.io/retrobios/systems/sega-mega-cd/)- Same slot, same picker and same length test as the other Mega CD boot ROMs. - Size: 128.0 KB (131,072 bytes)- Collection copy: [`bios/Sega/Mega CD/MCD_jp_100p.bin`](https://abdess.github.io/retrobios/systems/sega-mega-cd/#sha1-4846f4481600)- Platforms: `bios_CD_J.bin`: [Batocera](https://abdess.github.io/retrobios/platforms/batocera/#sega-mega-cd), [EmuDeck](https://abdess.github.io/retrobios/platforms/emudeck/#sega-mega-cd), [KNULLI](https://abdess.github.io/retrobios/platforms/knulli/#sega-mega-cd), [Lakka](https://abdess.github.io/retrobios/platforms/lakka/#sega-mega-cd), [RetroArch](https://abdess.github.io/retrobios/platforms/retroarch/#sega-mega-cd), [RetroBat](https://abdess.github.io/retrobios/platforms/retrobat/#megacd), [RetroPie](https://abdess.github.io/retrobios/platforms/retropie/#sega-mega-cd), [ROCKNIX](https://abdess.github.io/retrobios/platforms/rocknix/#sega-mega-cd). `bios/bios_CD_J.bin`: [AmberELEC](https://abdess.github.io/retrobios/platforms/amberelec/#sega-mega-cd), [EmuELEC](https://abdess.github.io/retrobios/platforms/emuelec/#sega-mega-cd), [RetroDECK](https://abdess.github.io/retrobios/platforms/retrodeck/#sega-mega-cd). `segacd/bios_CD_J.bin`: [Recalbox](https://abdess.github.io/retrobios/platforms/recalbox/#sega-mega-cd), [RomM](https://abdess.github.io/retrobios/platforms/romm/#sega-mega-cd). `MCD_jp_100p.bin`: [BizHawk](https://abdess.github.io/retrobios/platforms/bizhawk/#sega-mega-drive) **Validation and source** - Validation: size- Source: `Pizza Boy SC Basic 1.2.14 libsc.so frontend/android/src/lib.rs:619-648`, `emulated/systems/mega_cd/src/megacd_main_machine.rs:169-178` | required for Sega Mega CDin repo |

## Optional

| File | Status |
|---|---|
| ** ### `bios_U.sms` ** Master System boot ROM - System: [Sega Master System](https://abdess.github.io/retrobios/systems/sega/#master-system)- Picked and stored like the Mega CD image and handed to the machine as a path. Nothing about the file is examined on either side of the bridge, and an empty slot is not an error: the cartridge runs with the boot sequence skipped. - Collection copy: [`bios/Sega/Master System/SMS_us_1.3.sms`](https://abdess.github.io/retrobios/systems/sega/#sha1-c315672807d8)- Platforms: `bios.sms` and `bios_E.sms` and `bios_U.sms`: [Lakka](https://abdess.github.io/retrobios/platforms/lakka/#sega-master-system), [RetroArch](https://abdess.github.io/retrobios/platforms/retroarch/#sega-master-system), [RetroPie](https://abdess.github.io/retrobios/platforms/retropie/#sega-master-system). `bios/bios_E.sms` and `bios/bios_U.sms`: [AmberELEC](https://abdess.github.io/retrobios/platforms/amberelec/#sega-master-system), [EmuELEC](https://abdess.github.io/retrobios/platforms/emuelec/#sega-master-system). `SMS_us_1.3.sms`: [BizHawk](https://abdess.github.io/retrobios/platforms/bizhawk/#sega-master-system). `[BIOS] Sega Master System (USA, Europe) (v1.3).sms`: [RetroBat](https://abdess.github.io/retrobios/platforms/retrobat/#sega-master-system). `bios.sms`: [ROCKNIX](https://abdess.github.io/retrobios/platforms/rocknix/#sega-master-system). `bios/bios.sms`: [RetroDECK](https://abdess.github.io/retrobios/platforms/retrodeck/#sega-master-system). `mastersystem/bios_E.sms` and `mastersystem/bios_U.sms`: [Recalbox](https://abdess.github.io/retrobios/platforms/recalbox/#sega-master-system). `sms/bios.sms` and `sms/bios_E.sms` and `sms/bios_U.sms`: [RomM](https://abdess.github.io/retrobios/platforms/romm/#sega-master-system) **Source** - Source: `Pizza Boy SC Basic 1.2.14 libsc.so frontend/android/src/lib.rs:475` (slot), `Pizza Boy SC Basic 1.2.14 libsc.so frontend/android/src/lib.rs:590` (branch reading the Master System and Game Gear slots), `emulated/systems/sms/src/system.rs:200` (path logged into the machine), `emulated/systems/sms/src/sms_machine.rs:95` (detection) | in repo |
| ** ### `bios_E.sms` ** Master System boot ROM (Europe) - System: [Sega Master System](https://abdess.github.io/retrobios/systems/sega/#master-system)- Same slot and same absence of tests as the other Master System boot ROMs. - Collection copy: [`bios/Sega/Master System/SMS_us_1.3.sms`](https://abdess.github.io/retrobios/systems/sega/#sha1-c315672807d8)- Platforms: `bios.sms` and `bios_E.sms` and `bios_U.sms`: [Lakka](https://abdess.github.io/retrobios/platforms/lakka/#sega-master-system), [RetroArch](https://abdess.github.io/retrobios/platforms/retroarch/#sega-master-system), [RetroPie](https://abdess.github.io/retrobios/platforms/retropie/#sega-master-system). `bios/bios_E.sms` and `bios/bios_U.sms`: [AmberELEC](https://abdess.github.io/retrobios/platforms/amberelec/#sega-master-system), [EmuELEC](https://abdess.github.io/retrobios/platforms/emuelec/#sega-master-system). `SMS_us_1.3.sms`: [BizHawk](https://abdess.github.io/retrobios/platforms/bizhawk/#sega-master-system). `[BIOS] Sega Master System (USA, Europe) (v1.3).sms`: [RetroBat](https://abdess.github.io/retrobios/platforms/retrobat/#sega-master-system). `bios.sms`: [ROCKNIX](https://abdess.github.io/retrobios/platforms/rocknix/#sega-master-system). `bios/bios.sms`: [RetroDECK](https://abdess.github.io/retrobios/platforms/retrodeck/#sega-master-system). `mastersystem/bios_E.sms` and `mastersystem/bios_U.sms`: [Recalbox](https://abdess.github.io/retrobios/platforms/recalbox/#sega-master-system). `sms/bios.sms` and `sms/bios_E.sms` and `sms/bios_U.sms`: [RomM](https://abdess.github.io/retrobios/platforms/romm/#sega-master-system) **Source** - Source: `Pizza Boy SC Basic 1.2.14 libsc.so frontend/android/src/lib.rs:590`, `emulated/systems/sms/src/system.rs:200` | in repo |
| ** ### `bios_J.sms` ** Master System boot ROM (Japan) - System: [Sega Master System](https://abdess.github.io/retrobios/systems/sega/#master-system)- Same slot and same absence of tests as the other Master System boot ROMs. - Collection copy: [`bios/Sega/Master System/MasterSystem/japanese-bios.sms`](https://abdess.github.io/retrobios/systems/sega/#sha1-a8c1b39a2e41)- Platforms: `bios/bios_J.sms`: [AmberELEC](https://abdess.github.io/retrobios/platforms/amberelec/#sega-master-system), [EmuELEC](https://abdess.github.io/retrobios/platforms/emuelec/#sega-master-system), [RetroDECK](https://abdess.github.io/retrobios/platforms/retrodeck/#sega-master-system). `bios_J.sms`: [Lakka](https://abdess.github.io/retrobios/platforms/lakka/#sega-master-system), [RetroArch](https://abdess.github.io/retrobios/platforms/retroarch/#sega-master-system), [RetroPie](https://abdess.github.io/retrobios/platforms/retropie/#sega-master-system). `SMS_jp_2.1.sms`: [BizHawk](https://abdess.github.io/retrobios/platforms/bizhawk/#sega-master-system). `[BIOS] Sega Master System (Japan) (v2.1).sms`: [RetroBat](https://abdess.github.io/retrobios/platforms/retrobat/#sega-master-system). `mastersystem/bios_J.sms`: [Recalbox](https://abdess.github.io/retrobios/platforms/recalbox/#sega-master-system). `sms/bios_J.sms`: [RomM](https://abdess.github.io/retrobios/platforms/romm/#sega-master-system) **Source** - Source: `Pizza Boy SC Basic 1.2.14 libsc.so frontend/android/src/lib.rs:590`, `emulated/systems/sms/src/system.rs:200` | in repo |
| ** ### `bios.gg` ** Game Gear boot ROM - System: [Sega Game Gear](https://abdess.github.io/retrobios/systems/sega/#game-gear)- Its own slot, separate from the Master System one, both read on the branch that serves the two machines. Picked and stored the same way, handed to the machine as a path, and never examined. An empty slot is not an error. - Collection copy: [`bios/Sega/Game Gear/GG_majesco.gg`](https://abdess.github.io/retrobios/systems/sega/#sha1-914aa165e3d8)- Platforms: `bios.gg`: [Lakka](https://abdess.github.io/retrobios/platforms/lakka/#sega-game-gear), [RetroArch](https://abdess.github.io/retrobios/platforms/retroarch/#sega-game-gear), [RetroPie](https://abdess.github.io/retrobios/platforms/retropie/#sega-game-gear), [ROCKNIX](https://abdess.github.io/retrobios/platforms/rocknix/#sega-game-gear). `bios/bios.gg`: [AmberELEC](https://abdess.github.io/retrobios/platforms/amberelec/#sega-game-gear), [EmuELEC](https://abdess.github.io/retrobios/platforms/emuelec/#sega-game-gear), [RetroDECK](https://abdess.github.io/retrobios/platforms/retrodeck/#sega-game-gear). `gamegear/bios.gg`: [Recalbox](https://abdess.github.io/retrobios/platforms/recalbox/#sega-game-gear), [RomM](https://abdess.github.io/retrobios/platforms/romm/#sega-game-gear). `GG_majesco.gg`: [BizHawk](https://abdess.github.io/retrobios/platforms/bizhawk/#sega-game-gear) **Source** - Source: `Pizza Boy SC Basic 1.2.14 libsc.so frontend/android/src/lib.rs:475` (slot), `Pizza Boy SC Basic 1.2.14 libsc.so frontend/android/src/lib.rs:590` (branch reading the Master System and Game Gear slots) | in repo |
| ** ### `bios_MD.bin` ** Mega Drive TMSS boot ROM - System: [Sega Mega Drive](https://abdess.github.io/retrobios/systems/sega/#mega-drive)- Read on the Genesis branch, the one engine start falls through to when the system name is neither SMS, GameGear nor SegaCD. Picked and stored the same way and never examined. The machine reports it as "BIOS detected" and runs without it when the slot is empty. - Collection copy: [`bios/Sega/Mega Drive/GEN_boot.md`](https://abdess.github.io/retrobios/systems/sega/#sha1-3f50b76b0529)- Platforms: `bios_MD.bin`: [Lakka](https://abdess.github.io/retrobios/platforms/lakka/#sega-mega-drive), [RetroArch](https://abdess.github.io/retrobios/platforms/retroarch/#sega-mega-drive), [RetroPie](https://abdess.github.io/retrobios/platforms/retropie/#sega-mega-drive). `GEN_boot.md`: [BizHawk](https://abdess.github.io/retrobios/platforms/bizhawk/#sega-mega-drive). `bios/bios_MD.bin`: [RetroDECK](https://abdess.github.io/retrobios/platforms/retrodeck/#sega-mega-drive). `genesis/bios_MD.bin`: [RomM](https://abdess.github.io/retrobios/platforms/romm/#sega-mega-drive) **Source** - Source: `Pizza Boy SC Basic 1.2.14 libsc.so frontend/android/src/lib.rs:475` (slot), `Pizza Boy SC Basic 1.2.14 libsc.so frontend/android/src/lib.rs:602` (Genesis branch and slot read), `emulated/systems/genesis/src/system.rs:268` (path logged into the machine), `emulated/systems/genesis/src/genesis_machine.rs:134` (detection) | in repo |

## Next steps

- [Get the files](https://abdess.github.io/retrobios/which-pack/), for the setup in use
- [Every system](https://abdess.github.io/retrobios/systems/), and the files each one needs
- [When a game does not start](https://abdess.github.io/retrobios/wiki/troubleshooting/)

Data as of 24 November 2026.
