/NanoboyAdvance-libretro

NanoboyAdvance as a core for libretro (RetroArch)

Primary LanguageCGNU General Public License v3.0GPL-3.0

NanoboyAdvance libretro core

This project is a port of NanoboyAdvance, a Game Boy Advance emulator written by fleroviux, to libretro, the heart of RetroArch.

This port pursues the goal of keeping a clean and unmodified core implementation.

Building

Update dependencies

This project includes NanoboyAdvance as a Git submodule, therefore you should always execute the following command after pulling new commits from this repository:

git submodule update --init --recursive

Compilation

Windows (UI based)

  1. Open this project as a CMake project in Visual Studio 2019
  2. Select x64-Release as the current build configuration.
  3. In the Solution Explorer, select the CMake Targets View
  4. Right click on nba_libretro and click on Build
  5. Your compiled binary can be found at out\build\x64-Release\nba_libretro.dll

Windows (Command line)

TODO

Linux

Run the following commands:

mkdir cmake-build-release
cd cmake-build-release
cmake -DCMAKE_BUILD_TYPE=Release ..
make nba_libretro

Installation

This requires having followed the compilation guide. You should have got a compiled nba_libretro.dll (Windows) or nba_libretro.so (Linux) binary and a generated nba_libretro.info file.

Linux

Copy the nba_libretro.so binary to ~/.config/retroarch/cores
Copy the nba_libretro.info file to ~/.config/retroarch/info

Windows

Copy the nba_libretro.dll binary to %APPDATA%\RetroArch\cores
Copy the nba_libretro.info file to %APPDATA%\RetroArch\info