Advance Wars: Days of Ruin (Map Header Info)

Discussion of hacking, editing and developments in Advance Wars games.
Remember, no Rom Requests
Post Reply
User avatar
RadioShadow
Rank: Holding the Mega Drive controller
Location: UK, England

Advance Wars: Days of Ruin (Map Header Info)

Post by RadioShadow » Mon Nov 24, 2014 4:57 am

Xenesis on http://www.romhacking.net asked if I could upload my notes, so here they are. I have actually made a 'Visual Basic 6.0' tool, which I will upload to 'romhacking.net', but these are the required information to edit the Map Header Data.

You will need to unpack the nds rom and locate the 'overlay_0000.bin' file, which is in the 'overlay' folder.

Days of Ruin Offsets
Hidden Text
' VS
Map 0 = &H46EC0
Map 1 = &H46F10
Map 2 = &H46F60
Map 3 = &H46FB0
Map 4 = &H47000
Map 5 = &H47050
Map 6 = &H470A0
Map 7 = &H470F0
Map 8 = &H47140
Map 9 = &H47190
Map 10 = &H471E0
Map 11 = &H47230
Map 12 = &H47280
Map 13 = &H472D0
Map 14 = &H47320
Map 15 = &H47370
Map 16 = &H473C0
Map 17 = &H47410
Map 18 = &H47460
Map 19 = &H474B0
Map 20 = &H47500
Map 21 = &H47550
Map 22 = &H475A0
Map 23 = &H475F0
Map 24 = &H47640
Map 25 = &H47690
Map 26 = &H476E0
Map 27 = &H47730
Map 28 = &H47780
Map 29 = &H477D0
Map 30 = &H47820
Map 31 = &H47870
Map 32 = &H478C0
Map 33 = &H47910
Map 34 = &H47960
Map 35 = &H479B0
Map 36 = &H47A00
Map 37 = &H47A50
Map 38 = &H47AA0
Map 39 = &H47AF0
Map 40 = &H47B40
Map 41 = &H47B90
Map 42 = &H47BE0
Map 43 = &H47C30
Map 44 = &H47C80
Map 45 = &H47CD0
Map 46 = &H47D20
Map 47 = &H47D70
Map 48 = &H47DC0
Map 49 = &H47E10
Map 50 = &H47E60
Map 51 = &H47EB0
Map 52 = &H47F00
Map 53 = &H47F50
Map 54 = &H47FA0
Map 55 = &H47FF0
Map 56 = &H48040
Map 57 = &H48090
Map 58 = &H480E0
Map 59 = &H48130
Map 60 = &H48180
Map 61 = &H481D0
Map 62 = &H48220
Map 63 = &H48270
Map 64 = &H482C0
Map 65 = &H48310
Map 66 = &H48360
Map 67 = &H483B0
Map 68 = &H48400
Map 69 = &H48450
Map 70 = &H484A0
Map 71 = &H484F0
Map 72 = &H48540
Map 73 = &H48590
Map 74 = &H485E0
Map 75 = &H48630
Map 76 = &H48680
Map 77 = &H486D0
Map 78 = &H48720
Map 79 = &H48770
Map 80 = &H487C0
Map 81 = &H48810
Map 82 = &H48860
Map 83 = &H488B0
Map 84 = &H48900
Map 85 = &H48950
Map 86 = &H489A0
Map 87 = &H489F0
Map 88 = &H48A40
Map 89 = &H48A90
Map 90 = &H48AE0
Map 91 = &H48B30
Map 92 = &H48B80
Map 93 = &H48BD0
Map 94 = &H48C20
Map 95 = &H48C70
Map 96 = &H48CC0
Map 97 = &H48D10
Map 98 = &H48D60
Map 99 = &H48DB0
Map 100 = &H48E00
Map 101 = &H48E50
Map 102 = &H48EA0
Map 103 = &H48EF0
Map 104 = &H48F40
Map 105 = &H48F90
Map 106 = &H48FE0
Map 107 = &H49030
Map 108 = &H49080
Map 109 = &H490D0
Map 110 = &H49120
Map 111 = &H49170
Map 112 = &H491C0
Map 113 = &H49210
Map 114 = &H49260
Map 115 = &H492B0
Map 116 = &H49300
Map 117 = &H49350
Map 118 = &H493A0
Map 119 = &H493F0
Map 120 = &H49440
Map 121 = &H49490
Map 122 = &H494E0
Map 123 = &H49530
Map 124 = &H49580
Map 125 = &H495D0
Map 126 = &H49620
Map 127 = &H49670
Map 128 = &H496C0
Map 129 = &H49710
Map 130 = &H49760
Map 131 = &H497B0
Map 132 = &H49800
Map 133 = &H49850
Map 134 = &H498A0
Map 135 = &H498F0
Map 136 = &H49940
Map 137 = &H49990
Map 138 = &H499E0
Map 139 = &H49A30
Map 140 = &H49A80
Map 141 = &H49AD0
Map 142 = &H49B20
Map 143 = &H49B70
Map 144 = &H49BC0
Map 145 = &H49C10
Map 146 = &H49C60
Map 147 = &H49CB0
Map 148 = &H49D00
Map 149 = &H49D50
Map 150 = &H49DA0
Map 151 = &H49DF0
Map 152 = &H49E40
Map 153 = &H49E90
Map 154 = &H49EE0
Map 155 = &H49F30
Map 156 = &H49F80
Map 157 = &H49FD0
Map 158 = &H4A020
Map 159 = &H4A070

' Campaign
Map 160 = &H4A0C0
Map 161 = &H4A110
Map 162 = &H4A160
Map 163 = &H4A1B0
Map 164 = &H4A200
Map 165 = &H4A250
Map 166 = &H4A2A0
Map 167 = &H4A2F0
Map 168 = &H4A340
Map 169 = &H4A390
Map 170 = &H4A3E0
Map 171 = &H4A430
Map 172 = &H4A480
Map 173 = &H4A4D0
Map 174 = &H4A520
Map 175 = &H4A570
Map 176 = &H4A5C0
Map 177 = &H4A610
Map 178 = &H4A660
Map 179 = &H4A6B0
Map 180 = &H4A700
Map 181 = &H4A750
Map 182 = &H4A7A0
Map 183 = &H4A7F0
Map 184 = &H4A840
Map 185 = &H4A890

' Trial
Map 186 = &H4A8E0
Map 187 = &H4A930
Map 188 = &H4A980
Map 189 = &H4A9D0
Map 190 = &H4AA20
Map 191 = &H4AA70
Map 192 = &H4AAC0
Map 193 = &H4AB10
Map 194 = &H4AB60
Map 195 = &H4ABB0
Map 196 = &H4AC00
Map 197 = &H4AC50
Map 198 = &H4ACA0
Map 199 = &H4ACF0
Map 200 = &H4AD40
Map 201 = &H4AD90
Map 202 = &H4ADE0
Map 203 = &H4AE30
Map 204 = &H4AE80
Map 205 = &H4AED0
Map 206 = &H4AF20
Map 207 = &H4AF70
Map 208 = &H4AFC0
Map 209 = &H4B010
Map 210 = &H4B060
Map 211 = &H4B0B0
Map 212 = &H4B100
Map 213 = &H4B150
Map 214 = &H4B1A0
Map 215 = &H4B1F0
Map 216 = &H4B240
Map 217 = &H4B290
Map 218 = &H4B2E0
Map 219 = &H4B330
Map 220 = &H4B380
Map 221 = &H4B3D0
Map 222 = &H4B420
Map 223 = &H4B470
Dark Conflict Offsets
Hidden Text
' VS
Map 0 = &H46EC0
Map 1 = &H46F10
Map 2 = &H46F60
Map 3 = &H46FB0
Map 4 = &H47000
Map 5 = &H47050
Map 6 = &H470A0
Map 7 = &H470F0
Map 8 = &H47140
Map 9 = &H47190
Map 10 = &H471E0
Map 11 = &H47230
Map 12 = &H47280
Map 13 = &H472D0
Map 14 = &H47320
Map 15 = &H47370
Map 16 = &H473C0
Map 17 = &H47410
Map 18 = &H47460
Map 19 = &H474B0
Map 20 = &H47500
Map 21 = &H47550
Map 22 = &H475A0
Map 23 = &H475F0
Map 24 = &H47640
Map 25 = &H47690
Map 26 = &H476E0
Map 27 = &H47730
Map 28 = &H47780
Map 29 = &H477D0
Map 30 = &H47820
Map 31 = &H47870
Map 32 = &H478C0
Map 33 = &H47910
Map 34 = &H47960
Map 35 = &H479B0
Map 36 = &H47A00
Map 37 = &H47A50
Map 38 = &H47AA0
Map 39 = &H47AF0
Map 40 = &H47B40
Map 41 = &H47B90
Map 42 = &H47BE0
Map 43 = &H47C30
Map 44 = &H47C80
Map 45 = &H47CD0
Map 46 = &H47D20
Map 47 = &H47D70
Map 48 = &H47DC0
Map 49 = &H47E10
Map 50 = &H47E60
Map 51 = &H47EB0
Map 52 = &H47F00
Map 53 = &H47F50
Map 54 = &H47FA0
Map 55 = &H47FF0
Map 56 = &H48040
Map 57 = &H48090
Map 58 = &H480E0
Map 59 = &H48130
Map 60 = &H48180
Map 61 = &H481D0
Map 62 = &H48220
Map 63 = &H48270
Map 64 = &H482C0
Map 65 = &H48310
Map 66 = &H48360
Map 67 = &H483B0
Map 68 = &H48400
Map 69 = &H48450
Map 70 = &H484A0
Map 71 = &H484F0
Map 72 = &H48540
Map 73 = &H48590
Map 74 = &H485E0
Map 75 = &H48630
Map 76 = &H48680
Map 77 = &H486D0
Map 78 = &H48720
Map 79 = &H48770
Map 80 = &H487C0
Map 81 = &H48810
Map 82 = &H48860
Map 83 = &H488B0
Map 84 = &H48900
Map 85 = &H48950
Map 86 = &H489A0
Map 87 = &H489F0
Map 88 = &H48A40
Map 89 = &H48A90
Map 90 = &H48AE0
Map 91 = &H48B30
Map 92 = &H48B80
Map 93 = &H48BD0
Map 94 = &H48C20
Map 95 = &H48C70
Map 96 = &H48CC0
Map 97 = &H48D10
Map 98 = &H48D60
Map 99 = &H48DB0
Map 100 = &H48E00
Map 101 = &H48E50
Map 102 = &H48EA0
Map 103 = &H48EF0
Map 104 = &H48F40
Map 105 = &H48F90
Map 106 = &H48FE0
Map 107 = &H49030
Map 108 = &H49080
Map 109 = &H490D0
Map 110 = &H49120
Map 111 = &H49170
Map 112 = &H491C0
Map 113 = &H49210
Map 114 = &H49260
Map 115 = &H492B0
Map 116 = &H49300
Map 117 = &H49350
Map 118 = &H493A0
Map 119 = &H493F0
Map 120 = &H49440
Map 121 = &H49490
Map 122 = &H494E0
Map 123 = &H49530
Map 124 = &H49580
Map 125 = &H495D0
Map 126 = &H49620
Map 127 = &H49670
Map 128 = &H496C0
Map 129 = &H49710
Map 130 = &H49760
Map 131 = &H497B0
Map 132 = &H49800
Map 133 = &H49850
Map 134 = &H498A0
Map 135 = &H498F0
Map 136 = &H49940
Map 137 = &H49990
Map 138 = &H499E0
Map 139 = &H49A30
Map 140 = &H49A80
Map 141 = &H49AD0
Map 142 = &H49B20
Map 143 = &H49B70
Map 144 = &H49BC0
Map 145 = &H49C10
Map 146 = &H49C60
Map 147 = &H49CB0
Map 148 = &H49D00
Map 149 = &H49D50
Map 150 = &H49DA0
Map 151 = &H49DF0
Map 152 = &H49E40
Map 153 = &H49E90
Map 154 = &H49EE0
Map 155 = &H49F30
Map 156 = &H49F80
Map 157 = &H49FD0
Map 158 = &H4A020
Map 159 = &H4A070

' Campaign
Map 160 = &H4A0C0
Map 161 = &H4A110
Map 162 = &H4A160
Map 163 = &H4A1B0
Map 164 = &H4A200
Map 165 = &H4A250
Map 166 = &H4A2A0
Map 167 = &H4A2F0
Map 168 = &H4A340
Map 169 = &H4A390
Map 170 = &H4A3E0
Map 171 = &H4A430
Map 172 = &H4A480
Map 173 = &H4A4D0
Map 174 = &H4A520
Map 175 = &H4A570
Map 176 = &H4A5C0
Map 177 = &H4A610
Map 178 = &H4A660
Map 179 = &H4A6B0
Map 180 = &H4A700
Map 181 = &H4A750
Map 182 = &H4A7A0
Map 183 = &H4A7F0
Map 184 = &H4A840
Map 185 = &H4A890

' Trial
Map 186 = &H4A8E0
Map 187 = &H4A930
Map 188 = &H4A980
Map 189 = &H4A9D0
Map 190 = &H4AA20
Map 191 = &H4AA70
Map 192 = &H4AAC0
Map 193 = &H4AB10
Map 194 = &H4AB60
Map 195 = &H4ABB0
Map 196 = &H4AC00
Map 197 = &H4AC50
Map 198 = &H4ACA0
Map 199 = &H4ACF0
Map 200 = &H4AD40
Map 201 = &H4AD90
Map 202 = &H4ADE0
Map 203 = &H4AE30
Map 204 = &H4AE80
Map 205 = &H4AED0
Map 206 = &H4AF20
Map 207 = &H4AF70
Map 208 = &H4AFC0
Map 209 = &H4B010
Map 210 = &H4B060
Map 211 = &H4B0B0
Map 212 = &H4B100
Map 213 = &H4B150
Map 214 = &H4B1A0
Map 215 = &H4B1F0
Map 216 = &H4B240
Map 217 = &H4B290
Map 218 = &H4B2E0
Map 219 = &H4B330
Map 220 = &H4B380
Map 221 = &H4B3D0
Map 222 = &H4B420
Map 223 = &H4B470
Offset + 00 = Pointer to Map Name (Integer)
Offset + 04 = Fog / Powers / Wi-Fi (Byte)
Offset + 06 = Terrain (Byte)
Offset + 07 = Weather (Byte)
Offset + 09 = Number of Players (Byte)
Offset + 0A = Map Category (Byte)
Offset + 0B = Points Speed [day] requirement (Byte)
Offset + 0C = Day Limit (Byte)
Offset + 0D = Timer (Byte)
Offset + 0E = Funds (Byte)
Offset + 0F = Income (Byte)
Offset + 12 = X Position in Campaign (Byte)
Offset + 13 = Y Position in Campaign (Byte)
Offset + 14 = 1st map to unlock after beating mission (Integer)
Offset + 16 = 2nd map to unlock after beating mission (Integer)
Offset + 18 = 3rd map to unlock after beating mission (Integer)
Offset + 1A = 4th map to unlock after beating mission (Integer)
Offset + 1C = P1 CO (Byte)
Offset + 1D = P2 CO (Byte)
Offset + 1E = P3 CO (Byte)
Offset + 1F = P4 CO (Byte)
Offset + 20 = P1 Army Color (Byte)
Offset + 21 = P2 Army Color (Byte)
Offset + 22 = P3 Army Color (Byte)
Offset + 23 = P4 Army Color (Byte)
Offset + 24 = P1 Team (Byte)
Offset + 25 = P2 Team (Byte)
Offset + 26 = P3 Team (Byte)
Offset + 27 = P4 Team (Byte)
Offset + 38 = P1 Emblem in Campaign (Byte)
Offset + 39 = P2 Emblem in Campaign (Byte)
Offset + 3A = P3 Emblem in Campaign (Byte)
Offset + 3B = P4 Emblem in Campaign (Byte)
Offset + 44 = Pointer to dialogue in RAM (Long)
Offset + 48 = Pointer to file-name for Map (Long)
Offset + 4C = Pointer to file-name for Unit (Long)

Fog / Powers / Wi-Fi:
00 = Fog Off / Powers On
01 = Fog On / Powers On
02 = Fog On / Powers Off
03 = Fog On / Powers Off
0A = Campaign - Fog Off
0B = Campaign - Fog On
10 = Wi-Fi (Worldwide)

Terrain:
00 = Normal
01 = Snow
02 = Desert
03 = Ruin
04 = Shelter (Campaign)
05 = Sky (Campaign)
06 = Ruins (Campaign)
07 = Plains (Campaign)
08 = Great Owl (Campaign)
09 = The Nest (Campaign)

Weather:
00 = Clear
01 = Snow
02 = Rain
03 = Sand

Players:
02 = 2 Players
03 = 3 Players
04 = 4 Players

Map Category:
00 = Campaign
01 = Classic
02 = Trial
03 = 2P
04 = 3P
05 = 4P
06 = Design

Timer:
00 = Disabled
01 = 60 Seconds
02 = 120 Seconds
03 = 180 Seconds

COs:
00 = None
01 = Will
02 = Brenner
03 = Lin
04 = Isabella
05 = Tasha
06 = Gage
07 = Forsythe
08 = Waylon
09 = Greyfield
0A = Penny
0B = Tabitha
0C = Caulder
0D = Davis
0E = The Beast

Army Color:
01 = Red
02 = Blue
03 = Yellow
04 = Black

Teams:
01 = Team A
02 = Team B
03 = Team C
04 = Team D

Emblem:
00 = Default
01 = 12th Battalion
02 = Lazurian
03 = NRA
04 = IDS
05 = Fanatics

Map Unlocking (values are in decimal, need to convert to hex):
162 = Campaign 1
163 = Campaign 2
164 = Campaign 3
165 = Campaign 4
166 = Campaign 5
167 = Campaign 6
168 = Campaign 7
169 = Campaign 8
170 = Campaign 9
171 = Campaign 10
172 = Campaign 11
173 = Campaign 12
174 = Campaign 13
175 = Campaign 14
176 = Campaign 16
177 = Campaign 17
178 = Campaign 18
179 = Campaign 19
180 = Campaign 20
181 = Campaign 21
182 = Campaign 22
183 = Campaign 23
184 = Campaign 24
185 = Campaign 25
186 = Campaign 26
187 = Trial 1
188 = Trial 2
189 = Trial 3
190 = Trial 4
191 = Trial 5
192 = Trial 6
193 = Trial 7
194 = Trial 8
195 = Trial 9
196 = Trial 10
197 = Trial 11
198 = Trial 12
199 = Trial 13
200 = Trial 14
201 = Trial 15
202 = Trial 16
203 = Trial 17
204 = Trial 18
205 = Trial 19
206 = Trial 20
207 = Trial 21
208 = Trial 22
209 = Trial 23
210 = Trial 24
211 = Trial 25
212 = Trial 26
213 = Trial 27
214 = Trial 28
215 = Trial 29
216 = Trial 30
217 = Trial 31
218 = Trial 32
219 = Trial 33
220 = Trial 34
221 = Trial 35
222 = Trial 36
223 = Trial 37
224 = Trial 38
Image

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest