Ramaerel / emulatorjs-GameLibrary

An addition to ethan's EmulatorJS, which is a basic games library that reads the contents of a roms folder for its library (?) as requested. Not the prettiest, but it works
47 stars 14 forks source link

Still don't understand how to run this on a vps. #4

Open Vivek230800 opened 2 years ago

Vivek230800 commented 2 years ago

Hey @Ramaerel

Please help me. Could you please tell me the steps on how to set this up on a linode vps? I don't understand how this works.

Ramaerel commented 2 years ago

Sure, give me a but to look into what linode vps is first

Ramaerel commented 2 years ago

What OS are you running through it?

Vivek230800 commented 2 years ago

I am trying to run it with ubuntu linux server. Could you please reach out to me on email? my email.

Ramaerel commented 2 years ago

I'm sorry, but for the sake of ease I'd rather keep it here so other people can get the assistance if they need it.

Setting up a webserver for Linux is relatively easy, follow these instructions. I can help you further once the webserver is set up. https://linuxhint.com/install_apache_web_server_ubuntu/

anacshora commented 1 year ago

Hello, I have EmulatorJS running on an Ubuntu server with Apache, PHP and a simple website to display the games. Can you give me more instructions on how to use this extension? Thanks.

Ramaerel commented 1 year ago

@anacshora All you need to do is copy all the files in source to where ever your web server is hosted from- I couldn't tell you rxactly where that is sorry

anacshora commented 1 year ago

@Ramaerel Oh sorry, I should have paid more attention when looking through the files. I uploaded the files to the root of the site, added the games folder and the game Goof Troop.snes.zip in the games folder. The library recognized and listed the game, but when trying to start the game nothing happens. I tried core="ejs" and core="ljs" in config.ini but I get a status of 404 for loader.js in the browser console.

Ramaerel commented 1 year ago

@anacshora Do you have emulatorjs in the root as well? The data folder needs to be with the NewGamesLibrary.pho

anacshora commented 1 year ago

@Ramaerel The Data folder was not in the root but inside another folder, now I dropped all the files in the same root and now the library works, very good. Can you give me a tip or a way on how to display the library on a wordpress page? I thank you in advance.

Ramaerel commented 1 year ago

@anacshora I'm sorry but that's out of my scope of knowledge. Maybe using an iframe?

anacshora commented 1 year ago

@Ramaerel I think for now an iframe might be the best alternative. Thank you.