Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.
Zero Tolerance for Disrespect

KILL la KILL -IF models

Featured Replies

  • Localization

Hello, I'm trying to rip the models from the game KILL la KILL -IF; however, they seem to be in a .pac format, and I can't find information online about this game. I've included some model samples in the .zip, thank you.

KlkResources.zip

  • Supporter

Rough struct.

//------------------------------------------------
//--- 010 Editor v14.0 Binary Template
//
//      File: 
//   Authors: 
//   Version: 
//   Purpose: 
//  Category: 
// File Mask: 
//  ID Bytes: 
//   History: 
//------------------------------------------------
LittleEndian();OutputPaneClear();

local uint32 i,j,k,l;
local uint32 SignCheck;

char DGKPSign[4];
uint32 Unknown_0;
uint32 Unknown_1;
uint32 ResourceCount;
uint32 ResourceTOCOffset;

FSeek(ResourceTOCOffset);
struct
{
    char TEXDSign[4];
    uint32 Unknown_0;
    uint32 ResourceSize;
    uint32 ResourceOffset;
    char ResourceName[128];
}ResourceDefinition[ResourceCount];

struct
{
    for (i=0; i < ResourceCount; i++)
    {
        FSeek(ResourceDefinition[i].ResourceOffset);
        SignCheck=ReadUInt(FTell());
        if (SignCheck == 67108864 | SignCheck == 33554432 | SignCheck == 134217728)
        {
            struct
            {
                struct
                {
                    uint32 Sign;
                    uint32 Unknown_0;
                    uint32 Unknown_1;
                    char TextureName[68];
                }TextureDefinition;
                
                struct
                {
                    byte TexturePayload[ResourceDefinition[i].ResourceSize - sizeof(TextureDefinition)];
                }TextureData;
            }Texture;
            
        }
        else if (SignCheck == 1179468876)
        {
            struct
            {
                uint32 Sign;
                uint32 Unknown_0;
                uint32 ShapeDefinitionOffset;
                uint32 ShapeCount;
                uint32 SkeletonDefinitionOffset;
                uint32 BoneCount;
                uint32 ElementBufferOffset;
                uint32 ElementBufferSize;
                uint32 ElementCount;
                uint16 Unknown_1;
                uint16 Unknown_2;
                char ModelName[64];

                FSeek(startof(Model) + SkeletonDefinitionOffset);
                struct
                {
                    struct
                    {
                        char BoneName[32];
                        float Transform[10];
                        uint32 ParentBoneId;
                    }BoneDefinition[BoneCount];
                }Skeleton;

                FSeek(startof(Model) + ElementBufferOffset);
                struct
                {
                    float VPosX,VPosY,VPosZ;
                    ubyte VColR,VColG,VColB,VColA;
                    hfloat VNPosX,VNPosY,VNPosZ,Unk0;
                    hfloat UVPosX,UVPosY;
                    
                    float Unk1,Unk2,Unk3;
                    float Unk4,Unk5,Unk6;
                    float Unk7,Unk8;
                }ElementBuffer[ElementCount];

                FSeek(startof(Model) + ShapeDefinitionOffset);
                struct
                {
                    char ShapeName[64];
                    uint32 IndexBufferOffset;
                    uint32 IndexBufferSize;
                    uint32 IndexCount;
                    uint32 Unknown_0;
                    byte Reserved[40];
                    float Transform4x3[12];
                    byte Reserved1[8];
                }ShapeDefinition[ShapeCount];

                struct
                {
                    for (j=0; j < ShapeCount; j++)
                    {
                        FSeek(startof(Model) + ShapeDefinition[j].IndexBufferOffset);
                        struct
                        {
                            uint32 F1,F2,F3;
                        }Indices[ShapeDefinition[j].IndexCount / 3]<optimize=false>;
                    }
                }IndexBuffer;
            }Model;
        }
    }
}ResourcePayload;

image.png

Got skeleton. But it is still messed up. Not sure what is rotation.

image.png

Edited by h3x3r

  • Localization
10 hours ago, redtarp said:

Hello, I'm trying to rip the models from the game KILL la KILL -IF; however, they seem to be in a .pac format, and I can't find information online about this game. I've included some model samples in the .zip, thank you.

Preorder Games

KlkResources.zip

The 3D Object Converter http://3dconverter.synology.me/3doc supports the Kill la Kill IF *.MDL format for load since April 21, 2021.

It has a built in Kill la Kill IF .cvt to .dds converter also.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.