Ok, so I was going through the BG:EE V2 beta looking for corrupt files and such that the ordinary "player" would never be likely to find and report. In NI, I go to Tools->Check->For Corrupted Files... and among the hits is
AR1010.WED 48d2h Overlay 0/Tilemap 1847: Primary tile index 1847 out of range [0..1846]
So I go to AR1010.ARE and and on the View tab, click View Area. It tries, but the Area Viewer never comes up. I then go to Game->Refresh Tree and go to AR1010.TIS. Scrolling to the bottom-right of the tileset seems to indicate that the tileset is missing the last tile. Extracting the TIS and examining the header indicates that the tileset contains 1847 tiles, which is not evenly divisible by the 42-tiles-per-row dimension of the ARE/WED. 1848 is, however, which again indicates a tile is missing. Now, examining the header some more indicates that each tile in the tileset is exactly 12 bytes long. So I copy the 12 bytes from the top-left tile to the end of the TIS, increment CountOfTiles by 1 in the header, and put it in the override folder. Refresh NI, and everything seems to be fixed (and the Area Viewer works now). Load the game, CLUA to the area and nothing goes wrong and the area looks like it should in-game.
Each tile being 12 bytes long indicates that it is a PVRZ compressed TIS that refers to an external PVRZ file. Is my method of filling in the missing tile a valid one? Can I reference the same external PVRZ tile more than once from the same TIS file?
TIA,
Sam.
"Ok, I've just about had my FILL of riddle asking, quest assigning, insult throwing, pun hurling, hostage taking, iron mongering, smart-arsed fools, freaks, and felons that continually test my will, mettle, strength, intelligence, and most of all, patience! If you've got a straight answer ANYWHERE in that bent little head of yours, I want to hear it pretty damn quick or I'm going to take a large blunt object roughly the size of Elminster AND his hat, and stuff it lengthwise into a crevice of your being so seldom seen that even the denizens of the nine hells themselves wouldn't touch it with a twenty-foot rusty halberd! Have I MADE myself perfectly CLEAR?!"
--<CHARNAME> to Portalbendarwinden
--------------------
___________Old pen and paper modules of the 70s and 80s.___________
CA Forums CA Homepage