Wiki/wiki-rtd/docs/wiki_emulator_guides/ruffle/ruffle-guide.md
2025-02-03 11:31:31 +01:00

2.2 KiB

Ruffle - General Guide

An open source Flash Player emulator.

Note:

Ruffle is very much a W.I.P emulator that is under heavy development.

Some games might not control right or work at all.


Ruffle Webpage

Ruffle Blog

Ruffle Compatibility list


Where to put the games?

Flash games should be put under the retrodeck/roms/flash/ directory.

What file formats are supported?

.swf

Does Ruffle require BIOS or Firmware?

No

Folder structure

Type Folder Comment
ROMs Folder retrodeck/roms/flash/
Saves Folder retrodeck/saves/flash/
Data Folder ~/.var/app/net.retrodeck.retrodeck/data/ruffle/
Config Folder ~/.var/app/net.retrodeck.retrodeck/config/ruffle/
Cache Folder ~/.var/app/net.retrodeck.retrodeck/cache/ruffle/

Controls in Games

Most flash games were designed for mouse and/or keyboard controls, with each game having its own unique setup.

There's no one-size-fits-all solution for game inputs.

Some games might use the keyboard (WASD, arrow keys, numpad), the mouse, or a combination of these.

Suggestions on how to control games:

  • Use a real keyboard and mouse.
  • Use RetroDECK's Steam Input Layouts to emulate mouse input using a joystick.
  • Use the built-in touchpads on controllers or devices like the DualSense, DualShock 4, Steam Deck and Steam Controller.
  • Use the built-in touchscreens on devices like the Steam Deck.
  • Summon built-in virtual keyboards in SteamOS or your Linux distribution with a button combo.

Can I use ruffle to play Flash videos?

Yes, as they are .sfw files you can just add flash videos to the retrodeck/roms/flash/ to have them play as normal.

It might be a good thing to seperate out videos from games with subfolders, but that is up to you.

Example:

retrodeck/roms/flash/videos/
retrodeck/roms/flash/games/