ruffle-rs / ruffle

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

white screen on Tamagotchi Friends: Dream Town #17215

Open LiEnby opened 1 month ago

LiEnby commented 1 month ago

Describe the bug

just like try play the game image

Expected behavior

login or play as guest screen to appear

Content Location

https://famitama.xyz/friends/index.html

Affected platform

Browser's extension

Operating system

Windows 10

Browser

Firefox

Additional information

image

n0samu commented 1 month ago

We're getting a stack overflow - this also happens in the desktop app, but the game works fine in FP. Here's the SWF URL to test: https://famitama.xyz/friends/prelauncher.swf

LiEnby commented 1 month ago

the preloader.swf loads in another swf from https://famitama.xyz/friends/tam.cebd that is encrypted with RC4.

the swf contents are : tam.zip

(but i don't think it ever actually gets that far in ruffle)

Lord-McSweeney commented 1 month ago

This is happening in the function com.frimastudio.as3ToolKit.event::LoaderEvent/set bytesTotal:

        override public function set bytesTotal(param1:Number) : void
        {
            param1 = param1 == 0 ? 1 : param1;
            super.bytesTotal = param1;
            this.ProgressPercent;
        }

I would guess that the setsuper call interacts weirdly with the override.