ruffle-rs / ruffle-android

An Android application for ruffle.rs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to loading Cube Escape: Seasons

zhenghaoz opened this issue · comments

Thank you for creating such a fantastic project. It makes it possible to play classical Flash games on Android. However, when I tried to play Cube Escape: Seasons on my phone, the APP failed to load the game content.

Would you happen to know how to fix it?

PS: cube-escape-seasons.zip

Thank you for creating such a fantastic project.

Aww, thank you! 😊

Also thank you for the report and the SWF! Unfortunately I have no idea why it doesn't play... :/ Seems like some games are just broken, like FPA World. Will try to keep in mind and find a fix sometime in the future!

It seems that in your app, this game runs fine. Also, the player is properly destroyed, and the interface works afterwards.
Would you mind sharing the solutions for these that you found?

It seems that in your app, this game runs fine. Also, the player is properly destroyed, and the interface works afterwards. Would you mind sharing the solutions for these that you found?

The key to is set the right URL. (Don't be empty) I can create pull requests to fix these issues.

Ooh, nice find!
Yes, PRs would be appreciated! ☺️

The key to is set the right URL.

Do you mean using PlayerBuilder::with_spoofed_url?

Ah, that one, right! ^^'
Turns out, for this specific game, just setting it to "file://movie.swf".to_string() was sufficient.
Thank you for sharing your solution!
If you were to stumble upon any similar fixes in the future, it would be awesome if you could share those too - even if just described in an issue, and not as a PR.