Editing Pikmin camera 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:
 
{{todo|There are some undiscovered parameters.  Let's try to figure them out! See the Extra Information section for more details.}}
 
{{todo|There are some undiscovered parameters.  Let's try to figure them out! See the Extra Information section for more details.}}
  
Located in <code>/dataDir/camera/</code>, there are three [[BIN file]]s for camera parameters.
+
Located in <code>root\dataDir\camera\</code>, there are three '''BIN''' files for camera parameters.
  
 
* <code>camepara.bin</code> - Used in the final game.
 
* <code>camepara.bin</code> - Used in the final game.
Line 7: Line 7:
 
* <code>撮影camepara.bin</code> - The camera settings used in the Creature Montage and many pre-release trailers.  撮影 translates to "shoothing" in regards to photography, likely referencing its role in recording gameplay.
 
* <code>撮影camepara.bin</code> - The camera settings used in the Creature Montage and many pre-release trailers.  撮影 translates to "shoothing" in regards to photography, likely referencing its role in recording gameplay.
  
Unlike many other parameter files, the camera parameter files do not feature labels preceding the values.  Instead, the values are presented one after another. Note: because there are no labels to denote the positions of values, they will be henceforth referred to by their hexadecimal offset and/or purpose in the file.
+
Unlike many other parameter files, the camera parameter files do not feature labels preceding the values.  Instead, the values are presented one after another.
 +
* Because there are no labels to denote the positions of values, they will be henceforth referred to by their hexadecimal offset and/or purpose in the file.
  
 
Like many other parameter files, the values are IEEE-754 floating point decimals with a few 32-bit integers thrown in here and there.
 
Like many other parameter files, the values are IEEE-754 floating point decimals with a few 32-bit integers thrown in here and there.
 +
  
 
__TOC__
 
__TOC__
  
== Vocabulary ==
+
 
 +
==Vocabulary==
 
Toggled with the R trigger:
 
Toggled with the R trigger:
 
* Near = The first zoom level, nearest in the vanilla game.
 
* Near = The first zoom level, nearest in the vanilla game.
Line 24: Line 27:
  
 
Other:
 
Other:
* Plucking = The camera setting when Olimar is plucking Pikmin (this feature gets disabled after 100 plucks).
+
* Plucking = The camera setting when Olimar is plucking pikmin.
 +
 
  
== Table ==
+
==Table==
 
In this table, <code>camepara.bin</code> is used as a baseline.  The other, unused camera parameter files have values omitted if they are identical to the final file's values.
 
In this table, <code>camepara.bin</code> is used as a baseline.  The other, unused camera parameter files have values omitted if they are identical to the final file's values.
  
Line 34: Line 38:
 
| 0x00 || {{unsure|u32}} || {{unsure|Header Data}} || || <code>00000007</code>|| <code>00000004</code>|| <code>00000004</code>
 
| 0x00 || {{unsure|u32}} || {{unsure|Header Data}} || || <code>00000007</code>|| <code>00000004</code>|| <code>00000004</code>
 
|-
 
|-
| 0x04 || {{unsure|u32}} || {{unsure|Header Data}} || Camera Switch    || <code>00000000</code>|| ||
+
| 0x04 || {{unsure|u32}} || {{unsure|Header Data}} || || <code>00000000</code>|| ||
 
|-
 
|-
| 0x08 || IEEE-754 float || '''[Near : Flat]''' || Distance from leader || 600.0 || || 130.0
+
| 0x08 || IEEE-754 float || '''[Near : Flat]''' || Distance From Leader || 600.0 || || 130.0
 
|-
 
|-
| 0x0C || IEEE-754 float || '''[Near : Flat]''' || Angle above horizontal || 20.0 || || 10.0
+
| 0x0C || IEEE-754 float || '''[Near : Flat]''' || Angle Above Horizontal || 20.0 || || 10.0
 
|-
 
|-
 
| 0x10 || IEEE-754 float || '''[Near : Flat]''' || FOV || 10.0 || || 30.0
 
| 0x10 || IEEE-754 float || '''[Near : Flat]''' || FOV || 10.0 || || 30.0
 
|-
 
|-
| 0x14 || IEEE-754 float || '''[Near : Flat]''' || Vertical offset || 25.0 || || 20.0
+
| 0x14 || IEEE-754 float || '''[Near : Flat]''' || Verical Offset || 25.0 || || 20.0
 
|-
 
|-
| 0x18 || IEEE-754 float || '''[Near : Flat]''' || || 1000.0 || ||
+
| 0x18 || IEEE-754 float || '''[Near : Flat]''' || || 1000.0 || ||
 
|-
 
|-
| 0x1C || IEEE-754 float || '''[Near : Flat]''' || Motion blur || 50.0 || ||
+
| 0x1C || IEEE-754 float || '''[Near : Flat]''' || Motion Blur || 50.0 || ||
 
|-
 
|-
| 0x20 || IEEE-754 float || '''[Mid : Flat]''' || Distance from leader || 600.0 || || 400.0
+
| 0x20 || IEEE-754 float || '''[Mid : Flat]''' || Distance From Leader || 600.0 || || 400.0
 
|-
 
|-
| 0x24 || IEEE-754 float || '''[Mid : Flat]''' || Angle above horizontal || 21.0 || || 13.0
+
| 0x24 || IEEE-754 float || '''[Mid : Flat]''' || Angle Above Horizontal || 21.0 || || 13.0
 
|-
 
|-
 
| 0x28 || IEEE-754 float || '''[Mid : Flat]''' || FOV || 23.0 || || 30.0
 
| 0x28 || IEEE-754 float || '''[Mid : Flat]''' || FOV || 23.0 || || 30.0
 
|-
 
|-
| 0x2C || IEEE-754 float || '''[Mid : Flat]''' || Verical offset || 38.0 || || 40.0
+
| 0x2C || IEEE-754 float || '''[Mid : Flat]''' || Verical Offset || 38.0 || || 40.0
 
|-
 
|-
 
| 0x30 || IEEE-754 float || '''[Mid : Flat]''' || || 500.0 || ||
 
| 0x30 || IEEE-754 float || '''[Mid : Flat]''' || || 500.0 || ||
 
|-
 
|-
| 0x34 || IEEE-754 float || '''[Mid : Flat]''' || Motion blur || 95.0 || ||
+
| 0x34 || IEEE-754 float || '''[Mid : Flat]''' || Motion Blur || 95.0 || ||
 
|-
 
|-
| 0x38 || IEEE-754 float || '''[Far : Flat]''' || Distance from leader || 900.0 || 1200.0 || 800.0
+
| 0x38 || IEEE-754 float || '''[Far : Flat]''' || Distance From Leader || 900.0 || 1200.0 || 800.0
 
|-
 
|-
| 0x3C || IEEE-754 float || '''[Far : Flat]''' || Angle above horizontal || 25.0 || 24.0 || 15.0
+
| 0x3C || IEEE-754 float || '''[Far : Flat]''' || Angle Above Horizontal || 25.0 || 24.0 || 15.0
 
|-
 
|-
 
| 0x40 || IEEE-754 float || '''[Far : Flat]''' || FOV || 26.0 || 25.0 || 30.0
 
| 0x40 || IEEE-754 float || '''[Far : Flat]''' || FOV || 26.0 || 25.0 || 30.0
 
|-
 
|-
| 0x44 || IEEE-754 float || '''[Far : Flat]''' || Vertical offset || 33.0 || 100.0 || 70.0
+
| 0x44 || IEEE-754 float || '''[Far : Flat]''' || Vertical Offset || 33.0 || 100.0 || 70.0
 
|-
 
|-
 
| 0x48 || IEEE-754 float || '''[Far : Flat]''' || || 400.0 || 200.0 || 200.0
 
| 0x48 || IEEE-754 float || '''[Far : Flat]''' || || 400.0 || 200.0 || 200.0
 
|-
 
|-
| 0x4C || IEEE-754 float || '''[Far : Flat]''' || Motion blur || 110.0 || ||
+
| 0x4C || IEEE-754 float || '''[Far : Flat]''' || Motion Blur || 110.0 || ||
 
|-
 
|-
| 0x50 || IEEE-754 float || '''[Near : Bird]''' || Distance from leader || 900.0 || || 150.0
+
| 0x50 || IEEE-754 float || '''[Near : Bird]''' || Distance From Leader || 900.0 || || 150.0
 
|-
 
|-
| 0x54 || IEEE-754 float || '''[Near : Bird]''' || Angle above horizontal || 60.0 || || 25.0
+
| 0x54 || IEEE-754 float || '''[Near : Bird]''' || Angle Above Horizontal || 60.0 || || 25.0
 
|-
 
|-
 
| 0x58 || IEEE-754 float || '''[Near : Bird]''' || FOV || 10.0 || || 55.0
 
| 0x58 || IEEE-754 float || '''[Near : Bird]''' || FOV || 10.0 || || 55.0
 
|-
 
|-
| 0x5C || IEEE-754 float || '''[Near : Bird]''' || Vertical offset || 40.0 || || 45.0
+
| 0x5C || IEEE-754 float || '''[Near : Bird]''' || Vertical Offset || 40.0 || || 45.0
 
|-
 
|-
 
| 0x60 || IEEE-754 float || '''[Near : Bird]''' || || 1000.0 || ||
 
| 0x60 || IEEE-754 float || '''[Near : Bird]''' || || 1000.0 || ||
 
|-
 
|-
| 0x64 || IEEE-754 float || '''[Near : Bird]''' || Motion blur || 50.0 || ||
+
| 0x64 || IEEE-754 float || '''[Near : Bird]''' || Motion Blur || 50.0 || ||
 
|-
 
|-
| 0x68 || IEEE-754 float || '''[Mid : Bird]''' || Distance from leader || 900.0 || || 200.0
+
| 0x68 || IEEE-754 float || '''[Mid : Bird]''' || Distance From Leader || 900.0 || || 200.0
 
|-
 
|-
| 0x6C || IEEE-754 float || '''[Mid : Bird]''' || Angle above horizontal || 60.0 || || 35.0
+
| 0x6C || IEEE-754 float || '''[Mid : Bird]''' || Angle Above Horizontal || 60.0 || || 35.0
 
|-
 
|-
 
| 0x70 || IEEE-754 float || '''[Mid : Bird]''' || FOV || 20.0 || || 70.0
 
| 0x70 || IEEE-754 float || '''[Mid : Bird]''' || FOV || 20.0 || || 70.0
 
|-
 
|-
| 0x74 || IEEE-754 float || '''[Mid : Bird]''' || Vertical offset || 70.0 || || 100.0
+
| 0x74 || IEEE-754 float || '''[Mid : Bird]''' || Vertical Offset || 70.0 || || 100.0
 
|-
 
|-
 
| 0x78 || IEEE-754 float || '''[Mid : Bird]''' || || 500.0 || ||
 
| 0x78 || IEEE-754 float || '''[Mid : Bird]''' || || 500.0 || ||
 
|-
 
|-
| 0x7C || IEEE-754 float || '''[Mid : Bird]''' || Motion blur || 95.0 || ||
+
| 0x7C || IEEE-754 float || '''[Mid : Bird]''' || Motion Blur || 95.0 || ||
 
|-
 
|-
| 0x80 || IEEE-754 float || '''[Far : Bird]''' || Distance from leader || 1200.0 || || 250.0
+
| 0x80 || IEEE-754 float || '''[Far : Bird]''' || Distance From Leader || 1200.0 || || 250.0
 
|-
 
|-
| 0x84 || IEEE-754 float || '''[Far : Bird]''' || Angle above horizontal || 60.0 || || 50.0
+
| 0x84 || IEEE-754 float || '''[Far : Bird]''' || Angle Above Horizontal || 60.0 || || 50.0
 
|-
 
|-
 
| 0x88 || IEEE-754 float || '''[Far : Bird]''' || FOV || 30.0 || || 90.0
 
| 0x88 || IEEE-754 float || '''[Far : Bird]''' || FOV || 30.0 || || 90.0
 
|-
 
|-
| 0x8C || IEEE-754 float || '''[Far : Bird]''' || Vertical offset || 100.0 || || 200.0
+
| 0x8C || IEEE-754 float || '''[Far : Bird]''' || Vertical Offset || 100.0 || || 200.0
 
|-
 
|-
 
| 0x90 || IEEE-754 float || '''[Far : Bird]''' || || 200.0 || ||
 
| 0x90 || IEEE-754 float || '''[Far : Bird]''' || || 200.0 || ||
 
|-
 
|-
| 0x94 || IEEE-754 float || '''[Far : Bird]''' || Motion blur || 110.0 || ||
+
| 0x94 || IEEE-754 float || '''[Far : Bird]''' || Motion Blur || 110.0 || ||
 
|-
 
|-
| 0x98 || IEEE-754 float || '''[Plucking]''' || Distance from leader || 600.0 || || 130.0
+
| 0x98 || IEEE-754 float || '''[Plucking]''' || Distance from Leader || 600.0 || || 130.0
 
|-
 
|-
| 0x9C || IEEE-754 float || '''[Plucking]''' || Angle above horizontal || 20.0 || || 10.0
+
| 0x9C || IEEE-754 float || '''[Plucking]''' || Angle Above Horizontal || 20.0 || || 10.0
 
|-
 
|-
 
| 0xA0 || IEEE-754 float || '''[Plucking]''' || FOV || 10.0 || || 30.0
 
| 0xA0 || IEEE-754 float || '''[Plucking]''' || FOV || 10.0 || || 30.0
 
|-
 
|-
| 0xA4 || IEEE-754 float || '''[Plucking]''' || Vertical offset || 25.0 || || 20.0
+
| 0xA4 || IEEE-754 float || '''[Plucking]''' || Vertical Offset || 25.0 || || 20.0
 
|-
 
|-
 
| 0xA8 || IEEE-754 float || '''[Plucking]''' || || 1000.0 || ||
 
| 0xA8 || IEEE-754 float || '''[Plucking]''' || || 1000.0 || ||
 
|-
 
|-
| 0xAC || IEEE-754 float || '''[Plucking]''' || Motion blur || 110.0 || ||
+
| 0xAC || IEEE-754 float || '''[Plucking]''' || Motion Blur || 110.0 || ||
 
|-
 
|-
| 0xB0 || IEEE-754 float || Other || Camera homing speed || 0.15 || || 0.45
+
| 0xB0 || IEEE-754 float || Other || Camera Follow curve || 0.15 || || 0.45
 
|-
 
|-
| 0xB4 || IEEE-754 float || Other || FOV change speed || 0.15 || ||
+
| 0xB4 || IEEE-754 float || Other || Camera Zoom Rate || 0.15 || ||
 
|-
 
|-
| 0xB8 || IEEE-754 float || Other || Rotation speed  || 1.0 || ||
+
| 0xB8 || IEEE-754 float || Other || || 1.0 || ||
 
|-
 
|-
| 0xBC || IEEE-754 float || Other || Translation speed || 2.0 || ||
+
| 0xBC || IEEE-754 float || Other || || 2.0 || ||
 
|-
 
|-
| 0xC0 || IEEE-754 float || Other || L camera center rate || 0.3 || ||
+
| 0xC0 || IEEE-754 float || Other || L Camera Center Rate || 0.3 || ||
 
|-
 
|-
| 0xC4 || IEEE-754 float || Other || Automatic camera turn rate || 0.6 || ||
+
| 0xC4 || IEEE-754 float || Other || Automatic Camera Turn Rate || 0.6 || ||
 
|-
 
|-
| 0xC8 || IEEE-754 float || Other || Camera zoom time || 0.5 || ||
+
| 0xC8 || IEEE-754 float || Other || Camera Zoom Time || 0.5 || ||
 
|-
 
|-
| 0xCC || IEEE-754 float || Other || Rotation button threshold    || 0.1 || ||
+
| 0xCC || IEEE-754 float || Other || || 0.1 || ||
 
|-
 
|-
| 0xD0 || IEEE-754 float || Other || Camera reserved 0    || 0.1 || ||
+
| 0xD0 || IEEE-754 float || Other || || 0.1 || ||
 
|-
 
|-
| 0xD4 || IEEE-754 float || Other || Camera reserved 1    || 0.9 || ||
+
| 0xD4 || IEEE-754 float || Other || || 0.9 || ||
 
|-
 
|-
| 0xD8 || IEEE-754 float || Other || Ignoring Piki distance  || 0.0 || ||
+
| 0xD8 || {{unsure|u32}} || {{unsure|Footer Data}} || || <code>00000000</code>|| ||
 
|-
 
|-
| 0xDC || IEEE-754 float || Other || Vibration distance  || 0.0|| ||
+
| 0xDC || {{unsure|u32}} || {{unsure|Footer Data}} || || <code>00000000</code>|| ||
 
|-
 
|-
| 0xE0 || IEEE-754 float || Other || Attention angle max speed    || 0.3927|| N/A || N/A
+
| 0xE0 || {{unsure|IEEE-754 float}} || {{unsure|Footer Data}} || || <code>3EC90FDB</code>|| N/A || N/A
 
|-
 
|-
 
|}
 
|}
  
== Extra information ==
+
 
 +
==Extra Information==
 
By default on day 1 (the tutorial), the camera is set to '''[Near : Flat]''' before immediately switching and locking to '''[Plucking]'''.
 
By default on day 1 (the tutorial), the camera is set to '''[Near : Flat]''' before immediately switching and locking to '''[Plucking]'''.
 
* Though you were probably already aware, the camera usually defaults to '''[Mid : Flat]''' whenever one lands in a stage.
 
* Though you were probably already aware, the camera usually defaults to '''[Mid : Flat]''' whenever one lands in a stage.
Line 165: Line 170:
 
There are no version differences for the camera parameters.  
 
There are no version differences for the camera parameters.  
  
{{Credits|[[User:Minty_Meeo|Minty_Meeo]]}}
+
 
  
 
[[Category:Pikmin]]
 
[[Category:Pikmin]]
 
[[Category:Parameters]]
 
[[Category:Parameters]]
 +
{{Credits|[[User:Minty_Meeo|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: