ruffle icon indicating copy to clipboard operation
ruffle copied to clipboard

BattlePlane: Error loading

Open constfold opened this issue 1 year ago • 1 comments

Describe the bug

The game shows a black screen

Expected behavior

Loaded properly as in Flash Player

Content Location

gamefile.zip

Affected platform

Desktop app

Operating system

Windows 11

Browser

No response

Additional information

2024-01-19T04:08:12.003663Z  INFO ruffle_core::context: Loaded SWF version 19, resolution 960x540 @ 60 FPS
2024-01-19T04:08:12.008437Z  WARN run_frame:run_all_phases_avm2: ruffle_core::display_object::movie_clip: Error loading ABC file: ReferenceError: Error #1065: Variable title_png$3fac11797297d32ce19791d25ced8a511818755217 is not defined.
        at BattlePlane$cinit()
        at global$init() [TU=BattlePlane]
2024-01-19T04:08:12.008900Z  WARN run_frame:run_all_phases_avm2: ruffle_core::stub: Encountered stub: AVM2 flash.utils.Dictionary constructor with weak keys
2024-01-19T04:08:12.009603Z  WARN run_frame:run_all_phases_avm2: ruffle_core::display_object::movie_clip: Error loading ABC file: ReferenceError: Error #1065: Variable objectCfg_xml$b25ea36e3606222e1c8361259ccc299a-230336621 is not defined.        at StarlingMain$cinit()
        at global$init() [TU=StarlingMain]
2024-01-19T04:08:12.010121Z  WARN run_frame:run_all_phases_avm2: ruffle_core::display_object::movie_clip: Error loading ABC file: ReferenceError: Error #1065: Variable com.adobe.utils::AGALMiniAssembler is not defined.
        at starling.core::RenderSupport$cinit()
        at global$init() [TU=starling/core/RenderSupport]
2024-01-19T04:08:12.011036Z  WARN run_frame:run_all_phases_avm2: ruffle_core::display_object::movie_clip: Error loading ABC file: ReferenceError: Error #1065: Variable starling.events::Touch is not defined.
        at starling.events::TouchEvent$cinit()
        at global$init() [TU=starling/events/TouchEvent]
2024-01-19T04:08:12.011235Z  WARN run_frame:run_all_phases_avm2: ruffle_core::display_object::movie_clip: Error loading ABC file: ReferenceError: Error #1065: Variable starling.events::Touch is not defined.
        at starling.events::TouchProcessor$cinit()
        at global$init() [TU=starling/events/TouchProcessor]
2024-01-19T04:08:12.014524Z  INFO run_frame:run_all_phases_avm2: ruffle_desktop::backends::ui: Loading device font "TimesNewRomanPSMT" for "Times New Roman" (italic: false, bold: false)
2024-01-19T04:08:12.015329Z  INFO run_frame:run_all_phases_avm2: ruffle_core::library: Loaded new device font "Times New Roman" from file
2024-01-19T04:08:12.028308Z ERROR run_frame:run_all_phases_avm2: ruffle_core::display_object::movie_clip: Got AVM2 error RustError("Attempted to assign a non-class BattlePlane to symbol BattlePlane") when attempting to assign symbol class BattlePlane

constfold avatar Jan 19 '24 04:01 constfold

This is very strange - the DoAbc2 tag for BattlePlane appears before the tag for title_png$3fac11797297d32ce19791d25ced8a511818755217 - however, the class initializer for BattlePlane seems to be able to load it in Flash Player.

Aaron1011 avatar Jan 21 '24 00:01 Aaron1011