ruffle-rs / ruffle

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

Issue with running a .swf produced by converting a .sb2 file using Ruffle and https://asentientbot.github.io/converter/ on MSPFA #15915

Open illusoryMechanist opened 2 months ago

illusoryMechanist commented 2 months ago

Describe the bug

First, I should probably preface that I think this plausibly could be one of three things:

  1. An issue with Ruffle
  2. An issue with MSPFA
  3. An issue with the converter tool (which is unmaintained)

I'm not sure which one exactly this is, so I'm going to also post this error to MSPFA as well.

As for the bug itself: image Instead of automatically running (specified in the converter settings)- as it did when run on the ruffle desktop- the .swf displays the scratch flag and does not run.

Expected behavior

Upon ruffle being activated, the .swf file should load and automatically run. This was a simple test swf, so I placed 3 "Scratch Cats" on the stage area- one in the upper left, one in the center, and one in the lower right- and set them to immediately "say" "Hello!"

Here is what it looks like on the desktop: image

The desktop version being used is the Linux nightly build of ruffle. Here is the specific "about" info:

Version 0.1.0 Channel nightly Build Time Sat Apr 6 00:08:15 2024 Commit Ref 4c8d0704dbf1975e61edb180a80d75ad06d0eca7 Commit Time Sat Apr 6 00:50:33 2024 Build Features default, ruffle_video_software, software_video

Content Location

https://file.garden/Y91aFx1-sFQYcpSg/swfs/result.swf - The file itself (https://mspfa.com/?s=52825&p=10 - Where the swf is located https://file.garden/Y91aFx1-sFQYcpSg/swfs/sb2toswftest.sb2 - the .sb2 file that was converted into the flash file

Affected platform

Self-hosted version

Operating system

Linux Mint 21.1 x86_64

Browser

Waterfox G6.0.11 (64-bit)

Additional information

Player Info

Allows script access: false Renderer: wgpu Adapter Backend: Gl Adapter Name: "Intel(R) HD Graphics 400" Adapter Device Type: IntegratedGpu Adapter Driver Name: "" Adapter Driver Info: "" Enabled features: Features(FLOAT32_FILTERABLE | TEXTURE_COMPRESSION_BC | TEXTURE_ADAPTER_SPECIFIC_FORMAT_FEATURES | SHADER_UNUSED_VERTEX_OUTPUT) Available features: Features(TEXTURE_COMPRESSION_ETC2 | TEXTURE_COMPRESSION_ASTC | PUSH_CONSTANTS | CLEAR_TEXTURE) Current limits: Limits { max_texture_dimension_1d: 8192, max_texture_dimension_2d: 8192, max_texture_dimension_3d: 2048, max_texture_array_layers: 256, max_bind_groups: 4, max_bindings_per_bind_group: 1000, max_dynamic_uniform_buffers_per_pipeline_layout: 8, max_dynamic_storage_buffers_per_pipeline_layout: 0, max_sampled_textures_per_shader_stage: 16, max_samplers_per_shader_stage: 16, max_storage_buffers_per_shader_stage: 0, max_storage_textures_per_shader_stage: 0, max_uniform_buffers_per_shader_stage: 11, max_uniform_buffer_binding_size: 65536, max_storage_buffer_binding_size: 0, max_vertex_buffers: 8, max_buffer_size: 268435456, max_vertex_attributes: 16, max_vertex_buffer_array_stride: 255, min_uniform_buffer_offset_alignment: 32, min_storage_buffer_offset_alignment: 256, max_inter_stage_shader_components: 128, max_compute_workgroup_storage_size: 0, max_compute_invocations_per_workgroup: 0, max_compute_workgroup_size_x: 0, max_compute_workgroup_size_y: 0, max_compute_workgroup_size_z: 0, max_compute_workgroups_per_dimension: 0, max_push_constant_size: 0, max_non_sampler_bindings: 1000000 } Surface quality: high Surface samples: 4 Surface size: (550, 400, 1) Player type: Object SWF URL: https://file.garden/Y91aFx1-sFQYcpSg/swfs/result.swf Attribute 0: undefined Attribute 1: undefined Attribute 2: undefined Attribute 3: undefined Attribute 4: undefined

Page Info

Page URL: https://mspfa.com/?s=52825&p=10 SWF URL: https://file.garden/Y91aFx1-sFQYcpSg/swfs/result.swf

Browser Info

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0 Platform: Linux x86_64 Has touch support: false

Ruffle Info

Version: 0.1.0 Name: nightly 2024-04-06 Channel: nightly Built: 2024-04-06T00:05:21.603Z Commit: 4c8d0704dbf1975e61edb180a80d75ad06d0eca7 Is extension: false

Metadata

width: 650 height: 450 frameRate: 24 numFrames: 1 swfVersion: 14 backgroundColor: undefined isActionScript3: true uncompressedLength: 6606646

Lord-McSweeney commented 2 months ago

This runs fine for me (on Firefox 124)- are there any ERROR logs in the browser console?

illusoryMechanist commented 2 months ago

Per a comment by a discord member on the discord - this flash is evidently working as intended for some users, just not on my end. Will try running it on a different device and/or different broswers

illusoryMechanist commented 2 months ago

This runs fine for me (on Firefox 124)- are there any ERROR logs in the browser console?

This is the browser console log:

Some cookies are misusing the recommended “SameSite“ attribute 12 This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”. top.njs This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”. bottom.njs This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”. side.njs InstallTrigger is deprecated and will be removed in the future. bootstrap:2 onmozfullscreenchange is deprecated. bootstrap:2 onmozfullscreenerror is deprecated. bootstrap:2 This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”. matched.njs This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”. ads This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”. ads Request to access cookie or storage on “https://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-2923503486893931&output=html&adk=1812271804&adf=2373185777&plat=3%3A16%2C4%3A16%2C9%3A32776%2C16%3A8388608%2C17%3A32%2C24%3A32%2C25%3A32%2C30%3A1081344%2C32%3A32%2C41%3A32%2C42%3A32&format=0x0&url=https%3A%2F%2Fmspfa.com%2F%3Fs%3D52825%26p%3D10&pra=5&wgl=1&easpi=0&asro=0&dt=1712550358040&bpp=4&bdt=3927&idt=4504&shv=r20240403&mjsv=m202404020101&ptt=9&saldr=aa&cookie=ID%3D0414738f8112d2fc%3AT%3D1712548792%3ART%3D1712548792%3AS%3DALNI_Ma010lle_PJ02kWmwaICAZuMUbU9Q&gpic=UID%3D00000ddd00f250ff%3AT%3D1712548792%3ART%3D1712548792%3AS%3DALNI_Mbo3cy8t0nQBqhx4nTWXY3nHmJfTQ&eo_id_str=ID%3D863fb856827fd418%3AT%3D1712548792%3ART%3D1712548792%3AS%3DAA-AfjbKA6quCKtViagy_z8jDNZ7&nras=1&correlator=6586863330784&frm=23&ife=1&pv=2&ga_vid=1938466685.1712542275&ga_sid=1712550363&ga_hid=170129136&ga_fc=1&nhd=1&u_tz=-240&u_his=1&u_h=858&u_w=1525&u_ah=813&u_aw=1525&u_cd=24&u_sd=0.896&adx=-12245933&ady=-12245933&biw=1525&bih=734&isw=728&ish=102&ifk=1917663710&scr_x=0&scr_y=0&eid=44759875%2C44759926%2C44759837%2C31081576%2C44795921%2C95325974%2C95329436%2C95329461%2C95329570%2C95321865&oid=2&pvsid=3305413827606231&tmod=361530805&nvt=1&fsapi=1&fc=1664&brdim=0%2C0%2C0%2C0%2C1525%2C0%2C1518%2C809%2C728%2C102&vis=2&rsz=%7C%7Cs%7C&abl=NS&fu=32772&bc=31&bz=1&ifi=1&uci=1.bx06emiokmsz&fsb=1&dtd=4580” was blocked because it came from a tracker and content blocking is enabled.

Request to access cookie or storage on “https://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-2923503486893931&output=html&adk=1812271804&adf=2373185778&plat=3%3A16%2C4%3A16%2C9%3A32776%2C16%3A8388608%2C17%3A32%2C24%3A32%2C25%3A32%2C30%3A1081344%2C32%3A32%2C41%3A32%2C42%3A32&format=0x0&url=https%3A%2F%2Fmspfa.com%2F%3Fs%3D52825%26p%3D10&pra=5&wgl=1&easpi=0&asro=0&dt=1712550357982&bpp=12&bdt=3864&idt=4789&shv=r20240403&mjsv=m202404020101&ptt=9&saldr=aa&cookie=ID%3D0414738f8112d2fc%3AT%3D1712548792%3ART%3D1712548792%3AS%3DALNI_Ma010lle_PJ02kWmwaICAZuMUbU9Q&gpic=UID%3D00000ddd00f250ff%3AT%3D1712548792%3ART%3D1712548792%3AS%3DALNI_Mbo3cy8t0nQBqhx4nTWXY3nHmJfTQ&eo_id_str=ID%3D863fb856827fd418%3AT%3D1712548792%3ART%3D1712548792%3AS%3DAA-AfjbKA6quCKtViagy_z8jDNZ7&nras=1&correlator=6586863330784&frm=23&ife=1&pv=1&ga_vid=1938466685.1712542275&ga_sid=1712550363&ga_hid=928742307&ga_fc=1&nhd=1&u_tz=-240&u_his=1&u_h=858&u_w=1525&u_ah=813&u_aw=1525&u_cd=24&u_sd=0.896&adx=-12245933&ady=-12245933&biw=1525&bih=734&isw=160&ish=612&ifk=962192301&scr_x=0&scr_y=0&eid=44759875%2C44759926%2C44759837%2C31082301%2C95326315%2C95328338%2C95329436%2C95329462%2C95329570%2C31081718%2C95321865&oid=2&pvsid=2895893949694656&tmod=361530805&nvt=1&fsapi=1&fc=1664&brdim=0%2C0%2C0%2C0%2C1525%2C0%2C1518%2C809%2C160%2C612&vis=2&rsz=%7C%7Cs%7C&abl=NS&fu=32772&bc=31&bz=1&ifi=1&uci=1.vpr5iic7twnm&fsb=1&dtd=4832” was blocked because it came from a tracker and content blocking is enabled.

Request to access cookie or storage on “” was blocked because it came from a tracker and content blocking is enabled. 8 This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”. ads Request to access cookie or storage on “https://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-2923503486893931&output=html&adk=1812271804&adf=2373185788&plat=3%3A16%2C4%3A16%2C9%3A32776%2C16%3A8388608%2C17%3A32%2C24%3A32%2C25%3A32%2C30%3A1081344%2C32%3A32%2C41%3A32%2C42%3A32&format=0x0&url=https%3A%2F%2Fmspfa.com%2F%3Fs%3D52825%26p%3D10&pra=5&wgl=1&easpi=0&asro=0&dt=1712550363796&bpp=6&bdt=845&idt=567&shv=r20240403&mjsv=m202404020101&ptt=9&saldr=aa&cookie=ID%3D0414738f8112d2fc%3AT%3D1712548792%3ART%3D1712548792%3AS%3DALNI_Ma010lle_PJ02kWmwaICAZuMUbU9Q&gpic=UID%3D00000ddd00f250ff%3AT%3D1712548792%3ART%3D1712548792%3AS%3DALNI_Mbo3cy8t0nQBqhx4nTWXY3nHmJfTQ&eo_id_str=ID%3D863fb856827fd418%3AT%3D1712548792%3ART%3D1712548792%3AS%3DAA-AfjbKA6quCKtViagy_z8jDNZ7&nras=1&correlator=6586863330784&frm=23&ife=1&pv=1&ga_vid=1938466685.1712542275&ga_sid=1712550364&ga_hid=1794250683&ga_fc=1&nhd=1&u_tz=-240&u_his=1&u_h=858&u_w=1525&u_ah=813&u_aw=1525&u_cd=24&u_sd=0.896&adx=-12245933&ady=-12245933&biw=1525&bih=734&isw=650&ish=402&ifk=4023565609&scr_x=0&scr_y=0&eid=44759875%2C44759926%2C44759837%2C44798934%2C95329438%2C95329462%2C95329570%2C31081718%2C95321865&oid=2&pvsid=1563077747201013&tmod=361530805&nvt=1&fsapi=1&fc=1664&brdim=0%2C0%2C0%2C0%2C1525%2C0%2C1518%2C809%2C650%2C402&vis=2&rsz=%7C%7Cs%7C&abl=NS&fu=32772&bc=31&bz=1&ifi=1&uci=1.e2xtqhi8xhty&fsb=1&dtd=652” was blocked because it came from a tracker and content blocking is enabled.

Request to access cookie or storage on “” was blocked because it came from a tracker and content blocking is enabled. 9 Request to access cookie or storage on “” was blocked because it came from a tracker and content blocking is enabled. 10 Feature Policy: Skipping unsupported feature name “attribution-reporting”. 2 ads Request to access cookie or storage on “https://ads.us.criteo.com/delivery/r/afr.php?z=ZhNx3AAHIjQAAIZ3AAtgXonybdjO38oKBxiNfw&u=%7CLbSIXx3hG4iOEZl3yYjPV2hAgY2epoOSIh02ENEbyos%3D%7C&c1=TUPLs6ok1IhDgnvJmJgq2b8G6XvEBIvqi4VSciU_LzelNdNdJTtEK_lEZrcR-2V6vqRGFL537dByUwzXjpSA5Ow3obWN48gwmuQ6zjM9ba75BoLcv3ADGNa1deOGQ4okpoJy9_TPkB8EwsR8FFgO9f1pqYcX8PPegqzuxavjpQ7p-jA7EuAp1dF-XGf8m5Iii4HbGZOU6bJZ6AzawHVA0c1NDhNkXp-jO5rd1XOPPWuYlGyKCdjH_0jtr9H6DokLjH9IfjNa1_Vp33bIKTRZfo5kRceXBNNTDSGs_btNorh_XJ9BIrgVB-_rzKy-eqqBAoeM6TgtuJMtlP__61dVtdxCwUCENWtoH0-IiXilfIwKeP4EZt58jJIUbkDZZ3VLv1HzVdBABNbH0OZ439FCF6TmNwkBsz9yO5SgUL9U22he-4xHe83B0V0jaMtW5e2QzvOblfr9zKOWS5wU0BRmuDz-fBXnx8G-okNEu17BEptmWB6pnHGMwwQ2cQgKAs80awKWcASdj710p238oPzXm6rVY3-e4xCc19xnKNx09JvzLVIGSFoI7bhT3nbl6_GSo6WMzdQ9bQCDKdH6-JAdnA&ct0=https://adclick.g.doubleclick.net/aclk%3Fsa%3DL%26ai%3DC6ehN3HETZrTEHPeMgrAP3sCtiAucge-wXKLKp6p0wI23ARABIABgyb6riZCk6A-CARdjYS1wdWItMjkyMzUwMzQ4Njg5MzkzMcgBCagDAcgDAqoExgFP0OO18EALgwFOckHAx8jOk8GNccKaaUc70DjtrNP3l7iX0C6qIvwG9J8qwo58C5m0rvU5VqsCHsiHwMQs3QsN6NF5t6ifYJ5U7zYeYJc19OAMRbfaHMWiEbrGrpeEIX88hzXsWCIXjZLDaFW7HehbEwDlLqWEKeLSDDFIxQ24tZwpUUGFmmBB3YMSEddo8Tk3YbjE1tYdlcFh2tXDfoRcWsABPeXuAWp-rY6bYRzsH8y94kdMunLeOSzAgISMzsLXz2r13yiABqP_-MvTh5qgBqAGIagHpr4bqAeW2BuoB6qbsQKoB4OtsQKoB_-esQKoB9-fsQKoB62-sQLYBwDSCCIIgGEQATICigI6CYBAgMCAgICgKEi9_cE6WPGDiaHjsYUD-gsCCAGADAHQFQGAFwE%26num%3D1%26sig%3DAOD64_0rq5CRYwHXs4oZ-HmZ143cH6yhVQ%26client%3Dca-pub-2923503486893931%26adurl%3D” was blocked because it came from a tracker and content blocking is enabled.

Partitioned cookie or storage access was provided to “https://www.google.com/recaptcha/api2/aframe” because it is loaded in the third-party context and dynamic state partitioning is enabled.

Partitioned cookie or storage access was provided to “https://www.google.com/recaptcha/api2/aframe” because it is loaded in the third-party context and dynamic state partitioning is enabled.

Partitioned cookie or storage access was provided to “https://www.google.com/recaptcha/api2/aframe” because it is loaded in the third-party context and dynamic state partitioning is enabled.

This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”. ads Request to access cookie or storage on “https://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-2923503486893931&output=html&adk=1812271804&adf=2373185779&plat=3%3A16%2C4%3A16%2C9%3A32776%2C16%3A8388608%2C17%3A32%2C24%3A32%2C25%3A32%2C30%3A1081344%2C32%3A32%2C41%3A32%2C42%3A32&format=0x0&url=https%3A%2F%2Fmspfa.com%2F%3Fs%3D52825%26p%3D10&pra=5&wgl=1&easpi=0&asro=0&dt=1712550358113&bpp=12&bdt=3998&idt=4598&shv=r20240403&mjsv=m202404020101&ptt=9&saldr=aa&cookie=ID%3D0414738f8112d2fc%3AT%3D1712548792%3ART%3D1712550366%3AS%3DALNI_Ma010lle_PJ02kWmwaICAZuMUbU9Q&gpic=UID%3D00000ddd00f250ff%3AT%3D1712548792%3ART%3D1712550366%3AS%3DALNI_Mbo3cy8t0nQBqhx4nTWXY3nHmJfTQ&eo_id_str=ID%3D863fb856827fd418%3AT%3D1712548792%3ART%3D1712550366%3AS%3DAA-AfjbKA6quCKtViagy_z8jDNZ7&nras=1&correlator=6586863330784&frm=23&ife=1&pv=1&ga_vid=1938466685.1712542275&ga_sid=1712550516&ga_hid=1076762362&ga_fc=1&nhd=1&u_tz=-240&u_his=1&u_h=858&u_w=1525&u_ah=813&u_aw=1525&u_cd=24&u_sd=0.896&adx=-12245933&ady=-12245933&biw=1525&bih=734&isw=728&ish=102&ifk=1332694701&scr_x=0&scr_y=0&eid=44759875%2C44759926%2C44759837%2C31082301%2C44798934%2C95329438%2C95329461%2C95329570%2C31082144%2C95321865&oid=2&pvsid=2563785340887201&tmod=361530805&nvt=1&fsapi=1&fc=1664&brdim=0%2C0%2C0%2C0%2C1525%2C0%2C1518%2C809%2C728%2C102&vis=1&rsz=%7C%7Cs%7C&abl=NS&fu=32772&bc=31&bz=1&ifi=1&uci=1.7g9jwp482bn6&btvi=1&fsb=1&dtd=M” was blocked because it came from a tracker and content blocking is enabled.

Partitioned cookie or storage access was provided to “https://www.google.com/recaptcha/api2/aframe” because it is loaded in the third-party context and dynamic state partitioning is enabled.

Request to access cookie or storage on “https://googleads.g.doubleclick.net/pagead/ads?client=ca-pub-2923503486893931&output=html&h=90&slotname=9248610348&adk=2983442208&adf=3279755399&pi=t.ma~as.9248610348&w=728&format=728x90&url=https%3A%2F%2Fmspfa.com%2F%3Fs%3D52825%26p%3D10&wgl=1&dt=1712550358125&bpp=1&bdt=4011&idt=4789&shv=r20240403&mjsv=m202404020101&ptt=9&saldr=aa&cookie=ID%3D0414738f8112d2fc%3AT%3D1712548792%3ART%3D1712550366%3AS%3DALNI_Ma010lle_PJ02kWmwaICAZuMUbU9Q&gpic=UID%3D00000ddd00f250ff%3AT%3D1712548792%3ART%3D1712550366%3AS%3DALNI_Mbo3cy8t0nQBqhx4nTWXY3nHmJfTQ&eo_id_str=ID%3D863fb856827fd418%3AT%3D1712548792%3ART%3D1712550366%3AS%3DAA-AfjbKA6quCKtViagy_z8jDNZ7&prev_fmts=0x0&nras=1&correlator=6586863330784&frm=23&ife=1&pv=1&ga_vid=1938466685.1712542275&ga_sid=1712550516&ga_hid=1076762362&ga_fc=1&nhd=1&u_tz=-240&u_his=1&u_h=858&u_w=1525&u_ah=813&u_aw=1525&u_cd=24&u_sd=0.896&adx=505&ady=802&biw=1525&bih=734&isw=728&ish=102&ifk=1332694701&scr_x=0&scr_y=0&eid=44759875%2C44759926%2C44759837%2C31082301%2C44798934%2C95329438%2C95329461%2C95329570%2C31082144%2C95321865&oid=2&pvsid=2563785340887201&tmod=361530805&nvt=1&fc=1664&brdim=0%2C0%2C0%2C0%2C1525%2C0%2C1518%2C809%2C728%2C102&vis=1&rsz=%7C%7CoeEbr%7C&abl=CS&pfx=0&fu=4&bc=31&bz=1&ifi=2&uci=2.t186hfm8i2sk&btvi=2&fsb=1&dtd=M” was blocked because it came from a tracker and content blocking is enabled.

WEBGL_debug_renderer_info is deprecated in Firefox and will be removed. Please use RENDERER. core.ruffle.e74796a9f7eaa248cb19.js:1:38288 Source map error: Error: NetworkError when attempting to fetch resource. Resource URL: https://unpkg.com/@ruffle-rs/ruffle/core.ruffle.e74796a9f7eaa248cb19.js Source Map URL: core.ruffle.e74796a9f7eaa248cb19.js.map

One additional note though is that it takes several seconds to load- it noticeably slows down the webpage and only displays a white screen, before eventually displaying the green flash

illusoryMechanist commented 2 months ago

Per a comment by a discord member on the discord - this flash is evidently working as intended for some users, just not on my end. Will try running it on a different device and/or different browsers

This is working on Kiwi browser on my android phone- it does display the flag for a split second, which it does not on the desktop version, but this may be a quirk of the conversion process rather than an actual bug with ruffle. It might be good to try converting the .sb2 file to .swf using the tool via an official Adobe Flash distribution if possible, to confirm what the intended behavior was - the only things I set to use in the editor was a 650x450 aspect ratio and automatically playing, for reference. (It does still take a second to load though)

(I have been unsuccessful in getting flash to work on my setup, hence my use of ruffle, so I'm not sure if I'll be able to do that myself.)

illusoryMechanist commented 2 months ago

Tried running it on my computer on Edge flatpak, I saw the same behavior as on Waterfox. Here is the console log:

Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'attribution-reporting'. Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'run-ad-auction'. Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'join-ad-interest-group'. Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'browsing-topics'. Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'attribution-reporting'. Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'run-ad-auction'. Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'join-ad-interest-group'. Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'browsing-topics'. ruffle:2 New Ruffle instance created (Version: nightly 2024-04-06 | WebAssembly extensions: ON | Used renderer: wgpu-webgl) ruffle:2 Loading SWF file https://file.garden/Y91aFx1-sFQYcpSg/swfs/result.swf ruffle_web-wasm_extensions.js:932 ERROR core/src/display_object/movie_clip.rs:2251 Got "RustError("A script in this movie has taken too long to execute and has been terminated.")" when constructing AVM2 side of movie clip of type Loader::SB2Loader /locale/lang_list.txt:1

    Failed to load resource: the server responded with a status of 404 ()
alexsoddlife commented 4 days ago

I have some projects that I've converted from Scratch 2.0 to SWF years ago, and I recently tested them with Ruffle. The projects seem to run, though they still have issues. I know it's already been confirmed that Scratch projects run on some browsers, (I'm using Google Chrome) however I'm here to add additional information. One major issue is that there's no sound; so scripts that rely on sound to properly execute (mainly playing a sound until it is done) will hang. In the game B!T for example, it's relying on a "collect" sound to finish playing before it can summon the coin again; and since sound isn't being properly emulated, the script fails to run and the coin never reappears. Another big (though slightly less major) issue is that text will display improperly; it seems like only half of each letter is actually displayed.

Below I have attached links to the original SWF files that I have tested with Ruffle. Screenshots of both SWFs running under Ruffle are also displayed. https://alexparr.neocities.org/extras/697550_bit.swf (B!T) https://alexparr.neocities.org/extras/698011_csalex.swf (Character Showcase: Alex Parr) B!T CSAP