ruffle-rs / ruffle

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

Text Not Showing in Multiple-Choice Answers #2085

Open C4C-Web opened 3 years ago

C4C-Web commented 3 years ago

The Ruffle Desktop Player Nightly 2020-12-23 "plays" every one of our 117 Flash Bible Games - However (and this is a biggie), the multiple-choice answers don't appear until after the player's selection is made. Also, the answer text size is larger in Ruffle, almost going beyond the boundaries. This behavior is the same when using the Firefox plug-in. Curiously, the "credits" at the bottom of (most of) these SWFs don't show in Gnash's stand-alone player but, do in the Ruffle Desktop Application and in Adobe's Projector. I've included screen shots from just one of the games playing in Ruffle - and for comparison, the same game playing in Adobe's Flash Player Projector and Gnash's stand-alone player. Ruffle and Adobe Projector are playing this games on Xubuntu 20.04, Gnash is playing the same game on Lubuntu 18.04 1-cor-game-1-in-Ruffle-Desktop-Application 1-cor-game-1-in-Ruffle-Desktop-Application-2 1-cor-game-1-in-Adobe-Flash-Player-Projector 1-cor-game-1-in-Adobe-Flash-Player-Projector-2 1-cor-game-1-in-Gnash-stand-alone-player 1-cor-game-1-in-Gnash-stand-alone-player-2 Gnash 0.8.11dev shows a ton of info about every SWF opened in the Properties: This same game 1Cor-Game1.swf shows Root VM version: AVM1 Root SWF version: SWF 5 Live MovieClips: 12 _level0 Children _level0.instance1 gnash:TextField Depth -16381 Dimensions 8519x1485 [There is literally a ton more info available via Gnash but, I don't know what's relevant] GS Statistics GC managed gnash::StaticText 13 GC managed gnash::TextField 526

Most of these 117 games were finished between 2002 and 2006 a few as late as 2009. The vast majority (maybe all - I didn't go through each one) show Root VM version: AVM1 Root SWF version: SWF 5 or 6.

C4C-Web commented 3 years ago

Testing these 117 games one at a time. I'm very hopeful Ruffle will work with these eventually because they all "play" so to speak. 20 of these games tested so far; 10 in ruffle_nightly_2021_01_06_linux and 10 in ruffle_nightly_2021_01_08_linux - all in Xubuntu 20.04 In the 9 Bible Squares type games the initial question text size is too large. But, in the 11 Bible Challenge type games the initial question text size is normal. In all 20 games, the multiple choice answer text in what I'm calling Stage 1 doesn't show (or, it's invisible) and the multiple choice answer text in what I'm calling Stage 2 is too large. Additionally, for all of the games, the Terminal shows

INTEL-MESA: warning: Ivy Bridge Vulkan support is incomplete
INTEL-MESA: warning: Ivy Bridge Vulkan support is incomplete

as soon as the game is opened. And [2021-01-08T03:16:30Z ERROR gpu_descriptor::allocator]DescriptorAllocatoris dropped while some descriptor sets were not deallocated as soon as the game is closed.

Toad06 commented 3 years ago

Could you please post a link to this SWF (or the page that hosts the file)? Because I can't find it. :-) You can also upload it here if you prefer (in this case, you'll need to put the SWF inside a ZIP file). Thanks in advance!

C4C-Web commented 3 years ago

I greatly appreciate you taking an interest. The Flash Bible Games were created by Dr. Dan Lim and are featured by Computers4Christians in our Ubuntu derivative with his expressed written permission. We don't however, have permission to upload the Flash Bible Games by themselves. If you're willing to take the time; you may download all 117 of these games as part of the C4C Lubuntu 18.04.4 ReSpin. If you then run the distro live from USB or DVD, it won't take much to find the original SWF files. Otherwise, please contact me directly?

C4C-Web commented 3 years ago

Found two of these Flash Bible Games online[!]: Quizzin' With King Sol Shoot the Numbers Bible Game Still testing the 117 Flash Bible Games in the Computers4Christians' collection with Ruffle Desktop - up to 87 now. Unfortunately, only one odd snowboarding game works (almost) perfectly.

C4C-Web commented 3 years ago

Done playing each of these 117 Flash Bible Games with Ruffle Desktop on Linux. They (almost) all have similar text problems. I put my novice-type findings in a spreadsheet but, don't know if such a thing would be appropriate to post here. I also don't know where to look to find the sort of error info that seems to generate automatically when using the Ruffle add-on for Firefox. If that's the only/best way to get that info, I am not apposed to making local web pages for each of these games, playing them through Firefox with the Ruffle xpi and then submitting a bug report here (I don't know if the relevant info would be different compared to Ruffle Desktop).

C4C-Web commented 3 years ago

Okay. Found all these games online via the Wayback Machine. Wheh! So, I'll just use this issue number to comment on the game I took screen shots of above, 1 Corinthians - Game 1, tested with ruffle_nightly_2021_01_06_linux on Ubuntu 20.04 w/Xfce Desktop, Game Type is Challenge, Multiple Choice Answers (text) Don’t Show in Stage 1, Multiple Choice Answers (text) Too Large in Stage 2, Warning in Terminal After Opening: INTEL-MESA: warning: Ivy Bridge Vulkan support is incomplete (2x) and Error in Terminal After Closing: [2021-01-07T01:37:00Z ERROR gpu_descriptor::allocator] DescriptorAllocator is dropped while some descriptor sets were not deallocated

C4C-Web commented 3 years ago

The Internet Archive's "Wayback Machine" shows 20 different captures of 146 Flash Bible Games from Bible-Games.Org ~ Latest capture is from August 31st, 2012.

C4C-Web commented 3 years ago

This may be a better Bible-Games.Org capture.

C4C-Web commented 3 years ago

Attached, please find a spreadsheet containing my findings for all 117 of these Flash Bible Games played through Ruffle Desktop on a computer running Ubuntu 20.04 with Xfce including errors and warnings that popped up in the Terminal. I sincerely hope it helps. Ruffle-Desktop-FBGs-Testing.xlsx

C4C-Web commented 3 years ago

Offering a $117 bounty; https://www.bountysource.com/issues/95531207-text-not-showing-in-multiple-choice-answers

n0samu commented 2 years ago

This issue has been near-impossible to triage due to lack of easy access to the SWF files. Well, thanks to 7-Zip adding support for reading Linux filesystem images, I've been able to download your C4C Linux image and extract all of the Flash content: https://archive.org/details/c4c-flash-bible-swfs Testing 1Cor-Game1.swf in various Ruffle versions, I see that the problem was unchanged as of build 2022-09-16. And in 2022-09-17 and above, it has regressed further; now nothing but a black screen is shown when loading the SWF file. I suspect this is related to #7858.

n0samu commented 2 years ago

I've bisected the black screen issue to commit 3c0b9b9f6244c3f0e12c24d978b32c2c4818c11f. Also worth noting: None of the load behaviors added in #8009 fix the problem.

n0samu commented 2 years ago

As for the original issue with the blank text in buttons, this probably needs #5492.