Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ghost opened this issue Oct 31, 2023 · 3 comments
Open

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

ghost opened this issue Oct 31, 2023 · 3 comments
Labels
A-avm2 Area: AVM2 (ActionScript 3) bug Something isn't working text Issues relating to text rendering/input unimplemented Issues for functionality that hasn't been implemented yet

Comments

@ghost
Copy link

ghost commented Oct 31, 2023

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: 5bebebd
Is extension: true

Metadata

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

@ghost ghost added the error-report Automated error reports from Ruffle web build label Oct 31, 2023
@Lord-McSweeney Lord-McSweeney added unimplemented Issues for functionality that hasn't been implemented yet xml A-avm2 Area: AVM2 (ActionScript 3) labels Oct 31, 2023
@evilpie
Copy link
Collaborator

evilpie commented Nov 1, 2023

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

@Lord-McSweeney Lord-McSweeney added bug Something isn't working text Issues relating to text rendering/input and removed error-report Automated error reports from Ruffle web build labels Nov 2, 2023
@Lord-McSweeney
Copy link
Collaborator

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

@evilpie
Copy link
Collaborator

evilpie commented Nov 12, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-avm2 Area: AVM2 (ActionScript 3) bug Something isn't working text Issues relating to text rendering/input unimplemented Issues for functionality that hasn't been implemented yet
Projects
None yet
Development

No branches or pull requests

2 participants