BIN (scenario2): Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 144: | Line 144: | ||
|0x10-0x2C | |0x10-0x2C | ||
|u32 | |u32 | ||
|'''Extra Settings''' 1-8 Size | |'''Extra Settings''' 1-8 Size (in entries of 4 bytes) | ||
|- | |- | ||
|0x30-0x3C | |0x30-0x3C | ||
|u32 | |u32 | ||
|'''Extra Settings''' 1-8 Pointer | |'''Extra Settings''' 1-8 Pointer | ||
|} | |||
It's been too straightforward so far, let's spice it up! | |||
{| class="wikitable mw-collapsible" | |||
|+Extra Settings | |||
!Offset | |||
!Type | |||
!Description | |||
|- | |||
|0x00 | |||
|int16 | |||
|0x80 - Indicates the start of a setting | |||
|- | |||
|0x04 | |||
|uint32 | |||
|Category | |||
* 01 - BGM | |||
* 03 - Caption | |||
* 04 - Cutscene_04 | |||
* 05 - Results | |||
* 08 - Effects | |||
* 09 - Splash = 9 | |||
* 14 - Cutscene_14 | |||
* 16 - Equip | |||
* 19 - Start_Auth | |||
* 31 - State_Progress | |||
* 32 - State_Enum_Unk | |||
* 33 - Timer | |||
* 34 - Follow_Up | |||
* 39 - Cutscene_39 | |||
* 43 - Player_Intro | |||
* 46 - Movie_Name | |||
|- | |||
|0x08-0xXX | |||
|int32 | |||
|Parameters specific to the Category, full list below. | |||
|} | |} | ||
[[Category:File Formats]] | [[Category:File Formats]] |
Revision as of 14:13, 19 December 2022
![]() |
This page is under construction Check back later for additional changes |
Scenario2.bin is an overhauled version of BIN (scenario). Controls the main flow of the game, specifying scenario flags and parameters like music that plays in specific moments.
Used in:
Technical Information
File consists of multiple interconnected chunks. Listed in the order of appearance in the file, which does not represent the actual complexity.
Yakuza 5 has slightly different nodes that other games don't have, so it is separated.
Yakuza Ishin\Zero\Kiwami version:
Offset | Type | Description |
---|---|---|
0x00 | int32 | Unused |
0x04 | int32 | Unused chunk count |
0x08 | int32 | Unused chunk pointer |
0x0C | int32 | Unused |
0x10 | int32 | Player Settings Node Count |
0x14 | int32 | Player Settings Pointer |
0x18 | int32 | Scenario Settings Node Count |
0x1C | int32 | Scenario Settings Pointer |
0x20 | int32 | Settings Size |
0x24 | int32 | Settings Pointer |
0x28 | int32 | Node Count |
0x2C | int32 | Node Pointer |
0x30 | int32 | Scenario Access Pointer |
0x34 | int32 | Scenario Access Node Count |
0x38 | int32 | String Pointer |
0x3C | int32 | Unused |
0x40 | int32 | String Pointer |
Offset | Type | Description |
---|---|---|
0x00 | uint32 | Game Mode |
0x04 | int32 | String Pointer |
0x08 | int32 | Player Position |
0x0C | int32 | Unknown |
0x10 | uint32 | Misc Settings Size |
0x14 | int32 | Misc Settings Pointer |
Offset | Type | Description |
---|---|---|
0x00 | int32 | Player Settings Pointer |
0x04 | int32 | Player Settings Versions Count |
0x08 | int32 | Node ID |
0x0C | int32 | Unused? |
0x10-0x2C | u32 | Extra Settings 1-8 Size (in entries of 4 bytes) |
0x30-0x3C | u32 | Extra Settings 1-8 Pointer |
It's been too straightforward so far, let's spice it up!
Offset | Type | Description |
---|---|---|
0x00 | int16 | 0x80 - Indicates the start of a setting |
0x04 | uint32 | Category
|
0x08-0xXX | int32 | Parameters specific to the Category, full list below. |