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: | ||
− | + | <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> | ||
==Contents== | ==Contents== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
− | ! Offset | + | ! Offset|| Descriptor || Value || Purpose |
|- | |- | ||
− | | | + | | 0x00 || {{tt|投げ |Throwing }} || <code>0x00001000</code> || Throw pikmin / Punch |
|- | |- | ||
− | | | + | | 0x04 || {{tt|集合カーソル |Collective cursor }} || <code>0x00002000</code> || Whistle |
|- | |- | ||
− | | | + | | 0x08 || {{tt|抜き |without }} || <code>0x00001000</code> || Flavor Text (UFO parts and checking UFO) |
|- | |- | ||
− | | | + | | 0x0C || {{tt|アタック |attack }} || <code>0x00001000</code> || {{unsure|Depricated punch trigger?}} |
|- | |- | ||
− | | | + | | 0x10 || {{tt|解散 |Dissolution }} || <code>0x00004000</code> || Dismiss pikmin |
|- | |- | ||
− | | | + | | 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| | + | | <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 [ | + | 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}} |