Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Switch GBA Emulator: Difference between revisions

From GameBrew
No edit summary
No edit summary
 
Line 13: Line 13:
|donation=
|donation=
}}
}}
An experimental browser based Nintendo Switch GBA emulator. This project makes use of the Switch browser that comes up when trying to verify/sign in with certain DNS providers.
An experimental browser based Nintendo Switch GBA emulator.  


It is a modified and heavily towards switch tailored version of [https://github.com/vinnyoodles/crowdsourced-gba crowdsourced-gba] by vinnynoodles.
It is a modified and heavily towards Switch tailored version of [https://github.com/vinnyoodles/crowdsourced-gba crowdsourced-gba] by vinnynoodles.


==User guide==
==User guide==
===How to setup===
===How to use===
The emulator in it's entirety is ready to be pulled as a docker image. It runs on and exposes port <code>8888</code> by default.
The emulator in it's entirety is ready to be pulled as a docker image. It runs on and exposes port <code>8888</code> by default.


Line 46: Line 46:


===Custom layout===
===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.
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==
==Controls==
Line 67: Line 69:
==Screenshots==
==Screenshots==
https://dlhb.gamebrew.org/switchhomebrews/switchgbanx2.gif
https://dlhb.gamebrew.org/switchhomebrews/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==
==Changelog==

Latest revision as of 03:13, 28 Mayıs 2023

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: