ruffle-rs / ruffle

A Flash Player emulator written in Rust
https://ruffle.rs
Other
15.61k stars 809 forks source link

Ruffle not running AS3 mochicrypt preloader on http://www.kidsgamesheroes.com/ #4553

Open flashliberty5467 opened 3 years ago

flashliberty5467 commented 3 years ago

Describe the bug Provide a clear and concise description of what the bug is. If there are steps to reproduce, list them here. If this is an issue with a specific SWF file, please provide a link to the SWF file, or you can attach the SWF by zipping it and dragging it onto the issue box. If this is a visual issue, please attach a screenshot of the problem. i get the usual AS3 screenshot for games on http://www.kidsgamesheroes.com/ for games that work just fine on other websites i have to manully click run anyways to test the games or click a button below the flash game for the game to work on the website AS3 screenshot

click here

Expected behavior A clear and concise description of what you expected to happen.

for the ruffle extension to more accuratly tell if something is AS3 or not until AS3 gets support the Kids Game heros website had a bunch of false AS3 claims when other websites for the same exact games work just fine without the AS3 warning appearing at all

Is the problem with the Ruffle desktop app, extension, or self-hosted version? extension nightly 2021-06-11 What platform are you using?

adrian17 commented 3 years ago

I just checked http://www.kidsgamesheroes.com/play/potion-panic-2 and the SWFs it loads are definitely using AS3.

You may be right that the games themselves are written in AS2 and should work in general, but on this website they are wrapped in a Flash package called mochicrypt that loads the actual game only after trying to show an ad - and mochicrypt is written in AS3, which currently makes Ruffle unable to load it.

n0samu commented 1 year ago

Potion Panic 2 is an AS3 game. Monkey Go Happy is an example of what flashliberty was talking about - it's an AS2 game with an AS3 MochiCrypt wrapper. For now, the only way to get those games working is to extract them from their MochiCrypt wrappers.