libretro / easyrpg-libretro

⚠️⚠️⚠️ DON'T USE THIS FORK FOR YOUR OWN BUILDS / PACKAGES / ETC ⛔️⛔️⛔️ NO SUPPORT WHEN YOU USE IT ⚠️⚠️⚠️ It is only used by the libretro buildbot. ❤️❤️❤️ For your own builds use the upstream repository: https://github.com/EasyRPG/Player/ (See: "Building a libretro core" in the Readme) ❤️❤️❤️
https://easyrpg.org/
GNU General Public License v3.0
10 stars 8 forks source link

Emscripten #10

Open RobLoach opened 6 years ago

RobLoach commented 6 years ago

Fix EasyRPG for emscripten.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/47686406-emscripten?utm_campaign=plugin&utm_content=tracker%2F43571945&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F43571945&utm_medium=issues&utm_source=github).
Ghabry commented 6 years ago

The main problem here is that when EMSCRIPTEN is defined the Player switching to a different execution mode: It tries to download a directory index file from the web and afterwarfs fetches all assets on demand (when they are used for the first time). This makes the startup much faster but probably not applicable for libretro.

I assume libretro puts the whole game in the virtual filesystem, so it can use the normal directory reading code as on the desktop?

RobLoach commented 6 years ago

@twinaphex would likely know more than me.

RobLoach commented 6 years ago

Removed from emscripten build over at https://github.com/libretro/libretro-super/commit/2a09b86a5aeae7c6f1725731d04f3e96caba8a52 for now.