我不断深入逆向工程网页版游戏的小众领域 👉 http://ut.pieter.com 👈 6个月前我尝试逆向工程Ur...
产品与工具 · 2026/10/03
作者持续将逆向工程网页版游戏做得更加小众,这次成功将《Urban Terror》移植到网页。该游戏是基于 Quake 3 Arena 引擎的 Counter-Strike 风格模组。作者曾尝试用 ioquake3 和 WASM 在网页运行,但六个月内多次失败。最终借助 Fable 5.1 发现引擎结构体比 UT 字节码预期多出 4 字节,导致实体计数和列表读取偏移,重写字节码后成功。现在游戏通过 WASM 在网页 100% 运行,并配有多人服务器,可在 http://ut.pieter.com 与朋友游玩。
这篇文章展示了逆向工程和网页技术的结合,如何让经典游戏在现代浏览器中复活,并支持多人游玩,对游戏保存和技术创新有启发意义。
I keep going more niche with reverse engineered web-based versions of games
6 months ago I tried to reverse engineer Urban Terror
Urban Terror was kind of a Counter-Strike style mod on top of the Quake 3 Arena engine, I think @Erwin_AI got me to play this during COVID
Because it runs on Quake 3's engine like RTCW and Q3 itself, I thought I could just use ioquake3 and WASM to run it on web, then add a multiplayer server and it'd just work...
But no it didn't, I got stuck 6 months ago, it was buggy and wouldn't work, I kept trying and kinda got it to load but not really play
Today I tried it again with Opus 5.5 and again, I couldn't get it to work, giving up I did a last try with Fable 5.1 on high effort and it after awhile it did figure out the issue!
"The engine's struct was 4 bytes longer than what UT's bytecode expects, everything after that point (the entity count and the entity list) was read 4 bytes off"
It rewrote the bytecode and made it work!
So now we have another game preserved, running 100% the web via WASM, with a multiplayer server tied to it, so you can play with your friends 😊
Every model that comes out makes a bit more things possible and you can just keep trying old things that didn't work before
I see lots of people mod modern games now too which looks very cool too
Here I'm playing it with @marckohlbrugge a few minutes ago! Anyway you can play it with everyone else at http://ut.pieter.com now :D
在原站观看视频
![]()