Editing Mines in JA2
1. Offsets in different versions of ja2.exe
Version |
Offset |
german v.1.02 |
|
german v.1.02 beta |
|
german v.1.05 |
|
us v.1.06 |
|
us v.1.07 |
|
|
2. Editing the mine position, town and income
The order of the mines in ja2.exe is San Mona, Drassen, Alma, Cambria,
Chitzena, Grumm.
- The first block (marked in yellow) contains the information about the position
of the mine and the town, the mine is attached to. There are six bytes for each
mine:
byte 00-01 |
x-Coordinate of the town |
byte 02-03 |
y-Coordinate of the town |
byte 04-05 |
town |
|
02 00 = Drassen
03 00 = Alma
04 00 = Grumm
06 00 = Cambria
07 00 = San Mona
0c 00 = Chitzena |
|
|
So 03 00 02 00 04 00 for example would
mean, that Grumm mine is in sector B3. |
|
- The next 8 bytes seem to be unused.
- The block marked in blue contains the mine income. 4 bytes for each mine.
by Azrael
MODSQUAD