浏览器里跑极品飞车:WASM 游戏移植
推荐指数 46.0 NO. 021 · 2026.11.08
发布2026/11/07Score678Comments197
简介
通过 WebAssembly 将 2004 年的《极品飞车:地下狂飙2》完整移植到浏览器,支持云存档、触屏/陀螺仪操控和 MOD 加载。对 AI 工程师的启示在于:这展示了 WASM + 逆向工程让 legacy 原生代码在现代环境复活的工程路径,类似思路可用于把老模型/工具链搬到浏览器端做 demo。
编辑判断
这个项目的核心工程价值不是游戏本身,而是它验证了把复杂原生 C++ 游戏(RenderWare 引擎、D3D9)无损搬进浏览器的可行性。之前类似的重制大多用 Emscripten 简单编译,这里却做了完整的在线存档同步、输入层重写和 MOD 生态兼容。
对 AI 从业者来说,这条技术路径可以直接复用:很多 legacy 的 C/C++ 推理引擎、量化工具或研究代码,与其用 Python 重写,不如用 WASM 封装后直接扔给前端做交互 demo。比如把 llama.cpp 或 whisper.cpp 的老版本做浏览器化部署,降低用户试用门槛。
值得关注的技术细节是它怎么处理异步 IO 和本地存储的权限边界,这对任何需要浏览器端持久化状态的 AI 应用都有参考价值。
社区反馈
意见分歧 184 条评论
核心争论:WASM游戏移植的技术价值与版权法律风险的冲突
I still am not sure whether wasm/webgl is suitable for 3d games with some complexity. You'll eventually have some GC pauses during game play. This one included, despite the rest of the game being smooth.
This is great, I have been thinking about revisiting this old game. Unfortunately, it is not available for sale anywhere (probably for music licensing issues, see other games such as Alan Wake), and older versions don't run as well as they could. I do find it legally dubious to also host the assets,
What do you mean about Alan Wake? It's available in online stores