ruffle-rs / ruffle

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

Dino Robot Adventure: Cannot start game #12172

Open n0samu opened 1 year ago

n0samu commented 1 year ago

Describe the bug

Link to SWF: http://www.kidszzanggame.com/minigame/swf/400.swf

Loading Dino Robot Adventure (다이노로봇 어드벤처 고대광산) in Ruffle shows nothing but a black screen. The error is:

ERROR run_frame:run_all_phases_avm2: ruffle_core::display_object::movie_clip: Got "TypeError: Error #1010: A term is undefined and has no properties.
        at global$init() [TU=starling/display/Stage]
        at starling.core::Starling()
        at DinoAdv/init()
        at DinoAdv()" when constructing AVM2 side of movie clip of type DinoAdv

There are also a large number of warnings, such as:

WARN run_frame: ruffle_core::display_object::movie_clip: Error loading ABC file: ReferenceError: Error #1065: Variable starling.rendering::BatchToken is not defined.
        at starling.display::DisplayObjectContainer$cinit()
        at global$init() [TU=starling/display/DisplayObjectContainer]
        at global$init() [TU=Game]

Expected behavior

The game should start.

Affected platform

Desktop app

Operating system

Windows 10

Browser

No response

Additional information

The original webpage tries to load the game through the IMA SDK, which causes the same problem as #1840.

Lord-McSweeney commented 1 year ago

Still happening...

Lord-McSweeney commented 11 months ago

Still happening