A Flash Player emulator written in Rust
Go to file
Mike Welsh 8da9487c0a avm1: Match Flash's property enumeration order (fix #153) 2020-03-28 16:22:02 -07:00
.circleci chore: Explicitly install wasm-pack on CI 2020-03-16 02:15:55 -07:00
.dependabot chore: Add dependabot for js 2019-12-11 10:21:59 -08:00
assets docs: Update README 2020-02-19 23:19:59 -08:00
core avm1: Match Flash's property enumeration order (fix #153) 2020-03-28 16:22:02 -07:00
desktop chore: Bump winit, glutin, glium 2020-03-26 01:05:12 -07:00
scanner build(deps): bump structopt from 0.3.11 to 0.3.12 2020-03-18 20:35:34 +00:00
swf build(deps): bump enumset from 0.4.4 to 0.4.5 2020-03-02 18:14:25 +00:00
web chore: Fix naming convention 2020-03-26 02:55:25 -07:00
.gitattributes chore: Add gitattributes to normalize line endings 2019-10-11 16:53:36 -07:00
.gitignore chore: Add .swd files to .gitignore (SWF debug symbols) 2019-12-19 17:33:27 -08:00
CONTRIBUTING.md chore: Renormalize line endings in misc files 2019-10-11 16:53:36 -07:00
Cargo.lock core: Add PropertyMap for handling AVM1 object properties 2020-03-28 16:22:02 -07:00
Cargo.toml chore: Set to abort on panic 2020-03-16 01:16:15 -07:00
LICENSE_APACHE Initial commit 2019-04-25 10:52:22 -07:00
LICENSE_MIT Initial commit 2019-04-25 10:52:22 -07:00
README.md docs: Update README 2020-02-19 23:19:59 -08:00
rustfmt.toml chore: Add rustfmt.toml and rustfmt pass 2019-08-26 16:38:48 -07:00

README.md

Ruffle

Travis Build Status Ruffle Discord
website | demo | nightly builds | wiki

Ruffle

Ruffle is an Adobe Flash Player emulator written in the Rust programming language. Ruffle targets both the desktop and the web using WebAssembly.

Project status

Ruffle is in the proof-of-concept stage and can currently run early Flash animations and games. Basic ActionScript 1.0/2.0 support is in place and improving; ActionScript 3.0 support is forthcoming. For more info, read the project roadmap.

Nightly builds

Nightly builds of Ruffle are available for desktop and web platforms.

Building from source

Follow the official guide to install Rust for your platform.

Desktop

  • cargo run --package=ruffle_desktop -- test.swf

Web

Running the web demo

Hosting on your own site

Scanner

If you have a collection of "real world" SWFs to test against, the scanner may be used to benchmark ruffle's parsing capabilities. Provided with a folder and an output filename, it will attempt to read all of the flash files and report on the success of such a task.

  • cargo run --package=ruffle_scanner -- folder/with/swfs/ results.csv

Structure

  • core contains the core emulator and common code
  • desktop contains the desktop client (uses glium)
  • web contains the web client (uses wasm-bindgen)
  • scanner contains a utility to bulk parse swf files

Sponsors

You can support the development of Ruffle via GitHub Sponsors. Your sponsorship will help to ensure the accessibility of Flash content for the future. Thank you!

Sincere thanks to the diamond level sponsors of Ruffle:

Newgrounds.com CPMStar Sébastien Bénard Crazy Games

License

Licensed under either of

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be dual licensed as above, without any additional terms or conditions.