[Request] Quest for Glory 5 (SPK)

The Original Forum. Game archives, full of resources. How to open them? Get help here.
Post Reply
GMFattay
n00b
Posts: 16
Joined: Sun Aug 29, 2010 2:59 am
Been thanked: 3 times

[Request] Quest for Glory 5 (SPK)

Post by GMFattay » Wed Sep 08, 2010 6:06 am

The contents of this post was deleted because of possible forum rules violation.
Last edited by GMFattay on Thu Nov 04, 2010 6:01 am, edited 1 time in total.
Novice in training =)

GMFattay
n00b
Posts: 16
Joined: Sun Aug 29, 2010 2:59 am
Been thanked: 3 times

Re: [Request] Quest for Glory 5 (SPK)

Post by GMFattay » Mon Sep 13, 2010 11:24 pm

Hi,

Just an update, I have discovered a CRC checksum (see yellow in pic) in the SPK file. Green is the file size (4 bytes x2). Am unsure of what the 4 pink bytes are representing.

Image

I have uploaded the file '096.MDL', available here. If someone could please take a look at this and try to figure out what the 4 pink bytes are representing that would be much appreciated.

Thanks,
Robert
Last edited by GMFattay on Tue Sep 14, 2010 4:58 am, edited 1 time in total.
Novice in training =)

GMFattay
n00b
Posts: 16
Joined: Sun Aug 29, 2010 2:59 am
Been thanked: 3 times

Re: [Request] Quest for Glory 5 (SPK)

Post by GMFattay » Tue Sep 14, 2010 12:28 am

Some more files to help with the possible checksum - QFG5_mdl_095_100.rar
Novice in training =)

WRS
ultra-veteran
ultra-veteran
Posts: 601
Joined: Fri Nov 06, 2009 12:13 am
Has thanked: 74 times
Been thanked: 134 times

Re: [Request] Quest for Glory 5 (SPK)

Post by WRS » Tue Sep 14, 2010 3:04 am

the spk file looks like a zip format, though i dont understand the pointer values - like the central directory pointer - which is wrong. finding the actual pointer can be done searching for the first instance of 504b0103 (PK\x01\x03)

the central directory record varies in size due to the filenames, but the first record shows the unknown checksum is 0. next record shows 20723, which is only slightly larger than the size (?) - of 20644.

so from a glance, it looks like the value is the sum of all the uncompressed data size so far. so changing "mdl/095.MDL" (record #1621) would effect the other (few!) header values.

hope this can help.
Useful tool links:

GMFattay
n00b
Posts: 16
Joined: Sun Aug 29, 2010 2:59 am
Been thanked: 3 times

Re: [Request] Quest for Glory 5 (SPK)

Post by GMFattay » Tue Sep 14, 2010 4:54 am

WRS wrote:the spk file looks like a zip format, though i dont understand the pointer values - like the central directory pointer - which is wrong. finding the actual pointer can be done searching for the first instance of 504b0103 (PK\x01\x03)

the central directory record varies in size due to the filenames, but the first record shows the unknown checksum is 0. next record shows 20723, which is only slightly larger than the size (?) - of 20644.

so from a glance, it looks like the value is the sum of all the uncompressed data size so far. so changing "mdl/095.MDL" (record #1621) would effect the other (few!) header values.

hope this can help.
Hey,

Thanks for the help with this. It looks like you are correct with those values being the total file size, have checked this a few times and it seems to sum up.

Any ideas on the 4 pink bytes I have highlighted on the first screen?

Also, heres what the files in the header look like (example is 096.MDL):
Image

Thanks,
Robert
Novice in training =)

WRS
ultra-veteran
ultra-veteran
Posts: 601
Joined: Fri Nov 06, 2009 12:13 am
Has thanked: 74 times
Been thanked: 134 times

Re: [Request] Quest for Glory 5 (SPK)

Post by WRS » Tue Sep 14, 2010 3:34 pm

as with the zip format, those values are the last modified time:

Code: Select all

DOSTIME HTime; // 16-bit
DOSDATE HDate; // 16-bit
ex: mdl/096.MDL was last modified 05/23/1998 at 11:36:36
Useful tool links:

GMFattay
n00b
Posts: 16
Joined: Sun Aug 29, 2010 2:59 am
Been thanked: 3 times

Re: [Request] Quest for Glory 5 (SPK)

Post by GMFattay » Tue Sep 14, 2010 11:40 pm

WRS wrote:as with the zip format, those values are the last modified time:

Code: Select all

DOSTIME HTime; // 16-bit
DOSDATE HDate; // 16-bit
ex: mdl/096.MDL was last modified 05/23/1998 at 11:36:36
Awesome work dude. Would you be willing to write a plugin to create and modify these archives for a small fee? Otherwise might have to bug Watto again to upgrade his plugin, heh.
Novice in training =)

GMFattay
n00b
Posts: 16
Joined: Sun Aug 29, 2010 2:59 am
Been thanked: 3 times

Re: [Request] Quest for Glory 5 (SPK)

Post by GMFattay » Sat Oct 02, 2010 10:30 pm

Bump. Looking for someone to write a plugin to create and modify these archives for a fee.
Novice in training =)

GMFattay
n00b
Posts: 16
Joined: Sun Aug 29, 2010 2:59 am
Been thanked: 3 times

Re: [Request] Quest for Glory 5 (SPK)

Post by GMFattay » Wed Nov 03, 2010 10:22 am

The contents of this post was deleted because of possible forum rules violation.
Novice in training =)

Post Reply