Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
EmulatorJS (github.com/emulatorjs)
98 points by avaer 14 hours ago | hide | past | favorite | 16 comments




Ok, I think it's time for me to finally build a controller PWA with websocket/webrtc so I can play games in the browser with my phone.

[RomM](https://romm.app) added EmulatorJS support a while back, pretty nice setup if you have a home server.

I made an Actually Portable Executable web server out of this. You download one file, and it can run on many different systems.

https://github.com/MattCruikshank/emu_ape

I'm trying to set it up so you can add roms to a folder, and it'll use them. (Remember Actually Portable Executables are ZIP files, too!)


If you're not familiar with RetroArch I highly recommend checking it out. Very cool tech.

There's an AppleTV app for it, which makes it trivial to connect a BT controller and finally finishing that Donkey Kong Country that's been holding you back,

Link to save you time searching: https://www.retroarch.com/

Doesn't look like keyboard input is supported on the flappy bird demo on the site?

Works perfectly for me, check the control settings, x is the only key you need

Whats with that demo. On mobile every button just drops the bird and ends the game.

Have you played flappy bird before? You keep pressing the button to get it to flap and stay aloft.

Yes, when I last played the button makes it flap and by default the bird falls.

On this game the bird stays level and pressing a button made it fall (without any up movement beforehand)


Looks cool, but too bad it doesn't support PS2 :(

There is an browser PS2 emulator but it's very hit and miss https://playjs.purei.org/

Just tried GTAIII and it works but not really smooth https://files.catbox.moe/s66t18.png


Emulating PS2 is quite intensive and not really suited for a web browser.

Cool to see this on HN today.

I'm currently using RetroArch in the browser along with the original Sony devkit and a custom hot-reload C dev server to develop a PS1 game engine. I started with EmulatorJS but ran into issues with its prebuilt cores while trying to get audio streaming working, and decided to just work with libretro directly.

It's been a blast. I didn't know much about developing on the PS1 and it's been fun playing code golf and trying to squeeze a more modern engine out of its tiny 2MB RAM and 33.8MHz CPU.


> This project has no ads.

> Although, the demo page currently has an ad to help fund this project.

> Ads on the demo page may come and go depending on how many people are funding this project.

Sounds like the project has ads.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: