-
Notifications
You must be signed in to change notification settings - Fork 0
English
Welcome to MC3DS-Blang-Editor wiki! Under construction...
These files contain all the texts used in the game and there is one for each language the game has.
These are divided into 2 parts: The first is an indexing where there is something that appears to be an identifier for each text followed by its respective position within the second part of the file; In the second part of the file are all the texts in UTF-8 encoding, each one is separated by a byte 0x00.
It is the first of the 2 parts into which the Blang file is divided. I don't really know the name, but since it is where an index of where each text is in the file is located, I will call it that.
In the first 4 bytes of this section the number of elements that will be read in this section is defined. In a file of the latest version you will find that these 4 bytes have the values of:
- 0xe1 (= 1)
- 0x0c (= 16 ^ 2)
- 0x00 (= 16 ^ 4)
- 0x00 (= 16 ^ 8) The last 2 will be at 0 since there are not that many texts in the game.
Following this the index starts. Here should be the number of elements that were defined in the first 4 bytes. Each element has a structure where the first 4 bytes are possibly an identifier of the text, and the last 4 determine where the respective text is located in the second part of the file. It is important to clarify that the position of the text is not the position of the text within the entire file, but is only in the second part.
- Byte 1 ---
- Byte 2 (Possibly it is a
- Byte 3 (text identifier
- Byte 4 ---
- Byte 5 ---
- Byte 6 (determines the position of the
- Byte 7 (text in the second part of the file
- Byte 8 ---
The second part of the file, where all the texts are in UTF-8 encoding and separated by a byte 0x00.
Like the first part, this also defines its length, but unlike the previous one, it has the length in bytes that the entire text occupies together, including the separators/terminators.
The first 4 bytes of this part have the same values as those of the previous section, the only difference is what was mentioned in the previous paragraph.
It is important to understand how the file works or the game may crash when trying to use the poorly modified language file.