Show HN: PS2 games statically recompiled to WebAssembly

github.com

234 points by deadxwarrior 14 hours ago


aceazzameen - 5 hours ago

I don't know. There's suddenly so many decomps that run native (granted this post is about WebAssembly). Is there no concern about hidden malware? IMO it doesn't have the same level of trust and vetting that the emulator scene has. At least not yet.

zuInnp - 8 hours ago

All of this recomp stuff is pretty amazing. I really don't like how AI changed my profession, but hey at least I get something good from it.

Megabinator - 8 hours ago

What about compiling the compiler to WebAssembly so it can be hosted anywhere and convert a project directly from a browser?

mamonoleechi - 4 hours ago

- related thread:https://news.ycombinator.com/item?id=49991243 (God of War on PSP, recompiled to WebAssembly and running in the browser)

- might interest you, if you like the topic you're currently reading: https://thegamingemporium.com/recent/

kodablah - 8 hours ago

I did similar for PS Vita over the past few months: https://github.com/cretz/vitaslop

But instead of single games, I "built" an ARM-to-WASM transpiler in WASM. Also cool transcoding of WebGPU shaders, audio, and more.

Only have tested a few games so far, it's early days, but works quite well in Chrome mobile on flagship Android phones.

eluusive - 11 hours ago

Who would want to play Gran Turismo without long CD loading screens?

anonymous908213 - 2 hours ago

> This is the sibling of psp-web-recomp and follows the same method

Fucking amazing that this person can prompt to embed an emulator into a binary and call it "no emulation recompilation" and get not one but two threads on the front page. LLMs are such an amazing tool for liars to produce upvotable slop, nobody gives a fuck about verifying whether the claims are true.

Elizer0x0309 - 7 hours ago

With the slew of recomps these days enabled by AI, How much incentive is there for a game studio to pour their heart, soul and money in a product when it can be easily "stolen" and shared for free...

Hyperlisk - 5 hours ago

Very cool! I'm working on something similar but am taking it much slower with a focus on accuracy. Mine recompiles into Golang to take advantage of built-in SIMD support.

I've been building the tooling around the PS2 binaries and hope to have a standalone PSS player out soon that can play PSS files as they are encoded, via simulated renderer, and via in-game engine renderer. The future is so bright with LLMs!

krystalgamer - 9 hours ago

ah yes, another recomp that still emulates a core system component.

https://github.com/snuri00/ps2-web-recomp/blob/1066c9eea78c2...

khalidkhair - 5 hours ago

I wonder how "legal" hosting this would be given that it would require the host to basically distribute the game for free for everyone else

Altern4tiveAcc - 5 hours ago

Pretty cool stuff. Seems like the web build script isn't escaping spaces in the game name.

Benard-dev - 7 hours ago

This is good, I didn't know 3DS could handle PS2 emulation.

What's the performance like on heavier titles?

gitowiec - 7 hours ago

I will wait for MVG video

CodeCompost - 9 hours ago

AI or no AI, this is amazing.

shan-pafin - 3 hours ago

Recompiling PS2 games to WebAssembly is insane. Have you noticed any major performance bottlenecks when running heavier titles in the browser?

nashtik - 6 hours ago

Does this means same can happen for ps3?

jgalt212 - 4 hours ago

Did Sony know ahead of time?

Physical disc production ending in January 2028

https://blog.playstation.com/2026/07/01/physical-disc-produc...

simonmales - 10 hours ago

No GitHub pages so I can play?

mglvsky - 7 hours ago

are there clean-room games?

SIMPL_Language - 4 hours ago

When a recompilation of Windows free from all the Microsoft slop?

spwa4 - 10 hours ago

VERY cool. I wish you could make this work for steam deck (and friends) though.

fonrex - 11 hours ago

I hope they'll be able to do that with Forza too !

anthk - 10 hours ago

On the PSP recomp, I wish they could somehow target GL 2.1 video cards (ancient Intel iGPU's) so legacy users like me could play most of the games on an n270 netbook.

squidmaster - 10 hours ago

[dead]

- 13 hours ago
[deleted]
ContinuityLab - 5 hours ago

[flagged]

Lagoon3384_SWE - 5 hours ago

[dead]

evann-dev - 5 hours ago

[flagged]

danxbuild - 13 hours ago

Impressive. How are you handling the PS2’s timing sensitive hardware, like the vector units, in a static recompilation? Curious how close you can get to correct behavior without emulating cycle by cycle.

DylanMerigaud - 12 hours ago

[dead]

llmbrake - 5 hours ago

[dead]