from Hacker News

My Deus Ex lipsyncing fix mod

by jonny_eh on 9/26/25, 3:45 AM with 177 comments

  • by TapamN on 9/26/25, 5:37 AM

    The headshot collision code in DX is broken as well. This is from memory from looking at the DX SDK years ago (+15 at least), but...

    The collision shape used for a character in DX is a single cylinder. The game looks at where on the cylinder the collision point of the shot is, and tries to figure out if it's a head, body, or leg shot. It does this by checking how high the collision point is, with the lower X% being legs, top Y% being the head, and the middle being the body.

    If a shot hits the head section, it runs some additional checks, and can sometimes still count as a body hit. There was some weird code that, after you stared at it long enough, looks like it ended up splitting the head area into compass aligned 1/8ths (so north, north-east, east, etc) and hits to the N-E-S-W octants would count as a head shot, and a hit to the NE-NW-SE-SW octants would count as body shots. (I couldn't tell if the angles rotate with the character, or are absolute relative to the world.) I think there was also a check for hits on the top cap of the cylinder, so that the hit would have to be close to the center of the cylinder to count as head hit, and near the outer rim would count as a body hit.

    Hm, I should just make a diagram. Here: https://imgur.com/a/KG6MF1k

    I guess what they were trying to do was make the actual head hitbox a smaller section of the head level, so that a shot that should go over the shoulder and miss would just count as a body shot and not a true headshot. And if you made a test map, with the player and a static test enemy placed in a line, this could work reliably from a fixed position. But when you actually play DX, and approach enemies from various angles, headshots inexplicably fail.

  • by jsheard on 9/26/25, 9:58 AM

    Modders have put a ton of effort into fixing and restoring this game. The developers originally wanted to let players choose the protagonists gender, but they didn't have the resources to make it happen, so of course the community ended up redubbing JCs entire script and editing the rest to bring it back almost seamlessly.

    https://www.youtube.com/watch?v=naDOv1W6-Cc

  • by qmr on 9/26/25, 6:22 AM

    One of the best games of all time.

    This is what Warren Spector made while Romero was busy pissing money away and constantly rewriting Daikatana.

    The one worthwhile thing to come out of Ion Storm.

    Lots of emergent gameplay. Almost always more than one way to solve each puzzle. Stealth, brute strength melee, long range combat, explosives, computer hacking ...

    Branching story with multiple endings.

    A must play.

  • by Areibman on 9/26/25, 5:19 AM

    For fans of the game, Aspyr just announced Deus Ex: Remastered https://www.youtube.com/watch?v=f1RdKezTYNk

    However, fans of the game are calling it "Demastered".

  • by laidoffamazon on 9/26/25, 4:11 AM

    Might be the greatest game ever made. I was raving like a lunatic about it to a friend in public once and a guy next to us turned around and interrupted me to say it’s the only game he’s ever played because he felt no other games could top it.
  • by Tade0 on 9/26/25, 9:51 AM

    As a side note one of the composers of Deus Ex's OST, Alexander Brandon, has a YouTube channel where he regularly answers questions from viewers:

    https://www.youtube.com/@AlexCBrandon

  • by noident on 9/26/25, 4:59 AM

    The janky lip sync gave us one of the funniest videos of all time: https://www.youtube.com/watch?v=Js02m-7qHyE
  • by jl6 on 9/26/25, 6:49 AM

    “I am a prototype for a much larger system” presaged the catchphrase of our LLM era.

    “You will soon have your God, and you will make it with your own hands.”

  • by shoo on 9/26/25, 9:21 AM

    lots of good stuff in Warren Spector's 2017 GDC Deus Ex postmortem: https://www.youtube.com/watch?v=tffX3VljTtI

    Warren's 6+2+1 questions before starting a game project; Team 1 & Team A (no one wanted to be Team B or Team 2); the day we hit pre alpha and realised the game was not fun; LAM wall climbing & problem solving with explosive barrels; origin of the name JC Denton

  • by everyone on 9/26/25, 3:37 PM

    Imo its crazy that there basically hasn't been a game made since, in it's genre, with the same level of ambition.

    Prey 2017 was fantastic.. but in terms of ambition it was a step back, it's basically an improvement on system shock 2.

    I do think there is an ultimate game out there that has not been made yet.. We could do it now though, combine a totally open simulation like minecraft with on-the-fly story / dialogue / characters by an LLM.

  • by donkdonk on 9/26/25, 9:52 AM

    Interesting mod and writeup. But for me the jankiness is part of what makes Deus Ex so good. Together with the special voice acting and what not.
  • by TulliusCicero on 9/26/25, 8:33 AM

    Love the HL2 mention, I remember being very impressed by the lip sync/facial expression demo: https://youtu.be/Bdbhr2pZUgg

    Said demo has actually aged very well imo.

  • by foldr on 9/26/25, 9:00 AM

    My favorite recent Deus Ex discovery is that you can skip the entire Paris sewer section of the game by grenade jumping off the Paris rooftops and then grenade climbing into the area containing the entrance to the Catacombs. Nothing breaks!

    (The real pros can do it all in a single jump.)

  • by shmerl on 9/26/25, 4:44 AM

    Just tested Deus Ex - Revision mod. It's pretty good so far.
  • by carabiner on 9/26/25, 4:34 AM

    Impressive augmentation.
  • by kapilkaisare on 9/26/25, 5:02 PM

    Surprised to see Deus Ex mentioned; I played the game first in the early 2000s and was entranced by the storyline, coming from shoot-em ups like Doom and Quake. I've played this game several times over the course of the last two decades, and while it hasn't aged very well, it remains one of my favorites. I can't recall any other game making me pause towards the end and considering the consequences of my actions.
  • by michalion on 9/26/25, 4:11 AM

    What a shame ;-)
  • by XorNot on 9/26/25, 5:29 AM

    Deus Ex OST remasters and remixes are one of my most frequent choices of music still.

    And the DuClare Chateau level remains one of my favorite plot beats in gaming.

  • by fennec-posix on 9/26/25, 5:27 AM

    Wonder if this works with Malkavian Mod?
  • by rpodraza on 9/26/25, 8:53 AM

    I spill my drink!
  • by klipklop on 9/26/25, 4:54 AM

    This is giving me another reason to play DX again.
  • by faichai on 9/26/25, 6:48 AM

    "I didn't ask for this!"
  • by gspetr on 9/27/25, 7:06 AM

    Very nice. I believe this is the 1st time in history that lips have been augmented.