ruffle-rs / ruffle

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

[S] Past Karkat: Wake up.: Stuck at 12% #11478

Open waspennator opened 1 year ago

waspennator commented 1 year ago

Describe the bug

https://www.homestuck.com/story/2792?fl=1 (It's also available through Flashpoint too) Dunno what's going on, but this SWF doesn't seem to wanna load up fully through ruffle, seems to get up to 12% then gets stuck there, no matter how much I try, even downloading a copy through flashpoint, I can get it working through FP, but it gets stuck at 12% on Ruffle.

Running through ruffle web demo only gives me these as clues.

Movie clip 36: Duplicated frame label

Encountered stub: AVM2 flash.media.Sound constructor with arguments

Movie clip 129: Duplicated frame label

Expected behavior

It should actually load up properly.

Affected platform

Browser's extension

Operating system

Windows 11

Browser

Edge 113

Additional information

No response

MrCheeze commented 1 year ago

It can't load the external MP3 files, both because of unimplemented ruffle functionality and CORS issues:

https://github.com/ruffle-rs/ruffle/issues/8932

MrCheeze commented 1 year ago

The missing ruffle features have now been implemented, it is now ONLY cors issues that are preventing the MP3s from loading in this flash (leading to getting stuck on the loading screen).

n0samu commented 1 year ago

Actually there is definitely some other problem besides CORS. The game does not work in the Ruffle desktop app or the extension's internal player page, neither of which are subject to CORS restrictions.

waspennator commented 5 months ago

Still seems to get stuck at 12%

MrCheeze commented 5 months ago

Still seems to get stuck at 12%

On homestuck.com, it is expected to fail due to CORS issues, and this is exactly what happens.

Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://www.mspaintadventures.com/storyfiles/hs2/songs/alterniaboundsongs/spidersclawLOOP2.mp3. (Reason: CORS request did not succeed). Status code: (null).
...

On desktop and the extension's internal player, where CORS isn't an issue, looks to me like it's working perfectly (just tested), so I think we're good.