ruffle-rs / ruffle

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

Error on John Citizen 2 #11745

Closed desertking closed 1 year ago

desertking commented 1 year ago

Error Info

Error name: Error Error message: panicked at 'not implemented: Unimplemented opcode Normalize', render/naga-pixelbender/src/lib.rs:725:29 Error stack:

Error: panicked at 'not implemented: Unimplemented opcode Normalize', render/naga-pixelbender/src/lib.rs:725:29
    at U.n.wbg.__wbg_new_d258248ed531ff54 (https://www.spiele-umsonst.de/ruffle/core.ruffle.56816cf5272d884d6339.js:1:51428)
    at core::ops::function::FnOnce::call_once{{vtable.shim}}::hcb6f72ebd1a9c8bd (wasm://wasm/02cac98e:wasm-function[8726]:0x84c1e2)
    at std::panicking::rust_panic_with_hook::h85b7f6628c291e12 (wasm://wasm/02cac98e:wasm-function[5669]:0x76679b)
    at core::panicking::panic_fmt::hf5c4cd929d4aaa9e (wasm://wasm/02cac98e:wasm-function[8589]:0x847d8b)
    at <ruffle_render_wgpu::backend::WgpuRenderBackend<T> as ruffle_render::backend::RenderBackend>::compile_pixelbender_shader::h409df06e39465cbb (wasm://wasm/02cac98e:wasm-function[7232]:0x7e22e6)
    at ruffle_core::avm2::globals::flash::display::shader_data::init::hff8e040f78a1b1ba (wasm://wasm/02cac98e:wasm-function[826]:0x2c36b4)
    at ruffle_core::avm2::function::Executable::exec::h3325d83591e2f464 (wasm://wasm/02cac98e:wasm-function[815]:0x2b0579)
    at ruffle_core::avm2::object::TObject::call_property::h4741aae4da6be41a (wasm://wasm/02cac98e:wasm-function[1125]:0x39638d)
    at <ruffle_core::avm2::object::Object as ruffle_core::avm2::object::TObject>::call_property::h0d99b33f9b54fbc7 (wasm://wasm/02cac98e:wasm-function[2685]:0x5bd6a9)
    at ruffle_core::avm2::activation::Activation::run_actions::h207061ade6afadd9 (wasm://wasm/02cac98e:wasm-function[517]:0x28f30)

AVM2 stack:

    at flash.display::ShaderData/flash::display::ShaderData::init()
    at flash.display::ShaderData()
    at flash.display::Shader/set byteCode()
    at muon.core::GameRenderer()
    at muon.core::GameRenderer$/getInstance()
    at muon.core::GameEngine$/init()
    at Main/init()
    at flash.display::DisplayObjectContainer/flash::display::DisplayObjectContainer::addChild()
    at Preloader/startup()
    at Preloader/checkFrame()

Player Info

Allows script access: false Renderer: wgpu Adapter Backend: Gl Adapter Name: "ANGLE (NVIDIA, NVIDIA GeForce GTX 1050 Ti Direct3D11 vs_5_0 ps_5_0, D3D11)" Adapter Device Type: Other Adapter Driver Name: "" Adapter Driver Info: "" Enabled features: Features(TEXTURE_ADAPTER_SPECIFIC_FORMAT_FEATURES | PUSH_CONSTANTS) Available features: Features(TEXTURE_COMPRESSION_BC | 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: 640, 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: 16384, 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: 60, 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: 96 } Surface quality: high Surface samples: 4 Surface size: Extent3d { width: 550, height: 400, depth_or_array_layers: 1 }

Page Info

SWF URL: https://www.spiele-umsonst.de/azad/downloads/flashgames/johncitizen2.swf

Browser Info

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

Ruffle Info

Version: 0.1.0 Name: nightly 2023-06-26 Channel: nightly Built: 2023-06-26T00:19:41.849Z Commit: 8c40e97ab55590c4d78de37a3dfb51624d005062 Is extension: false

Metadata

width: 640 height: 420 frameRate: 32 numFrames: 2 swfVersion: 10 backgroundColor: undefined isActionScript3: true uncompressedLength: 6343218

Lord-McSweeney commented 1 year ago

Fixed by #11800; see #11866 for another panic I experienced while trying to play this.