ruffle icon indicating copy to clipboard operation
ruffle copied to clipboard

Papa's Freezeria Deluxe does not boot

Open Fancy2209 opened this issue 1 year ago • 1 comments

Describe the bug

The game fails to boot due to flash.display::AspectRatio beeing missing

2024-03-30T23:44:35.636041Z ERROR ruffle_core::display_object::movie_clip: Got "ReferenceError: Error #1065: Variable flash.display::StageAspectRatio is not defined.
        at iceGame.core::GameModule/initGame()
        at Main/startup()
        at Main()" when constructing AVM2 side of movie clip of type Main

To obtain this error I had to modify the Try Catch on the Main script by leaving only the code from the Try part. imagem

Expected behavior

Game Would boot normally imagem

Content Location

https://store.steampowered.com/app/2291760/Papas_Freezeria_Deluxe/ swf is located at Papa's Freezeria Deluxe\Data\assets\Main.assets (.assets are renamed .swf)

Affected platform

Desktop app

Operating system

Windows 11

Browser

No response

Additional information

No response

Fancy2209 avatar Mar 30 '24 23:03 Fancy2209

@Fancy2209 Have you set the player runtime to Adobe AIR? This class seems to be implemented.

oadq avatar Aug 28 '24 10:08 oadq

@Fancy2209 Have you set the player runtime to Adobe AIR? This class seems to be implemented.

I'm aware, I was the one who stubbed it after all, it's still missing stuff, I will update the issue once 3 AIR related PRs I'm waiting on get merged

Fancy2209 avatar Aug 28 '24 12:08 Fancy2209

Also encountering this issue on the latest nightly. Any plans for implementing Adobe AIR support?

qtqgyt avatar Jul 07 '25 01:07 qtqgyt

Also encountering this issue on the latest nightly. Any plans for implementing Adobe AIR support?

We have air support There was a PR who had some things who let it progress but it went stale since the dev got busy

Fancy2209 avatar Jul 07 '25 10:07 Fancy2209

Also encountering this issue on the latest nightly. Any plans for implementing Adobe AIR support?

Wait but StageAspectRatio was added months ago Are you sure you aren't thinking of something else?

Fancy2209 avatar Jul 08 '25 13:07 Fancy2209

To be more accurate, it crashes shortly after showing the this game can't be run in flash player message. Ruffle just exits with no logs.

qtqgyt avatar Jul 08 '25 23:07 qtqgyt

That is a different error, post ruffle's log file

Fancy2209 avatar Jul 09 '25 02:07 Fancy2209

That is a different error, post ruffle's log file

Sorry, I wasn't sure if it belonged here or not. I will probably crate a new issue. Thanks!

qtqgyt avatar Jul 09 '25 16:07 qtqgyt