Legend of Kyrandia pak files
Samples
https://drive.google.com/file/d/0B0oEDr ... sp=sharing
Legend of Kyrandia pak
-
- Posts: 1383
- Joined: Sat Aug 09, 2014 2:34 pm
Re: Legend of Kyrandia pak
Code: Select all
# Legend of Kyrandia (PAK format)
# Written by Ekey (h4x0r)
#
# script for QuickBMS http://quickbms.aluigi.org
get PAK_SIZE asize
do
get OFFSET long
get NAME string
savepos TEMP
get NEXT_OFFSET long
if NEXT_OFFSET == 0
xmath SIZE "PAK_SIZE - OFFSET"
else
xmath SIZE "NEXT_OFFSET - OFFSET"
endif
log NAME OFFSET SIZE
goto TEMP
while NEXT_OFFSET != 0
-
- Posts: 461
- Joined: Thu Oct 01, 2015 5:03 pm
Re: Legend of Kyrandia pak
After unpacking each file. In addition to the other files. creates a single file with a size of 0 bytes.
Короче один файл с 0 байтов появляется после распаковки каждого архива
Короче один файл с 0 байтов появляется после распаковки каждого архива
-
- Posts: 461
- Joined: Thu Oct 01, 2015 5:03 pm
Re: Legend of Kyrandia pak
and everything is fine
-
- Posts: 1383
- Joined: Sat Aug 09, 2014 2:34 pm
Re: Legend of Kyrandia pak
AntonZab wrote:Короче один файл с 0 байтов появляется после распаковки каждого архива
Он лишний просто
-
- Posts: 2
- Joined: Wed May 20, 2015 10:52 pm
Re: Legend of Kyrandia pak
Check out the source code of ScummVM:
https://github.com/scummvm/scummvm/blob ... source.cpp
There's PAK implementation for Kyrandia and other Westwood games!
https://github.com/scummvm/scummvm/blob ... source.cpp
There's PAK implementation for Kyrandia and other Westwood games!