Editing BMD file

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:
 
{{note|This page is under construction.}}
 
{{note|This page is under construction.}}
  
''Pikmin 2''<nowiki>'s</nowiki> 3D models exist inside <code>.bmd</code> files.
+
Pikmin 2 uses .json (Javascript Object Notation) files to handle the materials of its 3D models. All .bmd files in Pikmin come with a mat.json and a texheader.json. The mat.json contains the data related to the model's material, which is read by the game to produce the final model in-game. Every mat.json has the same variables that control what the model will look like.
  
== Material data ==
+
'''Mat.json'''
[[SuperBMD]] can dump the material data of a model into a handy JSON (JavaScript Object Notation) file. This dump outputs a <code>mat.json</code> file and a <code>texheader.json</code> file. <code>mat.json</code> contains the data related to the model's material. This section will document these JSON files instead of the actual material format used by ''Pikmin 2''.
 
  
=== mat.json ===
 
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
| '''"Name"'''
 
| '''"Name"'''
Line 322: Line 320:
 
| '''"Unknown1"'''
 
| '''"Unknown1"'''
 
|
 
|
|}
+
|-
  
 
[[Category:Pikmin 2]]
 
[[Category:Pikmin 2]]
 
[[Category:File formats]]
 
[[Category:File formats]]

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)

Template used on this page: