Open illusoryMechanist opened 2 months ago
This runs fine for me (on Firefox 124)- are there any ERROR
logs in the browser console?
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
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 “
Request to access cookie or storage on “
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.
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
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.)
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 ()
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)
Describe the bug
First, I should probably preface that I think this plausibly could be one of three things:
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: 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:
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