ruffle icon indicating copy to clipboard operation
ruffle copied to clipboard

Interactive Buddy 2: Stuck after start

Open waspennator opened this issue 1 year ago • 5 comments

Describe the bug

Game only seems to work up until you press the "play prototype" button, at which point the game gets stuck on a gray screen.

Expected behavior

Game should load and work.

Content Location

https://www.newgrounds.com/portal/view/607894?emulate=flash

Affected platform

Browser's extension

Operating system

Android 13

Browser

Chrome 128

Additional information

No response

waspennator avatar Sep 11 '24 03:09 waspennator

Error dispatching event EventObject(EventObject { type: "addedToStage", class: flash.events::Event, ptr: 0x3dd3a78 }) to handler FunctionObject(FunctionObject { ptr: 0x3dd3628, name: Ok("ib2/init()") }) : RustError("Error: Invalid object"

Lord-McSweeney avatar Sep 11 '24 03:09 Lord-McSweeney

This is due to trying to read an object which uses "external decoding" or flash.utils.IExternalizable specifically an Object requires parsing via "UI.ibScriptDataNode". Currently flash-lso can only handle pre-registered decoders for specific classes and can't handle calling back into Ruffle, easiest way is probably to support a 'fallback' decoder but that's still going to need some work.

CUB3D avatar Oct 23 '24 22:10 CUB3D

Seems to have regressed, play prototype button isn't loading

waspennator avatar Sep 15 '25 16:09 waspennator

The error is Error loading ABC file: VerifyError: Error #1103: Class stdpx.filters::EdgeDetectionFilter cannot extend final base class.. This is happening because the SWF tries to extend the ConvolutionFilter class, which is incorrectly marked as final in Ruffle.

Lord-McSweeney avatar Sep 15 '25 21:09 Lord-McSweeney

Button regression has been fixed, swf still gets stuck on gray screen when pressing play

waspennator avatar Dec 01 '25 01:12 waspennator