ruffle-rs / ruffle

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

never-surrender keep getting a black screen #15697

Open markman12345 opened 4 months ago

markman12345 commented 4 months ago

Describe the bug

above says it

Expected behavior

for the screen not to be black

Content Location

https://www.numuki.com/game/never-surrender/

Affected platform

Browser's extension

Operating system

windows 11

Browser

microsoft edge

Additional information

No response

adrian17 commented 4 months ago

Looks like some requests are failing due to CORS browser restrictions; there's nothing we can do about it, and without these it's possible that the game will never work there.

n0samu commented 4 months ago

However, when loading the SWF via the Ruffle extension's internal player page (which is not subject to CORS restrictions), there is a more interesting problem:

WARN render/src/utils.rs:148 JPEG is missing EOI marker and may not decode properly
ERROR web/src/navigator.rs:361 Asynchronous error occurred: Invalid bitmap

This prevents the game from loading fully, whereas in Flash Player it displays the main menu and plays music.