Files
BreadedSNES/README.md
PalindromicBreadLoaf c0953a9374
Some checks failed
CI / Build ubuntu-latest - Release (push) Failing after 3m12s
CI / Build macos-latest - Release (push) Has been cancelled
CI / Build windows-latest - Release (push) Has been cancelled
Implement an actual README
2025-08-29 14:14:02 -04:00

1.6 KiB

BreadedSNES

BreadedSNES is an up-and-coming cross-platform Super Nintendo (SNES) emulator written in modern C++23. SDL2 is used for audio, video, and input support.

Note, this does not function currently. Maybe it'll boot something in the future. Now is certainly not that time.

Build Instructions

Prerequisites

You will need:

  • CMake ≥ 3.16
  • C++23-compatible compiler (GCC, Clang, or MSVC)
  • SDL2 development libraries

Windows

  1. Clone the repository and vcpkg:

    git clone https://github.com/microsoft/vcpkg.git
    cd vcpkg
    ./bootstrap-vcpkg.bat
    
  2. Install SDL2:

    ./vcpkg install sdl2
    
  3. Build the project:

    cd path/to/breadedSNES
    cmake -B build -DCMAKE_TOOLCHAIN_FILE=path/to/vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_BUILD_TYPE=Release
    cmake --build build --config Release
    

macOS

  1. Install dependencies:

    brew install cmake sdl2
    
  2. Build the project:

    cmake -B build -DCMAKE_BUILD_TYPE=Release
    cmake --build build --config Release
    

🐧 Linux

  1. Install dependencies:

    apt:

    sudo apt install cmake build-essential libsdl2-dev pkg-config
    

    pacman:

    sudo pacman -S cmake sdl2 pkgconf
    
  2. Build the project:

    cmake -B build -DCMAKE_BUILD_TYPE=Release
    cmake --build build --config Release
    

Packaging

To create distributable packages (e.g. .zip, .dmg, .tgz), run:

cd build
cpack