#100 - MD5 Conversions
#101 posted by mh on 2021/08/24 14:59:26
Had a look at an Ogre in e1m3; the first one you encounter in Normal skill (around the corner to the right, not the one behind bars), looking at it with notarget on and viewing it's idle animation.
This I guess is a case of different things annoying different people in different ways, but I see some very extreme vertex wobble in it.
This was with frame interpolation on. Maybe it's less pronounced if you switch off frame interpolation?
I have interpolation on in QSS and tbh it looks just fine to me.
Vertex Wobble
#103 posted by stoo on 2021/08/24 21:42:41
I agree with mh. Vertex wobble is very noticeable. Took a short video of it in QSS.
https://youtu.be/VoxHGqptqFM
#104 posted by gila on 2021/08/24 22:13:36
Heh, reminds me of Kingpin!
#105 posted by mh on 2021/08/24 22:20:27
In an ideal world QuakeSpasm and derivatives would just load and use the MD5s directly. Now that they're official, and now that MD5 is an official MDL replacement format, this makes sense to do.
I know that QS hasn't released in a while, but cruising by it's Github page I see that it's still being actively worked on, and is starting to take up changes for the Quake 2021 reissue. Same with VkQuake.
Guys, You Got It Wrong
The new Quake Kex assets are NOT in any of the official AMQ releases yet. Your video footage does not show our latest models, I am afraid.
You must download the dev build from the Github page. To do so, click on "Code" (green button), then "Download Zip". THAT'S the way to get the new stuff right now since we aren't fully ready for a release yet, so it's NOT to be found under "Releases".
I admit that Github navigation can be confusing to people who aren't used to it, but that's the way it works.
#107 posted by mh on 2021/08/24 23:18:32
I admit that Github navigation can be confusing to people who aren't used to it, but that's the way it works.
It's confusing even if you are used to it (18 repositories and I still get lost).
Anyway, that is significantly improved, although I'm still seeing wobble compared to the source MD5s.
That's not a criticism of anyone's work, by the way. Vertex wobble is a "feature" of the MDL format caused by compressing positions to 8 bits, and that's just what it is.
Comparison V. Vanilla (Modding Compatibility)
#108 posted by mtp on 2021/08/24 23:59:18
Has anyone done a detailed comparison of how the remastered version is implemented versus vanilla/derived? For instance, does the remastered still use QuakeC with progs.dat, or does it use something else? If it uses progs.dat, is there a formal source dump? Are the assets the same format or different?
I'd love to see a tabular breakdown/comparison.
#109 posted by metlslime on 2021/08/25 00:36:59
@mtp I agree. I'd love to eventually see some community documentation of the technical changes that are relevant for mappers, modders, and engine coders. Things like changes to the protocol (e.g. svc_achievement), new file formats (e.g. md5), new console commands or cvars (e.g. menu_credits), changes to how autoexec.cfg is handled, etc.
@mh, the work you are doing for md5 would be great as a sample implementation, unless it depends too much on each engine's model renderer.
#110 posted by mh on 2021/08/25 00:58:41
I could release my MD5 code publicly but I fear it would be of little use to people. It's all D3D11, buffers and shaders, that kind of stuff.
The code at http://tfc.duke.free.fr/coding/md5-specs-en.html is probably more useful to the Quake community. That's a working implementation that uses GL 1.1 code and that my own is based on.
The main thing missing from that code is generating normals. There is code in modelgen.c for this and that can lift over clean enough.
It also does it's skeletal animation on the CPU at draw time, whereas I've used the bones and frames to build keyframes instead. My way takes more memory but it's highly compatible with my MDL renderer.
An option is I could port an implementation to QuakeSpasm. Last time I publicly fiddled with QuakeSpasm I did have needy, demanding people descend on me practically ordering me to do Linux builds just for them, so I made the project private and I'm really reluctant to go there again.
I don't know, do people want the MD5 stuff?
@mtp I think it uses QC progs.dat (but only 328KB instead of vanilla 411KB), for example it ran Team Fortress 2.8 alright, the centerprint menus are messed up (but they work) and the intro crashes the game after a few seconds, so I deleted demo1.dem from the fortress pak. I also experimented with FrikBots adapted for Clan Arena, but the game crashes when I try to load any map. :(
So, sadly there may be quite a few classic Quake mods that won't work properly.
Mh:
#112 posted by metlslime on 2021/08/25 04:30:41
Not sure if your code would be generally applicable to other engines. Probably the loader and the code that bakes out the poses could be generally useful, even if the rendering part isn't.
Although I feel engines would be better off doing the skeletal animation in realtime, for fidelity reasons. Fast-rotating shapes tend to collapse if each vertex is lerped directly, whereas if the bone is rotating, then the verts could follow an arcing path, so the overall shape doesn't deform or collapse.
That link you posted also looks very useful, though.
#113 posted by mtp on 2021/08/25 11:34:26
@mh, I am sure making it available in Quakespasm would be nice for folks. I have no problem with UNIX-like build systems; and for demanding/needy users who aren't, it's a good chance to learn how. ;)
@rickzeppelin, that somewhat matches my expectations. I wonder to what extent there are signature mismatches between the QuakeC interfaces or the in-engine hooks/stubs/thunks that the QuakeC code calls. Then comes the wire format used for demos and the network. Here be dragons.
I built a progs.dat decompiler in Go (almost finished) as a part of a self-study project. I was interested in trying my hand at decompiling qtest1's progs.dat, but that uses a different signature. Sadly I don't have a lot of time right now to inspect the header signatures of qtest1's progs.dat. I was mainly interested in trying to learn how the in-game logic differed from the public release à la The Cutting Room Floor.
I know it's naive, but I was really hoping that the remastered project materially was derived from the vanilla engine to preserve maximum compatibility.
#114 posted by mh on 2021/08/25 11:54:53
I'm working towards a standalone release of the MD5 stuff, derived from my engine, that people can use as a base rather than as a drop-n-go replacement.
That means that the renderer and some of the loader will be Direct3D 11, but it should be quite clear what's going on.
A very subtle bug in the new content.
The Grunt's gun has a red light that uses fullbright texels on the original MDL skin, but the Nightdive guys missed it on their MD5 replacement.
Hitboxes.
#115 posted by Text_Fish on 2021/08/25 12:05:04
Presumably NightDive could have replaced the vanilla cube hitboxes with much more accurate ones if they'd wanted to. It'd be interesting to know if they even considered it, or just instinctively knew that the community would reject it. Personally I think it would be quite a good way to raise the skill ceiling of the game and prevent players from picking off Shamblers and Vores from around corners, but would it detract from the Quakiness of the reboot?
#116 posted by mh on 2021/08/25 12:42:07
....would it detract from the Quakiness of the reboot?
I think it's the kind of change that would have gotten colossal pushback from the community.
As it stands they're already getting a rough time from some, and I think a large part of that is down to the fact that ID had neglected Quake 1 for so long that the community feels a stronger sense of ownership towards it, and any changes are maybe viewed as a challenge to that sense of ownership.
I think a new "Ultra-Nightmare" mode incorporating this kind of change would be good though, and maybe would have been the right thing to do for the changes they made to the existing Nightmare mode as well.
Speaking Of Fullbrights
#117 posted by gila on 2021/08/25 13:06:11
Check out those red fullbright pixels on the Red Armor!
DOPA For Other Ports
I made a quick patch to get the new DOPA release playable in other ports. Get this file (54 KB) and follow the instructions in the readme. I already tested it in Quakespasm-Spiked. All maps work, the only thing you won't get is the "Congratulations" screen at the end of the episode - but in return, you won't get any crashes (if you follow the readme instructions properly).
@NightFright Re Vertex Wobble
#119 posted by stoo on 2021/08/25 16:16:58
Sorry, you're right. I didn't even look at the date on the release.
Grabbed the latest from the repo and took a short vid. The vertex wobble definitely isn't as bad as the older ogre model, but it's still noticeable.
https://youtu.be/QL9MP7TRbbo
As mh said, probably not much you can do about this in MDL format.
Gila
#120 posted by erc on 2021/08/25 16:34:18
They're pretty much all over the ring too.
Considering these are mostly untouched MD5 to MDL conversions, results are still quite good and well within acceptable limits for gameplay purposes. For some reason, view weapons won't convert that well though, at least in some cases.
#122 posted by Joel B on 2021/08/25 17:57:21
> I know it's naive, but I was really hoping that the remastered project materially was derived from the vanilla engine to preserve maximum compatibility.
FWIW a developer has said that it is still the original C code when it comes to the game-logic loop. The "Kex framework" is their term for the adapter/shim code they wedge in all around that to interact with modern systems (for rendering, neworking, etc.).
@Joel B
#123 posted by metlslime on 2021/08/25 18:29:56
Thanks for confirming that. I kind of assumed that was the case because someone said they were getting a hunc_alloc error.... which should not even exist if the engine was not largely still quake under the hood.
I still suspect at least some of these "remastered" models were ripped from the community, especially the ones made by capnbubs (Rottweiler, Grunt, Player, unreleased Ogre).
As for the sounds... I somewhat doubt they found all the sound sources all of a sudden in higher quality. Many of these are just upmixed with filters.
I mean, it's still great it has been done and all that. But... maybe less effort went into it than it looks at first. Just check the state of the SoA and DoE mission packs. Those were left mostly untouched compared to the rest.
#125 posted by Joel B on 2021/08/25 20:24:36
Eh, these are the kinds of things you can directly talk to these guys about in various places (mainly id dev "sponge" on Quake-related discords and the SA forums, and some Kex devs on SA-related discords and forums).
id did have higher-quality versions of most of the sounds in their archives, which were used here. IIRC only 22 kHz though, so they're still being upped to 44 kHz. And for a few sounds no higher-quality version was found.
The person who made the models has been credited as Jonatan Pöljö (@eldrone on twitter).
I dunno that we need to immediately get all cynical about the exact amount of "lazy devs" stuff involved here. :-)
|