ruffle icon indicating copy to clipboard operation
ruffle copied to clipboard

Error on https://emulator.flashgamesplayer.com/swf/back-in-time.swf

Open ghost opened this issue 2 years ago • 4 comments

Error Info

Error name: Error Error message: panicked at core/src/avm2/object/xml_list_object.rs:736:61: Not validated yet Error stack:

Error: panicked at core/src/avm2/object/xml_list_object.rs:736:61:
Not validated yet
    at imports.wbg.__wbg_new_d258248ed531ff54 (chrome-extension://donbcfbmhbcapadipfkeojnmajbakjdc/dist/339.js:2483:21)
    at core::ops::function::FnOnce::call_once{{vtable.shim}}::h39d263798a7efedc (wasm://wasm/032bc3de:wasm-function[9762]:0x994ddb)
    at std::panicking::rust_panic_with_hook::h3aa054d35a0817d7 (wasm://wasm/032bc3de:wasm-function[6409]:0x895dc9)
    at core::panicking::panic_fmt::h3e1dd3d08288569e (wasm://wasm/032bc3de:wasm-function[9568]:0x98fd18)
    at core::option::expect_failed::hea22cf135ad64e98 (wasm://wasm/032bc3de:wasm-function[8973]:0x96507a)
    at <ruffle_core::avm2::object::xml_list_object::XmlListObject as ruffle_core::avm2::object::TObject>::set_property_local::h3f6edd58437b2214 (wasm://wasm/032bc3de:wasm-function[620]:0x18118c)
    at ruffle_core::avm2::globals::xml::append_child::h355cade352221794 (wasm://wasm/032bc3de:wasm-function[2189]:0x5cae61)
    at ruffle_core::avm2::function::Executable::exec::hc093978e04decb5c (wasm://wasm/032bc3de:wasm-function[895]:0x324fb2)
    at ruffle_core::avm2::object::TObject::call_property::h6c92e9c1ac0e0284 (wasm://wasm/032bc3de:wasm-function[1217]:0x4012c6)
    at <ruffle_core::avm2::object::Object as ruffle_core::avm2::object::TObject>::call_property::hff21f0cfe436ad8d (wasm://wasm/032bc3de:wasm-function[2970]:0x6a29f2)

AVM2 stack:

    at XML/XML::appendChild()
    at flashx.textLayout.conversion::TextFieldHtmlExporter/http://ns.adobe.com/textLayout/internal/2008::exportSpan()
    at flashx.textLayout.conversion::TextFieldHtmlExporter/http://ns.adobe.com/textLayout/internal/2008::exportElement()
    at flashx.textLayout.conversion::TextFieldHtmlExporter/http://ns.adobe.com/textLayout/internal/2008::exportSubParagraphChildren()
    at flashx.textLayout.conversion::TextFieldHtmlExporter/http://ns.adobe.com/textLayout/internal/2008::exportParagraph()
    at flashx.textLayout.conversion::TextFieldHtmlExporter/http://ns.adobe.com/textLayout/internal/2008::exportElement()
    at flashx.textLayout.conversion::TextFieldHtmlExporter/http://ns.adobe.com/textLayout/internal/2008::exportChildren()
    at flashx.textLayout.conversion::TextFieldHtmlExporter/http://ns.adobe.com/textLayout/internal/2008::exportToXML()
    at flashx.textLayout.conversion::TextFieldHtmlExporter/export()
    at flashx.textLayout.conversion::TextConverter$/export()
    at fl.text::TLFTextField/get htmlText()
    at fl.text::TLFTextField/set htmlText()
    at ?R::+B/set direction()
    at ?#::]2()
    at ?#::]>/2R()
    at ?#::]>/-+()
    at flash.events::EventDispatcher/flash::events::EventDispatcher::dispatchEvent()
    at ?R::?H/checkFrame()

Player Info

Allows script access: false Renderer: wgpu Adapter Backend: Gl Adapter Name: "ANGLE (NVIDIA, NVIDIA Quadro RTX 4000 (0x00001EB1) Direct3D11 vs_5_0 ps_5_0, D3D11)" Adapter Device Type: Other Adapter Driver Name: "" Adapter Driver Info: "" Enabled features: Features(TEXTURE_COMPRESSION_BC | TEXTURE_ADAPTER_SPECIFIC_FORMAT_FEATURES | PUSH_CONSTANTS | SHADER_UNUSED_VERTEX_OUTPUT) Available features: Features(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: 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

Page URL: chrome-extension://donbcfbmhbcapadipfkeojnmajbakjdc/player.html#https://emulator.flashgamesplayer.com/swf/back-in-time.swf SWF URL: https://emulator.flashgamesplayer.com/swf/back-in-time.swf

Browser Info

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

Ruffle Info

Version: 0.1.0 Name: nightly 2023-10-30 Channel: nightly Built: 2023-10-30T00:20:56.782Z Commit: 5bebebddbe3c39362ba520cb0c9c28b3cb7f72a3 Is extension: true

Metadata

width: 800 height: 600 frameRate: 30 numFrames: 2 swfVersion: 10 backgroundColor: undefined isActionScript3: true uncompressedLength: 4588805

ghost avatar Oct 31 '23 15:10 ghost

We should keep this open. This game is actually interesting. It seems to require XML.setChildren and TLF (#13226)

evilpie avatar Nov 01 '23 19:11 evilpie

This now needs flash.text.engine::GroupElement.getElementIndex

Lord-McSweeney avatar Nov 10 '23 23:11 Lord-McSweeney

Something changed and now with #13834 the game progresses, but the text is still invisible and there is an even larger box covering half the screen.

evilpie avatar Nov 12 '23 18:11 evilpie

This seems to need TextLine.getAtomIndexAtCharIndex

SuchAFuriousDeath avatar Nov 30 '25 00:11 SuchAFuriousDeath