Editing BLO 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 42: Line 42:
  
 
After that is some random data, followed by the text itself, in an early version where things like color and size change and text box terminators are called by their internal names. Can show early scripts of the games text in some areas.
 
After that is some random data, followed by the text itself, in an early version where things like color and size change and text box terminators are called by their internal names. Can show early scripts of the games text in some areas.
 
== Colors ==
 
{{todo|Cleanup. Also, what JSON is this referring to?}}
 
There are three BLO colors for a single object, TevColors, MatColors and Color1 and Color2
 
 
TevColors are shown like this in the json:
 
  "tevcolors": [
 
    "00000000008c0000",
 
    "00000000008c00ff",
 
    "0000000000000000",
 
    "0000000000000000"
 
Colors here are Hex values, and each RGBA value has a "00" before each value, so "00ff00ff00ff00ff" is white. this colors the entire bti.
 
 
MatColors are shown like this:
 
  "matcolors": [
 
    [
 
      255,
 
      255,
 
      255,
 
      2
 
    ],
 
    [
 
      255,
 
      255,
 
      255,
 
      255
 
    ]
 
I rarely see vanilla blo files use this aside from alpha values most of the time. Because I have rarely seen them, I assume this is for coloring the top and bottom of the bti respectfully.
 
 
Color1 and Color2 are shown like this, and are located in the Pane section of an object, rather than the material section, unlike MatColors and TevColors
 
  "color1": {
 
      "unk1": 812,
 
      "unk2": 813,
 
      "unknowns": [
 
        0,
 
        0,
 
        256,
 
        0
 
    ],
 
      "col1": [
 
        255,
 
        255,
 
        255,
 
        255
 
    ],
 
      "col2": [
 
        255,
 
        255,
 
        255,
 
        255
 
    ]
 
  },
 
  "color2": {
 
      "unk1": 814,
 
      "unk2": 815,
 
      "unknowns": [
 
        0,
 
        256,
 
        256,
 
        256
 
  ],
 
      "col1": [
 
        255,
 
        255,
 
        255,
 
        255
 
  ],
 
      "col2": [
 
        255,
 
        255,
 
        255,
 
        255
 
  ]
 
These values color the top and bottom corners of the bti/object. col1 is for the left corners, and col2 is for the right corners, color1 is for the top corners, color2 is for the bottom corners
 
 
[[Category:File formats]]
 
[[Category:Pikmin 2]]
 

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: