Skip to content

hikipuro/game-music-emu.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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).

Releases

No releases published

Packages

No packages published