Star Wars Ewok village stuck on white screen and not loading https://www.starwarsgamesonline.com/game/star-wars-ewok-village
Describe the bug
It doesn't seem to load and stays stuck on a white screen. Put this as a bug because I didn't know what categories this would truly fit as but I guess it being stuck on a white screen like this would be close enough to a bug or similar issue of the sort.
Expected behavior
What should happen would be it should load up the game like normal however here it instead doesn't load and just gets stuck on a white screen.
Affected platform
Browser's extension
Operating system
ChromeOS Version 93.0.4577.107 (Official Build) (64-bit)
Browser
Chrome Version 93.0.4577.107 (I think)
Additional information
I wasn't able to get ahold of debug info for whatever reason sooooo...
The game appears to run on actionscript 3 btw.
Here's the desktop command to play it: ruffle https://play.lol.disney.com/v1/files/8087a860-8713-11e4-915d-06095000006a/4fbc0105c40d00304a8b92c5_flash/assets/swf/ewok_framework_lite.swf -Pcb=10069 -Pdebug=false -Ptheme=assets -Passeturl=assets/
INFO ruffle_core::player: Loaded SWF version 10, resolution 550x400 @ 24 FPS
WARN ruffle_core::stub: Encountered stub: AVM2 avmplus.describeTypeJSON() with top-level metadata
WARN ruffle_core::stub: Encountered stub: AVM2 XML.name() namespaces
INFO avm_trace: [Info] Project Running in Environment: LIVE (https://play.lol.disney.com/v1/files/8087a860-8713-11e4-915d-06095000006a/4fbc0105c40d00304a8b92c5_flash/assets/swf/ewok_framework_lite.swf)
WARN ruffle_core::stub: Encountered stub: AVM2 flash.system.Capabilities.os getter
INFO avm_trace: [Info] Detected OS: Linux 5.10.49
WARN ruffle_core::stub: Encountered stub: AVM2 flash.utils.Dictionary constructor with weak keys
INFO avm_trace: [AssetManager] Loading: assets/swf/ewok_framework_lite_assets.swf
ERROR ruffle_core::avm2::events: Error dispatching event EventObject(EventObject { type: "addedToStage", class: flash.events::Event, ptr: 0x561c69afceb0 }) to handler FunctionObject(FunctionObject { ptr: 0x561c69ae1210 }) : ArgumentError: URL could not be parsed - assets/swf/ewok_framework_lite_assets.swf
at com.fuelindustries.data.url::SmartURL()
at com.fuelindustries.net.assetmanager.core.asset::Asset()
at com.fuelindustries.net.assetmanager.core.asset.abstract::AbstractLoaderAsset()
at com.fuelindustries.net.assetmanager.core.asset::SWFAsset()
at com.fuelindustries.net.assetmanager.core::AssetManager/addAsset()
at com.ewok.core::EwokAssetManager/addAsset()
at com.fuelindustries.net.assetmanager.core::AssetManager/quickLoadAsset()
at com.framework.web::AbstractFrameworkLite/loadPreloaderAssets()
at com.framework.web::AbstractFrameworkLite/init()
at com.framework.web::AbstractFrameworkLite/onAdded()
SmartURL attempts to parse the URL using a regex: /((?P<protocol>[a-zA-Z]+: \/\/) (?P<host>[^:\/]*) (:(?P<port>\d+))?)? (?P<path>[^?]*)? ((?P<query>.*))? /x
AFAIK Ruffle doesn't support the ?P< syntax.
After https://github.com/ruffle-rs/ruffle/pull/20426, Ewok Village now works!
The value of -Passeturl just needs to be adjusted to ../../assets/ from assets/:
ruffle https://play.lol.disney.com/v1/files/8087a860-8713-11e4-915d-06095000006a/4fbc0105c40d00304a8b92c5_flash/assets/swf/ewok_framework_lite.swf -Pcb=10069 -Pdebug=false -Ptheme=assets -Passeturl=../../assets/