| Title menu | Stage 4 |
| :-: | :-: |
|
|
|
| Stage 17 | A boss battle |
|
|
|
Screenshots of SmashSet Forever running with the original SmashSet v2.3 game data supplied by the player. Click to enlarge.
**SmashSet Forever** is an open-source, legal, asset-free, **independent C++20 engine reimplementation** of the 2000–2003 Japanese freeware PC game *SmashSet* (`SmashSet.exe`), licensed under the **GNU Affero General Public License v3.0 (AGPLv3)**.
| Field | Value |
| :--- | :--- |
| **Version** | `1.1.0` |
| **License** | `AGPL-3.0-only` |
| **Target Original** | *SmashSet* v2.3 (2000-2003, 2ndGAME) |
| **Repository** | |
| **⬇️ Download Original Game** | [Internet Archive (SmashSet ver.2.3)](https://archive.org/details/smash-set) — Historical community-preserved copy of the original SmashSet ver.2.3 freeware package |
> [!IMPORTANT]
> **Legal & Copyright Notice**: This repository contains **zero original game assets, binaries, graphics, audio, or save data**. You must supply your own legal copy of the original *SmashSet* `Data/` directory (or unmodified `.zip` archive). The engine is written from scratch in modern C++20 from reverse-engineered behavioral and file-format specifications (no copied or 1:1-translated decompiled code).
>
> **SmashSet Forever** is an unofficial, independent open-source project and is not affiliated with, sponsored by, or endorsed by the original author of *SmashSet*. All original game assets and trademarks remain the property of their respective owner.
>
> This project is a labor of love for a game its author deeply cherishes. There is no intention to harm, devalue, or usurp anyone else's work or property: the goal is solely to preserve *SmashSet* and keep it playable on modern platforms. If you are the original author or a rights holder and have any concern, please open an issue and it will be addressed promptly.
---
## How to Play
1. **Get the original game**: download your own copy of *SmashSet* v2.3 from the **⬇️ Download Original Game** link in the table above. Keep the `.zip` as-is or unpack it; both work.
2. **Pick a version of SmashSet Forever**:
- **🌐 Web (no install)**: . Drop your `SmashSet.zip` (or `smash23.zip`) onto the page and press **Play**. The web version always tracks the latest `master`. Saves stay in your browser (see [Savedata](#savedata)).
- **📱 Android (Android 10+)**: install the `.apk` from [GitHub Releases](https://github.com/VFansss/smashset-forever/releases/latest). On first start, pick your `SmashSet.zip` with the file picker; the app keeps a copy, so the game starts directly afterwards. Touch controls sit beside the picture; controllers and handhelds (e.g. Retroid Pocket) work too.
- **🖥️ Desktop**: download the latest Windows package from [GitHub Releases](https://github.com/VFansss/smashset-forever/releases/latest) (a self-contained `smashset.exe`, no installer). A macOS package is published as a beta; Linux is not released yet, but you can [build it yourself](BUILDING.md).
3. **Desktop**: put the original `.zip` (any name, e.g. `smash23.zip`) or its extracted folder **next to `smashset.exe`** and double-click it. If nothing is found, the game window explains what to do. To use game data stored elsewhere:
```powershell
smashset.exe --data-dir C:\Downloads\smash23.zip
```
Where your progress is stored, and how to move it between versions, is explained in [Savedata](#savedata). Controls, gamepads, and all command-line options are listed in [Command-Line Options & Controls](#command-line-options--controls).
---
## Savedata
Saves always use the original *SmashSet* formats (`GameData.sav`, `KeyConf.sav`, `KeyItemSet.sav`, `Ranking.sav`), plus
`Forever.dat` for SmashSet Forever's own settings (language, fullscreen). The same files work on every platform, so you
can move them freely between the desktop and web versions. Nothing is ever written inside your game `.zip`.
| Platform | Where saves are stored |
| :--- | :--- |
| **Windows** (game from a `.zip`) | `%APPDATA%\smashset-forever\SmashSetForever\Save\` |
| **Linux** (game from a `.zip`) | `~/.local/share/smashset-forever/SmashSetForever/Save/` |
| **macOS** (game from a `.zip`) | `~/Library/Application Support/smashset-forever/SmashSetForever/Save/` |
| **Desktop** (extracted game folder) | The `Save/` folder inside the game folder, exactly like the original game, so existing *SmashSet* progress carries over |
| **Android** | App storage (`files/Save/`), included in Android backup. Removed if you uninstall the app or clear its data |
| **Web** | Your browser's storage for the site (IndexedDB). It survives closing the page, but only in that browser on that device, and clearing the site's data erases it |
- **Move saves by sound**. Open **SAVEDATA** on the game's title screen or **Memory Card** on the web page before Play.
Choose **Receive audio** on one device and **Send audio** on the other. Review the changes before overwriting your save.
Audio transfers preserve the receiving device's controls and Forever settings.
- **Back up web saves**. In **Memory Card → File**, export a ZIP or restore a ZIP or individual save files before Play.
This panel is available even without the game asset archive.
- **Find the folder in use**: start `smashset.exe --console`; the log prints the save folder on startup.
- Files appear when first needed: `Forever.dat` after you change a SmashSet Forever setting, `KeyItemSet.sav` after you
get or equip a Key Item.
---
## Original Asset Links & Project Resources
Managed centrally in [`config/project_info.json`](config/project_info.json) (validated by [`config/project_info.schema.json`](config/project_info.schema.json)) and synced via `py build.py sync` (see [`docs/ASSETS.md`](docs/ASSETS.md)):
| Type | Resource | Link | Notes |
| :--- | :--- | :--- | :--- |
| `repository` | **SmashSet Forever Repository** | | Source code, issue tracker, and asset-free releases |
| `official` | **2ndGAME Original Homepage (Historical)** | | Original 2000-2003 developer website listed in the game manual |
| `official` | **Wayback Machine Archive (Original SmashSet Page, 2003)** | | Archived 2003 snapshot of the original Japanese freeware download page (ver.2.1) |
| `download` | **Internet Archive (SmashSet ver.2.3)** | | Historical community-preserved copy of the original SmashSet ver.2.3 freeware package |
| `donation` | **VFansss' PayPal** | | Optional support for SmashSet Forever engine development only. Not affiliated with the original author; no rewards or game content in return |
| `credit` | **GeneralUser GS SoundFont (S. Christian Collins)** | | Free Roland GS SoundFont auto-fetched on WebAssembly for SC-88VL MIDI playback (never bundled in Git) |
---
## Project Goals
- **Pixel- & Gameplay-Exact**: Reproduce original rendering, physics, timing, audio triggers, and menu behavior from reverse-engineered specifications.
- **Original Save Compatibility**: Read and write original *SmashSet* `Save/*.sav` files (`GameData.sav`, `KeyConf.sav`, `KeyItemSet.sav`, `Ranking.sav`) cleanly without polluting their binary formats; store SmashSet Forever additions separately in `Save/Forever.dat`.
- **Cross-Platform by Design**: Pure C++20 core (`src/core/`, `src/game/`, `src/translations/`) decoupled from an **SDL3** callback host (`src/platform/`), targeting **Windows**, **Linux**, **macOS**, and prepared for **Browser (WebAssembly/Emscripten)** and **Android**.
- **Independent & Testable**: Headless software framebuffer and deterministic fixed-timestep tests run without graphics hardware or original assets.
---
## Building from Source
Run the build orchestrator and pick a profile from the interactive menu:
```powershell
py build.py
```
Prerequisites, presets, build profiles, WebAssembly, packaging, and private builds are documented in [`BUILDING.md`](BUILDING.md). Releases are covered in [`RELEASING.md`](RELEASING.md).
## Command-Line Options & Controls
Useful CLI options:
- `--data-dir `: Explicit directory containing `Data/` or a `SmashSet.zip` archive (can also be set via `SMASHSET_DATA_DIR`). Without it, the game looks in the working directory and next to the executable for a `Data/` folder, a game `.zip` (`SmashSet.zip` first, then any other `.zip` containing the game), or a subfolder holding `Data/` (dev fallback: `./_original_gamefiles`).
- `--console` (Windows): open a console window for log output. `smashset.exe` is a GUI app, so double-clicking it shows no console; launched from a terminal it prints there, but the shell may not wait for it to exit.
- `--version` / `-V`: Print semantic version and license metadata and exit cleanly.
- `--lang `: Select initial UI language (`en` default, or `ja` to extract original Shift-JIS text from `SmashSet.exe` at runtime; can also be toggled live with `F2`).
- `--debug`: Enable one-way Debug Unlock Mode (unlocks all Play modes and Key Items in memory; suppresses disk save writes). Can also be activated on the Main Menu by typing `smashdebug`.
- `--infinite-items`: Enable the one-way infinite Key Items cheat (hotbar `1`-`8` consumables and passive shields never lose charges). Can also be activated at any time (menu or live in TRIAL) by typing `smashitem`. Does not unlock content and does not block saves.
- `--smoke-frames `: Render `N` frames and exit cleanly (for automated verification; suppresses shutdown save writes).
- `--play-midi`: Allow MIDI sequencer playback even during `--smoke-frames`.
- `--no-audio`: Disable both MIDI BGM and SDL3 SFX playback.
- `--software-text`: Force the portable GNU Unifont JP software text renderer on Windows (default on Linux/macOS/WASM).
- `--synth-midi`: Force the portable in-memory General MIDI / Roland GS synthesizer on Windows (default on Linux/macOS/WASM).
- `--soundfont `: Load a Roland GS/GM SoundFont (`.sf2`) via **TinySoundFont** (also configurable via `SMASHSET_SOUNDFONT`; on WebAssembly, **GeneralUser GS** is fetched and cached automatically in IndexedDB with zero user action).
### Controls, Gamepads & Debug Overlays
- **Android**: touch controls in the side bands (▲/▼ move, ▶ forward/aim, hold ✕ for back, hold **1-4** / **5-8**
and drag to use a Key Item: down is 1 / 5, then counterclockwise) or a controller with the same buttons as
the web version (A confirm, B back, LB/RB + X/RT for Key Items). In-game **EXIT** returns to the app menu.
Full table in [`android/README.md`](android/README.md#controls).
- **Keyboard** (remappable in `KEY CONF`): `↑` / `↓` move the paddle and menu cursor, `SPACE` toggles the aim sight (move it with `↑` / `↓` while ON), `ENTER` confirms, `ESC` goes back / pauses, `1`–`8` use Key Items, `F2` toggles the UI language. On **Web/Android**, `BACKSPACE` also goes back from `OPTION`, `KEY CONF`, and `KEY-ITEM`, and opens the in-game pause menu (and `OPTION` gets a **Back** row), since browsers may keep `ESC` for leaving fullscreen.
- **Keyboard-Free 2-Player Gamepad Support**: Plug in up to two controllers via `SdlGamepadManager` (`src/platform/input/sdl_gamepad_manager.cpp`, powered by SDL3's cross-platform Gamepad API for **Windows, Linux, macOS, Browser/WASM, and Android** with hot-plug and automatic focus-loss input clearing):
- **D-Pad / Left Stick**: Move menu cursor, aim sight, or paddle (and cycle slots `1`–`8` inside `KEY-ITEM` left/right).
- **A / Y (South / North)**: Confirm menu option, toggle Aim Sight / launch serve, or assign Key Item in `KEY-ITEM`.
- **B (East)**: Cancel / go back / pause.
- **START**: Confirm in menus, Pause/Resume during Trial/VS gameplay, or Save & Exit in `KEY-ITEM`.
- **LB / RB (Left / Right Shoulder)**: Cycle selected Key Item hotbar slot `1`–`8` (renders a yellow highlight frame around the active slot when a gamepad is connected).
- **X / RT (West / Right Trigger)**: Use the highlighted hotbar Key Item in Trial mode (or assign/toggle slot in `KEY-ITEM`).
- **SELECT / BACK**: Toggle live `EN` / `JA` language (equivalent to `F2`).
- **Full Screen Mode**: Toggle `OPTION -> Full Screen` in-game (saved in `Save/Forever.dat` without touching original `.sav` files); fullscreen automatically hides the mouse cursor.
- **Global Diagnostic Overlays & Easter Egg** (matching `SmashSet.exe`):
- `Right Alt + Numpad 1`: Toggle live `FPS : ` counter at `(550, 20)`.
- `Right Alt + F11`: Toggle the 4-frame colored corner spinner at `(624, 464)`.
- **Mouse Click Easter Egg**: Left- or right-clicking the game window prints the original `"Mouse is not used"` (`"マウスは使用しません"` / rare kaomoji variants at 1% chance) notice in the message log.
---
## Third-Party Libraries & Acknowledgements
**SmashSet Forever** is built upon and gratefully acknowledges the work of the following open-source projects and creators (see [`docs/THIRD_PARTY_LICENSES.md`](docs/THIRD_PARTY_LICENSES.md) for full license texts, pinned versions, and copyright notices):
- **[SDL3](https://github.com/libsdl-org/SDL)** (`release-3.4.20`, Sam Lantinga & SDL Contributors, **zlib License**) — Cross-platform windowing, gamepad/input handling, audio streaming, and Emscripten callbacks.
- **[TinySoundFont](https://github.com/schellingb/TinySoundFont)** (`tsf.h`, Bernhard Schelling, based on SFZero by Steve Folta, **MIT License**) — Fast, single-header C wavetable SoundFont2 synthesizer powering Roland GS / GM playback on WebAssembly and desktop `--soundfont` / `--synth-midi` mode.
- **[GNU Unifont JP](https://ftp.gnu.org/gnu/unifont/unifont-16.0.04/)** (`16.0.04`, Roman Czyborra, Paul Hardy, GNU Project / Unifoundry, **SIL OFL 1.1** / **GPL-2.0-or-later** w/ Font Embedding Exception) — Cross-platform JIS X 0208, Latin, and Italian bitmap glyph coverage for non-Windows targets.
- **[GeneralUser GS](https://www.schristiancollins.com/generaluser)** (`v2.0.3`, S. Christian Collins, **GeneralUser GS License v2.0**) — Free Roland GS-compatible SoundFont bank matching *SmashSet*'s Roland Sound Canvas SC-88VL MIDI arrangement, fetched automatically on demand and cached in browser IndexedDB on WebAssembly (never bundled in Git or public `dist/` releases).
### Development tools
These tools are not part of the game, but SmashSet Forever owes them a lot:
- **[REA](https://github.com/morluto/rea)** (`rea-agents`, **MIT License**) — Reverse engineering CLI and MCP server used, alongside Ghidra, to study `SmashSet.exe` and write the behavioral specifications in [`docs/re/`](docs/re/).
- **[Impeccable](https://github.com/pbakaus/impeccable)** (Paul Bakaus, **Apache License 2.0**) — Design skill and anti-"AI slop" detector used to design and review the web portal ([`web/PRODUCT.md`](web/PRODUCT.md), [`web/DESIGN.md`](web/DESIGN.md)).
### AI-assisted development
The project credits **Gemini** for work committed before
**27 November 2026 at 21:20 CET**. **Gemini Neon 4** handled orchestration, and
**Gemini Hydrogen** handled execution.
**OpenAI Sol 6.2** contributed to the development of several features, including
**Memory Card** audio save transfer.
**Claude Opus 5.5** has also been used for several developments, like the Android app and several other core features.
---
## Documentation
- [`BUILDING.md`](BUILDING.md) — Prerequisites, CMake presets, `build.py` profiles, WASM, packaging, and private builds
- [`RELEASING.md`](RELEASING.md) — How to cut a release (version bump, `vX.Y.Z` tag, automatic pipeline)
- [`AGENTS.md`](AGENTS.md) — Rules, legal/reimplementation policy, branch workflow, and toolchain guide
- [`docs/THIRD_PARTY_LICENSES.md`](docs/THIRD_PARTY_LICENSES.md) — Complete third-party library inventory, copyright notices, and licenses
- [`docs/ASSETS.md`](docs/ASSETS.md) — User-supplied assets, archive links, `.zip` loading, and private-build policy
- [`docs/WASM.md`](docs/WASM.md) — Emscripten (`emsdk`) setup, WebAssembly build, and local browser serving
- [`android/README.md`](android/README.md) — Android app: toolchain (command line only), building, devices/emulator, and controls
- [`docs/ARCHITECTURE.md`](docs/ARCHITECTURE.md) — Layered design, SDL3 callbacks, rendering, and audio strategy
- [`docs/SAVEDATA.md`](docs/SAVEDATA.md) — Original `Save/*.sav` formats, `Save/Forever.dat`, and Debug Unlock Mode
- [`docs/STYLE_GUIDE.md`](docs/STYLE_GUIDE.md) — C++20 coding conventions and determinism rules
- [`docs/ROADMAP.md`](docs/ROADMAP.md) — Phased reimplementation plan
- [`docs/re/binary_overview.md`](docs/re/binary_overview.md) — Reverse-engineering baseline for `SmashSet.exe`