READ THE RULES: Click here

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

Scarlet Legacy .pkt textures

Post questions about game models here, or help out others!
Post Reply
lumis
beginner
Posts: 38
Joined: Sat Nov 30, 2013 9:32 pm
Has thanked: 29 times
Been thanked: 1 time

Scarlet Legacy .pkt textures

Post by lumis » Sat Mar 22, 2014 6:22 pm

Image
Image
Image

previous topic about this game

viewtopic.php?f=21&t=7170

Can anyone make a bms script or any unpack tool for .pkt files from this game? these are encoded textures probably cuz most of them models are non textured in noesis and i can't find any textures in the client.

samples
https://www.dropbox.com/s/umg4qc6nw2wlp18/W07506.7z

Thanks in advance.

Edit: Thanks to Luigi now we've got a script to decode .pkt but even after that textures are somehow coded oO

Code: Select all

###
goto 0x40
get ZSIZE long
goto -4
get SIZE long
get NAME basename
string NAME += "."
clog NAME 0x44 ZSIZE SIZE
###
Any1 up to solve this?:d Noesis script is kinda useless without having textures :(

Edit2: Shitty edited script to unpack .pkt by me, i don't know anything about quickbms, i just mixed 2 scripts and added extension, at least it works, if anyone wants to fix it, go ahead

Code: Select all

get name basename
string name += ".dds"
goto -4
get size long
goto 0x40
get zsize long
clog MEMORY_FILE 0x44 zsize size
get size asize MEMORY_FILE
math size - 4
log name 4 size MEMORY_FILE

User avatar
cra0
ultra-veteran
ultra-veteran
Posts: 432
Joined: Fri Apr 27, 2012 9:37 am
Has thanked: 29 times
Been thanked: 183 times
Contact:

Re: Scarlet Legacy .pkt textures

Post by cra0 » Sun Mar 23, 2014 9:47 am

pkt is just zlibd blocks

then once decompresed

its a werid DDS header thing idk why they did this but yeah simple shiz
Image

lumis
beginner
Posts: 38
Joined: Sat Nov 30, 2013 9:32 pm
Has thanked: 29 times
Been thanked: 1 time

Re: Scarlet Legacy .pkt textures

Post by lumis » Mon Mar 24, 2014 4:12 pm

Noesis script doesnt seem to load textures on models properly so it's kinda pointless to mess around with this game files, just an info if any1 cares.

Post Reply