ruffle-rs / ruffle

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

Arm of Revenge - Invalid Data #12971

Open desertking opened 11 months ago

desertking commented 11 months ago

Describe the bug

Hey, here is the error thrown by a good retro style fighting game:

Loading SWF file https://www.spiele-umsonst.de/azad/downloads/flashgames/ArmOfRevengenew.swf ruffle_web-wasm_extensions.js:719 ERROR core/src/tag_utils.rs:468 Error running definition tag: DefineShape, got Couldn't read SWF: Invalid data: Invalid fill style. ruffle_web-wasm_extensions.js:719 ERROR core/src/display_object/movie_clip.rs:2706 Error occured when running AVM2 frame script: RustError("A script in this movie has taken too long to execute and has been terminated.")

Expected behavior

No error and read data "correctly"?

Affected platform

Online demo

Operating system

All

Browser

All

Additional information

No response

n0samu commented 10 months ago

With the timeout set higher, there is additional output:

WARN run_frame:run_all_phases_avm2: ruffle_core::stub: Encountered stub: AVM2 flash.net.LocalConnection.connect()
ERROR run_frame:run_all_phases_avm2: ruffle_core::avm2::events: Error dispatching event EventObject(EventObject { type: "addedToStage", class: flash.events::Event, ptr: 0x24bac5e4a50 }) to handler FunctionObject(FunctionObject { ptr: 0x24b9a1a8bf0 }) : RustError("Could not resolve class Multiname { ns: Single(Namespace(Namespace(\"game_as\"))), name: Some(\"GameData\"), param: None, flags: MultinameFlags(0x0) } for property coercion")