READ THE RULES: Click here

Follow us on Facebook: https://www.facebook.com/xentax/ :)

Kill la Kill IF (Switch Demo)

Post questions about game models here, or help out others!
Simguy
beginner
Posts: 26
Joined: Mon Jul 23, 2007 7:11 pm
Has thanked: 17 times
Been thanked: 24 times

Kill la Kill IF (Switch Demo)

Post by Simguy » Thu Jul 25, 2019 9:46 pm

I wrote some python scripts for the Kill la Kill IF Switch Demo. These might not work on the final versions.
KLK_Switch decompresses and/or extracts PAC, LEV and TXB files (They are all the same type). Plus 2 Noesis scripts for models and animations (could probably make this one script but I don't know how). I might be doing something wrong but Noesis doesn't export normals when a model has bone weights. The Skin variable in the model script toggles bone weight loading.
You do not have the required permissions to view the files attached to this post.

andree
advanced
Posts: 52
Joined: Sun Jul 09, 2017 1:36 pm
Has thanked: 5 times
Been thanked: 3 times

Re: Kill la Kill IF (Switch Demo)

Post by andree » Fri Jul 26, 2019 2:46 am

Image
Got a error when I used one of the .mot files from the final version's files.

Here is some .mot files from the final version of the game.
https://anonymousfiles.io/ERWJXO4X/
The version of Noesis I used is 4.406.

andy97
n00b
Posts: 14
Joined: Sun Apr 28, 2019 1:15 pm
Has thanked: 3 times
Been thanked: 5 times

Re: Kill la Kill IF (Switch Demo)

Post by andy97 » Fri Jul 26, 2019 6:59 am

andree wrote:
Fri Jul 26, 2019 2:46 am
Got a error when I used one of the .mot files from the final version's files.
Can you upload the .mdl files as the script need them? Thanks :D

andree
advanced
Posts: 52
Joined: Sun Jul 09, 2017 1:36 pm
Has thanked: 5 times
Been thanked: 3 times

Re: Kill la Kill IF (Switch Demo)

Post by andree » Fri Jul 26, 2019 1:18 pm

andy97 wrote:
Fri Jul 26, 2019 6:59 am
andree wrote:
Fri Jul 26, 2019 2:46 am
Got a error when I used one of the .mot files from the final version's files.
Can you upload the .mdl files as the script need them? Thanks :D
https://anonymousfiles.io/cOCbUh4H/
Here is one of them.

andy97
n00b
Posts: 14
Joined: Sun Apr 28, 2019 1:15 pm
Has thanked: 3 times
Been thanked: 5 times

Re: Kill la Kill IF (Switch Demo)

Post by andy97 » Fri Jul 26, 2019 1:45 pm

andree wrote:
Fri Jul 26, 2019 1:18 pm
Here is one of them.
Try this one with a minor fix, worked well with your .mdl and .mot
Image
You do not have the required permissions to view the files attached to this post.

Rotock
ultra-n00b
Posts: 6
Joined: Wed Nov 19, 2014 8:07 pm
Has thanked: 5 times
Been thanked: 1 time

Re: Kill la Kill IF (Switch Demo)

Post by Rotock » Fri Jul 26, 2019 4:40 pm

hmm your script seams kinda to work on the steam version also.
I could decompress a .pac file into more files and loaded with noesis42 the .mdl file.
But don't know about the textures and then i try to export it, to fbx, dae ,smd, etc., and importing it into Blender, it always seem to have no weights. Bones do nothing to the model.
You do not have the required permissions to view the files attached to this post.

pechenuxa
ultra-n00b
Posts: 3
Joined: Mon Dec 10, 2018 7:47 pm
Has thanked: 4 times

Re: Kill la Kill IF (Switch Demo)

Post by pechenuxa » Fri Jul 26, 2019 7:57 pm

How do you decrypt pac files with your script? [Edited]. How to find textures for models?

Simguy
beginner
Posts: 26
Joined: Mon Jul 23, 2007 7:11 pm
Has thanked: 17 times
Been thanked: 24 times

Re: Kill la Kill IF (Switch Demo)

Post by Simguy » Fri Jul 26, 2019 9:09 pm

Rotock wrote:
Fri Jul 26, 2019 4:40 pm
hmm your script seams kinda to work on the steam version also.
I could decompress a .pac file into more files and loaded with noesis42 the .mdl file.
But don't know about the textures and then i try to export it, to fbx, dae ,smd, etc., and importing it into Blender, it always seem to have no weights. Bones do nothing to the model.
Yeah the PC format changed a bit so I updated it. This zip also has a regular python script to extract textures from CVTs (They're mostly just DDS files with 80 bytes of nonsense).

Thanks andy97 for catching that embarrassing bug.

Its worth pointing out in case I get asked, some animations will look weird and broken but they are actually correct. The game does a lot of perspective tricks to get the look they want. Except for the animation frame rate. Frames are numbered, not timed. I wasn't sure what to do about that so I just hacked something together.
You do not have the required permissions to view the files attached to this post.

andree
advanced
Posts: 52
Joined: Sun Jul 09, 2017 1:36 pm
Has thanked: 5 times
Been thanked: 3 times

Re: Kill la Kill IF (Switch Demo)

Post by andree » Fri Jul 26, 2019 9:40 pm

Simguy wrote:
Fri Jul 26, 2019 9:09 pm
Rotock wrote:
Fri Jul 26, 2019 4:40 pm
hmm your script seams kinda to work on the steam version also.
I could decompress a .pac file into more files and loaded with noesis42 the .mdl file.
But don't know about the textures and then i try to export it, to fbx, dae ,smd, etc., and importing it into Blender, it always seem to have no weights. Bones do nothing to the model.
Yeah the PC format changed a bit so I updated it. This zip also has a regular python script to extract textures from CVTs (They're mostly just DDS files with 80 bytes of nonsense).

Thanks andy97 for catching that embarrassing bug.

Its worth pointing out in case I get asked, some animations will look weird and broken but they are actually correct. The game does a lot of perspective tricks to get the look they want. Except for the animation frame rate. Frames are numbered, not timed. I wasn't sure what to do about that so I just hacked something together.
Any of the dds-readable programs won't read the files I had converted from the switch version.
viewtopic.php?f=18&t=20860

pechenuxa
ultra-n00b
Posts: 3
Joined: Mon Dec 10, 2018 7:47 pm
Has thanked: 4 times

Re: Kill la Kill IF (Switch Demo)

Post by pechenuxa » Fri Jul 26, 2019 10:11 pm

In Noesis model loads with pink textures, but in blender or 3ds max model loading fine, bone=weight is working, thanks for script. 8D

Simguy
beginner
Posts: 26
Joined: Mon Jul 23, 2007 7:11 pm
Has thanked: 17 times
Been thanked: 24 times

Re: Kill la Kill IF (Switch Demo)

Post by Simguy » Fri Jul 26, 2019 10:30 pm

andree wrote:
Fri Jul 26, 2019 9:40 pm
Simguy wrote:
Fri Jul 26, 2019 9:09 pm
Rotock wrote:
Fri Jul 26, 2019 4:40 pm
hmm your script seams kinda to work on the steam version also.
I could decompress a .pac file into more files and loaded with noesis42 the .mdl file.
But don't know about the textures and then i try to export it, to fbx, dae ,smd, etc., and importing it into Blender, it always seem to have no weights. Bones do nothing to the model.
Yeah the PC format changed a bit so I updated it. This zip also has a regular python script to extract textures from CVTs (They're mostly just DDS files with 80 bytes of nonsense).

Thanks andy97 for catching that embarrassing bug.

Its worth pointing out in case I get asked, some animations will look weird and broken but they are actually correct. The game does a lot of perspective tricks to get the look they want. Except for the animation frame rate. Frames are numbered, not timed. I wasn't sure what to do about that so I just hacked something together.
Any of the dds-readable programs won't read the files I had converted from the switch version.
viewtopic.php?f=18&t=20860
Ah thats my bad. I forgot to say that the PC version has DDS textures, that script might not work with all Switch CVTs. The Switch version uses BNTX textures, change the extension to bntx after running the script and noesis will load it.
pechenuxa wrote:
Fri Jul 26, 2019 10:11 pm
In Noesis model loads with pink textures, but in blender or 3ds max model loading fine, bone=weight is working, thanks for script. 8D
Actually that pink color are the Vertex Colors. Its very important for replicating the shading in the game.

Rotock
ultra-n00b
Posts: 6
Joined: Wed Nov 19, 2014 8:07 pm
Has thanked: 5 times
Been thanked: 1 time

Re: Kill la Kill IF (Switch Demo)

Post by Rotock » Fri Jul 26, 2019 11:51 pm

Testfile: MDL_C010_RYU.pac

Mesh: there is a strange split on the main body
UV: works
Bones/Weights: works
Texture Export: works

I can work with this now.

Thanks Simguy for the Tools/Scripts.

a456jiya6ikyas6aik.jpg
You do not have the required permissions to view the files attached to this post.

Rin
advanced
Posts: 41
Joined: Mon Oct 21, 2013 7:43 pm
Has thanked: 7 times

Re: Kill la Kill IF (Switch Demo)

Post by Rin » Sat Jul 27, 2019 12:34 am

the klk_switch.py gives me an error when i try to run it, is there an updated version

Unari
ultra-n00b
Posts: 7
Joined: Thu Jan 31, 2019 5:53 am

Re: Kill la Kill IF (Switch Demo)

Post by Unari » Sat Jul 27, 2019 7:26 am

Is there a way to preserve the Normals when merging vertices? or rather export the from noesis already merged?

Blur
ultra-n00b
Posts: 4
Joined: Fri Jul 26, 2019 1:58 pm
Has thanked: 1 time
Been thanked: 1 time

Re: Kill la Kill IF (Switch Demo)

Post by Blur » Sat Jul 27, 2019 9:22 am

Rotock wrote:
Fri Jul 26, 2019 4:40 pm
hmm your script seams kinda to work on the steam version also.
I could decompress a .pac file into more files and loaded with noesis42 the .mdl file.
But don't know about the textures and then i try to export it, to fbx, dae ,smd, etc., and importing it into Blender, it always seem to have no weights. Bones do nothing to the model.
Mind telling me what you used to unpack the pac file? Been curious.

Post Reply