Actions

Key def.dat: Difference between revisions

From Populous Wiki

No edit summary
No edit summary
Line 1: Line 1:
This is populous keys config file, it contains all known keys in populous.


Heres whats known so far, the hex is the position.
// Pause Key
0x8 = Pause key
0x9 = Special key (ex. CTRL +, ALT +)


// Toggle view (World View)\
== Information ==
0x23 = Toggle key  
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.
0x24 = Special key (ex. CTRL +, ALT +)


// Encyclopaedia Key
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
0x38 = Encyclopaedia key
0x39 = Special key (ex. CTRL +, ALT +)
 
// Set Map Marker 1 Key
0x53 = Set Map Marker 1 Key
0x54 = Special key (ex. CTRL +, ALT +)
 
// Set Map Marker 2 Key
0x68 = Set Map Marker 2 Key
0x69 = Special key (ex. CTRL +, ALT +)
 
// Set Map Marker 3 Key
0x83 = Set Map Marker 3 Key
0x84 = Special key (ex. CTRL +, ALT +)
 
// Set Map Marker 4 Key
0x98 = Set Map Marker 4 Key
0x99 = Special key (ex. CTRL +, ALT +)
 
// Goto Map Marker 1 Key
0x113 = Goto Map Marker 1 Key
0x114 = Special key (ex. CTRL +, ALT +)
 
// Goto Map Marker 2 Key
0x128 = Goto Map Marker 2 Key
0x129 = Special key (ex. CTRL +, ALT +)
 
// Goto Map Marker 3 Key
0x143 = Goto Map Marker 3 Key
0x144 = Special key (ex. CTRL +, ALT +)
 
// Goto Map Marker 4 Key
0x158 = Goto Map Marker 4 Key
0x159 = Special key (ex. CTRL +, ALT +)
 
// Zoom view in Key
0x173 = Zoom view in Key
0x174 = Special key (ex. CTRL +, ALT +)
 
// Zoom view out Key
0x188 = Zoom view out Key
0x189 = Special key (ex. CTRL +, ALT +)
 
// Quick Load Key
0x203 = Quick Load Key
0x204 = Special key (ex. CTRL +, ALT +)
 
// Quick Save Key
0x218 = Quick Save Key
0x219 = Special key (ex. CTRL +, ALT +)
 
// Zoom to shaman Key
0x233 = Zoom to shaman Key
0x234 = Special key (ex. CTRL +, ALT +)
 
// Chat message Key
0x248 = Chat message Key
0x249 = Special key (ex. CTRL +, ALT +)
 
// Command Tracking Key
0x263 = Command Tracking Key
0x264 = Special key (ex. CTRL +, ALT +)
 
// Release guarding people key
0x278 = Release guarding people key
0x279 = Special key (ex. CTRL +, ALT +)
 
// Toggle Level Stats key
0x293 = Toggle Level Stats key
0x294 = Special key (ex. CTRL +, ALT +)
 
// Rotate building key
0x308 = Rotate building key
0x309 = Special key (ex. CTRL +, ALT +)
 
// Assign people to group 1 key
0x323 = Assign people to group 1 key
0x324 = Special key (ex. CTRL +, ALT +)
 
// Assign people to group 2 key
0x338 = Assign people to group 2 key
0x339 = Special key (ex. CTRL +, ALT +)
 
// Assign people to group 3 key
0x353 = Assign people to group 3 key
0x354 = Special key (ex. CTRL +, ALT +)
 
// Assign people to group 4 key
0x368 = Assign people to group 4 key
0x369 = Special key (ex. CTRL +, ALT +)
 
// Assign people to group 5 key
0x383 = Assign people to group 4 key
0x384 = Special key (ex. CTRL +, ALT +)
 
// Assign people to group 6 key
0x398 = Assign people to group 4 key
0x399 = Special key (ex. CTRL +, ALT +)
 
// Select people in group key 1
0x413 = Select people in group key 1
0x415 = Special key (ex. CTRL +, ALT +)
 
// Select people in group key 2
0x428 = Select people in group key 2
0x429 = Special key (ex. CTRL +, ALT +)
 
// Select people in group key 3
0x443 = Select people in group key 3
0x444 = Special key (ex. CTRL +, ALT +)
 
// Select people in group key 4
0x458 = Select people in group key 4
0x459 = Special key (ex. CTRL +, ALT +)
 
// Select people in group key 5
0x474 = Select people in group key 5
0x475 = Special key (ex. CTRL +, ALT +)
 
// Select people in group key 6
0x488 = Select people in group key 6
0x489 = Special key (ex. CTRL +, ALT +)
 
//  Zoom to people in group key 1
0x503 = Zoom to people in group key 1
0x504 = Special key (ex. CTRL +, ALT +)
 
//  Zoom to people in group key 2
0x518 = Zoom to people in group key 2
0x519 = Special key (ex. CTRL +, ALT +)
 
//  Zoom to people in group key 3
0x533 = Zoom to people in group key 3
0x534 = Special key (ex. CTRL +, ALT +)
 
//  Zoom to people in group key 4
0x548 = Zoom to people in group key 4
0x549 = Special key (ex. CTRL +, ALT +)
 
//  Zoom to people in group key 5
0x563 = Zoom to people in group key 5
0x563 = Special key (ex. CTRL +, ALT +)
 
//  Zoom to people in group key 6
0x578 = Zoom to people in group key 6
0x589 = Special key (ex. CTRL +, ALT +)
 
//  Zoom to Reincarination site key
0x593 = Zoom to Reincarination site key
0x594 = Special key (ex. CTRL +, ALT +)
 
// Toggle Local Selection key
0x608 = Toggle Local Selection key
0x609 = Special key (ex. CTRL +, ALT +)
 
//  Reselect last selection key
0x623 = Reselect last selection key
0x624 = Special key (ex. CTRL +, ALT +)
 
//  reorient view key
0x638 = reorient view key
0x639 = Special key (ex. CTRL +, ALT +)
 
//  display last dialog key
0x653 = display last dialog key
0x654 = Special key (ex. CTRL +, ALT +)
 
//  toggle auto deselect key
0x668 = toggle auto deselect key
0x669 = Special key (ex. CTRL +, ALT +)
 
// Call to arms key
0x683 = Call to arms key
0x684 = Special key (ex. CTRL +, ALT +)
 
// Scatter people key
0x698 = Scatter people key
0x699 = Special key (ex. CTRL +, ALT +)

Revision as of 02:54, 26 November 2013


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