Actions

Key def.dat: Difference between revisions

From Populous Wiki

No edit summary
(Redirected page to Keys Configuration Format)
 
(70 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
#REDIRECT [[Keys_Configuration_Format]]
 
== 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

Latest revision as of 18:43, 8 October 2014