Retro Game Emulators: Why I Choose EmulatorJS
Have you ever missed playing video games from your childhood?
I grew up with the Famicom and Game Boy Advance. Games like Pokémon, Mario Kart, Dragon Ball, and many more are fond memories.
EmulatorJS is a web-based multi-system emulator that runs in the browser. It can emulate many classic consoles like NES, SNES, Game Boy, GBA, and more.
- GitHub: https://github.com/EmulatorJS/EmulatorJS
- Documentation: https://emulatorjs.org/
Setting Up EmulatorJS Locally
Prerequisites
- Install Node.js from the official website (https://nodejs.org/).
Download the Source Code
Open a terminal and run:
git clone https://github.com/EmulatorJS/EmulatorJS.git
If Gits not installed, you can download the ZIP archive from GitHub and extract it.
Install Dependencies
Navigate to the project folder and install dependencies:
cd EmulatorJS
npm install
After installation, a node_modules folder will appear.
Optional: Download Emulator Cores for Offline Use
For offline usage, download the required emulator cores from:
For example, to play GBA games, search for "gba" and download mgba-legacy-wasm.data (for older browsers) or mgba-wasm.data (for modern Chrome). Place the downloaded file in:
EmulatorJS/data/cores
Running EmulatorJS
Start the server with:
npm run start
Then open the provided URL in a browser. Drag and drop a ROM file (e.g., a .gba file) onto the page to start playing.
Features
- Save and load game states.
- Supports multiple console cores.
- Customizable controls.
Enjoy your classic games!