TheMole Posted October 20 Share Posted October 20 @Asmusr, how does the load-from-url feature actually work? Does it download it the cart to the js99er.net server, or does the browser download the .rpk locally? I was wondering if I could just run: python3 -m http.server 8000 in the directory where my .rpk is hosted. That way, using something like: ?cartUrl=http://localhost:8000/mycart.rpk a simple page refresh would reload the cartridge without having to go through the manual steps to reload the cartridge... But it doesn't seem to work, js99er can't "see" my web server, while Chrome can... 1 Quote Link to comment Share on other sites More sharing options...
Asmusr Posted October 20 Share Posted October 20 51 minutes ago, TheMole said: Asmusr, how does the load-from-url feature actually work? Does it download it the cart to the js99er.net server, or does the browser download the .rpk locally? The cartridge file is downloaded by a small node.js application (proxy.js) running in the proxy directory on the server. To download a cart the client accesses, for instance, https://js99er.net/proxy?url=http://tigameshelf.net/Files/Emu/bnp_8.bin. The node app is a small web server that passes on the downloaded file without storing it, which I guess you could run locally as well?. But a more simple solution would be place mycart.rpk in the assets/software directory and start it using http://localhost:4200/#/?cart=software%2Fmycart.rpk 2 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.