Playing RetroPie games in a browser
-
Quick installation instructions:
https://www.linux-projects.org/uv4l/tutorials/play-retropie-in-browser/
-
@lproj neat, once the dust settles with my move I'll have to dig my pi out and give it a go
-
I followed the tutorial and it worked well for me.
For those interested in trying, just know that you do need to configure your client keyboard/gamepad in emulationstation so you should be where you can do that on your first try. Maybe that's obvious, but I did my install remotely and then couldn't interact with the RPi.Is there a way to use a software keyboard/gamepad with it?
-
@b3k if you know a bit of javascript programming, it should be easy to implement it in the webapp. I originally thought of a virtual gamepad to be placed on the top of the page for those who do not have a real controller but have a touchscreen, however I ended up with supporting real controllers in the browser. In any case the principle in the webapp is the same: each event (button up,down,left,right..) is mapped to the corresponding code which is sent to the rpi (where there exists a virtual gamepad interpreting the received code and "actuating" the corresponding event). The webapp source code can be found here:
https://github.com/lproj/screen-sharing-app -
How would you go about restricting the server's virtual keyboard to only pass through certain keys regardless of what keys the browser sends?
-
I didn't want to be very picky but i feel i must... how is this different from using a teamviewer or other remote app? Is it optimised? This may be interesting to me if it works with no lag. but we are transmitting video, right?
Yea we cant do it with a psx game but we could do it with these smaller roms.
Personally, i'd rather to have a browser plugin (trusted :D) -
@navyseai said in Playing RetroPie games in a browser:
I didn't want to be very picky but i feel i must... how is this different from using a teamviewer or other remote app?
It's highly platform independent this way.
Personally, i'd rather to have a browser plugin (trusted :D)
Why add (usually third-party) code to a browser if it can get the job done without one? More code means more complexity and thus, more risk of instability, incompatibility and vulnerability.
The link „instructions“ in the opening post lists many advantages of this approach, like clientlessness, independence, security, standardisation etc.
-
Hi guys, sorry for reopen this old topic, but this project still work with a raspberry pi 4 on raspbian buster?
I'm very interested to use on my raspi dedicated to light Nas, for play retrogames sometimes. -
I'm also interested in this. I already followed every step, but when I click play on my browser it just stays loading for ever.
-
Yes it works on Raspberry Pi 4.
Use the Stretch Repo, it will function in Buster.I connected the Raspi with 100 MBit on Local Network and it worked like Charm on 1080p.
The only Issue ist, that i cant get the Mouse working. Does anybody knows what to do to caputure the Mouse Input? -
Hi, can anyone confirm if mouse input works? im interested on running point and click adventures with scummvm
-
@diuk Yes mouse is working with scummvm
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.