The VG Resource
Random Talking Bush's Model Importers and QuickBMS Scripts - Printable Version

+- The VG Resource (https://www.vg-resource.com)
+-- Forum: The Resources (https://www.vg-resource.com/forum-109.html)
+--- Forum: General Ripping (https://www.vg-resource.com/forum-145.html)
+--- Thread: Random Talking Bush's Model Importers and QuickBMS Scripts (/thread-29836.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39


RE: Random Talking Bush's Model Importers and QuickBMS Scripts - DeathNut - 01-15-2017

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?


RE: Random Talking Bush's Model Importers and QuickBMS Scripts - hyago - 02-24-2017

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?


RE: Random Talking Bush's Model Importers and QuickBMS Scripts - Random Talking Bush - 02-24-2017

(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.


RE: Random Talking Bush's Model Importers and QuickBMS Scripts - hyago - 02-26-2017

(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).


RE: Random Talking Bush's Model Importers and QuickBMS Scripts - MarioSonicU - 03-03-2017

Hey, RTB, I found out that the Wii game Bleach: Shattered Blade uses SMST-compressed gno formats.


RE: Random Talking Bush's Model Importers and QuickBMS Scripts - Random Talking Bush - 03-06-2017

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.


RE: Random Talking Bush's Model Importers and QuickBMS Scripts - Random Talking Bush - 03-11-2017

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.


RE: Random Talking Bush's Model Importers and QuickBMS Scripts - Garamonde - 03-12-2017

(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.


RE: Random Talking Bush's Model Importers and QuickBMS Scripts - Jared33 - 03-12-2017

(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.


RE: Random Talking Bush's Model Importers and QuickBMS Scripts - ssringo - 03-18-2017

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/0y2o7lqz2z9cj2d/Senran.rar

If you need more I'll upload some more.


RE: Random Talking Bush's Model Importers and QuickBMS Scripts - Atlas - 03-18-2017

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_J07kMa1gK_irZWIieM-ViZ6mEhps19KG2M4


RE: Random Talking Bush's Model Importers and QuickBMS Scripts - YoshiCrystal - 03-20-2017

(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.


RE: Random Talking Bush's Model Importers and QuickBMS Scripts - Random Talking Bush - 04-01-2017

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!ffrdVu0T81lKBKR3FVkFO4K3jYPi5jtwd8Ac8hYL6FM

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.


RE: Random Talking Bush's Model Importers and QuickBMS Scripts - ssringo - 04-01-2017

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.


RE: Random Talking Bush's Model Importers and QuickBMS Scripts - Puterboy1 - 04-02-2017

I'm hoping for a QuickBMS script for the games found on this page: http://forum.xentax.com/viewtopic.php?f=33&t=10583