Forums

Please or Register to create posts and topics.

Warcraft 1.33 game files format

PUD

PUD Maximum File Format

00:0000-00:0003 $ Header description "TYPE"
00:0004-00:0007 L Following data w/o header length (16 B)
00:0008-00:000F $ Identification "WAR2 MAP"
00:0010-00:0013 L Always set to FF0A0000h
00:0014-00:0017 L Id Tag for synchronize Puds in multiplayer mode
00:0018-00:001B $ Header description "VER "
00:001C-00:001F L Version data length ( 2 B)
00:0020-00:0021 W Version number
11h=normal,13h=expansion
*If expansion is not installed,it won't show 1.3 PUDs
00:0022-00:0025 $ Header description "DESC"
00:0026-00:0029 L Description data length ( 32 B)
00:002A-00:0049 $ Scenario description + line terminator $00
00:004A-00:004D $ Header description "OWNR"
00:004E-00:0051 L Owner data length (16 B)
00:0052-00:0061 B Players(0..15) controllers
2=Comp (P),3=Nobody,4=Comp (A),5=Person
6=Rescue (P),7=Rescue (A),
*0=Comp (P),1=Comp (A),8-255=Comp (P)
00:0062-00:0065 $ Header description "ERA "
00:0066-00:0069 L Era data length ( 2 B)
00:006A-00:006B W Era number
0=Forest,1=Icelands,2=Wastelands,3=Swamps
*4-255=forest
00:006C-00:006F $ Header description "ERAX"
00:0070-00:0073 L Expansion era data length ( 2 B)
00:0074-00:0075 W Expansion Era number
0=Forest,1=Icelands,2=Wastelands,3=Swamps
*4-255=forest
00:0076-00:0079 $ Header description "DIM "
00:007A-00:007D L Dimensions data length ( 4 B)
00:007E-00:0081 W Map X and Y dimensions (0 ?? .. 128max)
*Map is always loaded only by Y size
*i.e. Y*Y map size
00:0082-00:0085 $ Header description "UDTA"
00:0086-00:0089 L Unit data length ( 5950 B )
00:008A-00:008B W Set if Should be used default data
0=no,1=yes
00:008C-00:0167 W Overlap frames for each unit (0..109)
* group to belong number
* see "UNIT" section for units order
00:0168-00:0265 W Obsolete General grafix frames
b00
: Entry number counting all archives
b0C
b0D Flag #2
b0E Flag #1
b0F Repeat flag
*FFFF means no frame available
*Units from 0-126
00:0266-00:0363 W Obsolete Forest grafix frames
*see above
00:0364-00:0461 W Obsolete Winter grafix frames
*see above
00:0462-00:055F W Obsolete Wastelands grafix frames
*see above
00:0560-00:0717 L Units sight range (110 units)
00:0718-00:07F3 W Units hit points (110 units)
00:07F4-00:0861 B Flag if unit is magic
0=no,1=yes
00:0862-00:08CF B Units build time
* 6 = one second
00:08D0-00:093D B Units gold cost divided by 10
00:093E-00:09AB B Units lumber cost divided by 10
00:09AC-00:0A19 B Units oil cost divided by 10
00:0A1A-00:0BD1 L Units size in tiles , first X , then Y
00:0BD2-00:0D89 L Units box size in pixels , first X , then Y
00:0D8A-00:0DF7 B Units attack range
00:0DF8-00:0E65 B Computer units reaction range
00:0E66-00:0ED3 B Person units reaction range
00:0ED4-00:0F41 B Units armor amount
00:0F42-00:0FAF B Selectable thru rectangle
0=no,1=yes
00:0FB0-00:101D B Priority , AI treatment, high x low
00:101E-00:108B B Basic damage
00:108C-00:10F9 B Piercing damage
00:10FA-00:1167 B Weapon upgradable
0=no,1=yes
00:1168-00:11D5 B Armor upgradable
0=no,1=yes
00:11D6-00:1243 B Missile weapon type
00 Lightning
01 Griffon Hammer
02 Dragon Breath and Fireball
03 Fireball by Flame Shield
04 Flame Shield
05 Blizzard
06 Death and Deacy
07 Big Cannon
08 Exorcism
09 Heal Effect
0A Touch of Death
0B Rune
0C Whirlwind
0D Catapult Rock
0E Ballista Bolt
0F Arrow
10 Axe
11 Submarine Missile
12 Turtle Missile
13 Small Fire
14 Big Fire
15 Ballista and Catapult impact
16 Normal Spell
17 Explosion
18 Small Cannon
19 Cannon Explosion
1A Cannon Tower Explosion
1B Daemon Fire
1C Green Cross
1D None
*1E-FF ???
00:1244-00:12B1 B Unit type
0=land,1=fly,2=naval
*changes only appearance
00:12B2-00:131F B Decay rate
*dies in dacay * 6 , 0=never
*only for units created via spell
00:1320-00:138D B Annoy computer factor
00:138E-00:13C7 B Second mouse button click
01 Attack
02 Move
03 Harvest
04 Haul Oil
05 Demolish
06 Sail
*only the first 58 units
00:13C8-00:14A3 W Point value for killing unit
00:14A4-00:1511 B Which terrain can unit target
00 Nothing
01 Land
02 Sea
03 Land and Sea
04 Air
05 Land and Air
06 Land and Sea
07 Everything
*Some missiles can not hit air units
00:1512-00:16C9 L Unit flags
b00: Land unit
b01: Air unit
b02: Explode when killed (used on catapult)
b03: Sea unit
b04: Critter
b05: Is a building
b06: Is a submarine
b07: Can see submarine
b08: Is a peon
b09: Is a tanker
b0A: Is a transport
b0B: Is a place to get oil
b0C: Is a storage for gold
b0D: Not used
b0E: Can ground attack (only catapult and ships)
b0F: Is undead (exorcism work on them)
b10: Is a Shore building
b11: Can cast spell
b12: Is a storage for wood
b13: Can attack
b14: Is a tower
b15: Is an oil patch
b16: Is a mine
b17: Is a hero
b18: Is a storage for oil
b19: Invisibility/Unholy armor kill this unit
b1A: This unit act like a mage
b1B: Is this unit organic (spells)
b1C: Not used
b1D: Not used
b1E: Not used
b1F: Not used
00:16CA-00:17C7 W Obsolete Swamps grafix frames
*see Obsolete General grafix frames for info
00:17C8-00:17CB $ Header description "ALOW"
00:17CC-00:17CF L Allowed things data length ( 384 B)
00:17D0-00:180F L Units and buildings allowed flags (16 players)
b00: Footman/Grunt
b01: Peasant/Peon
b02: Ballista/Catapult
b03: Knight/Ogre
b04: Archer/Axe Thrower
b05: Mage/Death Knight
b06: Tanker
b07: Destroyer
b08: Transport
b09: Battleship/Juggernaught
b0A: Submarine/Giant Turtle
b0B: Flying Machine/Gobblin Zeppelin
b0C: Gryphon/Dragon
b0D: Unused
b0E: Dwarves/Sappers
b0F: Aviary/Roost
b10: Farm
b11: Barracks
b12: Lumber Mill
b13: Stables/Mound
b14: Mage Tower/Temple
b15: Foundry
b16: Refinery
b17: Inventor/Alchemists
b18: Church/Altar of Storms
b19: Tower
b1A: Town Hall/Great Hall
b1B: Keep/Stronghold
b1C: Castle/Fortress
b1D: Blacksmith
b1E: Shipyard
b1F: Wall in multiplayer
00:1810-00:184F L Spells to start with flags (16 players)
b00: Holy Vision
b01: Healing
b02: Unused
b03: Exorcism
b04: Flame Shield
b05: Fireball
b06: Slow
b07: Invisibility
b08: Polymorph
b09: Blizzard
b0A: Eye of Killrog
b0B: Bloodlust
b0C: Unused
b0D: Raise Dead
b0E: Death Coil
b0F: Whirlwind
b10: Haste
b11: Unholy Armor
b12: Runes
b13: Death and Decay
b14: Unused
: Unused
b1F: Unused
00:1850-00:188F L Spells allowed to research flags
*bits like above
00:1890-00:18CF L Spells currently researching
*bits like above
00:18D0-00:190F L Upgrade allowed
b00 Arrow 1
b01 Arrow 2
b02 Sword 1
b03 Sword 2
b04 Shield 1
b05 Shield 2
b06 Ship Cannon 1
b07 Ship Cannon 2
b08 Ship Armor 1
b09 Ship Armor 2
b0A Unused
b0B Unused
b0C Ballista 1
b0D Ballista 2
b0E Unused
b0F Unused
b10 Elven Rangers
b11 Longbow
b12 Scouting
b13 Ranger Markmanship
b14 Paladins
b15 Unused
: Unused
b1F Unused
00:1910-00:194F L Upgrades currently being acquired
*bits like above
00:1950-00:1953 $ Header description "UGRD"
00:1954-00:1957 L Upgrade data length ( 782 B)
00:1958-00:1959 W Use default data
0=no,1=yes
00:195A-00:198D B Upgrade time
*Upgrade type offsets
00 Sword 1
01 Sword 2
02 Axe 1
03 Axe 2
04 Arrow 1
05 Arrow 2
06 Spear 1
07 Spear 2
08 Human Shield 1
09 Human Shield 2
0A Orc Shield 1
0B Orc Shield 2
0C Human Ship Cannon 1
0D Human Ship Cannon 2
0E Orc Ship Cannon 1
0F Orc Ship Cannon 2
10 Human Ship Armor 1
11 Human Ship Armor 2
12 Orc Ship Armor 1
13 Orc Ship Armor 2
14 Catapult 1
15 Catapult 2
16 Ballista 1
17 Ballista 2
18 Train Rangers
19 Longbow
1A Ranger Scouting
1B Ranger Marksmanship
1C Train Berserkers
1D Lighter Axes
1E Berserker Scouting
1F Berserker Regeneration
20 Train Ogre Mages
21 Train Paladins
22 Holy Vision
23 Healing
24 Exorcism
25 Flame Shield
26 Fireball
27 Slow
28 Invisibility
29 Polymorph
2A Blizzard
2B Eye of Killrogg
2C Bloodlust
2D Raise Dead
2E Death Coil
2F Whirlwind
30 Haste
31 Unholy Armor
32 Runes
33 Death and Decay
00:198E-00:19F5 W Upgrade gold cost
00:19F6-00:1A5D W Upgrade lumber cost
00:1A5E-00:1AC5 W Upgrade oil cost
00:1AC6-00:1B2D W Upgrade icon
00:1B2E-00:1B95 W Upgrade group applies to
00:1B96-00:1C65 L Affect flags,what upgrade gives
*For flags see ALOW section
00:1C66-00:1C69 $ Header description "SIDE"
00:1C6A-00:1C6D L Race data length ( 16 B)
00:1C6E-00:1C7D B Player race
0=Human,1=Orc,2=Neutral
*3-255=Neutral
00:1C7E-00:1C81 $ Header description "SGLD"
00:1C82-00:1C85 L Starting gold data length ( 32 B)
00:1C86-00:1CA5 W Players (0..15) starting gold
00:1CA6-00:1CA9 $ Header description "SLBR"
00:1CAA-00:1CAD L Starting lumber data length ( 32 B)
00:1CAE-00:1CCD W Players (0..15) starting lumber
00:1CCE-00:1CD1 $ Header description "SOIL"
00:1CD2-00:1CD5 L Starting oil data length ( 32 B)
00:1CD6-00:1CF5 W Players (0..15) starting oil
00:1CF6-00:1CF9 $ Header description "AIPL"
00:1CFA-00:1CFD L Artificial intelligence data length
00:1CFE-00:1D0D B Players (0..15) arificial intelligence
00 Land Attack
01 Passive
02 Orc 3
03 Human 4
04 Orc 4
05 Human 5
06 Orc 5
07 Human 6
08 Orc 6
09 Human 7
0A Orc 7
0B Human 8
0C Orc 8
0D Human 9
0E Orc 9
0F Human 10
10 Orc 10
11 Human 11
12 Orc 11
13 Human 12
14 Orc 12
15 Human 13
16 Orc 13
17 Human 14 (Orange)
18 Orc 14 (Blue)
19 Sea Attack
1A Air Attack
1B Human 14 (Red)
1C Human 14 (White)
1D Human 14 (Black)
1E Orc 14 (Green)
1F Orc 14 (White)
20 Expansion 1
:
:
52 Expansion 51
00:1D0E-00:1D11 $ Header description "MTXM"
00:1D12-00:1D15 L Visible tiles map data length ( 32 768 B)
00:1D16-00:9D15 W Visible tiles map
*Solid tiles
001X Light Water
002X Dark Water
003X Light Dirt
004X Dark Dirt
005X Light Grass
006X Dark Grass
007X Trees
008X Rocks
009X Human Wall
00AX Orc Wall
00BX Human Wall
00CX Orc Wall
*Boundry tiles
01.. Dark Water and Light Water
02.. Light Water and Light Dirt
03.. Dark Dirt and Light Dirt
04.. Rocks and Light Dirt
05.. Light Dirt and Grass
06.. Dark Grass and Light Grass
07.. Forest and Light Grass
08.. Human Wall
09.. Orc Wall
*Where .. is:
Filled Clear
0X DX Upper Left
1X CX Upper Right
2X BX Upper Half
3X AX Lower Left
4X 9X Left Half
7X 6X Lower Right
8X 5X Upper Left,Lower Right
*Tiles with no swamp counterpart
003A,003B,004A,004B
00:9D16-00:9D19 $ Header description "SQM "
00:9D1A-00:9D1D L Movement tiles map data length ( 32 768 B)
00:9D1E-01:1D1D W Movement tiles map
0000 Bridge (Land,Navy,Air)
0001 Land
0002 Coast (corner?)
0011 Dirt
0040 Water
0081 Forest and Rocks
0082 Coast
008D Walls (crashes if not really a wall)
01XX Here is already Land unit
02XX Here is already Air unit
04XX Here is already Water unit
08XX Here is already Building
0FXX Space (Nothing can through)
01:1D1E-01:1D21 $ Header description "OILM"
01:1D22-01:1D25 L Oil map data length ( 16 384 B)
01:1D26-01:5D25 B Oil concentration map
*Alpha version remainder , set 0..7
01:5D26-01:5D29 $ Header description "REGM"
01:5D2A-01:5D2D L Reaction map data length
01:5D2E-01:DD2D W Reaction map tiles
0000 Water
4000 Land
FAFF Island (No Trans, no Land)
FBFF Wall
FDFF Rocks
FEFF Forest
01:DD2E-01:DD31 $ Header description "UNIT"
01:DD32-01:DD35 L Units records data length
01:DD36-01:EFF5 R08 Units (0..599) records , record like this

Index : Feature :

00 W X Position
02 W Y Position
04 B Unit type

00 Footman
01 Grunt
02 Peasant
03 Peon
04 Ballista
05 Catapult
06 Knight
07 Ogre
08 Archer
09 Axethrower
0A Mage
0B Death Knight
0C Paladin
0D Ogre Mage
0E Dwarves
0F Goblin Sappers
10 Attack Peasant
11 Attack Peon
12 Ranger
13 Berserker
14 Alleria
15 Teron Gorefiend
16 Kurdan and Sky'ree
17 Dentarg
18 Khadgar
19 Grom Hellscream
1A Tanker H
1B Tanker O
1C Transport H
1D Transport O
1E Elven Destroyer
1F Troll Destroyer
20 Battleship
21 Juggernaught
22 Nothing
23 Deathwing
24 Nothing
25 Nothing
26 Gnomish Submarine
27 Giant Turtle
28 Gnomish Flying Machine
29 Goblin Zeppelin
2A Gryphon Rider
2B Dragon
2C Turalyon
2D Eye of Kilrogg
2E Danath
2F Korgath Bladefist
30 Nothing
31 Cho'gall
32 Lothar
33 Gul'dan
34 Uther Lightbringer
35 Zuljin
36 Nothing
37 Skeleton
38 Daemon
39 Critter
3A Farm
3B Pig Farm
3C Barracks H
3D Barracks O
3E Church
3F Altar of Storms
40 Scout Tower H
41 Scout Tower O
42 Stables
43 Ogre Mound
44 Gnomish Inventor
45 Goblin Alchemist
46 Gryphon Aviary
47 Dragon Roost
48 Shipyard H
49 Shipyard O
4A Town Hall
4B Great Hall
4C Elven lumber mill
4D Troll Lumber Mill
4E Foundry H
4F Foundry O
50 Mage Tower
51 Temple of the Damned
52 Blacksmith H
53 Blacksmith O
54 Refinery H
55 Refinery O
56 Oil Platform H
57 Oil Platform O
58 Keep
59 Stronghold
5A Castle
5B Fortress
5C Gold Mine
5D Oil Patch
5E Start Location H
5F Start Location O
60 Guard Tower H
61 Guard Tower O
62 Cannon Tower H
63 Cannon Tower O
64 Circle of Power
65 Dark Portal
66 Runestone
67 Wall H - not yet build
68 Wall O - not yet build
69 Dead Body
6A 1x1 Destroyed Place
6B 2x2 Destroyed Place
6C 3x3 Destroyed Place
6D 4x4 Destroyed Place
6E
: Warcraft II Crashes
FF

05 B Unit owner (0..15)
06 W If oil patch or gold mine,then
gold/oil amount divided by 2500
else 0=passive,1=active

01:EFF6 < End of File

Thanks! Tupac Administrator

SAV

SAV File Format

00:0000-00:001F $ Description (31 characters+line terminator=1A)
00:0020-00:0023 L Game Id tag,if saved campaign then =0
else contains PUD Id tag.
00:0024-00:0027 L Game clock ???
00:0028-00:002B $ Indentify caption "War2"
00:002C-00:002F L Version number ***
9F=1.33
00:0030-00:0031 W In campaign game,agrees with number+1000 of entry
in maindat.war,where pud is stored.
00:0032 B Reserved1
00:0033 B Allied Victory
00:0034-00:0073 L Units and buildings allowed flags (16 players)
b00: Footman/Grunt
b01: Peasant/Peon
b02: Ballista/Catapult
b03: Knight/Ogre
b04: Archer/Axe Thrower
b05: Mage/Death Knight
b06: Tanker
b07: Destroyer
b08: Transport
b09: Battleship/Juggernaught
b0A: Submarine/Giant Turtle
b0B: Flying Machine/Gobblin Zeppelin
b0C: Gryphon/Dragon
b0D: Unused
b0E: Dwarves/Sappers
b0F: Aviary/Roost
b10: Farm
b11: Barracks
b12: Lumber Mill
b13: Stables/Mound
b14: Mage Tower/Temple
b15: Foundry
b16: Refinery
b17: Inventor/Alchemists
b18: Church/Altar of Storms
b19: Tower
b1A: Town Hall/Great Hall
b1B: Keep/Stronghold
b1C: Castle/Fortress
b1D: Blacksmith
b1E: Shipyard
b1F: Wall in multiplayer
00:0074-00:00B3 L Spells already known flags (16 players)
b00: Holy Vision
b01: Healing
b02: Unused
b03: Exorcism
b04: Flame Shield
b05: Fireball
b06: Slow
b07: Invisibility
b08: Polymorph
b09: Blizzard
b0A: Eye of Killrog
b0B: Bloodlust
b0C: Unused
b0D: Raise Dead
b0E: Death Coil
b0F: Whirlwind
b10: Haste
b11: Unholy Armor
b12: Runes
b13: Death and Decay
b14: Unused
: Unused
b1F: Unused
00:00B4-00:00F3 L Spells allowed to research flags
*bits like above
00:00F4-00:0133 L Spells currently researching
*bits like above
00:0134-00:0173 L Upgrades allowed
b00 Arrow 1
b01 Arrow 2
b02 Sword 1
b03 Sword 2
b04 Shield 1
b05 Shield 2
b06 Ship Cannon 1
b07 Ship Cannon 2
b08 Ship Armor 1
b09 Ship Armor 2
b0A Unused
b0B Unused
b0C Ballista 1
b0D Ballista 2
b0E Unused
b0F Unused
b10 Elven Rangers
b11 Longbow
b12 Scouting
b13 Ranger Markmanship
b14 Paladins
b15 Unused
: Unused
b1F Unused
00:0174-00:01B3 L Upgrades currently being acquired
*bits like above
00:01B4-00:01F3 L Player's (0..15) lumber amount
00:01F4-00:0233 L Player's gold amount
00:0234-00:0273 L Player's oil amount
00:0274-00:0283 B Player's arrow upgrade# 0=none,1=arrow 1,2=arrow 2
00:0284-00:0293 B Player's sword upgrade state,like above
00:0294-00:02A3 B Player's horses/wolfs upgrade state (War1 redundant)
00:02A4-00:02B3 B Player's shield upgrade state
00:02B4-00:02C3 B Player's ship armor upgrade state
00:02C4-00:02D3 B Player's ship cannon upgrade state
00:02D4-00:02E3 B Player's ship speed upgrade state ( unused )
00:02E4-00:02F3 B Player's(0..15) race , 0=Human,1=Orc,2=Neutral
00:02F4-00:0303 B Player's(0..15) owners,0=person,1=computer,
2=passive,3=nobody
00:0304-00:0305 W Tileset(0=forest,1=ice,2=wasteland,3=swamp)
00:0306-00:0307 W Song currently played
00:0308-00:0309 W Scenario objectives
00=own 4 farms and 1 barracks
01=own 4 oil platforms and 1 shipyard
02=any oil refineries in game
03=kill attack peasants,build castle,
destroy enemy
04=never used
05=free mages and peasants,destroy
castle
06=destroy transports,oil platforms and
shipyards
07=never used
08=destroy dark portal
09=destroy castle,have runestone at end
0A=build shipyard and fortress by circle
of power
0B=destroy death knights and their
temple , Grom must survive
0C=get violet player units,destory green,
rescue white and have all heroes
0D=destroy all,Teron must survive
0E=capture dragons,capture dragon roost
0F=destroy all enemy ships,have
5 shipyards
10=kill daemon
11=destroy human buildings,rescue mage,
return him to circle of power
12=destroy all mage towers,destroy
violet player
13=destroy all humans,capture dark portal
14=rescue X units , Alleria , Danath ,
Turalyon must survive
15=destroy all,Danath must survive
16=destroy all strongholds and fortresses,
Turalyon must survive,rescue X units
17=destroy enemy,have castle
18=destroy enemy shipyards , have 3 owns
19=destroy orange,bring Turalyon and
Danath to circle
1A=Kill Deathwing,Khadgar , Alleria ,
Kurdran must survive
1B=destroy black fortress,raze altar
1C=play until retreat,heroes must survive
1D=destroy enemy,heroes must survive
1E=destroy dark prtal,only Khadgar can
do this,must survive
0100=destroy all
0200=rescue X units,described below
00:030A B Number of units to rescue.
00:030B B Which units need to be rescued
16=only Hero flag units,0=any units
00:030C-00:030D W Victory region ***
00:030E-00:032D W Player's (0..15) Rescued persons number
00:032E-00:034D W Player's (0..15) Captured persons number
00:034E-00:034F W Map Dimensions,only one
00:0350-00:0351 W Reserved2
00:0352-00:0353 W Current map ***
00:0354 B Flag if Fog of war is enabled
*1=yes,0=no
00:0355 B Right click mouse style ***
00:0356-00:0357 W Color cycles ***
00:0358 B Local Players
00:0359 B Total Players
00:035A B Number of Person Players
00:035B B Player side
00:035C B Message filter ***
00:035D B Flag if it is a custom game
*1=yes,0=no
00:035E-00:035F W X Position of map window ???
00:0360-00:0361 W Y Position of map window ???
00:0362-00:0381 W Player's (0..15) men in progress *** (men trained ???)
00:0382-00:03A1 W Player's (0..15) dead men table (men by others killed ???)
00:03A2-00:03C1 W Player's buildings in progress (buildings build ???)
00:03C2-00:03E1 W Player's destroyed buildings table (buildings by others destr???)
00:03E2-00:0401 W Player's kills
00:0402-00:0421 W Player's razings
00:0422-00:0423 W Total rescued
00:0424-00:0425 W Total NPCs
00:0426-00:0465 L Player's total gold mined
00:0466-00:04A5 L Player's total lumber chopped
00:04A6-00:04E5 L Player's total oil hauled
00:04E6-00:05E5 B Enemy table ***
00:05E6-00:062D B Save map locations ??? (72 bytes)
00:062E-00:0631 L Campaign score
00:0632-00:0671 L Player's score
00:0672-00:0679 B Valid players ***
00:067A-00:07B9 $ Player's names each player 40 chars, $00=terminator
00:07BA-00:07D9 $ Customname ???
00:07DA-00:07F9 $ Map description , $00=terminator
00:07FA-00:07FD L Custom checksum
00:07FE-00:083D L Selected group time ???
00:083E-00:0841 L Saved score
00:0842-00:0851 B Player's ballista upgrade state
0=none,1=ballista 1,2=ballista 2
00:0852-00:0861 B Player's Ranger/Berserker upgrade state
00:0862-00:0871 B Player's Longbow/Light Axes upgrade state
00:0872-00:0881 B Player's Scouting upgrade state
00:0882-00:0891 B Player's Marksmanship/Regeneration state
00:0892-00:08C3 B Rune X position , max. 50 rune places=10
at once available runes ???
00:08C4-00:08F5 B Rune Y position , see above
00:08F6-00:0959 W Runes delay , countdown ???
00:095A-00:0B09 B Computer upgrade table ???
00:0B0A-00:0B0B W Patch signal , used by savefix.exe ???
00:0B0C-00:0B1B B Team color reorder ???
00:0B1C-00:0B1D W Saved by ... ???
00:0B1E-00:0FCF B 04B2 Reserved3 bytes
00:0FD0-00:8FCF W Reaction tile map
0000 Water
4000 Land
FAFF Island (No Trans, no Land)
FBFF Wall
FDFF Rocks
FEFF Forest
00:8FD0-01:0FCF W Tile map 0..384 tiles,any order
+extended tiles like wall with 75 hits etc.
01:0FD0-01:8FCF W Movement map : Lo-bytes 01=land
11=dirt
40=water
81=forest
82=coast

Hi-bytes 01=here is a land unit
02=here is an air unit
04=here is a naval unit
08=here is a building
01:8FD0-02:8FCF L Ground & sea unit map,containing unit number 0..599
indexing unit array,FFFF:FFFF=no unit here
02:8FD0-03:8FD0 L Flying unit map,see above.
03:8FD0-03:CFCF B Viewing map,fog of war map

Tiles :
xx xx xx
xo =01 oo =02 ox =03

xo oo ox
xo =04 oo =00 ox =06

xo oo ox
xx =07 xx =08 xx =09

xo ox oo oo
oo =0A oo =0B xo =0C ox =0D

xo ox oxo
ox =0E xo =0F oxo =05

03:CFD0-04:0FD0 B Discovering map,full black,tiles like above
04:4FD0-04:52CF R30 Player's(0..15) AI info table , record like this

Index : Feature :

00 L AI timer
04 L AI sequence pointer
08 B Player flags
09 B Flag if can attack land
0A B Flag if can attack water
0B B Flag if can attack air
0C B Flag if strategy is on
0D B Land attack group size
0E B Amount of land attack groups
0F B Sea attack group size
10 B Amount of sea attack groups
11 B Air attack group size
12 B Amount of air attack groups
13 B Number of wanted peasants
14 B Number of wanted footmans
15 B Number of wanted archers
16 B Number of wanted catapults
17 B Number of wanted knights
18 B Number of wanted oil tankers
19 B Number of wanted destroyers
1A B Number of wanted transports
1B B Number of wanted battleships
1C B Number of wanted submarines
1D B Number of wanted mages
1E B Number of wanted flying machines
1F B Number of wanted demolition squads
20 B Number of wanted dragons
21 B Agressiveness level
22 B Maximum buildable units ???
23 L Building order table
27 L Building wait table
2B B North ???
2C B East ???
2D B South ???
2E B West ???
2F B Next side ???
04:52D0-04:53AB W Overlap frames for each unit (0..109)
* group to belong number
* see unit array section on 04:6C1A for units order
04:53AC-04:54A9 W Obsolete General grafix frames
b00
: Entry number counting all archives
b0C
b0D Flag #2
b0E Flag #1
b0F Repeat flag
*FFFF means no frame available
*Units from 0-126
04:54AA-04:55A7 W Obsolete Forest grafix frames
*see above
04:55A8-04:56A5 W Obsolete Winter grafix frames
*see above
04:55A6-04:57A3 W Obsolete Wastelands grafix frames
*see above
04:57A4-04:595B L Units sight range (110 units)
04:595C-04:5A37 W Units hit points (110 units)
04:5A38-04:5AA5 B Flag if unit is magic
0=no,1=yes
04:5AA6-04:5B13 B Units build time
* 6 = one second
04:5B14-04:5B81 B Units gold cost divided by 10
04:5B82-04:5BEF B Units lumber cost divided by 10
04:5BF0-04:5C5D B Units oil cost divided by 10
04:5C5E-04:5E15 L Units size in tiles , first X , then Y
04:5E16-04:5FCD L Units box size in pixels , first X , then Y
04:5FCE-04:603B B Units attack range
04:603C-04:60A9 B Computer units reaction range
04:60AA-04:6117 B Person units reaction range
04:6118-04:6185 B Units armor amount
04:6186-04:61F3 B Selectable thru rectangle
0=no,1=yes
04:61F4-04:6261 B Priority , AI treatment, high x low
04:6262-04:62CF B Basic damage
04:62D0-04:633D B Piercing damage
04:633E-04:63AB B Weapon upgradable
0=no,1=yes
04:63AC-04:6419 B Armor upgradable
0=no,1=yes
04:641A-04:6487 B Missile weapon type
00 Lightning
01 Griffon Hammer
02 Dragon Breath
03 Flame Shield
04 ???
05 ???
06 ???
07 Big Cannon
08 ???
09 ???
0A Touch of Death
0B ???
0C ???
0D Catapult Rock
0E Ballista Bolt
0F Arrow
10 Axe
11 Submarine Missile
12 Turtle Missile
13 ???
14 ???
15 ???
16 ???
17 ???
18 Small Cannon
19 ???
1A ???
1B Daemon Fire
1C ???
1D None
*1E-FF ???
04:6488-04:64F5 B Unit type
0=land,1=fly,2=naval
*changes only appearance
04:64F6-04:6563 B Decay rate
*dies in dacay * 6 , 0=never
*only for units created via spell
04:6564-04:65D1 B Annoy computer factor
04:65D2-04:660B B Second mouse button click
01 Attack
02 Move
03 Harvest
04 Haul Oil
05 Demolish
06 Sail
*only the first 58 units
04:660C-04:66E7 W Point value for killing unit
04:66E8-04:6755 B Which terrain can unit target
00 Nothing
01 Land
02 Sea
03 Land and Sea
04 Air
05 Land and Air
06 Land and Sea
07 Everything
*Some missiles can not hit air units
04:6756-04:690D L Unit flags
b00: Land unit
b01: Air unit
b02: Explode when killed (used on catapult)
b03: Sea unit
b04: Critter
b05: Is a building
b06: Is a submarine
b07: Can see submarine
b08: Is a peon
b09: Is a tanker
b0A: Is a transport
b0B: Is a place to get oil
b0C: Is a storage for gold
b0D: Not used
b0E: Can ground attack (only catapult and ships)
b0F: Is undead (exorcism work on them)
b10: Is a Shore building
b11: Can cast spell
b12: Is a storage for wood
b13: Can attack
b14: Is a tower
b15: Is an oil patch
b16: Is a mine
b17: Is a hero
b18: Is a storage for oil
b19: Invisibility/Unholy armor kill this unit
b1A: This unit act like a mage
b1B: Is this unit organic (spells)
b1C: Not used
b1D: Not used
b1E: Not used
b1F: Not used
04:690E-04:6941 B Upgrade time
*Upgrade type offsets
00 Sword 1
01 Sword 2
02 Axe 1
03 Axe 2
04 Arrow 1
05 Arrow 2
06 Spear 1
07 Spear 2
08 Human Shield 1
09 Human Shield 2
0A Orc Shield 1
0B Orc Shield 2
0C Human Ship Cannon 1
0D Human Ship Cannon 2
0E Orc Ship Cannon 1
0F Orc Ship Cannon 2
10 Human Ship Armor 1
11 Human Ship Armor 2
12 Orc Ship Armor 1
13 Orc Ship Armor 2
14 Catapult 1
15 Catapult 2
16 Ballista 1
17 Ballista 2
18 Train Rangers
19 Longbow
1A Ranger Scouting
1B Ranger Marksmanship
1C Train Berserkers
1D Lighter Axes
1E Berserker Scouting
1F Berserker Regeneration
20 Train Ogre Mages
21 Train Paladins
22 Holy Vision
23 Healing
24 Exorcism
25 Flame Shield
26 Fireball
27 Slow
28 Invisibility
29 Polymorph
2A Blizzard
2B Eye of Killrogg
2C Bloodlust
2D Raise Dead
2E Death Coil
2F Whirlwind
30 Haste
31 Unholy Armor
32 Runes
33 Death and Decay
04:6942-04:69A9 W Upgrade gold cost
04:69AA-04:6A11 W Upgrade lumber cost
04:6A12-04:6A79 W Upgrade oil cost
04:6A7A-04:6AE1 W Upgrade icon
04:6AE2-04:6B49 W Upgrade group applies to
04:6B4A-04:6C19 L Affect flags,what upgrade gives
*For flags see unit and buildings
*allowed section on 00:0034
04:6C1A-05:A179 R84 Units array,600 units , record 134 B long

Index: Unit Feature:

00 W Display and clickable X position*32
02 W Display and clickable Y position*32
04 W Animator pointer in entry #278
06 B ???
07 B Wait counter in entry #278 ???
08 B ???
09 B Unit frame nr.
0A B Orientation 0-7 , 0=N,1=NE,...,7=NW
:
:
10 W Real X position,used by minimap too
12 W Real Y position,used by minimap too
:
:
16 B Flags if unit can be healed ???
:
:
1A W Hit points
1C B ???
1D B Icon menu,available abilities to command
1E B Magic pts/Complete pts bar
1F B Unit identity,what really unit is
20 W Flag if unit slot is valid (FFFF=free)
22 B Move mode,0=ground,1=fly,2=water,3=nothing
23 B Look out,how unit is drawn on big map
24 B Which player control this unit
25 B Unit color of player dress
26 B Unit current action type
:
:
3C W Invisibility remaining time
3E W Unholy armor remaining time
40 W Bloodlust remaining time
42 W Haste/Slow remaining time
Positive is haste , nagative slow
44 W ???
46 W Flame shield remaining time
:
:
50 W X position in tiles ???
52 W Y position in tiles ???
:
:
64 W Start X position in tiles
66 W Start Y position in tiles

6D B If bit 5 set , unit has goods
If bit 6 set , computer controlled ???
:
:
76 B Command (14=building)???
77 B Building what ???
78 W Building X position ???
7A W Gold in mine/Oil in patch divided by 100
Building Y position ???
7C W Target X position/ % completed
7E W Target Y position
80 L Offset to unit array section to targeted
unit ***

*Unit Types

00 Footman
01 Grunt
02 Peasant
03 Peon
04 Ballista
05 Catapult
06 Knight
07 Ogre
08 Archer
09 Axethrower
0A Mage
0B Death Knight
0C Paladin
0D Ogre Mage
0E Dwarves
0F Goblin Sappers
10 Attack Peasant
11 Attack Peon
12 Ranger
13 Berserker
14 Alleria
15 Teron Gorefiend
16 Kurdan and Sky'ree
17 Dentarg
18 Khadgar
19 Grom Hellscream
1A Tanker H
1B Tanker O
1C Transport H
1D Transport O
1E Elven Destroyer
1F Troll Destroyer
20 Battleship
21 Juggernaught
22 Nothing
23 Deathwing
24 Nothing
25 Nothing
26 Gnomish Submarine
27 Giant Turtle
28 Gnomish Flying Machine
29 Goblin Zeppelin
2A Gryphon Rider
2B Dragon
2C Turalyon
2D Eye of Kilrogg
2E Danath
2F Korgath Bladefist
30 Nothing
31 Cho'gall
32 Lothar
33 Gul'dan
34 Uther Lightbringer
35 Zuljin
36 Nothing
37 Skeleton
38 Daemon
39 Critter
3A Farm
3B Pig Farm
3C Barracks H
3D Barracks O
3E Church
3F Altar of Storms
40 Scout Tower H
41 Scout Tower O
42 Stables
43 Ogre Mound
44 Gnomish Inventor
45 Goblin Alchemist
46 Gryphon Aviary
47 Dragon Roost
48 Shipyard H
49 Shipyard O
4A Town Hall
4B Great Hall
4C Elven lumber mill
4D Troll Lumber Mill
4E Foundry H
4F Foundry O
50 Mage Tower
51 Temple of the Damned
52 Blacksmith H
53 Blacksmith O
54 Refinery H
55 Refinery O
56 Oil Platform H
57 Oil Platform O
58 Keep
59 Stronghold
5A Castle
5B Fortress
5C Gold Mine
5D Oil Patch
5E Start Location H
5F Start Location O
60 Guard Tower H
61 Guard Tower O
62 Cannon Tower H
63 Cannon Tower O
64 Circle of Power
65 Dark Portal
66 Runestone
67 Wall H - not yet build
68 Wall O - not yet build
69 Dead Body
6A 1x1 Destroyed Place
6B 2x2 Destroyed Place
6C 3x3 Destroyed Place
6D 4x4 Destroyed Place
6E
: Warcraft II Crashes
FF

05:A17A-05:CA19 R34 Missiles array,200 missiles,record 52 B long

Index : Missile Feature :

00 B ???
:
10 W Half of greater X or Y distance
rounded down , but at least 1
12 W The greater of X or Y distance
to target
14 W The lesser of X or Y distance
to target
:
17 B
b05 Set if Y direction positive
b06 Set if X direction positive
b07 Set if X distance >= Y
18 W The greater of X or Y distance
to target
:
1E W Left time to hit target ???
20 W X position in pixels of target
22 W Y position in pixels of target
24 L Offset to start of data
for targeted unit
:
2C B Missille type ???
:
2F B Damage amount

*Missile types

00 Lightning
01 Griffon Hammer
02 Dragon Breath and Fireball
03 Fireball by Flame Shield
04 Flame Shield
05 Blizzard
06 Death and Deacy
07 Big Cannon
08 Exorcism
09 Heal Effect
0A Touch of Death
0B Rune
0C Whirlwind
0D Catapult Rock
0E Ballista Bolt
0F Arrow
10 Axe
11 Submarine Missile
12 Turtle Missile
13 Small Fire
14 Big Fire
15 Ballista and Catapult impact
16 Normal Spell
17 Explosion
18 Small Cannon
19 Cannon Explosion
1A Cannon Tower Explosion
1B Daemon Fire
1C Green Cross
1D None
*1E-FF ???

05:CA1A-05:D6FD B ??? Unknown 3300 bytes
05:D6FE-05:D93D B ??? Unknown 576 bytes

05:D93E < End of File

Thanks! Tupac Administrator

War

WAR File Format

00:0000-00:0003 L Id caption number $19000000
00:0004-00:0005 W Number of entries ( max enrty number +1 )
00:0006-00:0007 W Archive Id ( used for entry determination)
1000=Maindat.war
2000=Snddat.war
3000=Rezdat.war
4000=Strdat.war
5000=Sfxdat.sud
6000=Muddat.cud
00:0008-XX:XXXX L Entry offsets in in file
$FFFFFFFF=unavailable (used in demo version)
XX:XXXX RXX Entries

PseudoEntry=everything shorter than 4 bytes
(counted by substracting offsets)

UsefulEntry

Index : Feature :

00 W Lower Entry Length word
=entry datasize-4
02 B Higher Entry Length word
03 B LZSS Compression flag
00=uncompressed
20=compressed

LZSS Compression scheme :

4096 Bytes buffering system

00 B Flags bits=bytes in next 8 records

Bit set = any duplicity , use
the same byte in buffer
on current position
record = byte
Bit clear = duplicity on position
in lower byte and lower
nibble offset of length
in higher byte higher
nibble

Thanks! Tupac Administrator

War2.exe

EXE version 1.33 File Format

03:7FF1-03:81F4 L Offsets for 129 fixup table entries
Value+381F5=place of fixup record
03:81F5-05:C2A3 L Fixup table,entry record like this

Index : Feature :

00 B Should be 07
01 B If 00 , then entry lenght=7
If 10 , then entry length=9
02 W 12 bit offset to location of code
in the page
*Real location =
= this_offset+5C2A4+(1000h*entry#),
04 B 1 = code segment
2 = data segment
05 W/L Depends on section length
Call value , the same value is on
place pointed by Real_location
computed like above
This value is frequently offset to
code section,so Value+5C2A4=asm code
:
:
:
07:7B34-07:7BA1 B A byte for first 106 units , unknown ???
07:7B9E-07:7C07 B Identity flag for each unit ,
if false War2 could crash
:
:
:
0C:DFD8-0C:E18F L Function Z , sets various variables
based on the number of units of this
type you have. Sets number of different
types of units , number of buildings ,
amount of produced food .
:
:
:
0C:E22D-0C:E286 B After death animation for first 58 units
0=nothing,1=human corp , 2=orcish corp , 3=sink
:
:
:
0C:E2D0-0C:E39F L 52 dwords victory conditions , record like this

Index : Meaning :

00 B Victory condition level

00=own 4 farms and 1 barracks
01=own 4 oil platforms and 1 shipyard
02=any oil refineries in game
03=kill attack peasants,build castle,
destroy enemy
04=never used
05=free mages and peasants,destroy
castle
06=destroy transports,oil platforms and
shipyards
07=never used
08=destroy dark portal
09=destroy castle,have runestone at end
0A=build shipyard and fortress by circle
of power
0B=destroy death knights and their
temple , Grom must survive
0C=get violet player units,destory green,
rescue white and have all heroes
0D=destroy all,Teron must survive
0E=capture dragons,capture dragon roost
0F=destroy all enemy ships,have
5 shipyards
10=kill daemon
11=destroy human buildings,rescue mage,
return him to circle of power
12=destroy all mage towers,destroy
violet player
13=destroy all humans,capture dark portal
14=rescue X units , Alleria , Danath ,
Turalyon must survive
15=destroy all,Danath must survive
16=destroy all strongholds and fortresses,
Turalyon must survive,rescue X units
17=destroy enemy,have castle
18=destroy enemy shipyards , have 3 owns
19=destroy orange,bring Turalyon and
Danath to circle
1A=Kill Deathwing,Khadgar , Alleria ,
Kurdran must survive
1B=destroy black fortress,raze altar
1C=play until retreat,heroes must survive
1D=destroy enemy,heroes must survive
1E=destroy dark prtal,only Khadgar can
do this,must survive

01 B 1=kill all
2=rescue by contitions below
02 W Always set to 0000 ???

0C:E3A0-0C:E46F L 52 dwords rescue numbers

Index : Meaning :

00 B Number of units to rescue
01 B 00=rescue any units
10=rescue hero-flag units
02 W Region flag ???

0C:E470-0C:E53F L Unit and buildings allowed
flags , for 1 player for 52 levels

b00: Footman/Grunt
b01: Peasant/Peon
b02: Ballista/Catapult
b03: Knight/Ogre
b04: Archer/Axe Thrower
b05: Mage/Death Knight
b06: Tanker
b07: Destroyer
b08: Transport
b09: Battleship/Juggernaught
b0A: Submarine/Giant Turtle
b0B: Flying Machine/Gobblin Zeppelin
b0C: Gryphon/Dragon
b0D: Unused
b0E: Dwarves/Sappers
b0F: Aviary/Roost
b10: Farm
b11: Barracks
b12: Lumber Mill
b13: Stables/Mound
b14: Mage Tower/Temple
b15: Foundry
b16: Refinery
b17: Inventor/Alchemists
b18: Church/Altar of Storms
b19: Tower
b1A: Town Hall/Great Hall
b1B: Keep/Stronghold
b1C: Castle/Fortress
b1D: Blacksmith
b1E: Shipyard
b1F: Wall in multiplayer

0C:E540-0C:E60F L Upgrade allowed flags , 52 levels

b00 Arrow 1
b01 Arrow 2
b02 Sword 1
b03 Sword 2
b04 Shield 1
b05 Shield 2
b06 Ship Cannon 1
b07 Ship Cannon 2
b08 Ship Armor 1
b09 Ship Armor 2
b0A Unused
b0B Unused
b0C Ballista 1
b0D Ballista 2
b0E Unused
b0F Unused
b10 Elven Rangers
b11 Longbow
b12 Scouting
b13 Ranger Markmanship
b14 Paladins
b15 Unused
: Unused
b1F Unused

0C:E610-0C:E6DF L Spells allowed flags,52 levels
b00: Holy Vision
b01: Healing
b02: Unused
b03: Exorcism
b04: Flame Shield
b05: Fireball
b06: Slow
b07: Invisibility
b08: Polymorph
b09: Blizzard
b0A: Eye of Killrog
b0B: Bloodlust
b0C: Unused
b0D: Raise Dead
b0E: Death Coil
b0F: Whirlwind
b10: Haste
b11: Unholy Armor
b12: Runes
b13: Death and Decay
b14: Unused
: Unused
b1F: Unused
:
:
:
0C:E728-0C:E9D9 W Human Sound Table 345 sounds with
references to entry number in which
is sound stored , respect archive offsets
Highest 3 bits are flags

b07 ???
b06 ???
b05 Repeat , first unit which uses the
same sound don't have it,others must
or the game will crash on exit

0C:E9DA-0C:E9DB W Just for dword align ???

0C:E9DC-0C:EC8D W Orc Sound Table , 345 references,see above
:
:
:
0C:EF4C-0C:EFBF W First 58 units number of attack
sound in sound table for its race
0C:EFC0-0C:F0A7 L First 58 unit acknowledge function number
Plays random acknowledge sound
0C:F0A8-0C:F11B W First 58 units number of ready
sound in sound table for its race
0C:F11C-0C:F203 L First 58 units selected function number
Plays appropriate random selected or annoyed
sound
0C:F204-0C:F23D W Sound played when missile hits target
*Missile types order
00 Lightning
01 Griffon Hammer
02 Dragon Breath and Fireball
03 Fireball by Flame Shield
04 Flame Shield
05 Blizzard
06 Death and Deacy
07 Big Cannon
08 Exorcism
09 Heal Effect
0A Touch of Death
0B Rune
0C Whirlwind
0D Catapult Rock
0E Ballista Bolt
0F Arrow
10 Axe
11 Submarine Missile
12 Turtle Missile
13 Small Fire
14 Big Fire
15 Ballista and Catapult impact
16 Normal Spell
17 Explosion
18 Small Cannon
19 Cannon Explosion
1A Cannon Tower Explosion
1B Daemon Fire
1C Green Cross
1D None
:
:
0D:061C-0D:070F L Action function A calls , action legal target ???
0D:0710-0D:0803 L Action function B calls , action to take ???
*All spells have the same
0D:0804-0D:08F7 L Action function C calls , for spells action to
take when casting , for other actions set to 0
0D:08F8-0D:0934 B A byte for each action , various numbers from 0 to 6
0D:0935-0D:0971 B A byte for each action , from 0 to 2
0D:0972-0D:09EB W Word for each action , action flags ???
0D:09EC-0D:0A28 B Action range , for action order see Action mana

:
:
:
0D:2304-0D:237D W Action mana cost , used for spells
*Action offsets
00 Unkonown
01 Unknown
02 Stop
03 Move
04 Unknown
05 Patrol
08 Attack
:
0D Stand Ground
:
11 Attack Ground
12 Unknown
13 Demolish
:
17 Harvest
18 Return with Goods
:
1B Repair
1C Unknown
1D Unload Passengers
:
26 Holy Vision
27 Healing
28 Unknown
29 Exorcism
2A Flame Shield
2B Fireball
2C Slow
2D Invisibility
2E Polymorph
2F Blizzard
30 Eye of Kilrogg
31 Bloodlust
32 Raise Dead
33 Death Coil
34 Whirlwind
35 Haste
36 Unholy Armor
37 Runes
38 Death and Decay
:
3C Unknown
:
:
0D:2380-0D:3CEF R12 Unit commands , command offsets point here

Index : Meaning :

00 W Position of icon , 0=left upper
9 = right down , from left to right
02 W Picture index , icon number
04 L Req Fn , requirements function
for icon to appear
08 L Act Fn , what action to perform call
0C B Requirement fuction variable
(for example 0,1,2 for upgrade levels)
0D B Action function variable
(for example unit nr. for barracks)
0E W Showed string index
10 W Unknown , some flags

0D:3CF0-0D:3FBF R06 Extended unit data (110 units,10 specials)

Index : Meaning :

00 W Number of commands
02 L Call to command data section
Value+CC2A4=offset
of first command
*Change command following this proc:
Fup_tbl_entr=(file_pos-5C2A4) div 1000h
Srch_offs=(file_pos-5C2A4) mod 1000h
Get offset of section Fup_tbl_entr in
fixup table and begin search for Srch_offs
If You find it , change in Fixup Table
record (see Fixup table ) command value
on offset 5 of fixup record

*Units order

00 Footman
01 Grunt
02 Peasant
03 Peon
04 Ballista
05 Catapult
06 Knight
07 Ogre
08 Archer
09 Axethrower
0A Mage
0B Death Knight
0C Paladin
0D Ogre Mage
0E Dwarves
0F Goblin Sappers
10 Attack Peasant
11 Attack Peon
12 Ranger
13 Berserker
14 Alleria
15 Teron Gorefiend
16 Kurdan and Sky'ree
17 Dentarg
18 Khadgar
19 Grom Hellscream
1A Tanker H
1B Tanker O
1C Transport H
1D Transport O
1E Elven Destroyer
1F Troll Destroyer
20 Battleship
21 Juggernaught
22 Nothing
23 Deathwing
24 Nothing
25 Nothing
26 Gnomish Submarine
27 Giant Turtle
28 Gnomish Flying Machine
29 Goblin Zeppelin
2A Gryphon Rider
2B Dragon
2C Turalyon
2D Eye of Kilrogg
2E Danath
2F Korgath Bladefist
30 Nothing
31 Cho'gall
32 Lothar
33 Gul'dan
34 Uther Lightbringer
35 Zuljin
36 Nothing
37 Skeleton
38 Daemon
39 Critter
3A Farm
3B Pig Farm
3C Barracks H
3D Barracks O
3E Church
3F Altar of Storms
40 Scout Tower H
41 Scout Tower O
42 Stables
43 Ogre Mound
44 Gnomish Inventor
45 Goblin Alchemist
46 Gryphon Aviary
47 Dragon Roost
48 Shipyard H
49 Shipyard O
4A Town Hall
4B Great Hall
4C Elven lumber mill
4D Troll Lumber Mill
4E Foundry H
4F Foundry O
50 Mage Tower
51 Temple of the Damned
52 Blacksmith H
53 Blacksmith O
54 Refinery H
55 Refinery O
56 Oil Platform H
57 Oil Platform O
58 Keep
59 Stronghold
5A Castle
5B Fortress
5C Gold Mine
5D Oil Patch
5E Start Location H
5F Start Location O
60 Guard Tower H
61 Guard Tower O
62 Cannon Tower H
63 Cannon Tower O
64 Circle of Power
65 Dark Portal
66 Runestone
67 Wall H - not yet build
68 Wall O - not yet build
69 Dead Body
6A 1x1 Destroyed Place
6B 2x2 Destroyed Place
6C 3x3 Destroyed Place
6D 4x4 Destroyed Place
6E Blank
6F Human Basic Build
70 Human Advanced Build
71 Orc Basic Build
72 Orc Advanced Build
73 Cancel
74 Cancel #2 ???
75 Cancel Group
76 Command Group of Humans
77 Command Group of Orcs

0D:3FC0-0D:45C3 R0E Unit data (110 units) , record like this
*For units order see above

Index : Meaning :

00 W Unit Icon number
02 W Unknown , but
0 = Dead body,start loc,destr site
1 = Live units,farms,mine,circle,
runestone but no magiks
2 = Mage,D.Knight,Paladin,Ogre Mage
3 = Other buildings??
04 W Unit name string number
06 L Function A,right click ???
0A L Function B,stats which are
shown on the bar(food usage..)

Thanks! Tupac Administrator