I've checked which parts of the houses.dat weren't decoded yet, and coincidentally I found the pig/horse textures(didn't know they were at the beginning of the file, but I couldn't find any sound added to them...
Now I will post the complete information of houses.dat.
PigHorsesAnim:array[1..30] of record
Step:array[1..30]of smallint;
Count:smallint;
MoveX,MoveY:integer;
end;
array[1..HOUSE_COUNT] of packed record
StonePic,WoodPic,WoodPal,StonePal:smallint;
SupplyIn:array[1..4,1..5]of smallint;
SupplyOut:array[1..4,1..5]of smallint;
Anim:array[1..19] of record
Step:array[1..30]of smallint;
Count:smallint;
MoveX,MoveY:integer;
end;
WoodPicSteps,StonePicSteps:word;
AlwaysZero:smallint;
EntranceOffsetX,EntranceOffsetY:shortint;
EntranceOffsetXpx,EntranceOffsetYpx:shortint;
BuildArea:array[1..10,1..10]of shortint;
WoodCost,StoneCost:byte;
BuildSupply:array[1..12] of record MoveX,MoveY:integer; end;
AreaSizeInclSurrounding,SizeArea:smallint;
SizeX,SizeY,sx2,sy2:shortint;
WorkerWork,WorkerRest:smallint;
ResInput,ResOutput:array[1..4]of shortint;
ResProductionX:shortint;
MaxHealth,Sight:smallint;
OwnerType:shortint;
SoundIndices:array[1..12] of shortlint;
SoundTexture:array[1..12]of smallint;
end;
All of this should add up to the 51,052 bytes the file contains, so it is officially 100 % decoded!
And later this week I'll check if I can find anything in units.dat
Now I will post the complete information of houses.dat.
PigHorsesAnim:array[1..30] of record
Step:array[1..30]of smallint;
Count:smallint;
MoveX,MoveY:integer;
end;
array[1..HOUSE_COUNT] of packed record
StonePic,WoodPic,WoodPal,StonePal:smallint;
SupplyIn:array[1..4,1..5]of smallint;
SupplyOut:array[1..4,1..5]of smallint;
Anim:array[1..19] of record
Step:array[1..30]of smallint;
Count:smallint;
MoveX,MoveY:integer;
end;
WoodPicSteps,StonePicSteps:word;
AlwaysZero:smallint;
EntranceOffsetX,EntranceOffsetY:shortint;
EntranceOffsetXpx,EntranceOffsetYpx:shortint;
BuildArea:array[1..10,1..10]of shortint;
WoodCost,StoneCost:byte;
BuildSupply:array[1..12] of record MoveX,MoveY:integer; end;
AreaSizeInclSurrounding,SizeArea:smallint;
SizeX,SizeY,sx2,sy2:shortint;
WorkerWork,WorkerRest:smallint;
ResInput,ResOutput:array[1..4]of shortint;
ResProductionX:shortint;
MaxHealth,Sight:smallint;
OwnerType:shortint;
SoundIndices:array[1..12] of shortlint;
SoundTexture:array[1..12]of smallint;
end;
All of this should add up to the 51,052 bytes the file contains, so it is officially 100 % decoded!
And later this week I'll check if I can find anything in units.dat