News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu

Website allowing you to play any disc image online

Started by Jonathan, 13:50, 11 January 25

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Jonathan

I did find one but it needed you manually to copy and paste the URL of the disc image. Nearly there. What I'd really like is one that takes a disc image location as a parameter in its own URL. Does it exist? Thanks. 

ZorrO

It's not perfect because keyboard has a PC-like map and doesn't allow SAVE, but you can drag and drop DSK files or Basic listing as TXT. I sometimes use it for testing when I don't have an emulator.
https://acpc.me/emul/cpc-ui.php
CPC+PSX 4ever

Jonathan

That's a nice emulator, thanks. I don't mind the keyboard layout as I haven't got used to the CPC layout again yet.

Here's the one I mentioned before - https://youfiles.herokuapp.com/pcemulator/ It's good as you don't even need to download the DSK file to open it. But you still need to copy and paste the URL. I thought it would be cool on CPCWiki, when there's a disk image, to offer a "play online" link as well as a download link.

ZorrO

It seems to be  same emulator as my link, just with added option to specify the DSK in URL. BUT it still has the same flaws I mentioned.
CPC+PSX 4ever

Jonathan

Quote from: Jonathan on 13:50, 11 January 25I did find one but it needed you manually to copy and paste the URL of the disc image. Nearly there. What I'd really like is one that takes a disc image location as a parameter in its own URL. Does it exist? Thanks.
I managed to create a small PHP script in 10 mins with RVM Player, but quickly ran into two problems which tool a lot longer to fail to solve...
* It will only load disc images from the same website as the script, which I guess a cross-site security thing.
* I can't get the keyboard to work in RVM Player, so can't type anything anyway!

Any ideas?

It would be good to solve the cross-site thing (the emulator link above runs disc images from anywhere) though even as it stands, if CPCWiki were to host something like this then it would be possible for .DSK links on the wiki to have a "play online" button.

eto

Quote from: Jonathan on 16:37, 12 January 25* It will only load disc images from the same website as the script, which I guess a cross-site security thing.
Your PHP could download the DSK from the URL to a local folder on your server. From there the JS emulator should be able to load it. 


Jonathan

Quote from: eto on 18:03, 12 January 25
Quote from: Jonathan on 16:37, 12 January 25* It will only load disc images from the same website as the script, which I guess a cross-site security thing.
Your PHP could download the DSK from the URL to a local folder on your server. From there the JS emulator should be able to load it.
That worked perfectly, thank you. I'll tidy it up then see what people think.

Powered by SMFPacks Menu Editor Mod