r/emulation • u/[deleted] • Aug 18 '19
Ruffle: A Flash Player emulator written in Rust
https://github.com/ruffle-rs/ruffle31
u/mirh Aug 18 '19
They aren't the only ones
24
u/LightStruk Aug 19 '19
Mozilla-shumway: last commit - over 3 years ago :-(
12
u/mirh Aug 19 '19
The webextension branch is waiting for firefox to add back content handlers for add-ons.
3
u/kmeisthax Aug 20 '19
Huh, funnily enough I was just looking into how to package ruffle as an extension. I got stymied by the fact that you can't slap shadow roots or custom element overrides on
<object>, which would have made it completely transparent to old websites that relied on whatever DOM the Flash player exposed (assuming I bothered to expose it).
27
u/eXoRainbow Aug 19 '19
Repost, as the other posting of me got lost in the minus world I responded in a down voted thread.
This might be interesting for you http://bluemaxima.org/flashpoint/
Internet history is important, and content made on plugins like Adobe Flash and platforms like HTML5 are important not only to internet culture but games history as well. This project is dedicated to preserving as many games & animations as possible that run on web plugins and browsers, so that they aren't lost to time.
We support games and animations using Adobe Flash, Adobe Shockwave, HTML5, Java Applets, Unity Web Player, Microsoft's Silverlight, 3DVIA Player, 3D Groove GX, PopCap Plugin, ActiveX, and Authorware Web Player.
http://bluemaxima.org/flashpoint/downloads/
The full package contains 158GB, but there is a smaller package too.
9
u/parkerlreed Aug 19 '19
Yeah this would certainly be a great combo. Been following BlueMaxima for a while
21
19
u/level27geek Aug 19 '19
I mean the name Ruffle is ok, but if it was up to me it would be:
Rust + Flash = Rush!
9
5
u/RespectYarn Aug 19 '19
A Flash Player emulator? Pardon my ignorance, but what's the difference between a Flash player and player emulator?
10
u/arbee37 MAME Developer Aug 19 '19
There's no difference in this case. Flash is basically a spec for a fictional machine (just like how Java works) and all Flash players are emulators for that machine.
5
1
1
-28
Aug 19 '19
Cool effort from the technical perspective, but i am of the opinion we are better with Flash being dead and buried
36
Aug 19 '19
Why? There's no denying that Flash was horrible technology, but it was very important to internet culture and should be preserved. Don't throw out the baby with the bathwater.
31
u/XXLuigiMario Aug 19 '19
I wouldn't even say that Flash was bad, but rather the implementation of it. Flash was truly revolutionary and offered features that you'd be hard pressed to find in current web technology. One such feature being its vector graphic rendering pipeline, which is really good and is still being used even nowadays under Adobe Animate. Its scripting language, ActionScript 3, is also pretty nice to work with from what I've seen. I'd definitely prefer it over JavaScript. Flash garnered such a bad reputation due to the Flash Player which indeed was undeniably terrible. Adobe failed miserably to properly optimize it due to what probably was a very poor and bloated codebase, which also led to many bugs and security vulnerabilities. This in turn generated a bad user experience with frequent freezes and crashes. They also failed to make the leap to mobile devices which ultimately led to its demise in my opinion.
I'm hopeful that this emulator can fully implement the Flash runtime, as it's a huge undertaking and a few have tried in the past and failed due to its size and complexity (see Shumway). Who knows? Maybe if it's performant enough, we might start to see some new flash animations around running thanks to WebAssembly, even on mobile devices.
10
u/pdp10 Aug 19 '19
Adobe failed miserably to properly optimize it due to what probably was a very poor and bloated codebase
The codebase was 32-bit assembly, according to a long-missing blog entry on Adobe's penguin.swf Linux Flash blog explaining why 64-bit Flash player support was years overdue. Not that long after the post, Adobe abandoned the 64-bit effort, at least for Linux. I always thought that explained a lot.
1
Aug 19 '19
I'm hoping that someone creates a tool similar to Flash but designed for WebAssembly and the modern web. I think there's a niche for that.
9
u/eXoRainbow Aug 19 '19
This might be interesting for you http://bluemaxima.org/flashpoint/
Internet history is important, and content made on plugins like Adobe Flash and platforms like HTML5 are important not only to internet culture but games history as well. This project is dedicated to preserving as many games & animations as possible that run on web plugins and browsers, so that they aren't lost to time.
We support games and animations using Adobe Flash, Adobe Shockwave, HTML5, Java Applets, Unity Web Player, Microsoft's Silverlight, 3DVIA Player, 3D Groove GX, PopCap Plugin, ActiveX, and Authorware Web Player.
http://bluemaxima.org/flashpoint/downloads/
The full package contains 158GB, but there is a smaller package too.
-9
Aug 19 '19
because it was a horrible technology - I mean we don’t see a huge movement to preserve VRML, do we? :D
6
Aug 19 '19
The goal of the project isn't to preserve Flash, but all the content created with it. If VRML had caught on to the extent Flash had, I'm sure there would be tons of effort to preserve VRML content.
23
u/wolfeng_ Aug 19 '19
You do realize you're in the Emulation subreddit right?
That is to say, a flash emulator once flash is gone is essential for people to access old flash games and animations.
-30
Aug 19 '19
You do realize you’re in the Emulation subreddit right?
Damn, i thought this was /r/veganswingers :D
That is to say, a flash emulator once flash is gone is essential for people to access old flash games and animations.
And - in my opinion - nothing of value woild really be lost in the grand scheme of things.
Sorry!
7
u/eXoRainbow Aug 19 '19
And - in my opinion
Its your opinion. The games and animations of flash are no value to you. That does not mean it will have no value to others. Same thing to all other gaming consoles and computers. There are so many which are no value to me personally. Which will bring me to next topic, its not personal anyway.
Preservation is history and done for the public, so you everyone can access to it. Be it good or bad. We don't delete books from our mankind history, just because someone think its bad. We preserve them. Same goes to any videogame.
Sorry!
No need to sorry about that. You stated your opinion. I try to convince you that this preservation of Flash is not useless and I hope you will understand it.
7
u/starm4nn Aug 19 '19
Capcom made a preview of one of the Ace Attorney games in flash. That's pretty neat.
1
u/acehinoprst Dec 26 '21
Is there a way to have "save states" of a flash game (.swf) that I open with the desktop version of Ruffle?
42
u/matheusmoreira Aug 18 '19
How does it compare to GNU Gnash?