UJAM Beatmaker BLOB: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks |
imported>Ikskoks |
||
| (12 intermediate revisions by the same user not shown) | |||
| Line 58: | Line 58: | ||
=== Info JSON === | === Info JSON === | ||
Below is the example of the info json: | |||
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:1000px; overflow:auto;"> | <div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:1000px; overflow:auto;"> | ||
<pre> | <pre> | ||
{"instruments": | { | ||
"instruments": | |||
[{"at_byte":49856, -- RELATIVE offset of the instruments json | [{"at_byte":49856, -- RELATIVE offset of the instruments json | ||
"name":"BM-EDEN", | "name":"BM-EDEN", | ||
| Line 73: | Line 75: | ||
"version":{"major":1,"minor":1,"patch":0}} -- sample index version 1.1.0 | "version":{"major":1,"minor":1,"patch":0}} -- sample index version 1.1.0 | ||
} | } | ||
} | |||
</pre> | |||
</div> | |||
=== Instruments JSON === | |||
Below is the example of the instruments json: | |||
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:1000px; overflow:auto;"> | |||
<pre> | |||
{ | |||
"Module": "Instrument", | |||
"Name": "BM-EDEN", | |||
"Blob Number": "None", | |||
"Blob Path": "../Output/BM-EDEN/BM-EDEN.blob", | |||
"Volume": 0.629961, | |||
"Sustain Pedal": "Off", | |||
"Script Defines": "EDM SWING SPECIAL_LINEAR", | |||
"Version": "2.0.2", | |||
"Editor Data": null, | |||
"Groups": [ | |||
{ | |||
"Module": "Group", | |||
"Name": "Bass Drum 1", | |||
"Volume": 0.519996, | |||
"Tracking": 0.0, | |||
"Output": -1, | |||
"Alternate Mapping": 1, | |||
"ModSources": [ | |||
{ | |||
"Module": "ModSourceADSR", | |||
"Name": "Env", | |||
"Attack": 0.002962, | |||
"Hold": 0.097266, | |||
"Decay": 1.0, | |||
"Decay Curve": 0.0, | |||
"Release": 1.0 | |||
} | |||
] | |||
... | |||
</pre> | </pre> | ||
</div> | </div> | ||
| Line 78: | Line 119: | ||
=== Notes and Comments === | === Notes and Comments === | ||
* Some scripts are defined inside instruments json. | |||
=== Compatible Programs === | === Compatible Programs === | ||
* UJAM Beatmaker | |||
* [https://github.com/bartlomiejduda/Tools/blob/master/NEW%20Tools/UJAM%20Beatmaker/UJAM_Beatmaker_BLOB_Tool.py UJAM_Beatmaker_BLOB_Tool.py] | |||
<br/><br> | <br/><br> | ||
Latest revision as of 13:27, 6 March 2021
Back to index | Edit this page
BLOB
- Game :
- Format Type : Archive\Audio
- Endian Order : Little Endian
Format Specifications
// BM-EDEN.blob
// file format
// little endian
4 bytes - magic // 0x67 0x45 0x62 0xE8 (gE.b)
4 bytes (uint32) - size of the info json
x bytes (char) - info json // "{"instruments"..."
// entry array
num_of_entries *
{
54 bytes - unknown
250 bytes (char) - file path
}
x bytes (char) - instruments json // "{.. "Module": "Instrument"..."
num_of_offsets_arrays *
{
4 bytes (uint32) - number of offsets
num_of_offsets *
{
4 bytes (uint32) - file offset?
}
}
36 bytes (char) - some UUID // "c380fd65-15dc-4be5-8d64-28e7716776ee"
num_of_files *
{
x bytes - file data?
}
MultiEx BMS Script
Not written yet.
Info JSON
Below is the example of the info json:
{
"instruments":
[{"at_byte":49856, -- RELATIVE offset of the instruments json
"name":"BM-EDEN",
"size_bytes":3287280}]
,
"sample_index":{
"at_byte":0, -- offset of the sample index structure
"size_bytes":49856}, -- size of the sample index structure
"sample_starts_msec":0,
"uuid":"c380fd65-15dc-4be5-8d64-28e7716776ee",
"version":{"major":1,"minor":1,"patch":0}} -- sample index version 1.1.0
}
}
Instruments JSON
Below is the example of the instruments json:
{
"Module": "Instrument",
"Name": "BM-EDEN",
"Blob Number": "None",
"Blob Path": "../Output/BM-EDEN/BM-EDEN.blob",
"Volume": 0.629961,
"Sustain Pedal": "Off",
"Script Defines": "EDM SWING SPECIAL_LINEAR",
"Version": "2.0.2",
"Editor Data": null,
"Groups": [
{
"Module": "Group",
"Name": "Bass Drum 1",
"Volume": 0.519996,
"Tracking": 0.0,
"Output": -1,
"Alternate Mapping": 1,
"ModSources": [
{
"Module": "ModSourceADSR",
"Name": "Env",
"Attack": 0.002962,
"Hold": 0.097266,
"Decay": 1.0,
"Decay Curve": 0.0,
"Release": 1.0
}
]
...
Notes and Comments
- Some scripts are defined inside instruments json.
Compatible Programs
- UJAM Beatmaker
- UJAM_Beatmaker_BLOB_Tool.py