MAPS LAYOUTThis data is the random seed you get when you start a new game. You can see it when you open your debug text files (in your "Diablo II" directory, something like "D2010528.txt") at the line where appear "Seed:", followed by a decimal number.We can consider it's a map ID because it determines all the maps layout that you'll have in the acts of your present difficulty level. If you take this value from another player, you will play on the exact maps as him. The value really don't seem to be an array (with 1 byte for each act) because whatever byte you change, the act 1 is not the same. The file with the MAP extension is always 24 bytes. It is composed of 6 datas of 4 bytes each :
Note about the increment : the value of next slot to use can only be between 0 and 3. So, if the increment give 4, then it switch back to 0. So you can only have a maximum of 4 files with the MAn entension : from MA0 to MA3. At this point you might think that by playing again in Normal difficulty you'll keep your old maps. It's wrong : EACH time you play in another difficulty level than in your precedent savegame, you have a new map. The MA0 file is here, the corresponding map ID is write in the MAP file, but it is another map ID that you'll have, and so you'll use the Slot 2, with the MA2 file. If you then try to play again in Nightmare difficulty, it is again (for the 4th time) another map ID that you'll have. So, you can wonder what are the use of keeping your old maps in 3 slots, because they can't be re-used by the game. All necessary materials are here, but the mechanism is not implemented. For the fun of playing maybe ? You can in fact re-use your old maps, but you have to do it manually. Just put, in the map layout data (at the offset 07Eh), one of the map ID you have in the MAP file. That's all. You can even get the maps of someone else. An example : You want to play in the same maps of a friend. You also want the same reaveled portions of the map that he have done. Here is the methode : Get his map ID
|