Actions

Key def.dat

From Populous Wiki


Information

Key def.dat is a file that you have to create by using the Populous Key editor included in the game. Once you save, the file is created and located in ./save/Key def.dat. The file is structured similar to the header format(Header_Format). Each key is stored in a single hexadecimal address, the combination key is always 1 in front of it. The combination key is like shift + key but in the file format it reads key + shift.

Each key needs to be converted to hexadecimal to an integer. This can be done in programming by simply reading infomation from the address, else if you're using a hex editor you'll have to do it by hand using a converter like http://home.paulschou.net/tools/xlate/, once you got the