Editing Pikmin key parameters

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
{{DISPLAYTITLE:''Pikmin'' key parameters}}
+
<code>key.bin</code> is a general parameter file located in <code>..\dataDir\parms\</code>.  It is responsible for the mapping of inputs from Controller Port 1 to actions performable by Olimar.
<code>key.bin</code> is a general parameter file located in <code>/dataDir/parms/</code>.  It is responsible for the mapping of inputs from controller port 1 to actions performable by Olimar.
 
  
 
==Contents==
 
==Contents==
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
! Offset || Descriptor || Value || Purpose
+
! Offset|| Descriptor || Value || Purpose
 
|-
 
|-
| <code>0x00</code> || {{tt|投げ |Throwing }} || <code>0x00001000</code> || Throw Pikmin / Punch
+
| 0x00 || {{tt|投げ |Throwing }} || <code>0x00001000</code> || Throw pikmin / Punch
 
|-
 
|-
| <code>0x04</code> || {{tt|集合カーソル |Collective cursor }} || <code>0x00002000</code> || Whistle
+
| 0x04 || {{tt|集合カーソル |Collective cursor }} || <code>0x00002000</code> || Whistle
 
|-
 
|-
| <code>0x08</code> || {{tt|抜き |Without }} || <code>0x00001000</code> || Flavor text (ship parts and checking ship status)
+
| 0x08 || {{tt|抜き |without }} || <code>0x00001000</code> || Flavor Text (UFO parts and checking UFO)
 
|-
 
|-
| <code>0x0C</code> || {{tt|アタック |Attack }} || <code>0x00001000</code> || {{unsure|Deprecated punch trigger?}}
+
| 0x0C || {{tt|アタック |attack }} || <code>0x00001000</code> || {{unsure|Depricated punch trigger?}}
 
|-
 
|-
| <code>0x10</code> || {{tt|解散 |Dissolution }} || <code>0x00004000</code> || Dismiss Pikmin
+
| 0x10 || {{tt|解散 |Dissolution }} || <code>0x00004000</code> || Dismiss pikmin
 
|-
 
|-
| <code>0x14</code> || {{tt|メニュー |Menu }} || <code>0x00008000</code> || {{unsure|Deprecated radar screen trigger?}}
+
| 0x14 || {{tt|メニュー |menu }} || <code>0x00008000</code> || {{unsure|Depricated radar screen trigger?}}
 
|-
 
|-
 
|}
 
|}
 +
  
 
==Values for detecting controller input==
 
==Values for detecting controller input==
Line 57: Line 57:
 
| <code>0x00004000</code> || '''X''' button
 
| <code>0x00004000</code> || '''X''' button
 
|-
 
|-
| <code>0x00008000</code> || {{tt|'''Y''' button|Difficult to use in practice}}
+
| <code>0x00008000</code> || {{tt|'''Y''' button|Diffucult to use in practice}}
 
|-
 
|-
 
| <code>0x00010000</code> || '''Z''' trigger
 
| <code>0x00010000</code> || '''Z''' trigger
Line 92: Line 92:
 
|-
 
|-
 
|}
 
|}
 +
 +
  
 
==Notes==
 
==Notes==
Adding hexadecimal values together causes multiple buttons to be usable for a single action (i.e. <code>0x00016000</code> will make the B button, X button, and Z trigger all cause the same action).  This suggests that the translation of controller input to in-game actions is done with [[wikipedia:Mask (computing)|bitwise operator masking]].
+
Adding hexadecimal values together causes multiple buttons to be usable for a single action (i.e. <code>0x00016000</code> will make the B button, X button, and Z trigger all cause the same action).  This suggests that the translation of controller input to in-game actions is done with [https://en.wikipedia.org/wiki/Mask_(computing) Bitwise Operator Masking].
  
 
The values in the table above match the [[Pikmin_memory_addresses#Misc|values found at <code>0x80495d18</code>]] when controller input is given.
 
The values in the table above match the [[Pikmin_memory_addresses#Misc|values found at <code>0x80495d18</code>]] when controller input is given.
  
Parameter <code>0x08</code> only functions when set to the same button as parameter <code>0x00</code>.
+
Parameter <code>0x08</code> only functions when set to the same button as parameter <code>0x00</code>
  
 
This file does not control:
 
This file does not control:
Line 109: Line 111:
 
* Pausing the game (Start button)
 
* Pausing the game (Start button)
 
* Laying down (D-Pad)
 
* Laying down (D-Pad)
 +
  
 
[[Category:Pikmin]]
 
[[Category:Pikmin]]
 
[[Category:Parameters]]
 
[[Category:Parameters]]
 
{{Credits|Minty_Meeo}}
 
{{Credits|Minty_Meeo}}

Please note that all contributions to Pikmin Technical Knowledge Base are considered to be released under the Creative Commons Attribution-ShareAlike (see Pikmin Technical Knowledge Base:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)

Templates used on this page: