Page 1 of 1

Random tidbits about UO file lengths

Posted: Mon Apr 27, 2020 6:19 pm
by Xuri

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

Re: Random tidbits about UO file lengths

Posted: Mon Apr 27, 2020 10:38 pm
by punt
do we have the width and length of each of the map# s? I know map0, but not the others.

Re: Random tidbits about UO file lengths

Posted: Tue Apr 28, 2020 9:31 am
by Xuri
Found this nice overview on the homepage of CentrED, which conforms to the XY sizes specified in UOX3's maps.dfn/maps.4xclients.old files:
UO Map sizes.JPG