Random tidbits about UO file lengths
Posted: Mon Apr 27, 2020 6:19 pm
Code: Select all
const UI16 LANDDATA_SIZE = 0x4000; //(512 * 32);
//! these are the fixed record lengths as determined by the .mul files from OSI
//! i made them longs because they are used to calculate offsets into the files
const UI32 MultiRecordSize = 12L;
const UI32 MultiRecordSizeHS = 16L;
const UI32 TileRecordSize = 26L;
const UI32 TileRecordSizeHS = 41L;
const UI32 MapRecordSize = 3L;
const UI32 MapRecordSizeHS = 4L;
const UI32 MultiIndexRecordSize = 12L;
const UI32 StaticRecordSize = 7L;
const UI32 StaticIndexRecordSize = 12L;
const UI32 MapBlockSize = 196L;Code: Select all
// multiLength determines version of datafiles used by server
// 962928 - 7.0.15.1 to 7.0.23.1 - Additional SI32 unknown1 property added
// 908592 - 7.0.9.0
// 596976 - 7.0.8.2
// 593616 - 5.0.9.1 to 6.1.14.1
// 592560 - 4.0.11c