@mav thank you for the information.
The filepicker would be the best I guess. The problem, so far, is that I could not find any good (by that I mean extra-easy to implement) example as how to do that with Emscripten. Emscripten seems to be very closed when it comes to access the local filesystem. I'll try to check the Diablo Web source code anyway, if available.
edit:
Actualy, I found some examples to implement THE LAZIEST FILEPICKER ever. And it sortof works.
I also found that github allows some projcet hosting so I created this url:
https://ergonomy-joe.github.io/ff7snobo.github.io/test.htmlThe program should start by itself; though it is in a loop waiting for you the user to pick "snowboard-us.lgp" from the local filesystem. Once the file "picked" execution should resume automatically and starts the game.
There is only keyboard support for now:
key from A to L and the directional keypad
(G is jump, L the pause/resume, + some other keys too)
The fullscreen buton doesn't work,
There is no sound or music,
There is a clipping problem on some sprites,
the opening fade from white doesn't work properly,
The game is locked to the Story mode with Cloud,
I will try to allow the player to choose the character and the game mode for a next release... maybe.
anyway ... Have Fun !