ruffle-rs / ruffle

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

Failed to load SWF #14998

Open schroef opened 8 months ago

schroef commented 8 months ago

Describe the bug

Im trying to view an old website which has flash. Trying web archive, i see it does function. But when i try it on the actual website it wont work. It states this error about not being able to load the swf, probably cause; file is not there.

However, when i type the swf file after the domain name, it starts to download, meaning the file is there

Live website https://virtuele-reconstructie.scholtenhuis.nl

Web Archive https://web.archive.org/web/20190124044018/https://virtuele-reconstructie.scholtenhuis.nl/

Expected behavior

Proper conversion of the swf files

Content Location

https://virtuele-reconstructie.scholtenhuis.nl

Affected platform

Browser's extension

Operating system

Windows 11

Browser

Chrome 122.0.6261.6

Additional information

No response

schroef commented 8 months ago

Here is also the error log i got

``# Error Info Error name: Error Error message: Failed to fetch: https://virtuele-reconstructie.scholtenhuis.nl/siteloader.swf Error stack:

Error: Failed to fetch: https://virtuele-reconstructie.scholtenhuis.nl/siteloader.swf
    at RuffleEmbed.displayRootMovieDownloadFailedMessage (chrome-extension://donbcfbmhbcapadipfkeojnmajbakjdc/dist/ruffle.js?id=79219730870:5705:27)
    at imports.wbg.__wbg_displayRootMovieDownloadFailedMessage_ed4ad3ae9522c8a3 (chrome-extension://donbcfbmhbcapadipfkeojnmajbakjdc/dist/339.js:955:14)
    at <ruffle_web::ui::WebUiBackend as ruffle_core::backend::ui::UiBackend>::display_root_movie_download_failed_message::hfac95a3f7d4f10be (wasm://wasm/038693c6:wasm-function[13223]:0xacf1bb)
    at ruffle_core::loader::Loader::root_movie_loader::{{closure}}::hbe9b946c2f5a12a4 (wasm://wasm/038693c6:wasm-function[1018]:0x2d8ebf)
    at <ruffle_web::navigator::WebNavigatorBackend as ruffle_core::backend::navigator::NavigatorBackend>::spawn_future::{{closure}}::hb998537b6146e62e (wasm://wasm/038693c6:wasm-function[1416]:0x4430d0)
    at wasm_bindgen_futures::queue::Queue::new::{{closure}}::hb2787988f9230ff5 (wasm://wasm/038693c6:wasm-function[3974]:0x7ba0a2)
    at <dyn core::ops::function::FnMut<(A,)>+Output = R as wasm_bindgen::closure::WasmClosure>::describe::invoke::h8f9281141bc1db13 (wasm://wasm/038693c6:wasm-function[12323]:0xaa96d3)
    at closure8524 externref shim (wasm://wasm/038693c6:wasm-function[12647]:0xab587b)
    at __wbg_adapter_93 (chrome-extension://donbcfbmhbcapadipfkeojnmajbakjdc/dist/339.js:320:10)
    at real (chrome-extension://donbcfbmhbcapadipfkeojnmajbakjdc/dist/339.js:277:20)

Player Info

Allows script access: true Renderer: wgpu Adapter Backend: Gl Adapter Name: "ANGLE (NVIDIA, NVIDIA GeForce GTX 1660 Ti (0x00002191) Direct3D11 vs_5_0 ps_5_0, D3D11)" Adapter Device Type: Other 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(PUSH_CONSTANTS | CLEAR_TEXTURE | MULTIVIEW) Current limits: Limits { max_texture_dimension_1d: 16384, max_texture_dimension_2d: 16384, 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: 256, min_storage_buffer_offset_alignment: 256, max_inter_stage_shader_components: 31, 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)

Page Info

Page URL: https://virtuele-reconstructie.scholtenhuis.nl/ SWF URL: https://virtuele-reconstructie.scholtenhuis.nl/siteloader.swf

Browser Info

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 Platform: Win32 Has touch support: false

Ruffle Info

Version: 0.1.0 Name: nightly 2024-01-29 Channel: nightly Built: 2024-01-29T00:15:42.399Z Commit: f2880975ba9cb16fa3a96c5c0d529cbeac81fe78 Is extension: true

Metadata

sombraguerrero commented 8 months ago

This is not technically Ruffle related. Something is causing a bad redirect in the original site. https://virtuele-reconstructie.scholtenhuis.nl/[object%20Object]

That aside though, I don't think Ruffle's going to be quite ready to support all of your site yet, particularly not the FLVs. We still have a ways to go before we can support H.264. The SWFs, the XML data, and all the other assets should mostly be fine, but there are a lot of variables there. Either way, for a site this robust, I'd recommend aiming to self-host it rather than relying on the extension for it so you can have more control over the pathing and other aspects, but these are just suggestions.

schroef commented 8 months ago

I tried but did that locally. Can I also load online url in that app

On Tue, Jan 30, 2024, 14:29 Fancy2209 @.***> wrote:

For now, you can load this: https://virtuele-reconstructie.scholtenhuis.nl/siteloader.swf directly on flash player

— Reply to this email directly, view it on GitHub https://github.com/ruffle-rs/ruffle/issues/14998#issuecomment-1917648273, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABU2GABPUKLXTKD26WL4TMLYRE3ZPAVCNFSM6AAAAABCPXFW56VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJXGY2DQMRXGM . You are receiving this because you authored the thread.Message ID: @.***>

sombraguerrero commented 8 months ago

I tried but did that locally. Can I also load online url in that app

On Tue, Jan 30, 2024, 14:29 Fancy2209 @.***> wrote:

For now, you can load this:

https://virtuele-reconstructie.scholtenhuis.nl/siteloader.swf directly on

flash player

Reply to this email directly, view it on GitHub

https://github.com/ruffle-rs/ruffle/issues/14998#issuecomment-1917648273,

or unsubscribe

https://github.com/notifications/unsubscribe-auth/ABU2GABPUKLXTKD26WL4TMLYRE3ZPAVCNFSM6AAAAABCPXFW56VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJXGY2DQMRXGM

.

You are receiving this because you authored the thread.Message ID:

@.***>

You should be able to, yes.