Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Dead Rising 4 model import maxscript (.mdl .tex)

Post questions about game models here, or help out others!
User avatar
zaramot
double-veteran
double-veteran
Posts: 783
Joined: Wed Jan 05, 2011 12:41 pm
Has thanked: 39 times
Been thanked: 855 times

Dead Rising 4 model import maxscript (.mdl .tex)

Post by zaramot »

Hi guys! Here's maxscript for Dead Rising 4 (PC 2017) 3ds max 2009-2014. Script is for rigged (skinned) meshes, haven't tried static ones because wasn't interested, but maybe will make/update script for them too. Script is quite slow, because of amount of bones and meshes, LODs. Prepare for some wating xD

Image
Last edited by zaramot on Sat Nov 11, 2017 6:00 pm, edited 1 time in total.
Making model-import scripts, PM
DJLarryt
n00b
Posts: 11
Joined: Sun Oct 19, 2014 5:15 am
Location: Ontario, Canada
Has thanked: 5 times

Re: Dead Rising 4 model import maxscript (.mdl .tex)

Post by DJLarryt »

WOW, I was beginning to think modders had abandoned this game, there's so much room for cool adjustments if somebody could figure out how to apply mods.

Script crashes when trying to extract Frank, it only works on the in-game npc models. Any plans to continue working on this as a model export/import?

---fseek f (bigInfo[(findItem names "SharedZPassSecondCommandBuffer")][3]) #seek_set

"--runtime error: array index must be positive number, got: 0"

This was on 3DSMax 2016. My guess is that Frank has a different skeleton since he's the 1st-person character (was same setup in DR3).
Last edited by DJLarryt on Sat Nov 11, 2017 5:22 pm, edited 1 time in total.
User avatar
zaramot
double-veteran
double-veteran
Posts: 783
Joined: Wed Jan 05, 2011 12:41 pm
Has thanked: 39 times
Been thanked: 855 times

Re: Dead Rising 4 model import maxscript (.mdl .tex)

Post by zaramot »

Import yes, export no [roll] What is the name of the file which is crashing? I have an update for this script already. But might check this problematic model with it first, before publishing it
Making model-import scripts, PM
DJLarryt
n00b
Posts: 11
Joined: Sun Oct 19, 2014 5:15 am
Location: Ontario, Canada
Has thanked: 5 times

Re: Dead Rising 4 model import maxscript (.mdl .tex)

Post by DJLarryt »

I added a few more details above, the file I tried importing was Frank's default head: head_frank_m0.mdl
User avatar
zaramot
double-veteran
double-veteran
Posts: 783
Joined: Wed Jan 05, 2011 12:41 pm
Has thanked: 39 times
Been thanked: 855 times

Re: Dead Rising 4 model import maxscript (.mdl .tex)

Post by zaramot »

Strange, I dont' have this file. Could you send it too me? Via PM
Making model-import scripts, PM
DJLarryt
n00b
Posts: 11
Joined: Sun Oct 19, 2014 5:15 am
Location: Ontario, Canada
Has thanked: 5 times

Re: Dead Rising 4 model import maxscript (.mdl .tex)

Post by DJLarryt »

Check pm. I've never been able to figure out DR3 or DR4 based on their principle of model rendering, but I pwned DR2:OTR inside and out and CC uses many of the same techniques in it, with some adjustments. Would be great to be able to mod DR4 as it was a total half-assed rushed product and there's lots of room for 'fixes'.
User avatar
zaramot
double-veteran
double-veteran
Posts: 783
Joined: Wed Jan 05, 2011 12:41 pm
Has thanked: 39 times
Been thanked: 855 times

Re: Dead Rising 4 model import maxscript (.mdl .tex)

Post by zaramot »

Thank you for the files, my updated script thankfully work with those files.

Image
Making model-import scripts, PM
DJLarryt
n00b
Posts: 11
Joined: Sun Oct 19, 2014 5:15 am
Location: Ontario, Canada
Has thanked: 5 times

Re: Dead Rising 4 model import maxscript (.mdl .tex)

Post by DJLarryt »

Great! let me know when you release the new script.

If I can help figure something out in any way just drop me a line. As I said, ultimate goal would be to re-inject models back into this game and I know it's possible based on how the previous games worked (and RE6 uses the same engine and it had already been modded). The only hurdles would be encryption and bucket variables.
User avatar
zaramot
double-veteran
double-veteran
Posts: 783
Joined: Wed Jan 05, 2011 12:41 pm
Has thanked: 39 times
Been thanked: 855 times

Re: Dead Rising 4 model import maxscript (.mdl .tex)

Post by zaramot »

Of course export thing is possible, not sure who's gonna take this task. But definately it should be a DR fan of some sort :)
Making model-import scripts, PM
DJLarryt
n00b
Posts: 11
Joined: Sun Oct 19, 2014 5:15 am
Location: Ontario, Canada
Has thanked: 5 times

Re: Dead Rising 4 model import maxscript (.mdl .tex)

Post by DJLarryt »

Great- can you post your new script?
User avatar
zaramot
double-veteran
double-veteran
Posts: 783
Joined: Wed Jan 05, 2011 12:41 pm
Has thanked: 39 times
Been thanked: 855 times

Re: Dead Rising 4 model import maxscript (.mdl .tex)

Post by zaramot »

Sure, here's the script.

EDIT: Try this one. Should be stable with your max

EDIT: Update
You do not have the required permissions to view the files attached to this post.
Last edited by zaramot on Mon Nov 20, 2017 2:36 pm, edited 2 times in total.
Making model-import scripts, PM
DJLarryt
n00b
Posts: 11
Joined: Sun Oct 19, 2014 5:15 am
Location: Ontario, Canada
Has thanked: 5 times

Re: Dead Rising 4 model import maxscript (.mdl .tex)

Post by DJLarryt »

Thanks zaramot!

Hmm, I'm still getting errors when importing. I'm using 3dsMax 2016 and trying to open head_frank_m0.mdl.

The error is --Unknown property: "count" in undefined

If I try to run the script again I see this error:

-- Unable to convert: [0.843196,-0.0152287,0] to type: String

Essentially it locks Max up and I re-open it. But anything else I try importing gives me the "count" undefined error again.
User avatar
Crazy31139
veteran
Posts: 121
Joined: Fri Dec 02, 2016 5:53 pm
Has thanked: 324 times
Been thanked: 63 times
Contact:

Re: Dead Rising 4 model import maxscript (.mdl .tex)

Post by Crazy31139 »

Script work perfect
Phanx
How convert .Tex to any format
User avatar
zaramot
double-veteran
double-veteran
Posts: 783
Joined: Wed Jan 05, 2011 12:41 pm
Has thanked: 39 times
Been thanked: 855 times

Re: Dead Rising 4 model import maxscript (.mdl .tex)

Post by zaramot »

Yeah, here's tool for textures
You do not have the required permissions to view the files attached to this post.
Making model-import scripts, PM
User avatar
Crazy31139
veteran
Posts: 121
Joined: Fri Dec 02, 2016 5:53 pm
Has thanked: 324 times
Been thanked: 63 times
Contact:

Re: Dead Rising 4 model import maxscript (.mdl .tex)

Post by Crazy31139 »

Zaramot phanx
your script .tex work perfect

Dead_Rising 4 UPD sometimes when importing produces an error then you choose Scripting-Run Script
i choose Scripting-Open Script in window script choose Tools-Evaulate All
head_frank_m0.mdl imported without problems

Sorry for bad English i am Russian use Google Translate

Zaramot thanks again.
Post Reply