Go to file
lif c76bd2ae46 get osx app bundle working 2024-12-27 20:28:38 -08:00
SDL@78cc5c1734 update to SDL3 preview 3.1.6 and mgba 0.10.4 2024-12-15 18:37:56 -08:00
cmake get osx app bundle working 2024-12-27 20:28:38 -08:00
mgba@9a1d2442a3 update to SDL3 preview 3.1.6 and mgba 0.10.4 2024-12-15 18:37:56 -08:00
.gitignore initial grey version 2024-03-02 22:43:07 -08:00
.gitmodules initial grey version 2024-03-02 22:43:07 -08:00
CMakeLists.txt get osx app bundle working 2024-12-27 20:28:38 -08:00
LICENSE Add LICENSE 2024-03-03 03:07:03 -08:00
README.md update readme for fial dileogs 2024-12-24 15:03:39 -08:00
main.c get osx app bundle working 2024-12-27 20:28:38 -08:00
mingw.cmake stuff for cross-building exes 2024-03-04 03:49:17 -08:00

README.md

for everyone

this uses libmgba and the latest (as of writing) development build of SDL3 with webcam support, both as submodules.

git submodule update --init

for unixesques

cmake -B_build -DCMAKE_BUILD_TYPE=Release
cmake --build _build --config Release --parallel
_build/cgbwebcam gbcamera.gb # provide your own rom, of course

for windows

just point visual studio at the CMakeLists.txt, apparently that's a thing it supports now.

for everyone again

you may provide the gbcamera rom either as argv[1] or by selecting it from a file selection dialog.

when running, the inputs are

  • arrow keys = dpad
  • z = a
  • x = b
  • enter = start
  • backspace = select

in gbcamera, you can use backspace to open the settings for dither, flip, palette, etc..

(you can technically back out of the camera mode and access the rest of the gbcamera minigame stuff, but it'll be running unplayably fast since we try to run the emulated gb's much faster than realtime to keep up a decent framerate)