Giter VIP home page Giter VIP logo

floflispull / gba.ninja Goto Github PK

View Code? Open in Web Editor NEW

This project forked from simon-paris/gba.ninja

0.0 1.0 0.0 29.87 MB

A port of visualboyadvance-m to JavaScript and a custom frontend

Home Page: https://gba.ninja

CMake 1.31% JavaScript 0.99% C 11.89% C++ 75.96% HTML 0.74% Shell 0.02% Objective-C 2.35% Makefile 0.14% Assembly 6.23% Lex 0.06% Yacc 0.06% Perl 0.01% Batchfile 0.12% Roff 0.11%

gba.ninja's Introduction

gba.ninja

This is an emscripten port of https://github.com/visualboyadvance-m/visualboyadvance-m. It's using custom bindings to get pixel/audio/input/savegame data into & out of the emulator. (as opposed to using emstripten's built in file system and sdl support).

Eventually, it should work on all browsers that support WebGL. Currently, it also requires localStorage (so Safari private browsing won't work).

Build

  1. npm install.
  2. in a separate terminal window:
    • download Emscripten from https://github.com/emscripten-core/emsdk. (Download as zip)
    • in emscripten, emsdk install latest && emsdk activate
    • (confirmed working in emsdk commit 0490c5f with sdk-1.37.1-64bit installed)
    • Run node build --opt (the --opt is production mode). This takes a while.
  3. Run npm run webpack.
  4. Open build/index.html.

(the separate terminal window is because emscripten comes bundled with a really old version of node)

TODOs

  • Fix frame drop problems
  • Fix bug where audio stops if headphones are unplugged
  • Google Drive sync for save games
  • Touch controls
  • Enable frameskip on slow devices
  • Ability to load BIOS
  • UI for loading ROMs from URLs
  • Support for roms in zip files
  • Cache roms in HTML5 FS
  • Mute button (should disable audio emulation)

VBA-M Licence

VisualBoyAdvance - Nintendo Gameboy/GameboyAdvance (TM) emulator. Copyright (C) 1999-2018 VBA & VBA-M Contributors

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or(at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

gba.ninja's People

Contributors

intact avatar n-a-c-h avatar rkitover avatar simon-paris avatar skidau avatar swooshycueb avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.