Whilst developing a utility for reading key and bif files i came across an oddity.
This applies to both IWDEE and BG2EE that have the STORES.BIF file.
I noticed when looking at IWDEE's STORES.bif file it has one file entry (which is fine) but the file entry for the one file in the bif has the resource type as 0.
In the chitin.key file for IWDEE, the codified index for this resource index 162 shl 20 + 0 (bif entry for stores.bif is 162 bitwise shift left 20 + 0 for index) = 169869312 - again this is fine, as resource is listed in the chitin file, but does not have any name, and type is set as 0
In the BG2EE STORES.BIF it lists a number of file entries, but the first entry also shows resource type of 0
In the chitin.key file for BG2EE, the codified index for this first entry = 35651584 (34 shl 20 + 0) which again is correct but still shows a resource with no name and type set to 0. Because this STORES.BIF has more than 1 entry, you can also see the next file resource ARLED is correct (resource type 1014 = 0x3F6)
looking at the resource type 0 file contents, its clear this resource is a store file (STORV1.0)
Is this resource an orphan? a bug/typo? or a leftover from original game files? or should this resource be interpreted as some special reference. Checked with near infinity as well to see how it viewed this first entry, and it also shows this as unknown resource (0h)
Not really a modding question, but figured this is the thread to ask this question.
Included are some screenshots to show the file entry and the chitin.key file from both IWDEE and BG2EE to help illustrate.