AMAZINGINDEX.COM 让生活多一点 Amazing
59.5
VOL. 2026.10
2026.10.12
← 返回 2026.10.12 日报
日报快照 · Daily Snapshot
NO. 016

PS2游戏静态重编译跑在浏览器

#ARTICLE HackerNews 2026.10.12
推荐指数 59.0 NO. 016 · 2026.10.12
发布2026/10/12Score52Comments17

将PS2游戏机的机器码提前翻译成C++,再编译为WebAssembly,配合WebGPU渲染,无需模拟器即可在浏览器运行完整游戏。首作《GT赛车4》已可正常运行,证明 demanding 游戏也能通过静态重编译实现浏览器原生体验。

静态重编译和模拟器是两条完全不同的技术路线。模拟器需要实时解释执行,CPU开销大;静态重编译把翻译成本前置,运行时接近原生性能。这个项目的前作psp-web-recomp已经验证了可行性,PS2的复杂度比PSP高一个数量级,尤其是双向量单元和浮点精度问题。

这对云游戏和复古游戏分发有启发意义:如果更多平台采用静态重编译,浏览器可能成为通用游戏运行时,不再需要各平台单独移植。做WebAssembly性能优化或游戏引擎跨平台的工程师,可以研究其C++中间表示和内存布局方案。

正面 18 条评论

核心争论:静态重编译技术突破与怀旧体验真实性的权衡

fonrex

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

eluusive

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

ssl-3

That's easy enough to simulate, too, isn't it? Just pause the game manually at the right spots to make time to get up, make a sandwich, eat the sandwich, take the dog out, walk the dog around the block, and then use the bathroom before resuming. No worries.

替代方案: PCSX2EmudeckDecky loader
查看原文 →