New problem: Mythic Package Editor (v 1.03) does not recognize 1 file when unpacking facets (even if it doesn't say "x unknown hashes" in the dictionary, which is strange because it means the dictionary contains this hash and its translation in text). This problem means also that i can't repack the uop (including in it that file, wich i guess is needed

).
I wanted to know if this file contains info for a map block, like all the others in the uop, or other data, so i did this calculation:
- Learning from Kons (
http://code.google.com/p/kprojects/wiki/Sector), each 64x64 tiles block is stored in a single file.
- Map/Facet 0 dimension is 7168 x 4096 (x,y)
- MPE says that inside facet0.uop there are 7169 files.
Now, if 7168*4096 = 29360128 tiles in the map and 64*64 = 4096 tiles per block (or, per file), so 29360128/4096 = 7168 blocks for map0, which is also the number of files that describe blocks in the uop.
If MPE tells me there are 7169 files in facet0.uop and i find that there are 7168 files for the map blocks, it means that there's 1 extra file, which does not contain info for a map block.
To get an idea of what it can contain, i looked up in the Radstar's map converter code (yes i know, file formats are different from KR to SA, but this part may have remained at least similar, i hope) and found that, in addition to map block files, there is another file that contains Height and Width of the map.
Code:
private static void WriteMapResolution( TileMatrix tileMatrix, string path, byte mapIndex )
{
FileStream mapBlock = new FileStream( path + "\\" + "facet" + mapIndex.ToString() + "-00_00.raw", FileMode.Create );
BinaryWriter writer = new BinaryWriter( mapBlock );
writer.Write( tileMatrix.Height );
writer.Write( tileMatrix.Width );
writer.Close();
}
This is the first file written during the conversion process. TileMatrix comes from UltimaSDK (ultima.dll); in this function, tileMatrix.Height and tileMatrix.Width returns Height and Width of the map as integers (int) i think.
The only way to let MPE know the name of the unknown file is to guess it, so it hashes the name and checks if hashes coincide, if yes, we have found the file name. This because we can't crack the hash. I tried to guess its name (which i think must contain its path, which can be "build/sectors/facet0/") but i didn't succeed.
Does anyone know this file name or managed to convert the map? Valios, some other forum member, sphere devs like Khaos?