Skip to content

TheGreatRambler/vbam.js

 
 

Repository files navigation

VBAM.js

Game Boy Advance Emulator in Webassembly. Based upon the popular Visual Boy Advance Emulator.

Building

Assuming you have LibPng, Zlib, SDL2, OpenAl, Make, CMake and Git installed (list of deps):

git clone https://github.com/TheGreatRambler/vbam.js.git
cd visualboyadvance-m
./installdeps

This will give you a list of instructions to follow. Upon arriving at cmake, run this command instead:

cmake .. -DENABLE_SDL=ON -DENABLE_WX=OFF -DENABLE_NLS=OFF -DENABLE_LINK=OFF -DENABLE_DIRECT3D=OFF -DENABLE_XAUDIO2=OFF

Then, run this command:

emmake make -j [number of cores]
emcc -02 -lopenal -lSDL -s USE_ZLIB=1 -s USE_SDL=2 -s USE_LIBPNG=1 project.bc project.js

Packages

No packages published

Languages

  • C++ 67.9%
  • C 14.1%
  • Assembly 6.8%
  • Shell 3.6%
  • Objective-C 3.2%
  • CMake 2.6%
  • Other 1.8%