Difference between revisions of "New Horizons:PBC"

From Animal Crossing Mods Wiki
(Update some translations)
 
(3 intermediate revisions by 2 users not shown)
Line 102: Line 102:
|}
|}
===Ground Type===
===Ground Type===
[[File:PBC Ground Type Visualization.png|thumb|Visualization of ground type data in PBC. From left to right: Null, Grass, Rocky place, Sandy Beach, Road: Tsuchi, Rocky water puddle, Sea.]]
[[File:PBC Ground Type Visualization.png|thumb|Visualization of ground type data in PBC. From left to right: Null, Grass, Sandstone, Sandy Beach, Wavy, No access to the edge of the waves, Sea.]]
Ground type is important for many reasons. The game engine uses PBC data to determine what sounds to play when you walk on grass verses walking on a sandy beach.  
Ground type is important for many reasons. The game engine uses PBC data to determine what sounds to play when you walk on grass verses walking on a sandy beach.  
{| class="wikitable"
{| class="wikitable"
Line 112: Line 112:
|0
|0
|草
|草
|grass
|Grass
|0
|0
|-
|-
|1
|1
|川
|川
|river
|River
|1
|1
|-
|-
|2
|2
|土(固い)
|土(固い)
|Soil (hard)
|Soil (Hard)
|0
|0
|-
|-
|3
|3
|石
|石
|stone
|Stone
|0
|0
|-
|-
|4
|4
|砂浜
|砂浜
|Sandy beach
|Sandy Beach
|0
|0
|-
|-
Line 142: Line 142:
|6
|6
|木(分厚い)
|木(分厚い)
|Tree (thickness)
|Tree (Thick)
|0
|0
|-
|-
Line 167: Line 167:
|11
|11
|カメラ
|カメラ
|camera
|Camera
|0
|0
|-
|-
|12
|12
|汽水地
|汽水地
|Bracket
|Brackish Water
|1
|1
|-
|-
|13
|13
|替床
|替床
|Alternate bed
|Spare Bed
|0
|0
|-
|-
|14
|14
|踊り場
|踊り場
|landing
|Landing
|0
|0
|-
|-
|15
|15
|造成不可
|造成不可
|Uniform
|Unable to create
|0
|0
|-
|-
|16
|16
|土(柔らかい)
|土(柔らかい)
|Soil (soft)
|Soil (Soft)
|0
|0
|-
|-
|17
|17
|大理石
|大理石
|marble
|Marble
|0
|0
|-
|-
|18
|18
|コーティング床
|コーティング床
|Coating floor
|Polished Floor
|0
|0
|-
|-
|19
|19
|砂利
|砂利
|gravel
|Gravel
|0
|0
|-
|-
|20
|20
|落ち葉
|落ち葉
|Fallen leaves
|Fallen Leaves
|0
|0
|-
|-
|21
|21
|雪
|雪
|snow
|Snow
|0
|0
|-
|-
|22
|22
|木(薄い)
|木(薄い)
|Tree (thin)
|Tree (Thin)
|0
|0
|-
|-
|23
|23
|じゅうたん
|じゅうたん
|Juetan
|Carpet
|0
|0
|-
|-
|24
|24
|たたみ
|たたみ
|Bald
|Tatami
|0
|0
|-
|-
|25
|25
|鉄
|鉄
|iron
|Iron
|0
|0
|-
|-
|29
|26
|道:つち
|道:つち
|Road: Tsuchi (soil / earth)
|Road: (Soil / Earth)
|0
|0
|-
|-
|30
|27
|道:石畳
|道:石畳
|Road: Cobblestone
|Road: Cobblestone
|0
|0
|-
|-
|31
|28
|欄干
|欄干
|Scolding
|Railing
|1
|1
|-
|-
|32
|29
|波打ち際
|波打ち際
|Wavy
|Beach
|0
|0
|-
|-
|33
|30
|ラグ専用
|ラグ専用
|Lugs only
|Rugs Only
|0
|0
|-
|-
|34
|31
|道:濃い色のつち
|道:濃い色のつち
|Road: Dark colored tachy
|Road: Dark Soil
|0
|0
|-
|-
|35
|32
|道:砂
|道:砂
|Road: sand
|Road: Sand
|0
|0
|-
|-
|36
|33
|道:レンガ
|道:レンガ
|Road: brick
|Road: Brick
|0
|0
|-
|-
|37
|34
|道:木
|道:木
|Road: tree
|Road: Tree
|0
|0
|-
|-
|38
|35
|道:タイル
|道:タイル
|Road: Tile
|Road: Tile
|0
|0
|-
|-
|39
|36
|道:扇状石畳
|道:扇状石畳
|Road: Fan Cobbling
|Road: Fan Cobblestone
|0
|0
|-
|-
|40
|37
|進入不可
|進入不可
|Imposing
|No Entry
|1
|1
|-
|-
|41
|38
|スポンジマット
|スポンジマット
|Sponge mat
|Foam Mat
|0
|0
|-
|-
|42
|39
|ビニールシート
|ビニールシート
|vinyl sheet
|Vinyl Sheet
|0
|0
|-
|-
|43
|40
|マイデザイン床
|マイデザイン床
|My design floor
|My Design Floor
|0
|0
|-
|-
|44
|41
|岩場
|岩場
|Rocky place
|Rocky
|0
|0
|-
|-
|45
|42
|岩場進入不可
|岩場進入不可
|Iwakyu entry impossible
|Rocky - No Entry
|1
|1
|-
|-
|46
|43
|岩場水たまり
|岩場水たまり
|Rocky water puddle
|Rocky - Water
|1
|1
|-
|-
|47
|44
|砂岩
|砂岩
|sandstone
|Sandstone
|0
|0
|-
|-
|48
|45
|桟橋
|桟橋
|Pier
|Pier
|0
|0
|-
|-
|49
|46
|波打ち際進入不可
|波打ち際進入不可
|No waves and improper
|Beach - No Entry
|1
|1
|-
|-
|50
|47
|草が生えない建物
|草が生えない建物
|Building where grass does not grow
|Building - No Grass
|1
|1
|-
|-
|51
|48
|屋内:草
|屋内:草
|Indoor: Grass
|Indoor: Grass
|0
|0
|-
|-
|52
|49
|草が生えない編集不可
|草が生えない編集不可
|No editing that grass does not grow
|No Edit - No Grass
|0
|0
|-
|-
|53
|50
|泥沼
|泥沼
|Mud
|Mud
|0
|0
|-
|-
|54
|51
|石生成草
|石生成草
|Stone
|Stone
|0
|0
|-
|-
|55
|52
|マイデザイン屋外
|マイデザイン屋外
|My design outdoors
|My Design Outdoors
|0
|0
|-
|-
|56
|53
|水たまり(土)
|水たまり(土)
|Water puddle (Sat)
|Puddle (Dirt)
|0
|0
|-
|-
|57
|54
|博物館水面
|博物館水面
|Museum water surface
|Museum Water Surface
|1
|1
|-
|-
|59
|55
|右回転禁止
|右回転禁止
|Light rotation prohibited
|Right Rotation Prohibited
|0
|0
|-
|-
|60
|56
|左回転禁止
|左回転禁止
|Left rotation prohibited
|Left Rotation Prohibited
|0
|0
|-
|-
|61
|57
|回転禁止
|回転禁止
|Disabled
|Rotation Prohibited
|0
|0
|-
|-
|62
|58
|土(固い)進入禁止
|土(固い)進入禁止
|To prohibit soil (hard)
|Soil (Hard) - No Entry
|1
|1
|-
|-
|63
|59
|砂浜進入禁止
|砂浜進入禁止
|No sandy beach entering
|No sandy beach entering
|1
|1
|-
|-
|64
|60
|水(砂)
|水(砂)
|Water (sand)
|Water (Sand)
|0
|0
|-
|-
|65
|61
|水(砂利)
|水(砂利)
|Water (gravel)
|Water (Gravel)
|0
|0
|-
|-
|66
|62
|溶岩
|溶岩
|lava
|Lava
|0
|0
|-
|-
|67
|63
|屋内:砂
|屋内:砂
|Indoor: Sand
|Indoor: Sand
|0
|0
|-
|-
|68
|64
|海進入禁止
|海進入禁止
|No maritime prohibition
|Sea - No Entry
|1
|1
|-
|-
|69
|65
|ゆめみ室内専用
|ゆめみ室内専用
|Yumeve room only
|Dream Room Only
|0
|0
|-
|-
|70
|66
|盛り土
|盛り土
|Crisis
|Embankment
|0
|0
|-
|-
|71
|67
|カスタム0
|カスタム0
|Custom 0
|Custom 0
|0
|0
|-
|-
|72
|68
|カスタム1
|カスタム1
|Custom 1
|Custom 1
|0
|0
|-
|-
|73
|69
|カスタム2
|カスタム2
|Custom 2
|Custom 2
|0
|0
|-
|-
|74
|70
|砂浜(足跡無)
|砂浜(足跡無)
|Sandy beach (no footprint)
|Sandy Beach (No Footprints)
|0
|0
|-
|-
|75
|71
|カスタム3
|カスタム3
|Custom 3
|Custom 3

Latest revision as of 01:20, 21 September 2021

Introduced in Animal Crossing: New Horizons as a replacement for KCL files, PBC files contain data required for the physics engine to detect collisions. Although ACNH is based off the Splatoon 2 game engine, it seems Nintendo has decided not to use KCL files for ACNH.

Header

Offset Type Description
0x0 char[4] Magic ("pbc\x00")
0x4 u32 Unit Width
0x8 u32 Unit Height
0xC u32 ?
0x10 u32 ?
0x14 TileData[] Width x Height * 0x34

TileData

Offset Type Description
0x0 u32 ?
0x4 u32 ?
0x8 u32 ?
0xC u32 ?
0x10 u32 ?
0x14 u32 ?
0x18 u32 ?
0x1C u32 ?
0x20 u32 ?
0x24 u32 ?
0x28 u32 ?
0x2C u32 ?
0x30 u8 Ground Type ID
0x31 u8 Ground Type ID
0x32 u8 Ground Type ID
0x33 u8 Ground Type ID

Ground Type

Visualization of ground type data in PBC. From left to right: Null, Grass, Sandstone, Sandy Beach, Wavy, No access to the edge of the waves, Sea.

Ground type is important for many reasons. The game engine uses PBC data to determine what sounds to play when you walk on grass verses walking on a sandy beach.

UniqueID Name Translated Name * Blocked
0 Grass 0
1 River 1
2 土(固い) Soil (Hard) 0
3 Stone 0
4 砂浜 Sandy Beach 0
5 Sea 0
6 木(分厚い) Tree (Thick) 0
7 Null NULL 1
8 建物 building 1
9 編集不可 Unable to edit 0
10 ドア0 Door 0 0
11 カメラ Camera 0
12 汽水地 Brackish Water 1
13 替床 Spare Bed 0
14 踊り場 Landing 0
15 造成不可 Unable to create 0
16 土(柔らかい) Soil (Soft) 0
17 大理石 Marble 0
18 コーティング床 Polished Floor 0
19 砂利 Gravel 0
20 落ち葉 Fallen Leaves 0
21 Snow 0
22 木(薄い) Tree (Thin) 0
23 じゅうたん Carpet 0
24 たたみ Tatami 0
25 Iron 0
26 道:つち Road: (Soil / Earth) 0
27 道:石畳 Road: Cobblestone 0
28 欄干 Railing 1
29 波打ち際 Beach 0
30 ラグ専用 Rugs Only 0
31 道:濃い色のつち Road: Dark Soil 0
32 道:砂 Road: Sand 0
33 道:レンガ Road: Brick 0
34 道:木 Road: Tree 0
35 道:タイル Road: Tile 0
36 道:扇状石畳 Road: Fan Cobblestone 0
37 進入不可 No Entry 1
38 スポンジマット Foam Mat 0
39 ビニールシート Vinyl Sheet 0
40 マイデザイン床 My Design Floor 0
41 岩場 Rocky 0
42 岩場進入不可 Rocky - No Entry 1
43 岩場水たまり Rocky - Water 1
44 砂岩 Sandstone 0
45 桟橋 Pier 0
46 波打ち際進入不可 Beach - No Entry 1
47 草が生えない建物 Building - No Grass 1
48 屋内:草 Indoor: Grass 0
49 草が生えない編集不可 No Edit - No Grass 0
50 泥沼 Mud 0
51 石生成草 Stone 0
52 マイデザイン屋外 My Design Outdoors 0
53 水たまり(土) Puddle (Dirt) 0
54 博物館水面 Museum Water Surface 1
55 右回転禁止 Right Rotation Prohibited 0
56 左回転禁止 Left Rotation Prohibited 0
57 回転禁止 Rotation Prohibited 0
58 土(固い)進入禁止 Soil (Hard) - No Entry 1
59 砂浜進入禁止 No sandy beach entering 1
60 水(砂) Water (Sand) 0
61 水(砂利) Water (Gravel) 0
62 溶岩 Lava 0
63 屋内:砂 Indoor: Sand 0
64 海進入禁止 Sea - No Entry 1
65 ゆめみ室内専用 Dream Room Only 0
66 盛り土 Embankment 0
67 カスタム0 Custom 0 0
68 カスタム1 Custom 1 0
69 カスタム2 Custom 2 0
70 砂浜(足跡無) Sandy Beach (No Footprints) 0
71 カスタム3 Custom 3 0

Some translations may be incorrect as we use Google Translate to translate from the Japanese text to English.*