Join also our Discord channel! Click here.

Telltale Games "Almost-All-In-One" Model Importer

Post questions about game models here, or help out others!
daniar23337
ultra-n00b
Posts: 6
Joined: Fri Jul 31, 2020 2:38 am
Been thanked: 1 time

Re: Telltale Games "Almost-All-In-One" Model Importer

Post by daniar23337 » Sat Aug 01, 2020 8:54 pm

Tydeus wrote:
Sat Aug 01, 2020 4:01 am
daniar23337 wrote:
Sat Aug 01, 2020 1:51 am
https://youtu.be/y5QMDZsYy94
nothing is happening
I'm curious, does the same thing happen when you try loading a model that has an skl file?

I'm not sure if it's a thing at all but maybe the script needs to be inside the 3ds max script folder?
if i port with a bone, everything works

daniar23337
ultra-n00b
Posts: 6
Joined: Fri Jul 31, 2020 2:38 am
Been thanked: 1 time

Re: Telltale Games "Almost-All-In-One" Model Importer

Post by daniar23337 » Sat Aug 01, 2020 9:15 pm

Tydeus wrote:
Sat Aug 01, 2020 4:01 am
daniar23337 wrote:
Sat Aug 01, 2020 1:51 am
https://youtu.be/y5QMDZsYy94
nothing is happening
I'm curious, does the same thing happen when you try loading a model that has an skl file?

I'm not sure if it's a thing at all but maybe the script needs to be inside the 3ds max script folder?
please note if i port characters that have bones,but do not select the sql file,then they are ported

RandomTBush
ultra-veteran
ultra-veteran
Posts: 329
Joined: Thu May 13, 2010 4:11 pm
Has thanked: 45 times
Been thanked: 272 times

Re: Telltale Games "Almost-All-In-One" Model Importer

Post by RandomTBush » Sun Aug 02, 2020 3:12 am

^ Okay, I think I have an idea as to what may be causing that, and I'll look into fixing it with the upcoming update.

----------

Anyway, I've added close to five thousand more bone names to the script, bringing the grand total to 17,571. And in the process I've got the first game with no missing bone hashes now! Where'd they come from? Well, there is one set of games that I haven't added support for yet. Here's the remaining counts for those:

Code: Select all

CSI: Deadly Intent: NONE MISSING!
CSI: Fatal Conspiracy: NONE MISSING!
Poker Night at the Inventory: 31 / 0
Sam & Max: The Devil's Playhouse: 167 / 71
Tales of Monkey Island: 53 / 177
Wallace & Gromit's Grand Adventures: 1/ 12
Now whether I'll be able to finally add importing support for those is another thing entirely...

(EDIT: And now I've gotten the last two for the other CSI game and another 200. Yay.)
(EDIT 2: I am an actual idiot and didn't realize Wallace & Gromit's bone names were in plaintext in the D3DMesh files. So yeah, there's a bunch right there that I added just from those, and the totals above updated.)
Last edited by RandomTBush on Mon Aug 03, 2020 11:05 am, edited 3 times in total.

RandomTBush
ultra-veteran
ultra-veteran
Posts: 329
Joined: Thu May 13, 2010 4:11 pm
Has thanked: 45 times
Been thanked: 272 times

Re: Telltale Games "Almost-All-In-One" Model Importer

Post by RandomTBush » Mon Aug 03, 2020 12:16 am

daniar23337 wrote:
Sat Aug 01, 2020 1:51 am
https://youtu.be/y5QMDZsYy94
nothing is happening
Just wanted to say that I found the source of this issue now, and it wasn't quite what I was expecting. The fix for this will be in the next update, but if you want to get 'em working ahead of time, do a search for:

Code: Select all

if VerNum == 49 do (VerNum = 0)
and change that to:

Code: Select all

if (VerNum == 48) or (VerNum == 49) do (VerNum = 0)
Turns out it was something I broke when I was adjusting auto-detection for "Version 0" models earlier -- I had the script check for "Version 49" models since that's the byte used in the headers for those where the version number would be in later revisions... but models without rigging (like the one in your video) use "48" for that instead, and it triggered the "Unknown version" catch which explains why they weren't importing. I've added a check for that (since it's safe to say "Version 48" was never used for any other games), it seems they're all working as intended now, with and without bones.

daniar23337
ultra-n00b
Posts: 6
Joined: Fri Jul 31, 2020 2:38 am
Been thanked: 1 time

Re: Telltale Games "Almost-All-In-One" Model Importer

Post by daniar23337 » Mon Aug 03, 2020 7:23 am

Thank you very much!:D https://imgur.com/a/pdnUh0l

daniar23337
ultra-n00b
Posts: 6
Joined: Fri Jul 31, 2020 2:38 am
Been thanked: 1 time

Re: Telltale Games "Almost-All-In-One" Model Importer

Post by daniar23337 » Thu Aug 06, 2020 11:20 am

There is another problem:
There is a png texture next to the d3dmesh model,but it is not displayed in 3ds max
https://youtu.be/6X_eQP0ZsGY

p. s Everything works fine on other models

UPD:Solved,im stupid

Post Reply