ruffle-rs / ruffle

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

Pony Creator: Start up freak out #9232

Open waspennator opened 1 year ago

waspennator commented 1 year ago

Describe the bug

https://www.numuki.com/game/mlp-pony-creator/ Game loads up to the preloader fine, but as soon as you click play, the game freaks out trying to load stuff in while spamming this in the console log. The buttons on top seem to work and the customization buttons with drop down menus that show up on the top left under create, accessorize, and pose, can also be clicked, but everything else doesn't seem to work.

AVM2 error: Object(ErrorObject(ErrorObject { ptr: 0x89e5988 }))

ReferenceError: Error # 1069: Property invalidate not found on flash.display.Stage and there is no default value.

Got AvmError(Object(ErrorObject(ErrorObject { ptr: 0x881f700 }))) when constructing AVM2 side of movie clip of type fl.controls::Button

Pony Creator Ruffle

Expected behavior

It should be loading up like this once you press play.

Pony Creator Flash

Affected platform

Browser's extension

Operating system

Windows 11

Browser

Edge 109

Additional information

No response

MartySVK commented 1 year ago

Same as https://github.com/ruffle-rs/ruffle/issues/9131

waspennator commented 1 year ago

Retested again and the issue is still happening, but there seem to be some different errors in the log this time.

www.numuki.com-1676001871721.log

Lord-McSweeney commented 1 year ago

This appears to need TLF text and XML (specifically settings) and flash.text.engine::TextLine.

waspennator commented 1 year ago

Update, for some reason the damn site swapped over to waflash without warning, so i'm gonna slap a physical copy of the SWF here for easier testing.

pony-creator.zip

waspennator commented 1 year ago

Flickering is now gone and its a step in the right direction, but it still doesn't seem to work.

Got "TypeError: Error # 1009: Cannot access a property or method of a null object reference. (accessing field: getFirstLeaf)" when constructing AVM2 side of movie clip of type fullfinal6_fla::help_link_100

Error dispatching event EventObject(EventObject { type: "added", class: flash.events::Event, ptr: 0xd70e1b0 }) to handler FunctionObject(FunctionObject { ptr: 0xd70b930 }) : ReferenceError: Error # 1069: Property flash.text.engine::TextLine not found on global and there is no default value.

waspennator commented 6 months ago

Seems to work, but it's really laggy clicking and messing around. Also for some reason the pony ocs head will randomly turn white and I don't know why, I can briefly get it to go away by messing around with the appearance, but sometimes it'll randomly come back.

waspennator commented 2 weeks ago

Still seems to be a problem, also noticed some text is missing (Like on the side the text for height, weight, buffness, etc) and the text on the top of the swf isn't centered properly (feels like its pushed a bit too far down.)