if i port with a bone, everything works
Important information: this site is currently scheduled to go offline indefinitely by end of the year.
Telltale Games "Almost-All-In-One" Model Importer
-
- n00b
- Posts: 10
- Joined: Fri Jul 31, 2020 2:38 am
- Been thanked: 2 times
-
- n00b
- Posts: 10
- Joined: Fri Jul 31, 2020 2:38 am
- Been thanked: 2 times
Re: Telltale Games "Almost-All-In-One" Model Importer
please note if i port characters that have bones,but do not select the sql file,then they are ported
-
- ultra-veteran
- Posts: 355
- Joined: Thu May 13, 2010 4:11 pm
- Has thanked: 56 times
- Been thanked: 294 times
Re: Telltale Games "Almost-All-In-One" Model Importer
^ 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:
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.)
----------
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
(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.
-
- ultra-veteran
- Posts: 355
- Joined: Thu May 13, 2010 4:11 pm
- Has thanked: 56 times
- Been thanked: 294 times
Re: Telltale Games "Almost-All-In-One" Model Importer
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)
Code: Select all
if (VerNum == 48) or (VerNum == 49) do (VerNum = 0)
-
- n00b
- Posts: 10
- Joined: Fri Jul 31, 2020 2:38 am
- Been thanked: 2 times
Re: Telltale Games "Almost-All-In-One" Model Importer
Thank you very much!:D https://imgur.com/a/pdnUh0l
-
- n00b
- Posts: 10
- Joined: Fri Jul 31, 2020 2:38 am
- Been thanked: 2 times
Re: Telltale Games "Almost-All-In-One" Model Importer
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
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
-
- veteran
- Posts: 96
- Joined: Sun Aug 30, 2015 12:34 pm
- Has thanked: 14 times
- Been thanked: 13 times
Re: Telltale Games "Almost-All-In-One" Model Importer
I dont suppose there's any plans on a blender plugin is there? Does blender even do plugins?
Not that I need one, it's just incase 3ds max decides to bugger up.
Not that I need one, it's just incase 3ds max decides to bugger up.
-
- ultra-veteran
- Posts: 355
- Joined: Thu May 13, 2010 4:11 pm
- Has thanked: 56 times
- Been thanked: 294 times
Re: Telltale Games "Almost-All-In-One" Model Importer
This only took me an eternity ("an eternity" being roughly three months in duration):
https://mega.nz/file/GoxUjDIK#eRNDzrWm8 ... Lh0LcK1do0
Or tl;dr for the important stuff: Added support for SBCG4AP Episodes 2-5, Wallace & Gromit Episodes 1-3 (the last of the "Version 0" games, in other words) and The Walking Dead: The Telltale Definitive Series, plus Poker Night 2 now fully works and I optimized the crap out of things in general. Plus bugfixes, bugfixes, bugfixes, and did I mention bugfixes? But enough talk, enjoy!Changelog wrote:
- Added support for Strong Bad's Cool Game for Attractive People Episodes 2-5, and Wallace & Gromit's Grand Adventures Episodes 1-3. "Version 1" games are still unsupported though...
- Added support for The Walking Dead: The Telltale Definitive Series models. Can you believe that the only reason they weren't working was because I had the script check the wrong mesh flags for The Final Season's importer? Go figure.
- Script was tidied up a lot, shaving off about 100KB of redundant coding which is redundant (mainly due to the change below).
- Models and materials are now grouped together and import as a single mesh group and Multi-Material respectively, greatly improving importing times.
- Added over 10,000 new bone names to the hash database, and as a result most characters are no longer missing any bone names!
- Added the texture names from Batman: Shadows Edition (both Season 1 and 2) and The Walking Dead: The Telltale Definitive Series to the hash database, along with a couple dozen missing (unused?) names.
- Rearranged the texture hashes list so that "color_" names (specifically "color_000", used for "null" entries) are read first and lightmaps last, which speeds up texture-to-hash pairing significantly.
- Textures used for material sets are now properly paired and print to the Listener window by default, and diffuse colors are automatically applied to the materials for earlier games (namely TWD Season 1).
- Rewrote the way "Version 0" vertex buffers are read, now additional UV layers (mainly used for bake maps) will import instead of being skipped.
- Fixed unrigged "Version 0" game models not importing due to a mistake in the script with automatic version-detection (Thanks, daniar23337!).
- Fixed an issue where zero-length texture names (".d3dtx", seen in obj_c3nursebeds and obj_c5contractorpokertable in CSI 3) caused the script to get confused and error.
- Fixed obj_chairLoungeB and sk80_pomPom having broken rigging in SBCG4AP Ep. 1 due to an issue with bone hash case-sensitivity ("pompom" != "pomPom").
- Re-fixed models with single-bind rigging from The Walking Dead Season 1, which was accidentally broken since the May 11th, 2019 update.
- Fixed "Version 12" models with ".PROP" information in their headers, now every model from Poker Night 2 is functional and imports without issues (60 were previously broken).
- Fixed models with an invalid material ID not importing (i.e. "adv_previouslyOn204_hardwareStoreExteriorRearFoliageBrushA" from TWD Season 2).
- Fixed a mistake with bone auto-detection for "Version 17" models (Game of Thrones's horse and most "skB0" models from Tales from the Borderlands).
- Technically added support for "Version 38" models (TWD Season 3's "EOS" / "UpdatedMeshes" archives), which are practically identical to the "Version 37" format. Support is support, though.
- Invalid / missing materials will now be listed as "undefined" so the script doesn't error (e.g. Minecraft Story Mode: Season 2 character models).
- Fixed an oversight with "Version 45" models (Batman: The Enemy Within) with no UV mapping channels (e.g. various "fx_" models) which caused the script to crash.
https://mega.nz/file/GoxUjDIK#eRNDzrWm8 ... Lh0LcK1do0
Last edited by RandomTBush on Thu Dec 24, 2020 11:35 am, edited 6 times in total.
-
- n00b
- Posts: 15
- Joined: Wed Jun 24, 2020 4:49 pm
- Has thanked: 3 times
- Been thanked: 4 times
Re: Telltale Games "Almost-All-In-One" Model Importer
Hey, lovely job with the new update! I was sure it was dead but I geuss your still kicking
I extracted and tried importing the menu map from the definitive edition and the UV maps are correct now! So nice to see that it works flawlessly. While preparing the map I noticed that there are still some several unknown hashes with this mesh. So during the process in which I relinked the textures back, I managed to match most of them with their respective ones. Here is the list of the texture hashes tied with the textures that I could match it with.
34d0e3a6 - env_branchAtlasA
80c071ab - obj_chairPlasticA
43d42360 - obj_sunshadeClemHouse
5287b73a - tile_trimWoodClemHouse404
71ec0e86 - env_clementineHouseInterior400TableChair_atlas
34f27f88 - env_clementineHouseInterior400MicrowaveSink_atlas
f491b2a0 - env_clementineHouseInterior400DoorAppliances_atlas
527fa55f - env_clementineHouseInterior400Furniture_atlas
13a1b3d0 - env_clementineHouseInterior400RugPlant_atlas
b944e4a9 - tile_clementineHouseInterior400KitchenTile
27ce3274 - tile_clementineHouseInterior400WallpaperStriped
e3606a53 - tile_clementineHouseInterior400KitchenWall
52318c25 - tile_clementineHouseInterior400KitchenFloor
49d8bc12 - env_clementineHouseInterior400PhotoFlower_atlas
44200b0d - env_clementineHouseInterior400CabinetArt_atlas
5287b73a - tile_trimWoodClemHouse404
97ba72d7 - tile_poolWallHorizontalBClemHouse
e21dc545 - env_treeLineA
634dad2c - tile_wallExteriorAClemHouse
434bd21a - tile_roadDamagedClemHouse
40f63afb - env_clementineHouseInterior400StairCounter_atlas
bfbe6ef- tile_poolWallHorizontalClemHouse
not 100% certain, but textures seem to match
d9e59a11 - tile_glassTruckForestShackA
33f1d874 - tile_concreteBrokenAClemHouse
c0d40cb3 - tile_groundGrassDeadC
8e7a796b - tile_trimMetalForestShackA
a167ba1 - tile_concreteBrokenCClemHouse
83bb32b - tile_groundGrassDeadA
I extracted and tried importing the menu map from the definitive edition and the UV maps are correct now! So nice to see that it works flawlessly. While preparing the map I noticed that there are still some several unknown hashes with this mesh. So during the process in which I relinked the textures back, I managed to match most of them with their respective ones. Here is the list of the texture hashes tied with the textures that I could match it with.
34d0e3a6 - env_branchAtlasA
80c071ab - obj_chairPlasticA
43d42360 - obj_sunshadeClemHouse
5287b73a - tile_trimWoodClemHouse404
71ec0e86 - env_clementineHouseInterior400TableChair_atlas
34f27f88 - env_clementineHouseInterior400MicrowaveSink_atlas
f491b2a0 - env_clementineHouseInterior400DoorAppliances_atlas
527fa55f - env_clementineHouseInterior400Furniture_atlas
13a1b3d0 - env_clementineHouseInterior400RugPlant_atlas
b944e4a9 - tile_clementineHouseInterior400KitchenTile
27ce3274 - tile_clementineHouseInterior400WallpaperStriped
e3606a53 - tile_clementineHouseInterior400KitchenWall
52318c25 - tile_clementineHouseInterior400KitchenFloor
49d8bc12 - env_clementineHouseInterior400PhotoFlower_atlas
44200b0d - env_clementineHouseInterior400CabinetArt_atlas
5287b73a - tile_trimWoodClemHouse404
97ba72d7 - tile_poolWallHorizontalBClemHouse
e21dc545 - env_treeLineA
634dad2c - tile_wallExteriorAClemHouse
434bd21a - tile_roadDamagedClemHouse
40f63afb - env_clementineHouseInterior400StairCounter_atlas
bfbe6ef- tile_poolWallHorizontalClemHouse
not 100% certain, but textures seem to match
d9e59a11 - tile_glassTruckForestShackA
33f1d874 - tile_concreteBrokenAClemHouse
c0d40cb3 - tile_groundGrassDeadC
8e7a796b - tile_trimMetalForestShackA
a167ba1 - tile_concreteBrokenCClemHouse
83bb32b - tile_groundGrassDeadA
-
- veteran
- Posts: 96
- Joined: Sun Aug 30, 2015 12:34 pm
- Has thanked: 14 times
- Been thanked: 13 times
Re: Telltale Games "Almost-All-In-One" Model Importer
I cant say I noticed any issues with the props from Poker Night 2, maybe some loaded without textures like the Jukebox but other than that I think I got everything out okay.RandomTBush wrote: ↑Sat Oct 17, 2020 6:04 am This only took me an eternity ("an eternity" being roughly three months in duration):
Changelog wrote:
- Fixed "Version 12" models with ".PROP" information in their headers, now every model from Poker Night 2 is functional and imports without issues (60 were previously broken).
You're awesome I bet you'll feel lost now that you've done everything lol.
-
- ultra-veteran
- Posts: 355
- Joined: Thu May 13, 2010 4:11 pm
- Has thanked: 56 times
- Been thanked: 294 times
Re: Telltale Games "Almost-All-In-One" Model Importer
D'oh! I think I know why. Were you manually assigning the texture hash database when you started up the script? I changed the name for the hash database a while back to "TexNames.HashDB" instead of being "vALLTex.HashDB" (a remnant from when I used to have those split on a per-version basis, which was a bad idea), and it turns out I forgot to update it for the manual lookup. Re-download the script and try it again, if it's reading the correct list then the Listener window should say the following:frostbone25 wrote: ↑Sat Oct 17, 2020 4:49 pmI extracted and tried importing the menu map from the definitive edition and the UV maps are correct now! So nice to see that it works flawlessly. While preparing the map I noticed that there are still some several unknown hashes with this mesh. So during the process in which I relinked the textures back, I managed to match most of them with their respective ones. Here is the list of the texture hashes tied with the textures that I could match it with.
*files*
Code: Select all
"Texture hash total: 151245"
I'm guessing you somehow didn't import any of the broken models, heh. Here's a list of all of the ones that crashed the script previously:
Code: Select all
fx_candleflame.d3dmesh
fx_fogground.d3dmesh
fx_lightbeamdust.d3dmesh
fx_lightshaftadd.d3dmesh
fx_overlayeyesblink.d3dmesh
obj_buttondealer.d3dmesh
obj_cardpoker.d3dmesh
obj_celebritypokerroomexterior.d3dmesh
obj_celebritypokerroomexteriorgrate.d3dmesh
obj_chairpokerheavy.d3dmesh
obj_chairpokermax.d3dmesh
obj_chairpokerstrongbad.d3dmesh
obj_chairpokertycho.d3dmesh
obj_elevatorinventory.d3dmesh
obj_elevatorinventory_doorleft.d3dmesh
obj_elevatorinventory_doorright.d3dmesh
obj_fanblades.d3dmesh
obj_glasspokermartini.d3dmesh
obj_painting.d3dmesh
obj_shovelpoopsmith.d3dmesh
obj_signinventory.d3dmesh
ui_logoblocker.d3dmesh
ui_logoblocker_alpha.d3dmesh
ui_menusettings_volumeiconhigh.d3dmesh
ui_menusettings_volumeiconlow.d3dmesh
ui_menusettings_volumescroll.d3dmesh
ui_menusettings_volumeticker.d3dmesh
ui_menu_arrow.d3dmesh
ui_menu_background.d3dmesh
ui_menu_buttonplaygame.d3dmesh
ui_menu_buttonsettings.d3dmesh
ui_menu_pane.d3dmesh
ui_menu_rule.d3dmesh
ui_menu_settings_resolution.d3dmesh
ui_menu_tab.d3dmesh
ui_menu_title.d3dmesh
ui_player_background.d3dmesh
ui_player_button.d3dmesh
ui_player_buttonhelp.d3dmesh
ui_player_buttonhelpfiller.d3dmesh
ui_player_buttonraiseminus.d3dmesh
ui_player_buttonraiseplus.d3dmesh
ui_player_sidepotbubble.d3dmesh
ui_player_sidepotbubble_border.d3dmesh
ui_player_sidepot_icon.d3dmesh
ui_player_sliderbutton.d3dmesh
ui_player_slider_background.d3dmesh
ui_puzzleindex_scrollarrow.d3dmesh
ui_puzzleindex_scrollbar.d3dmesh
ui_puzzle_button.d3dmesh
ui_puzzle_buttonarrow.d3dmesh
ui_statisticstempbg.d3dmesh
ui_status_activeplayer.d3dmesh
ui_status_activeplayer_border.d3dmesh
ui_status_background.d3dmesh
ui_status_backgroundcardhand.d3dmesh
ui_status_border.d3dmesh
ui_status_iconsuit.d3dmesh
ui_status_showdownhandcorner.d3dmesh
ui_status_showdownhandmiddle.d3dmesh
-
- n00b
- Posts: 15
- Joined: Wed Jun 24, 2020 4:49 pm
- Has thanked: 3 times
- Been thanked: 4 times
Re: Telltale Games "Almost-All-In-One" Model Importer
@RandomTBushD'oh! I think I know why. Were you manually assigning the texture hash database when you started up the script?
Yeah I had to select the texture file manually, I assumed you included the up to date file in your download? I didn't add anything to the HashDB file. I just simply exported the model after conversion from Max and was just assigning textures inside of Unity3d, and for the materials that just had a hash name I just went through the S4 texture 'dump' that I had and went through the textures until I found one that matched, there were only a few I think that I couldn't for certain say that the texture belonged. I put the list together and figured you would likely find it useful and you could add it to your HashDB if you don't already have them.
EDIT: Should have read more but just realized you put out a quick fix that alleviates that issue. So thanks for that!
The final result - https://www.reddit.com/r/TheWalkingDead ... one_model/
-
- ultra-veteran
- Posts: 355
- Joined: Thu May 13, 2010 4:11 pm
- Has thanked: 56 times
- Been thanked: 294 times
Re: Telltale Games "Almost-All-In-One" Model Importer
Oh boy, another quickfix.
https://mega.nz/file/GoxUjDIK#eRNDzrWm8 ... Lh0LcK1do0
Hopefully I won't have to push out another update again so soon.
Nice going breaking one of your new features, RTB. :VChangelog wrote:
- Fixed SKL files being broken for Strong Bad's CG4AP Episodes 2-5 and Wallace & Gromit, I accidentally removed a line of code I shouldn't have before the previous update's release.
https://mega.nz/file/GoxUjDIK#eRNDzrWm8 ... Lh0LcK1do0
Hopefully I won't have to push out another update again so soon.
Last edited by RandomTBush on Thu Dec 24, 2020 11:35 am, edited 2 times in total.
-
- ultra-veteran
- Posts: 355
- Joined: Thu May 13, 2010 4:11 pm
- Has thanked: 56 times
- Been thanked: 294 times
Re: Telltale Games "Almost-All-In-One" Model Importer
Sweet mother of double jeopardy backstroking in butterscotch! Looks like I've got another game to add support for soon -- Sam & Max Season 1's getting a remaster all of a sudden! Best case scenario is I only need to add the bone and texture hashes when it's released in December (the former should be easy, since I can refer back to the original). Worst case scenario? I spend another three months on the next script update.
Re: Telltale Games "Almost-All-In-One" Model Importer
Hello! When a PC-version support of BTTF:The Game will be released?