Back

EmulatorJS

102 points15 daysgithub.com
soulofmischief8 days ago

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.

threetonesun8 days ago

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

apitman8 days ago

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

thoughtpalette8 days ago

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,

yboris8 days ago

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

VikingCoder8 days ago

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!)

CleanCoder8 days ago

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.

jasonblick8 days ago

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

haunter8 days ago

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

hahahahhaah8 days ago

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

sandyarmstrong8 days ago

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

hahahahhaah8 days ago

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)

hungryhobbit8 days ago

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

haunter8 days ago

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

ranger_danger8 days ago

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

ranger_danger8 days ago

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