Getting started
Requirements
Section titled “Requirements”| Tool | Needed for |
|---|---|
| .NET 10 SDK | Everything (newer SDKs work; projects target net10.0) |
| Docker | The server’s PostgreSQL database and the server integration tests |
| A GitHub account | Real sign-in and the admin dashboard (optional for local play) |
The first build of the server downloads the Tailwind CSS CLI (about 110 MB, once per version) for
the admin dashboard’s styles. Offline, add -p:AcidBoySkipTailwind=true (see
Admin dashboard › Styling).
Play a game
Section titled “Play a game”dotnet run --project src/AcidBoy.Desktop -c Release -- path/to/game.gbWith no ROM the menu opens; press Ctrl+O to browse, or drop a .gb/.gbc file on the window.
Esc opens the menu at any time. See Desktop app for controls and settings.
![]() Open ROM (Ctrl+O) |
![]() Playing |
Build and test
Section titled “Build and test”dotnet build src/AcidBoy.Desktop # the desktop app (AcidBoy.slnx also builds the mobile app: needs the maui-android workload)dotnet test tests/AcidBoy.Tests # emulator and desktop testsdotnet test tests/AcidBoy.Server.Tests # server tests; need Docker (skipped without it)Run AcidBoy Online locally
Section titled “Run AcidBoy Online locally”1. Database and server
Section titled “1. Database and server”docker compose -f src/server/docker-compose.yml up -d # PostgreSQL on localhost:5432dotnet run --project src/server/AcidBoy.Server # http://localhost:5280The server applies database migrations at startup. In Development it enables Sign in with Developer, which needs only a name, so you can try everything without OAuth apps.
2. Two emulators
Section titled “2. Two emulators”dotnet run --project src/AcidBoy.Desktop -c Release -- --server http://localhost:5280Start it twice. In each window:
- Esc → Online… → Sign in with Developer, each window with a different name.
- Load a game, e.g. Pokémon Red in one window and Blue in the other.
- Channels… → Pokémon Gen 1.
- One player picks the other in the channel and chooses Challenge to link; the other presses Y.
Both link cables now go through the server. Use the games’ Cable Club as on real hardware. Afterwards, Online → Match history shows the match and any trade or battle result.
Both windows share one settings file, so the window that signs in last is the account remembered for next time.
--serverkeeps the sign-in from being saved at all.
3. GitHub sign-in and the admin dashboard (optional)
Section titled “3. GitHub sign-in and the admin dashboard (optional)”-
Create a GitHub OAuth app: GitHub → Settings → Developer settings → OAuth Apps → New.
- Homepage URL: your repository or site.
- Callback URL:
http://localhost:5280/auth/callback/github.
-
Store its credentials and make yourself the first admin. Use your numeric GitHub id from
gh api user --jq .id:Terminal window cd src/server/AcidBoy.Serverdotnet user-secrets set "Auth:Providers:github:ClientId" "<client id>"dotnet user-secrets set "Auth:Providers:github:ClientSecret" "<client secret>"dotnet user-secrets set "Admin:Bootstrap:0" "github:<your numeric id>" -
Restart the server, open http://localhost:5280/admin and sign in with GitHub.
Discord and Google work the same way under Auth:Providers:discord and Auth:Providers:google;
see Authentication.
Where things are stored
Section titled “Where things are stored”| What | Where |
|---|---|
| Battery saves | Next to the ROM: <rom>.sav (second copy in a local link: <rom>.2.sav) |
| Emulator settings | settings.json in %APPDATA%\AcidBoy, ~/Library/Application Support/AcidBoy or ~/.config/AcidBoy |
| Controller mappings | gamecontrollerdb.txt next to settings.json |
| Online sign-in | In settings.json: DPAPI-encrypted on Windows; the file is user-only elsewhere |
| RAM dumps (Debug builds, F9) | ram-dumps/ next to settings.json |
| Server data | PostgreSQL (Docker volume acidboy-db in development) |
| Server secrets | dotnet user-secrets (development) or environment variables |


