The Still New What Did You Last Do Thread

If it's not ZDoom, it goes here.

Re: The Still New What Did You Last Do Thread

Postby leileilol » Mon Jul 12, 2021 1:12 pm

UT's skeletal animation was a late bonus pack addition IIRC. It's also put in there for the PS2 version to save loads on the memory since vertex morphs are bloaty
User avatar
leileilol
フォニュエール!!!!!!!!!!
 
Joined: 30 May 2004
Location: GNU/Hell

Re: The Still New What Did You Last Do Thread

Postby Marisa Kirisame » Tue Jul 13, 2021 1:06 am

dpJudas wrote:About Unreal's model format, I assume that's the same format as the UT99 one, except for some very minor changes to the format. One thing I found interesting was that the model format in the package files don't really seem to have much in common with the model format Marisa used for her Doom UT mod. I had hoped I could just have used her loader code as "documentation" for it, but that approach didn't work. :)


Yeah, because that's the "compiled" model once it's imported into packages. With precomputed bounding boxes and spheres, animation sequences, textures, scaling, offset, rotation, etc.
User avatar
Marisa Kirisame
ZScript Crimester
 
 
 
Joined: 08 Feb 2008
Location: Vigo, Galicia
Discord: 霧雨魔理沙#1666
Twitch ID: MarisaDOOM
Github ID: OrdinaryMagician
Operating System: Other Linux 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: The Still New What Did You Last Do Thread

Postby Captain J » Wed Jul 14, 2021 12:57 pm


Cacoooooomerang
User avatar
Captain J
That's Amoreee
 
 
 
Joined: 02 Oct 2012
Location: A Year old Pizza Box
Discord: DiscussJ#3128

Re: The Still New What Did You Last Do Thread

Postby Kinsie » Wed Jul 14, 2021 11:12 pm

leileilol wrote:UT's skeletal animation was a late bonus pack addition IIRC. It's also put in there for the PS2 version to save loads on the memory since vertex morphs are bloaty
Yeah, it was implemented in Bonus Pack 4 with the accompanying Xan Mk2 and Warboss player models. I think there was also a third-party mod to implement it separate from the Bonus Pack for whatever reason?

I do wish that there was more reversing of the PS2 formats out there, it'd nice to play through Deus Ex with some of the extra motion-captured animations from the PS2 version.
User avatar
Kinsie
Dog Days
 
Joined: 22 Oct 2004
Location: MAP33
Discord: Find Me...
Twitch ID: thekinsie

Re: The Still New What Did You Last Do Thread

Postby dpJudas » Tue Jul 20, 2021 7:17 am

Trying to get UT to render the preferences dialog has forced me down a rabbit hole. The preferences assumes that the player pawns are fully booted. This in turn meant I had to boot all the level actors and implement the Actor.spawn function. Many many hours later here I am with the map loaded, a pawn spawned (that guy without a texture) and unrealscript now rendering the HUD.



Unfortunately I still can't enter the preferences dialog. Some parent reference is still null. :cry: Overall I'm pretty happy about the entire thing NOT exploding from ticking all the level actors. :D
dpJudas
 
 
 
Joined: 28 May 2016

Re: The Still New What Did You Last Do Thread

Postby Rachael » Tue Jul 20, 2021 7:51 am

Wow ... that is pretty fricking sweet :)
User avatar
Rachael
Admin
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: The Still New What Did You Last Do Thread

Postby Gez » Tue Jul 20, 2021 9:38 am

Captain J wrote:Cacoooooomerang

That caco needs to learn about TOOM.
Gez
 
 
 
Joined: 06 Jul 2007

Re: The Still New What Did You Last Do Thread

Postby dpJudas » Thu Jul 22, 2021 8:35 pm

Almost got all of the dialogs working now :)

dpJudas
 
 
 
Joined: 28 May 2016

Re: The Still New What Did You Last Do Thread

Postby Rachael » Thu Jul 22, 2021 9:39 pm

This is looking really nice! :)
User avatar
Rachael
Admin
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: The Still New What Did You Last Do Thread

Postby dpJudas » Thu Jul 22, 2021 9:57 pm

I do wonder how far I am from having an actual game working at this point. Seems there are almost no bugs left in the VM itself. If I implement enough of the native functions will the game play? :D
dpJudas
 
 
 
Joined: 28 May 2016

Re: The Still New What Did You Last Do Thread

Postby Rachael » Fri Jul 23, 2021 1:39 am

You're such a tease. :)
User avatar
Rachael
Admin
 
Joined: 13 Jan 2004
Discord: Rachael#3767
Twitch ID: madamerachelle
Github ID: madame-rachelle
Operating System: Windows 10/8.1/8/201x 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: The Still New What Did You Last Do Thread

Postby Marisa Kirisame » Fri Jul 23, 2021 11:54 am

Oh, my excitement cannot be contained.
User avatar
Marisa Kirisame
ZScript Crimester
 
 
 
Joined: 08 Feb 2008
Location: Vigo, Galicia
Discord: 霧雨魔理沙#1666
Twitch ID: MarisaDOOM
Github ID: OrdinaryMagician
Operating System: Other Linux 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: nVidia with Vulkan support

Re: The Still New What Did You Last Do Thread

Postby KynikossDragonn » Fri Jul 23, 2021 11:58 am

It would be funny if you had something that was conformed around 224, compatible to 225 and then I'd just have a Unreal 1 client that is more robust and runs natively under Linux since Wine as of late has this really annoying regression where "WaitForCriticalSection" just hangs forever and it doesn't seem to just, forcefully wake up from whatever.

But hey I'd settle for something that let's me use UnrealScript so I can actually make my own standalone game finally.
User avatar
KynikossDragonn
『霧雨魔理沙のペットドラゴン』
 
Joined: 12 Dec 2020
Location: Independence, KS, USA
Twitch ID: kynikossdragonn
Github ID: KynikossDragonn
Operating System: Other Linux 64-bit
OS Test Version: No (Using Stable Public Version)
Graphics Processor: Intel (Modern GZDoom)

Re: The Still New What Did You Last Do Thread

Postby leileilol » Fri Jul 23, 2021 2:00 pm

I hope it also changes the game speed depending on my CPU's dynamic clock rate!!!

My big hopes to see out of this, if it's far enough, is either running it natively on ARM (the Pi's can absolutely not run any Unreal Engine anything), or there's an odd gratuitous DOS port of it (with a software renderer) like there had been for the recent iphonandroid Sonic implementation reimplementation.

By the way, if there is a software renderer, there's an old kernel filter technique bit on flipcode some 21 years ago contributed by some tim dude. Engoo uses a loose derivative of this by Fabien Sanglard.

Another confusing thing about UnrealEngine1 is that the brightness adjustment's never consistent between renderers. This is how I understood it IIRC:

Softdrv: Increase intensity of lighting lookup
GlideDrv: Use 3dfx's gamma correction functions
D3DDrv: More combine, similar to softdrv
OpenGLDrv: Adjust lightmap, but scale and have a clamp because it's blended subtractively (Quake2-ish)
SGLDrv: nothing

and then there's the confusing matter about overbrights
SoftDrv: yes
GlideDrv: No if multitexture, yes if not/og glidedrv (lightmap blended as src_color/dst_color)
D3DDrv: No
OpenGLDrv: No

Then there's arguments about the "true rendering" regarding GlideDrv whether it's correct or not (usually sky lightmap combine arguments), since even between different Voodoo hardware and Unreal versions, it's not the same, and that's affected rendering inspiration for Kentie's drivers and Donhal's drivers. I personally prefer the original Unreal release regarding this matter, as it's got GlideDrv with overbrights looking similar to the software driver, working subdivided "smooth" models, an unclamped lightmap, etc. Also for the sky arguments, the skies were among the last things done for Unreal's original maps, so errors in their construction may be another matter.
Last edited by leileilol on Fri Jul 23, 2021 2:38 pm, edited 1 time in total.
User avatar
leileilol
フォニュエール!!!!!!!!!!
 
Joined: 30 May 2004
Location: GNU/Hell

Re: The Still New What Did You Last Do Thread

Postby dpJudas » Fri Jul 23, 2021 2:36 pm

Theoretically it should run on ARM, or DOS if you can find a C++17 compiler for that. It probably would require someone investing some time into reducing the CPU and memory requirements though. Unlike the original engine, I haven't made any efforts for speed or memory. Right now I just want it to run the game at any frame rate. :)

About Unreal 1, I'm not entirely sure how compatible UT is with that. My understanding of it is that they're pretty alike with only a few "if package version < XX" statements required to read the data. And then I imagine that the static mesh class (base class of LOD and skeleton meshes) actually is used there.

One of the biggest differences between my implementation and the original engine is that all the script objects aren't sharing variables/memory layout with their C++ counterparts in my version. If you look closely at classes like Actor.uc you'll notice that one of the class variables is a placeholder for the 'vtbl' part of a C++ class, and that this naturally produces a problem once you go 64 bit as the size of that thing is no longer 32 bit, but it is still an 'int' in the scripts. None of those problems are present in my version. I could imagine that this also makes it easier to support Unreal 1 and UT in the same code base if they added new C++ members to the classes between the two.
dpJudas
 
 
 
Joined: 28 May 2016

PreviousNext

Return to Off-Topic

Who is online

Users browsing this forum: No registered users and 1 guest