Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 645 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 645 Bytes

game-music-emu.js

javascript ports game-music-emu

  • This library build by emscripten.
  • Copy "gme.js" and "gme.js.mem" to your project folder.
  • TypeScript wrapper "GME.ts" available.

Build requirements

  • emscripten
  • cmake

How to build

  • enable your emscripten build emviroment (emsdk_env.sh).
  • $ ./build.sh

How to change build options

  • open "game-music-emu-0.6.2/gme/CMakeLists.txt"
  • Line: 148, "EMCC_LINKER_FLAGS" is emcc options

change post.js

  • "post.js" concat to "gme.js" when post compile timing
  • rewrite this file if you want to use any js modules

Limitations

  • Some functions not supported (file I/O, m3u).