ipodtouch0218 / scGBe

A simple Game Boy emulator written in C++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

scGBe

simple cpp GameBoy emulator is a basic Game Boy emulator (wow!), written in C++ as a personal challenge. It's not meant to be 100% accurate to the original hardware, but it still passes most basic test ROMs, such as dmg-acid2, blargg's cpu-instrs, and almost all numism tests.

Building

scGBe uses CMake with MinGW Makefiles for building to Windows. GNU/G++ must be used as the compiler for its switch range extension.

Dependencies

  • wxWidgets should be automatically downloaded by CMake. Used for the GUI, image rendering, and input.
  • SFML should be automatically downloaded by CMake. Used for audio streaming.

Windows Building Guide

  1. Download and install MSYS2.
  2. Open "MSYS2 UCRT64" to bring up a bash terminal. Should be searchable from the start menu.
  3. Run pacman -S mingw-w64-x86_64-gcc in this terminal to install the latest version of the GCC/G++ compiler.
  4. Create an %mingw64% environment variable, pointing at your MinGW folder. *(By default, it should be at C:\msys64\mingw64)
  5. Download and install CMake.
  6. Clone the project (or download as ZIP + extract).
  7. Run cmake -G "MinGW Makefiles" within the root directory of the project. (This only has to be done once, and can be done using any terminal, not just MSYS2's.)
  8. Next, run cmake --build . within the root directory of the project to build to an executable. The final executable will be placed at /bin/scGBe.exe within the project folder. (This can be done using any terminal, not just MSYS2's.)

Acknowledgements

About

A simple Game Boy emulator written in C++


Languages

Language:C++ 98.9%Language:CMake 1.1%