Important information: this site is currently scheduled to go offline indefinitely by December 1st 2023.
If you wish to donate to attempt the preservation of tools and software somewhere else before it goes down, check the GoFundMe

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 »

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: 438
Joined: Fri Apr 27, 2012 9:37 am
Has thanked: 29 times
Been thanked: 189 times
Contact:

Re: Scarlet Legacy .pkt textures

Post by cra0 »

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 »

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