Switch GBA Emulator

From GameBrew
Switch GBA Emulator
Switchgbanx.png
General
AuthorBFriedrichs
TypeHandheld
Version1.0.2
LicenseMixed
Last Updated2019/07/21
Links
Download
Website
Source

An experimental browser based Nintendo Switch GBA emulator.

It is a modified and heavily towards Switch tailored version of crowdsourced-gba by vinnynoodles.

User guide

How to use

The emulator in it's entirety is ready to be pulled as a docker image. It runs on and exposes port 8888 by default.

Docker Images

Latest release
bfriedrichs/switch-gba:release-latest

Latest master (possibly unstable)
bfriedrichs/switch-gba:latest

Latest dev (most likely unstable)
bfriedrichs/switch-gba:dev

Older release

bfriedrichs/switch-gba:release-{version}

No rom is provided, you will have to make a folder roms with your .gba files directly in it.

Example

docker run -d -v $(pwd)/roms:/home/roms/ --name switch-gba -p 8888:8888 bfriedrichs/switch-gba:release-latest

Custom layout

Since v1.0.2 custom layouts are also supported. Just click the cogs at the top of the screen during rom selection to open the options menu.

The left side shows the GBA key and the right side shows the currently assigned Switch key.

Controls

L/R - L/R

Left Stick - Movement

D-Pad Up/Left - Save/Load

D-Pad Right/Down - Start/Select

A/B - A/B

ZR - Turbo

Up/Down - Settings

Left/Right - Value

Screenshots

switchgbanx2.gif

Known issues

  • Page size too large, refresh the page - This popped up every now and then and then made the window lag out continuously even when Cancel is pressed. The images were converted from PNG to uncompressed WebP format, and an additional functionality was introduced to disconnect the WebSocket if there is no input for more than 10 seconds. The WebSocket automatically reconnects if there's new input.
  • Turbo mode - When enabled turbo mode makes the emulator tick at times the speed of its usual execution (e.g. 600 vs 60 fps for x10). The output rate of frames remains 60 so the switch doesn't choke up.
  • Audio - Sadly the switch doesn't seem to have an exposed audio API for the web browser.

Changelog

1.0.2

  • Added custom button layouts.
  • Code restructuring.

1.0.1

  • Add fix for content size warning after alerts are open for too long.
  • Minor changes.

1.0.0

  • Initial release.
  • ROM selection.
  • Gamepad support.
  • Turbo mode (2-20x speed).

External links

Advertising: