Go ahead and write it you will need it later on to read a few more numbers. In short, it means Windows users have to write a routine to read in 4 bytes in the correct order. This uint32 is stored "BIG-ENDIAN" - Motorola style (as well as English), with its highest byte stored first. Let's see if I can put it together.Ī Properties file - a file of type 0x00b1b104 in the Packages - starts with a uint32 containing the number of following variables. And yet /more/ unfortunate, Maxis couldn't decide how to store the data, so they used several different strategies. Even more unfortunate, there are several different types of variables - integer, float, boolean, et cetera. Unfortunately, the name of these variables are hashed or taken from a look-up list, so they're encoded. The number of variables is the first value in the file, and everything after that is data, up to the end of the file. The general idea is they consist of a set of "variable=value" items. Properties files have a very simple structure, or at least in principle they do.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |