Games

Block Builder comes with the console. Add more in Config.Games:

Games = {
    blocks = { label = 'Block Builder', included = true },
    mygame = { label = 'My Game', price = 250, system = 'SNES', rom = 'mygame.sfc', art = 'mygame.png' },
},
FieldWhat it does
labelThe name in the shop and on the home screen.
pricePrice in the shop. 0 = free for everyone.
includedtrue = comes with the console: always on the home screen, never in the shop. Block Builder is.
system'NES', 'SNES', 'GB', 'GBC', 'GBA', 'GENESIS' or 'N64'.
romThe game file in html/roms.
artOptional picture in html/roms for the shop and home screen.

Retro games

No emulator or game files come with the script. Only add games you have the rights to.

  1. Type gamestation_install in the server console. It downloads the free EmulatorJS emulator (about 17 MB) into the resource. When retro games are already in the config, this happens by itself on start.
  2. Run refresh then ensure fusing-gamestation.
  3. Put your game files, and a picture for each if you like, in html/roms, and add each game to Config.Games.

If your server can't download, run install/install-emulator.ps1 (Windows: right-click, Run with PowerShell) or install/install-emulator.sh (Linux) on the server machine instead.

If the emulator or a game file is missing, the TV says so when the game is started.

Playing together

Up to 4 players can play retro games together on one TV. While someone plays, anyone else near the TV uses it and picks Join as player, and they become player 2, 3 or 4 with their own controller or keyboard (the same layouts as above). Their buttons go through the server, so they arrive a moment after player 1's: fine for racing, party and sports games, a little late for fast fighting games.

To leave, tap Esc or Backspace, or press Back + Start together on a controller.

Big game libraries

Every file inside fusing-gamestation is downloaded by each player again whenever it restarts. For more than a few games, put the games in a resource of their own:

  1. Copy install/roms-resource from fusing-gamestation into your resources and name it fusing-gamestation-roms.
  2. Put your game files and pictures in a roms folder inside it.
  3. Add ensure fusing-gamestation-roms to server.cfg and set Config.Roms = 'fusing-gamestation-roms'.

The game resource only needs restarting when you add games.

Controls for each system

Every system has its own controller and keyboard layout in Config.Controls, so each one can be changed:

SNES = {
    pad  = { A = 'B', B = 'A', X = 'Y', Y = 'X', LB = 'L', RB = 'R', START = 'START', BACK = 'SELECT' },
    keys = { Z = 'B', X = 'A', A = 'Y', S = 'X', Q = 'L', E = 'R', ENTER = 'START', SHIFT = 'SELECT' },
},

The left side is the controller button or keyboard key, the right side is the game's own button. The default layouts follow each console's button positions, and N64 uses the left stick as an analog stick and the right stick for the C buttons. The full list of names is in config.lua.

Saves

  • Leaving the TV keeps the game playing on the screen for people watching. Coming back starts at the console's home screen.
  • Save state in the game menu keeps your exact place; Load state brings it back. One slot per game for each player, kept on the server.
  • Games that save on their own (like RPGs) keep those saves too.

Controls while playing

ActionKeyboardController
D-padArrow keysD-pad or left stick
A / B / X / YX / Z / S / AA / B / X / Y
L / RQ / ELB / RB
Start / SelectEnter / ShiftStart / Back
Game menu (resume, save or load your state, home menu, TV menu, or leave the TV)Esc or BackspaceBack + Start together
Back to the TV menu, from the console's home screenBackspaceB