How do plants vs. zombies directly modify the values of plants and zombies from files?
First, our basic equipment doesn't need modifiers, which is useless. The required tools are file 16 binary editing software or disk editing software, such as Winhex. Our purpose is to edit the user data record file, so we need to find the user record file. It is easy to find under 98/ME/XP and stored in the folder Plants vs. Zombies/userdata/. The location of VISTA/WIN7 is strange. In a subfolder under the folder C:/program Files/Popcap/, it should be easier to find Popcap by searching the system disk. There are N+ 1 user record files, so there are n users for every n users. . Dat file. Represents a number corresponding to the user list. Last remaining users.dat stores user lists and user names. Second, after the data is modified, after knowing the user file, use Winhex to open the corresponding file, for example, take user 1.dat as an example. This file contains at least 820 bytes. In the following description, the number of bytes corresponding to the first byte of the file is 0, so the number of bytes corresponding to the 800th byte should be 799, which is just an arithmetic problem for primary school students. The following is the meaning of the data I have obtained after many tests: Record file users? . Date. -Basic data. 08 4Money 12 4 adventure completion times-survival data-. Al 0 1 Complete (00-05) Flag 20 4 Survival 02 Complete (00-05) Flag 24 4 Survival 03 Complete (00-05) Flag 28 4 Survival 0 4 Complete (00-05). Flag 32 4 Survival 05 Complete (00-05) Flag 36 4 Survival 06 (hard) Complete (00-0A) Flag 40 4 Survival 07 (hard) Complete (00-0A) Flag 44 4 Survival 08 (hard). Completed (00-0A) symbol 48 4 Survivability 09 (hard) Completed (00-0A) symbol 52 4 Survivability 10 (hard) Completed (00-0A). Survival: endless records-mini game data. 38+0 completion times 80 4 mini-game 02 completion times 84 4 mini-game 03 completion times 88 4 mini-game 0 4 completion times 92 4 mini-game 05 completion times 96 4 mini-game 06 completion times 100 4 mini-game 07 completion. Number of completions 104 4 mini-games 08 108 4 mini-games 09124 mini-games 10 164 mini-games10/complete. Times 120 4 mini-games 12 completion times 124 4 mini-games 128 4 mini-games 14 completion times 132 4 mini-games10. 8+036 4 mini-games 16 completion times 140 4 mini-games 17 completion times 144 4 mini-games.