The Duke Nukem Forever demo is out. I can't even convey how surreal it is to me to be typing those words. But anyway, I've been poking around the demo for the last couple of days, and a new version of Noesis is up now that supports extracting 5 different variants of its included .dat packages.
The picture is of the world's first (well, probably) right and proper DNF content mod, with Duke sporting his brand new Takei Pride tanktop. Noesis spits out all of the info you need to re-inject textures while it's extracting them, and I've already got a fully functional repacker that I intend to release sometime relatively soon. I've also finished hammering out the model format now, and Noesis v3.27 and later can view/export them.
The process of exporting the models is pretty simple, but requires a few steps. Here's a step by step of what you need to do.
1) Using Noesis, extract the contents SkinMshes/defs.dat, SkinMeshes/meshes.dat, and SkinMeshes/skels.def. By default, Noesis will want to extract these to separate folders. You don't want this, and instead you want to extract them all to a single folder. (e.g. "c:\steam\steamapps\common\duke nukem forever demo\SkinMeshes\allfiles")
2) Browse to the .msh of your choice in Noesis and open it.
3) If .skl or .def files cannot be found automatically you will be prompted for them. Additionally, Noesis will attempt to find MegaPackage.dat and TextureDirectory.dat relative to the path of the .msh file. If it cannot, you will be prompted for those files as well.
4) Export and enjoy. Note that materials are still a work in progress, and it can't automatically find the right materials in most cases. But certain models are working. (like Duke and one of the Holsom twins)
I've got model re-import/modification working, but the material situation limits it pretty severely. In the coming days/weeks, I'll be continuing to reverse that data and trying to figure out a reasonable process for replacing/overriding assets that doesn't involve rebuilding all of the game's packages.
Update: I've successfully exported a model to COLLADA, modified it (re-weighted, added and modified geometry, modified the texture), re-exported it to .msh using my in-progress Noesis exporter, and got it to load in the demo. Have a look:
June 24, 2011 at 8:03 pm (CST)
I got a reply on my last e-mail yesterday, actually. They're still being pretty good about communicating with me and will hopefully be cooperating with me on getting a better mod-loading solution up and running as well. Things are just rather slow-going on the back and forth, which is understandable. For now, I have more drinking and Contra waiting for me.
IP: 184.98.4.60
AesPir
June 24, 2011 at 7:05 pm (CST)
Hoping no news from Gearbox is good news, lol.
IP: 190.195.25.113
DavoX
June 21, 2011 at 2:05 pm (CST)
Hopefully you'll be able to work things out for the MOD tools in DNF!! I will support you to the end! This is coming from a professional level designer!
IP: 79.116.118.250
Gordon
June 21, 2011 at 4:00 am (CST)
Well i just copied the client.dll folder from Jumbot\cl_dlls\client.dll(this is from the v2.4) in the Jumbot 2.0 folder.
Jumbot 2.4 didn't work.It gave me an error saying something about how the w_suit.mdl had the wrong version.It said it was 0 and it should have been 30,or something like that.
I got Jumbot v2.4 from here:
http://www.telefragged.com/thefatal/old/jumblow.shtml
I thought that was your site.
Thanks again.
IP: 68.0.165.94
Rich Whitehouse
June 20, 2011 at 2:27 am (CST)
I have no plans to forsake DNF. Like I said before, I plan to give Gearbox a few days into the week to reply to my last batch of questions/comments before I continue trudging through on my own.
IP: 111.94.21.155
jaden
June 20, 2011 at 1:22 am (CST)
Wow wow wow,awesome work senor casaroja,fantastic
Oh yeah senor if you have time can you please add shadow heart 2 covenant .pack file support too, cause i think its similiar format like shadow heart 1
Thanks a lot bro
IP: 188.26.57.92
3dwizard
June 20, 2011 at 1:21 am (CST)
I hope you don't quit the DNF thing Rich! Apparently you are the only one skilled enough and interested enough to make DNF modding possible.
If you quit, all is lost.
IP: 68.0.165.94
Rich Whitehouse
June 19, 2011 at 2:13 pm (CST)
An older client.dll made the zoom work again? Maybe you pulled it from a distribution someone else had already patched. Weird. I'm not sure why I even included a client.dll in the Jumbot, I'm pretty sure I never modified it for anything.
Federico: Not that I know of, though I still haven't gotten around to thoroughly investigating the disassembly pertaining to DNF's archives and file system. My efforts have been split over a wide variety of things over the last couple of days, including the QExpo 2011 project I just released.
IP: 79.116.118.213
Gordon
June 19, 2011 at 12:39 am (CST)
Nevermind my last question.I found the client.dll in jumbot v2.4,which unfortunately didn't work,so i just copied the client.dll in jumbot v2.0 and it works.I can now use the scope on the 357 and the crossbow scope.
Greetings from Romania.
IP: 79.48.150.181
Federico
June 19, 2011 at 7:21 am (CST)
well.. about the audio files.. is there any folder in the game where they could be read instead of packing it in a .dat file?
thanks
Site design and contents (c) 2009 Rich Whitehouse. Except those contents which happen to be images or screenshots containing shit that is (c) someone/something else entirely. That shit isn't really mine. Fair use though! FAIR USE!
All works on this web site are the result of my own personal efforts, and are not in any way supported by any given company.
You alone are responsible for any damages which you may incur as a result of this web site or files related to this web site.