ruffle-rs / ruffle

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

Loading some games from an SMB share confuses them into thinking that they're not local #10198

Open TheGentleChainsaw opened 1 year ago

TheGentleChainsaw commented 1 year ago

Describe the bug

Known affected games:

When I heard from @waspennator that AU2 was finally playable in recent builds, I decided to try it for myself only to get the same blank white screen that I've been getting for months whenever I tried it. It was only after confirming that the game does work on Newgrounds itself that I tried spoofing the URL to make the game load on desktop, and sure enough it did.

I wouldn't normally bother filing this as a bug for obvious reasons, but then I asked Wasp about it and they couldn't reproduce it on their end. Can anyone else confirm they're having the same issue as me? Problem identified, refer to my next comment.

Expected behavior

Game should load from a local file without setting newgrounds.com as the spoofed URL. Files loaded from a shared storage space on the local network should still identify their environment as local.

Affected platform

Desktop app

Operating system

Windows 10

Browser

No response

Additional information

No response

TheGentleChainsaw commented 1 year ago

Update: Tried loading the file from actual local storage and it worked without URL spoofing. The problem only crops up when I try to load the file off of my NAS, which is where I keep my personal SWF collection.

I can also confirm that Hexagon Ice has the exact same problem, so I'm gonna make this a more general issue about loading from SMB shares.

TheGentleChainsaw commented 1 year ago

In the meantime, anyone who's encountering the same problem I am can try using file:/// as a spoofed URL to force your LAN-hosted Flash files into running in local mode.