Jump to content
IGNORED

How to create cartridge images (.bin?) usable in js99er from EA5 files?


Recommended Posts

@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...

  • Like 1
Link to comment
Share on other sites

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

  • Like 2
Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...