How nesbox/emulator works
NESbox is a browser-embedded Flash emulator for NES, SNES, Sega Mega Drive, Game Boy, and Game Boy Advance. The documented workflow is to embed the SWF, supply a system and game URL, and run the selected game in the browser. The source tree also names single-player, network, contest, walk-through, and own-server modes, plus setup and session components; without source excerpts, their internal wiring cannot be confirmed.
Main entry points: Nesbox.swf NESbox SWF
Components 18
Emulator runtime
- NESbox SWF
bin/Nesbox.swf - Application entry
src/Nesbox.as - Game data
src/GameData.as - Launch variables
src/Variables.as - Core player base
src/core/CorePlayerBase.as
Playback modes
- Single-player mode
src/mode/Single.as - Network mode
src/mode/Network.as - Contest mode
src/mode/Contest.as - Walk-through mode
src/mode/Walk.as - Own-server mode
src/mode/OwnServer.as
Network sessions
- Network session
src/network/NetworkSession.as - Own-server session
src/network/OwnServerSession.as - Server API
src/server/Api.as
Setup and interface
- Game setup
src/ui/Setup.as - Own-server setup
src/ui/OwnServerSetup.as - Gameplay actions
src/ui/Actions.as
Other components
- Browser user
- Game resource URL
Connections 2
- Browser user → NESbox SWF: embeds
- NESbox SWF → Game resource URL: loads game