Users browsing this thread: 18 Guest(s)
Random Talking Bush's Model Importers and QuickBMS Scripts
#46
No request, I am just curious, but do you think that you will ever make scripts that will encode stuff instead of decoding? Like a GTX to BFLIM?
Reply
Thanked by:
#47
Hi everyone.

Any of you were able to extract .PTEX images files? I've been using TiledGGD and images get broken. Perhaps I must do some configuration beforehand.
I've already googled and find nothing.
Any ideas?
Reply
Thanked by:
#48
(02-24-2017, 07:18 AM)hyago Wrote: Hi everyone.

Any of you were able to extract .PTEX images files? I've been using TiledGGD and images get broken. Perhaps I must do some configuration beforehand.
I've already googled and find nothing.
Any ideas?
Change the mode to "Tiled" and in "Set Tile Size" from 8x8 to 16x8 for 8-bit (256 colour) images, or 32x8 for 4-bit (16 colour) ones. Then just shift it one byte at a time until the texture no longer appear garbled. The palettes are 4-bytes BGR, and are located below the textures themselves.

[Image: V6XBrcJ.png]

Or you can just do a scene dump in Jpcsp to get the textures, which is faster overall (and you wouldn't have to fiddle with the palettes until you get something right.

(01-15-2017, 11:01 AM)DeathNut Wrote: No request, I am just curious, but do you think that you will ever make scripts that will encode stuff instead of decoding? Like a GTX to BFLIM?
There's still quite a lot of unknowns in the texture formats, so I'm not sure exactly how I'd go about building them from scratch. But I'm sure someone else will do so at a later time, there is a lot of interest in Wii U modding still.
Reply
Thanked by:
#49
(02-24-2017, 09:12 PM)Random Talking Bush Wrote:
(02-24-2017, 07:18 AM)hyago Wrote: Hi everyone.

Any of you were able to extract .PTEX images files? I've been using TiledGGD and images get broken. Perhaps I must do some configuration beforehand.
I've already googled and find nothing.
Any ideas?
Change the mode to "Tiled" and in "Set Tile Size" from 8x8 to 16x8 for 8-bit (256 colour) images, or 32x8 for 4-bit (16 colour) ones. Then just shift it one byte at a time until the texture no longer appear garbled. The palettes are 4-bytes BGR, and are located below the textures themselves.

[Image: V6XBrcJ.png]

Or you can just do a scene dump in Jpcsp to get the textures, which is faster overall (and you wouldn't have to fiddle with the palettes until you get something right.

(01-15-2017, 11:01 AM)DeathNut Wrote: No request, I am just curious, but do you think that you will ever make scripts that will encode stuff instead of decoding? Like a GTX to BFLIM?
There's still quite a lot of unknowns in the texture formats, so I'm not sure exactly how I'd go about building them from scratch. But I'm sure someone else will do so at a later time, there is a lot of interest in Wii U modding still.

Thanks for the quick reply.
This method really takes a lot of time.
I think a better approach is to use Texmod into PPSSPP emulator, go through the textures and save them.  Smile 

By the way, I took your MegaManPSP_MDL maxscript importer and improve it a little bit. 
I corrected the face orientation to point to Z-, turned bones more visible, welds the duplicate vertices and resize the model so that X is 5'3" ft (160 cm) tall (his official height).

Here is how it looks like:

[Image: mucXTjp.jpg]


For anyone who wants, download the maxscript importer here. (I didn't test for Megaman: Powered Up game).
Reply
Thanked by:
#50
Hey, RTB, I found out that the Wii game Bleach: Shattered Blade uses SMST-compressed gno formats.
Reply
Thanked by:
#51
I've updated both the BFRES MaxScript and the BFRES-to-GTX QuickBMS script now, mainly to make ripping from Legend of Zelda: Breath of the Wild easier.

Code:
Fixed rigging being utterly broken in 3DS Max 2012 and above (thanks to sunnydavis for part of the code used). Gee, *thanks*, Autodesk...
Also fixed rigging for models with more than 4 bone influences (Zelda's model in BotW, for example).
Added support for reading normals, thanks to Ploaj for helping with the 10-bit nonsense!
Added type 522 for colours (signed bytes, e.g. Fire Peach's dress model in SM3DW).

MaxScript Model Importer

And the texture script now exports mipmaps, and has alternate variants just for Breath of the Wild (one for its Tex1 files only, one for its Tex2 only -- read the text at the beginning of said script to see how it's used, and one that merges the Tex1 and Tex2 archives for textures and mipmaps... but frankly you'll just use the "NoMips" version since it's the best option).

QuickBMS Texture Extractor

I'll be updating the rest of my MaxScripts with the rigging fixes for 3DS Max 2012+ sometime later this month, now that I finally know how to.
Reply
#52
Updated the BFRES MaxScript again with a pretty important quickfix.

Code:
Fixed importing for Wind Waker HD models, which wasn't set up properly in the script in the first place. Whoops!

Could'a sworn it was working properly in the first place, but after checking again, it was completely off. Good job, me.
Reply
Thanked by: Lilothestitch
#53
(03-11-2017, 11:45 PM)Jared33 Wrote:
(03-11-2017, 10:18 PM)Random Talking Bush Wrote: Updated the BFRES MaxScript again with a pretty important quickfix.

Code:
Fixed importing for Wind Waker HD models, which wasn't set up properly in the script in the first place. Whoops!

Could'a sworn it was working properly in the first place, but after checking again, it was completely off. Good job, me.
Wobbuffet

Please don't make single-word posts, especially those that are irrelevant to the topic.
[Image: sweet-capn-cakes-deltarune.gif]
Reply
Thanked by:
#54
(03-12-2017, 11:10 AM)Mighty Jetters Wrote: Please don't make single-word posts, especially those that are irrelevant to the topic.

Sorry about that.
Reply
Thanked by:
#55
Hey RTB, Estival Versus just came out and was wondering if you could add support for that game if you have time. Format is .cat which seems to extract okay with the Tamsoft bms (only into .tmd) but don't load with the current maxscript (I know it says EV is not supported but just verified). Uploaded a few samples in case you're interested and don't have access already.

http://www.mediafire.com/file/0y2o7lqz2z...Senran.rar

If you need more I'll upload some more.
Reply
Thanked by:
#56
I wonder if someone has already figured out the compression format used for Mario Sports Superstars (.cbch, which is a compressed BCH model). The file starts with the byte 0x60 and then the 3 bytes of data size, then BCH. Probably a LZ-like compression.

Example file: https://mega.nz/#!gQQwWDra!JuRRvuH_J07kM...hps19KG2M4
Reply
Thanked by:
#57
(03-06-2017, 03:08 PM)Random Talking Bush Wrote: I've updated both the BFRES MaxScript and the BFRES-to-GTX QuickBMS script now, mainly to make ripping from Legend of Zelda: Breath of the Wild easier.

Code:
Fixed rigging being utterly broken in 3DS Max 2012 and above (thanks to sunnydavis for part of the code used). Gee, *thanks*, Autodesk...
Also fixed rigging for models with more than 4 bone influences (Zelda's model in BotW, for example).
Added support for reading normals, thanks to Ploaj for helping with the 10-bit nonsense!
Added type 522 for colours (signed bytes, e.g. Fire Peach's dress model in SM3DW).

MaxScript Model Importer

And the texture script now exports mipmaps, and has alternate variants just for Breath of the Wild (one for its Tex1 files only, one for its Tex2 only -- read the text at the beginning of said script to see how it's used, and one that merges the Tex1 and Tex2 archives for textures and mipmaps... but frankly you'll just use the "NoMips" version since it's the best option).

QuickBMS Texture Extractor

I'll be updating the rest of my MaxScripts with the rigging fixes for 3DS Max 2012+ sometime later this month, now that I finally know how to.

There is a form to use this in Blender? I wanted to know that because I want to do a BOTW Link port to Gmod.
Reply
Thanked by:
#58
I've updated my Tamsoft TMD importer now. No idea what possessed me to do so, frankly, since as I mentioned earlier I don't really care for Senran Kagura. But I figure someone will get use from it (like ssringo, above).

Code:
Added support for Senran Kagura: Estival Versus (both Vita and PC versions).
Changed bone numbers to bone checksums instead.
Added a ton of replacement bone names to replace the checksums, don't expect hair bones (especially SK's) to be named correctly.
Optimized polygon group importing a bit so things will load a bit faster.
Fixed rigging being broken in one way or another for newer 3DS Max versions.
https://mega.nz/#!ulpnmaJS!ffrdVu0T81lKB...8Ac8hYL6FM

Time to actually get back to the things I've been slacking on. I've feel I've been letting people down by keeping 'em waiting for too long. It's not intentional, I've just been struggling a bit with life-related things recently.

(03-20-2017, 04:02 PM)YoshiCrystal Wrote: There is a form to use this in Blender? I wanted to know that because I want to do a BOTW Link port to Gmod.
Unfortunately, no, I've been using 3DS Max for the past ten years, so it's what I've accustomed myself to.
Reply
#59
Thanks for the update RTB. There might not be many of us making use of it but I certainly appreciate your work. Especially since you are/were working on another game that probably has much more interest around it Smile On the flip side, all caught up! No more Senran Kagura games for a while. Hey, maybe they'll move on to Unreal 4 like the Neptunia devs did for their upcoming release.

Finally, no worries with taking your time mate. Real life matters a wee bit more than hooking up internet randoms o_-

Edit: Which script do you use to extract the .cat files for Estival Versus? The one I have extracts tmds but they don't load in max. Which also goes for texture extraction. I'm actively looking though so I'll edit if I find itmyself.
Reply
Thanked by:
#60
I'm hoping for a QuickBMS script for the games found on this page: http://forum.xentax.com/viewtopic.php?f=33&t=10583
Reply
Thanked by:


Forum Jump: