You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of having to upload a game, I'd like to make it automatically load and start playing the game from a preset file URL.
I know you can add roms to romlist.js, but that's not exactly what I need. I want it to load the game URL automatically into the emulator and never have the option to choose a game (whether that's via upload or romlist.js).
I'm wondering if this is a built-in feature, and if it isn't, how could I modify it to work like this? I'm worried about changing anything because there's so much that it'll probably break something.
Thanks in advance!
The text was updated successfully, but these errors were encountered:
It's not a built in feature but you can modify it pretty easily to get that. There's a function in script.js called initModule() where you can add the call to load the rom automatically -
Keep in mind one issue you will run into is that there won't be any audio because browsers only allow sound to play after the user interacts with the page. That's the reason most pages require you to click a button or some other element before it starts playing sound.
Instead of having to upload a game, I'd like to make it automatically load and start playing the game from a preset file URL.
I know you can add roms to romlist.js, but that's not exactly what I need. I want it to load the game URL automatically into the emulator and never have the option to choose a game (whether that's via upload or romlist.js).
I'm wondering if this is a built-in feature, and if it isn't, how could I modify it to work like this? I'm worried about changing anything because there's so much that it'll probably break something.
Thanks in advance!
The text was updated successfully, but these errors were encountered: