ruffle-rs / ruffle

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

Blank screen on Snail Bob swf's, can't go beyond menu on Red Ball swf #6637

Open EvanLei1 opened 2 years ago

EvanLei1 commented 2 years ago

Describe the bug

I went to open a command line on Windows Terminal running Ubuntu Linux WSL2 version in the background. I wanted to run the game using ruffle -g gl (game name).swf

Expected behavior

Once I tried using Snail Bob and Snail Bob 3 SWF file, it shows a blank screen and was unplayable at that time. On Red Ball SWF, the game works, but it doesn't do anything, so it is stuck on the main menu. Screenshot 2022-04-05 211525

Affected platform

Desktop app

Operating system

Windows 11, using WSL2 on Ubuntu Linux

Browser

No response

Additional information

When using Snail Bob SWF, the terminal said, [2022-04-03T06:02:21Z ERROR ruffle_core::tag_utils] Error running definition tag: PlaceObject3, got failed to fill whole buffer I was using Red Ball SWF and the terminal said, WARNING: lavapipe is not a conformant vulkan implementation, testing use only. ALSA lib confmisc.c:767:(parse_card) cannot find card '0' ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory ALSA lib conf.c:5220:(snd_config_expand) Evaluate error: No such file or directory ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM default [2022-04-07T02:08:10Z ERROR ruffle_desktop] Unable to create audio device: The requested device is no longer available. For example, it has been unplugged. [2022-04-07T02:08:13Z ERROR ruffle_core::display_object::movie_clip] Got error when setting AVM2 child named "instance16": Cannot set undefined property Some("instance16") [2022-04-07T02:08:13Z ERROR ruffle_core::display_object::movie_clip] Got error when setting AVM2 child named "instance17": Cannot set undefined property Some("instance17")

n0samu commented 2 years ago

All of those games use ActionScript 3 and are not yet supported by Ruffle, see https://github.com/ruffle-rs/ruffle/wiki/Frequently-Asked-Questions-For-Users. Also, please use the native desktop app for your platform. Ruffle needs hardware acceleration to run properly, which virtual environments like WSL don't provide.