Open Yuri-K7 opened 1 year ago
Can you upload the SWF file?
Can you upload the SWF file?
Sure it's on they're website : https://0x40hues.blogspot.com/p/div.html
Looks like there's also a web version : https://0x40.mon.im/
2023-04-05T10:03:01.406483Z ERROR run_frame:run_all_phases_avm2: ruffle_core::avm2::events: Error dispatching event EventObject(EventObject { type: "complete", class: flash.events::Event, ptr: 0x55a64ae15a10 }) to handler FunctionObject(FunctionObject { ptr: 0x55a64ba4d3d0 }) : TypeError: Error #1009: Cannot access a property or method of a null object reference. (accessing field: PreloaderSWFInterface::setProgress)
at Preloader/onSwfLoaded()
It does properly launch as of now ! The music player interface works correctly, but the music doesn't play.
2023-05-14T00:46:25.940305Z INFO ruffle_core::player: Loaded SWF version 22, resolution 1280x720 @ 60 FPS
2023-05-14T00:46:27.206061Z INFO run_frame:run_all_phases_avm2: avm_trace: -46.60000000000002
2023-05-14T00:46:27.206078Z INFO run_frame:run_all_phases_avm2: avm_trace: 0
2023-05-14T00:46:27.206099Z INFO run_frame:run_all_phases_avm2: avm_trace: Progress: 9929143 9929143 9929143
2023-05-14T00:46:29.985239Z WARN run_frame: ruffle_core::stub: Encountered stub: AVM2 flash.display.DisplayObjectContainer.tabChildren setter
2023-05-14T00:46:29.985264Z WARN run_frame: ruffle_core::stub: Encountered stub: AVM2 flash.display.InteractiveObject.tabIndex setter
2023-05-14T00:46:29.985668Z INFO run_frame: avm_trace: XmasUI: found 69 XmasLights
2023-05-14T00:46:29.989671Z WARN run_frame: ruffle_core::stub: Encountered stub: AVM2 flash.text.TextField.restrict setter
2023-05-14T00:46:29.990671Z INFO run_frame: avm_trace: 0x40 Hues 5.11 (14.03.2015) - start your engines!
2023-05-14T00:46:29.990708Z INFO run_frame: avm_trace: Settings created
2023-05-14T00:46:29.990802Z INFO run_frame: avm_trace: Old settings
2023-05-14T00:46:29.990820Z INFO run_frame: avm_trace: Saving settings!
2023-05-14T00:46:29.990985Z WARN run_frame: ruffle_core::stub: Encountered stub: AVM2 flash.media.Sound constructor with arguments
2023-05-14T00:46:30.318401Z WARN run_frame: ruffle_core::stub: Encountered stub: AVM2 flash.media.Sound.loadCompressedDataFromByteArray()
The stubs mentioned (Sound.loadCompressedDataFromByteArray()
and Sound constructor with arguments
) are probably the reason sound doesn't play.
As of now this flash is still borked in Ruffle, after loading it kind of hangs. The music doesn't play and graphics is still instead of changing with the beat (which also is not proceeding). The interface, as mentioned above, seems to be working fine.
2024-07-22T19:31:59.610965Z INFO ruffle_core::context: Loaded SWF version 22, resolution 1280x720 @ 60 FPS 2024-07-22T19:31:59.620677Z WARN run_frame: ruffle_core::stub: Encountered stub: AVM2 flash.display.Loader.load() addChild at the correct time 2024-07-22T19:31:59.621272Z INFO run_frame:run_all_phases_avm2: avm_trace: -46 2024-07-22T19:31:59.621281Z INFO run_frame:run_all_phases_avm2: avm_trace: 0 2024-07-22T19:31:59.621330Z INFO run_frame:run_all_phases_avm2: avm_trace: Progress: 9929143 9929143 9929143 2024-07-22T19:32:00.606402Z INFO run_frame: avm_trace: XmasUI: found 69 XmasLights 2024-07-22T19:32:00.609229Z INFO run_frame: avm_trace: 0x40 Hues 5.11 (14.03.2015) - start your engines! 2024-07-22T19:32:00.609274Z INFO run_frame: avm_trace: Settings created 2024-07-22T19:32:00.609367Z INFO run_frame: avm_trace: Old settings 2024-07-22T19:32:00.609416Z INFO run_frame: avm_trace: Saving settings! 2024-07-22T19:32:01.946687Z INFO run_frame: avm_trace: Mode updated! true 2024-07-22T19:32:01.947420Z INFO run_frame: avm_trace: UI Created! Retro 2024-07-22T19:32:01.947819Z INFO run_frame: avm_trace: UI Created! Retro 2024-07-22T19:32:01.952070Z INFO run_frame: avm_trace: XmasUI: found 69 XmasLights 2024-07-22T19:32:01.952232Z INFO run_frame: avm_trace: Updating according to this.settings 2024-07-22T19:32:01.952323Z INFO run_frame: avm_trace: Mode updated! true 2024-07-22T19:32:01.952946Z INFO run_frame: avm_trace: Added 0x40 Hues v5.0 Defaults to respacks 2024-07-22T19:32:01.961273Z INFO run_frame: avm_trace: Next song: 0 [object Object] loop_Finale 2024-07-22T19:32:01.961302Z INFO run_frame: avm_trace: 2 16 14 2024-07-22T19:32:01.961363Z INFO run_frame: avm_trace: Filling buildup beatmap 2024-07-22T19:32:01.961375Z INFO run_frame: avm_trace: Buildup length: 4 2024-07-22T19:32:01.969169Z INFO run_frame: avm_trace: 2 16 14 2024-07-22T19:32:01.981657Z INFO run_frame: avm_trace: Saving settings! 2024-07-22T19:32:01.981755Z INFO run_frame: avm_trace: Saving settings! 2024-07-22T19:32:01.989034Z INFO run_frame: avm_trace: Updating according to this.settings 2024-07-22T19:32:01.989208Z INFO run_frame: avm_trace: 1280 720 2024-07-22T19:32:01.989216Z INFO run_frame: avm_trace: 800 576 2024-07-22T19:32:01.989396Z INFO run_frame: avm_trace: Checking updates 2024-07-22T19:32:01.989477Z WARN run_frame: ruffle_core::stub: Encountered stub: AVM2 flash.system.Capabilities.os getter 2024-07-22T19:32:01.989643Z INFO run_frame: avm_trace: 800 576 2024-07-22T19:32:01.989651Z INFO run_frame: avm_trace: 800 576 2024-07-22T19:32:02.499505Z ERROR ruffle_core::loader: Error during URLLoader load of "http://cdn.0x40hu.es/version.php?v=5.11": InvalidDomain("http://cdn.0x40hu.es/version.php?v=5.11")
URL from error log is indeed invalid, but I don't think it's crucial for the flash to work, as it has default pack of images and songs embedded into it. it works in Adobe Flash Player anyway. What also seems to be working correctly is one animated image of Lain Iwakura. When displayed, it's properly animated. But as changing images automatically is not working, it needs to be selected with the interface to be shown.
The logs from Adobe Flash player are as follow:
-46 0 Progress: 9929143 9929143 9929143 XmasUI: found 69 XmasLights 0x40 Hues 5.11 (14.03.2015) - start your engines! Settings created Old settings Saving settings! Mode updated! true UI Created! Retro UI Created! Retro XmasUI: found 69 XmasLights Updating according to this.settings Mode updated! true Added 0x40 Hues v5.0 Defaults to respacks Next song: 0 [object Object] loop_Finale 2 16 14 Filling buildup beatmap Buildup length: 5 2 16 14 Saving settings! Saving settings! Updating according to this.settings 1280 720 1280 720 Checking updates 1280 720 1280 720 Warning: Failed to load policy file from http://cdn.0x40Hu.es/crossdomain.xml Security Sandbox Violation Error: Request for resource at http://cdn.0x40Hu.es/version.php?v=5.11 by requestor from file:///redacted/path/to/0x40 Hues v5.11.swf/[[DYNAMIC]]/2 is denied due to lack of policy file permissions. Buildup finished Creating new BMD, since [1481,720] != [1280,720] 1280 720 1280 720 Creating new BMD, since [1515,720] != [1481,720] 1280 720 1280 720
With these three lines repeating (numbers in their content changing slightly) as the beat keeps proceeding:
Creating new BMD, since [1515,720] != [1481,720] 1280 720 1280 720
Describe the bug
0x40 Hues is a sort of an anime music player. It is using ActionScript 3/avm2.
It can't load and is stuck with a white screen
Expected behavior
Should load the music player and use visual effects according to the rythm
Affected platform
Desktop app
Operating system
Manjaro Linux
Browser
No response
Additional information
No response