- Notifications
You must be signed in to change notification settings - Fork11
A web-compatible Shockwave Player emulator written in Rust
License
igorlira/dirplayer-rs
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
DirPlayer is a Shockwave Player emulator written in Rust that aims to make playing old browser games possible on modern browsers.
Check out a live demo of this project athttp://dirplayer-rs.s3-website-us-west-2.amazonaws.com/
Download the Chrome Extension athttps://chromewebstore.google.com/detail/dirplayer-shockwave-emula/gpgalkgegfekkmaknocegonkakahkhbc
The extension implements a polyfill that replaces all<embed>
elements that point to a Shockwave file in websites you visit.
- NodeJS
- RustLang
- wasm-pack
Note
Before we can start, we need to load the missing modules for NodeJS with thenpm install
command.
Windows users can use our scripts which are located in thescripts
folder and end with.bat
.
- Build Rust VM with
scripts/build-vm.bat
- Build extension with
scripts/build-extension.bat
- Run locally with
scripts/run.bat
npm run build-vm
npm run build-extension
Make sure to build the VM first. The bundled extension will be located in./dist-extension
.
You can install the local build by going tochrome://extensions
, enabling Developer Mode, then clicking theLoad unpacked
button.
Note that the extension is currently only available on Chrome.
npm run start
If you have any questions or you're interested in being part of the discussions of this project, please join our Discord!
This project would have not been possible without the extensive work of the Shockwave reverse engineering community.
A lot of code has been reproduced from the following projects:
https://github.com/Earthquake-Project/Format-Documentation/
https://github.com/Brian151/OpenShockwave/
https://gist.github.com/MrBrax/1f3ae06c9320863f1d7b79b988c03e60
About
A web-compatible Shockwave Player emulator written in Rust
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors5
Uh oh!
There was an error while loading.Please reload this page.