![]() ![]() Max value is 0x7FFFFFFF, giving $21,474,836,470, but will be incorrectly displayed as -10 in the money counter. Note: All items that become available in the shop at certain levels can be enabled without purchasing them using other fields in the file below, allowing them to be used at lower levels. 0x2D - Zen Garden unlocked, Golden Watering Can, Fertilizer, Bug Spray, Phonograph, Gardening Glove available in shop (if you visit the Zen Garden while Number of times Adventure Mode completed is 0, level is 0x2D, and you have no Zen Garden plants, Crazy Dave will give you 2 Marigold sprouts and set your fertilizer to 5).0x2A - Flower Pot Roof Cleaner, Spikerock, Gold Magnet available in shop. ![]() 0x23 - Gloom-shroom, Cattail available in shop.0x19 - Shop unlocked (can purchase up to 10 Seed slots, Pool Cleaner, Rake, Gatling Pea, Twin Sunflower, see note below).They become available at the following levels: If 0x00C (Number of times Adventure Mode completed) is zero, this also determines what plants are available and some unlocks. The game crashes as soon as the player enters Adventure Mode when this offset is set to 0 (Level 1-0) or anything beyond 2147483647. The game also recognizes levels 51-2147483647 ( 0x33 - 0x7FFFFFFF) (stage 6), which takes place in the Day setting but has harder zombies and is buggy. through 1.)Ĭurrent level in Adventure Mode (from 1 to 50, e.g. 0x0C or 12 for all final versions of the game (1.Fields labelled "UNIX timestamp" are given in terms of the number of seconds since 12:00:00am in UTC and can be converted using this online converter. 25) and hexadecimal values preceded by "0x" as in "0x1C". In the below, decimal integer values will be written normally (e.g. So load user1.dat in your hex editor, go to offset 0x008 in the file, and change the next four bytes to 10 27 00 00. The field is four bytes long, and the bytes (pairs of hexadecimal digits) are provided in reverse order (little endian), so this will be encoded as 10 27 00 00. The number 10,000 in hexadecimal is 2710. ![]() The field for money (see below) is at offset 0x008, and is coded as the number 10000 (money divided by 10). Say that you wanted to increase your money to $100,000. WARNING: Create a backup copy of your original user#.dat file before modifying it, or you may end up with a corrupt file that crashes the game with no way to recover except to uninstall and reinstall, meaning you will lose all of your data! Example You can only edit it after starting the first level. You must exit the game or select a different user to edit the file. The game loads and saves user1.dat at startup/exit and when switching users, and also saves it at various other points. Otherwise there will be differences, but overall it should be similar. If your file starts with 0x0C (file version 12) it should be compatible with the below information. they are in the order listed in users.dat. If you have multiple users, there might be user2.dat, etc. ~/Library/Application Support/PopCap/PlantsVsZombiesMac/userdataįor Vista and up: C:\ProgramData\PopCap Games\PlantsVsZombies\userdataįor 2000 and XP: A folder named “ userdata” under the directory in which the main executable file PlantsVsZombies.exe is locatedĬ:\ProgramData\Steam\PlantsVsZombies\userdata_backup Zombies (from readme.html in the installation directory): This information is based on the following version of Plants vs. ![]() This information can be used to directly modify the user file using a hex editor, such as Fhred, or to create new software tools to manipulate it. The remainder of this article describes the format of the user file. For Steam users: It should look like this. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |