ruffle-rs / ruffle

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

web: Ruffle does not detect "base" code to load other files from #857

Closed desertking closed 2 years ago

desertking commented 4 years ago

I just tested the base function which is needed for some flashgames to load the game-files in a order to load files which will not pre-load from a certain directory.

Example would be: https://amanita-design.net/samorost-1/ which loads level for level

Example code which ruffle ignores:

<embed src="https://amanita-design.net/samorost-1/samorost.swf" base="https://amanita-design.net/samorost-1/basefloder/" />

desertking commented 3 years ago

Hey guys any update on this thing? Could really help if this feature is available to link to a specific folder to get those old games running which are loading .swfs from level to level

albertstill commented 3 years ago

Any update on this @Herschel? Let me know if I can help at all, I'm a JS developer and looks like it might be a Rust feature but happy to help if I can

mstill63 commented 3 years ago

great project - would love to get our old flash games running on www.gridclub.com - Any update please on this @Herschel - thanks

relrelb commented 3 years ago

Is this is fixed by #5026?

n0samu commented 2 years ago

@desertking I visited the page you referenced as it appeared on Wayback Machine on that day: https://web.archive.org/web/20200715200055/https://amanita-design.net/samorost-1/ Yet the embed has no base parameter and it references https://amanita-design.net/samorost-1/main.swf, not https://amanita-design.net/samorost-1/samorost.swf. What's going on?

n0samu commented 2 years ago

I can confirm that the base parameter is working fine with GridClub and in albertstill's sample https://github.com/albertstill/ruffle-base-issue