pgtools 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +25 -0
  3. data/bin/bxm_decoder +2 -0
  4. data/bin/bxm_encoder +2 -0
  5. data/bin/clh_convert +2 -0
  6. data/bin/clp_convert +2 -0
  7. data/bin/clw_convert +2 -0
  8. data/bin/dat_creator +2 -0
  9. data/bin/dat_extractor +2 -0
  10. data/bin/dat_ls +2 -0
  11. data/bin/eff_idd_creator +2 -0
  12. data/bin/eff_idd_extractor +2 -0
  13. data/bin/exp_convert_wiiu_pc +2 -0
  14. data/bin/exp_tool +2 -0
  15. data/bin/mot_convert_wiiu_pc +2 -0
  16. data/bin/mot_tool +2 -0
  17. data/bin/pkz_extractor +2 -0
  18. data/bin/scr_creator +2 -0
  19. data/bin/scr_extractor +2 -0
  20. data/bin/wmb_cleanup +2 -0
  21. data/bin/wmb_common_bones +2 -0
  22. data/bin/wmb_convert_pc_switch +2 -0
  23. data/bin/wmb_convert_wiiu_pc +2 -0
  24. data/bin/wmb_export_assimp +2 -0
  25. data/bin/wmb_get_bone_map +2 -0
  26. data/bin/wmb_import_assimp +2 -0
  27. data/bin/wmb_import_nier +2 -0
  28. data/bin/wmb_import_wiiu +2 -0
  29. data/bin/wtb_convert_wiiu_pc +2 -0
  30. data/bin/wtx_creator +2 -0
  31. data/bin/wtx_extractor +2 -0
  32. data/lib/bayonetta/alignment.rb +14 -0
  33. data/lib/bayonetta/bone.rb +55 -0
  34. data/lib/bayonetta/bxm.rb +180 -0
  35. data/lib/bayonetta/clh.rb +159 -0
  36. data/lib/bayonetta/clp.rb +212 -0
  37. data/lib/bayonetta/clw.rb +166 -0
  38. data/lib/bayonetta/dat.rb +261 -0
  39. data/lib/bayonetta/eff.rb +314 -0
  40. data/lib/bayonetta/endianness.rb +53 -0
  41. data/lib/bayonetta/exp.rb +768 -0
  42. data/lib/bayonetta/linalg.rb +416 -0
  43. data/lib/bayonetta/material_database.yaml +2581 -0
  44. data/lib/bayonetta/mot.rb +763 -0
  45. data/lib/bayonetta/pkz.rb +63 -0
  46. data/lib/bayonetta/scr.rb +393 -0
  47. data/lib/bayonetta/tools/bxm_decoder.rb +23 -0
  48. data/lib/bayonetta/tools/bxm_encoder.rb +37 -0
  49. data/lib/bayonetta/tools/clh_convert.rb +60 -0
  50. data/lib/bayonetta/tools/clp_convert.rb +70 -0
  51. data/lib/bayonetta/tools/clw_convert.rb +60 -0
  52. data/lib/bayonetta/tools/dat_creator.rb +57 -0
  53. data/lib/bayonetta/tools/dat_extractor.rb +94 -0
  54. data/lib/bayonetta/tools/dat_ls.rb +106 -0
  55. data/lib/bayonetta/tools/eff_idd_creator.rb +66 -0
  56. data/lib/bayonetta/tools/eff_idd_extractor.rb +73 -0
  57. data/lib/bayonetta/tools/exp_convert_wiiu_pc.rb +33 -0
  58. data/lib/bayonetta/tools/exp_tool.rb +48 -0
  59. data/lib/bayonetta/tools/mot_convert_wiiu_pc.rb +33 -0
  60. data/lib/bayonetta/tools/mot_tool.rb +60 -0
  61. data/lib/bayonetta/tools/pkz_extractor.rb +75 -0
  62. data/lib/bayonetta/tools/scr_creator.rb +63 -0
  63. data/lib/bayonetta/tools/scr_extractor.rb +78 -0
  64. data/lib/bayonetta/tools/wmb_cleanup.rb +250 -0
  65. data/lib/bayonetta/tools/wmb_common_bones.rb +45 -0
  66. data/lib/bayonetta/tools/wmb_convert_pc_switch.rb +35 -0
  67. data/lib/bayonetta/tools/wmb_convert_wiiu_pc.rb +33 -0
  68. data/lib/bayonetta/tools/wmb_export_assimp.rb +479 -0
  69. data/lib/bayonetta/tools/wmb_get_bone_map.rb +50 -0
  70. data/lib/bayonetta/tools/wmb_import_assimp.rb +735 -0
  71. data/lib/bayonetta/tools/wmb_import_geometry_wiiu_pc.rb +472 -0
  72. data/lib/bayonetta/tools/wmb_import_nier.rb +309 -0
  73. data/lib/bayonetta/tools/wtb_convert_wiiu_pc.rb +95 -0
  74. data/lib/bayonetta/tools/wtb_import_textures.rb +103 -0
  75. data/lib/bayonetta/tools/wtx_creator.rb +69 -0
  76. data/lib/bayonetta/tools/wtx_extractor.rb +85 -0
  77. data/lib/bayonetta/vertex_types.yaml +213 -0
  78. data/lib/bayonetta/vertex_types2.yaml +164 -0
  79. data/lib/bayonetta/vertex_types_nier.yaml +145 -0
  80. data/lib/bayonetta/wmb.rb +2443 -0
  81. data/lib/bayonetta/wmb3.rb +759 -0
  82. data/lib/bayonetta/wtb.rb +481 -0
  83. data/lib/bayonetta.rb +60 -0
  84. metadata +254 -0
@@ -0,0 +1,213 @@
1
+ ---
2
+ ? - 1744830495 #6800001f
3
+ - 2
4
+ - 1
5
+ : - - - :position
6
+ - :position_t
7
+ - - :mapping
8
+ - :mapping_t
9
+ - - :normal
10
+ - :normal_t
11
+ - - :tangents
12
+ - :tangents_t
13
+ - - :bone_infos
14
+ - :bone_infos_t
15
+ - - - :color
16
+ - :color_t
17
+ - - :mapping2
18
+ - :mapping_t
19
+ ? - 1744830495 #6800001f
20
+ - 1
21
+ - 1
22
+ : - - - :position
23
+ - :position_t
24
+ - - :mapping
25
+ - :mapping_t
26
+ - - :normal
27
+ - :normal_t
28
+ - - :tangents
29
+ - :tangents_t
30
+ - - :bone_infos
31
+ - :bone_infos_t
32
+ - - - :color
33
+ - :color_t
34
+ ? - 1207959567 #4800000f
35
+ - 2
36
+ - 1
37
+ : - - - :position
38
+ - :position_t
39
+ - - :mapping
40
+ - :mapping_t
41
+ - - :normal
42
+ - :normal_t
43
+ - - :tangents
44
+ - :tangents_t
45
+ - - :color
46
+ - :color_t
47
+ - - :mapping2
48
+ - :mapping_t
49
+ ? - 1207959567 #4800000f
50
+ - 1
51
+ - 1
52
+ : - - - :position
53
+ - :position_t
54
+ - - :mapping
55
+ - :mapping_t
56
+ - - :normal
57
+ - :normal_t
58
+ - - :tangents
59
+ - :tangents_t
60
+ - - :color
61
+ - :color_t
62
+ ? - 1744830527 #6800003f
63
+ - 1
64
+ - 1
65
+ : - - - :position
66
+ - :position_t
67
+ - - :mapping
68
+ - :mapping_t
69
+ - - :normal
70
+ - :normal_t
71
+ - - :tangents
72
+ - :tangents_t
73
+ - - :bone_infos
74
+ - :bone_infos_t
75
+ - - - :color
76
+ - :color_t
77
+ - - :position2
78
+ - :position_t
79
+ ? - 1610612767 #6000001f
80
+ - 2
81
+ - 1
82
+ : - - - :normal
83
+ - :fnormal_t
84
+ - - :color
85
+ - :color_t
86
+ - - :tangents
87
+ - :tangents_t
88
+ - - :bone_infos
89
+ - :bone_infos_t
90
+ - - :mapping
91
+ - :fmapping_t
92
+ - - :mapping2
93
+ - :fmapping_t
94
+ ? - 1207959583 #4800001f
95
+ - 2
96
+ - 1
97
+ : - - - :position
98
+ - :position_t
99
+ - - :mapping
100
+ - :mapping_t
101
+ - - :normal
102
+ - :normal_t
103
+ - - :tangents
104
+ - :tangents_t
105
+ - - :bone_infos
106
+ - :bone_infos_t
107
+ - - - :color
108
+ - :color_t
109
+ - - :mapping2
110
+ - :mapping_t
111
+ ? - 1207959583 #4800001f
112
+ - 1
113
+ - 1
114
+ : - - - :position
115
+ - :position_t
116
+ - - :mapping
117
+ - :mapping_t
118
+ - - :normal
119
+ - :normal_t
120
+ - - :tangents
121
+ - :tangents_t
122
+ - - :bone_infos
123
+ - :bone_infos_t
124
+ - - - :color
125
+ - :color_t
126
+ ? - 1073741855 #4000001f
127
+ - 1
128
+ - 1
129
+ : - - - :normal
130
+ - :fnormal_t
131
+ - - :color
132
+ - :color_t
133
+ - - :tangents
134
+ - :tangents_t
135
+ - - :bone_infos
136
+ - :bone_infos_t
137
+ - - :mapping
138
+ - :fmapping_t
139
+ ? - 1610612767 #6000001f
140
+ - 1
141
+ - 1
142
+ : - - - :normal
143
+ - :fnormal_t
144
+ - - :color
145
+ - :color_t
146
+ - - :tangents
147
+ - :tangents_t
148
+ - - :bone_infos
149
+ - :bone_infos_t
150
+ - - :mapping
151
+ - :fmapping_t
152
+ ? - 1476395023 #5800000f
153
+ - 2
154
+ - 1
155
+ : - - - :position
156
+ - :position_t
157
+ - - :mapping
158
+ - :mapping_t
159
+ - - :normal
160
+ - :normal_t
161
+ - - :tangents
162
+ - :tangents_t
163
+ - - :color
164
+ - :color_t
165
+ - - :mapping2
166
+ - :mapping_t
167
+ ? - 1476395023 #5800000f
168
+ - 1
169
+ - 1
170
+ : - - - :position
171
+ - :position_t
172
+ - - :mapping
173
+ - :mapping_t
174
+ - - :normal
175
+ - :normal_t
176
+ - - :tangents
177
+ - :tangents_t
178
+ - - :color
179
+ - :color_t
180
+ ? - 1476395055 #5800002f
181
+ - 1
182
+ - 1
183
+ : - - - :position
184
+ - :position_t
185
+ - - :mapping
186
+ - :mapping_t
187
+ - - :normal
188
+ - :normal_t
189
+ - - :tangents
190
+ - :tangents_t
191
+ - - :color
192
+ - :color_t
193
+ - - :position2
194
+ - :position_t
195
+ ? - 1207959563 #4800000b
196
+ - 1
197
+ - 1
198
+ : {}
199
+ ? - 1207959599 #4800002f
200
+ - 1
201
+ - 1
202
+ : - - - :position
203
+ - :position_t
204
+ - - :mapping
205
+ - :mapping_t
206
+ - - :normal
207
+ - :normal_t
208
+ - - :tangents
209
+ - :tangents_t
210
+ - - :color
211
+ - :color_t
212
+ - - :position2
213
+ - :position_t
@@ -0,0 +1,164 @@
1
+ ---
2
+ ? - 1799356447 #6b40001f
3
+ - 1
4
+ - 1
5
+ : - - - :position
6
+ - :position_t
7
+ - - :mapping
8
+ - :mapping_t
9
+ - - :normal
10
+ - :normal_t
11
+ - - :tangents
12
+ - :tangents_t
13
+ - - :bone_infos
14
+ - :bone_infos_t
15
+ - - - :color
16
+ - :color_t
17
+ ? - 1262485519 #4b40000f
18
+ - 1
19
+ - 1
20
+ : - - - :position
21
+ - :position_t
22
+ - - :mapping
23
+ - :mapping_t
24
+ - - :normal
25
+ - :normal_t
26
+ - - :tangents
27
+ - :tangents_t
28
+ - - :color
29
+ - :color_t
30
+ ? - 1799356447 #6b40001f
31
+ - 2
32
+ - 1
33
+ : - - - :position
34
+ - :position_t
35
+ - - :mapping
36
+ - :mapping_t
37
+ - - :normal
38
+ - :normal_t
39
+ - - :tangents
40
+ - :tangents_t
41
+ - - :bone_infos
42
+ - :bone_infos_t
43
+ - - - :color
44
+ - :color_t
45
+ - - :mapping2
46
+ - :mapping_t
47
+ ? - 1262485519 #4b40000f
48
+ - 2
49
+ - 1
50
+ : - - - :position
51
+ - :position_t
52
+ - - :mapping
53
+ - :mapping_t
54
+ - - :normal
55
+ - :normal_t
56
+ - - :tangents
57
+ - :tangents_t
58
+ - - :color
59
+ - :color_t
60
+ - - :mapping2
61
+ - :mapping_t
62
+ ? - 1262485535 #4b40001f
63
+ - 2
64
+ - 1
65
+ : - - - :position
66
+ - :position_t
67
+ - - :mapping
68
+ - :mapping_t
69
+ - - :normal
70
+ - :normal_t
71
+ - - :tangents
72
+ - :tangents_t
73
+ - - :bone_infos
74
+ - :bone_infos_t
75
+ - - - :color
76
+ - :color_t
77
+ - - :mapping2
78
+ - :mapping_t
79
+ ? - 1799356445 #6b40001d
80
+ - 1
81
+ - 0
82
+ : - - - :position
83
+ - :position_t
84
+ - - :mapping
85
+ - :mapping_t
86
+ - - :normal
87
+ - :normal_t
88
+ - - :tangents
89
+ - :tangents_t
90
+ - - :bone_infos
91
+ - :bone_infos_t
92
+ ? - 1262485533 #4b40001d
93
+ - 1
94
+ - 0
95
+ : - - - :position
96
+ - :position_t
97
+ - - :mapping
98
+ - :mapping_t
99
+ - - :normal
100
+ - :normal_t
101
+ - - :tangents
102
+ - :tangents_t
103
+ - - :bone_infos
104
+ - :bone_infos_t
105
+ ? - 1262485535 #4b40001f
106
+ - 1
107
+ - 1
108
+ : - - - :position
109
+ - :position_t
110
+ - - :mapping
111
+ - :mapping_t
112
+ - - :normal
113
+ - :normal_t
114
+ - - :tangents
115
+ - :tangents_t
116
+ - - :bone_infos
117
+ - :bone_infos_t
118
+ - - - :color
119
+ - :color_t
120
+ ? - 1262485533 #4b40001d
121
+ - 2
122
+ - 0
123
+ : - - - :position
124
+ - :position_t
125
+ - - :mapping
126
+ - :mapping_t
127
+ - - :normal
128
+ - :normal_t
129
+ - - :tangents
130
+ - :tangents_t
131
+ - - :bone_infos
132
+ - :bone_infos_t
133
+ - - - :color
134
+ - :color_t
135
+ - - :mapping2
136
+ - :mapping_t
137
+ ? - 1262485517 #4b40000d
138
+ - 1
139
+ - 0
140
+ : - - - :position
141
+ - :position_t
142
+ - - :mapping
143
+ - :mapping_t
144
+ - - :normal
145
+ - :normal_t
146
+ - - :tangents
147
+ - :tangents_t
148
+ ? - 1799356445 #6b40001d
149
+ - 2
150
+ - 0
151
+ : - - - :position
152
+ - :position_t
153
+ - - :mapping
154
+ - :mapping_t
155
+ - - :normal
156
+ - :normal_t
157
+ - - :tangents
158
+ - :tangents_t
159
+ - - :bone_infos
160
+ - :bone_infos_t
161
+ - - - :color
162
+ - :color_t
163
+ - - :mapping2
164
+ - :mapping_t
@@ -0,0 +1,145 @@
1
+ ---
2
+ 14:
3
+ - - - :position
4
+ - :position_t
5
+ - - :tangents
6
+ - :tangents_t
7
+ - - :mapping
8
+ - :mapping_t
9
+ - - :mapping2
10
+ - :mapping_t
11
+ - - :color
12
+ - :color_t
13
+ - - - :normal
14
+ - :hnormal_t
15
+ - - :mapping3
16
+ - :mapping_t
17
+ - - :mapping4
18
+ - :mapping_t
19
+ 12:
20
+ - - - :position
21
+ - :position_t
22
+ - - :tangents
23
+ - :tangents_t
24
+ - - :mapping
25
+ - :mapping_t
26
+ - - :bone_infos
27
+ - :bone_infos_t
28
+ - - :mapping2
29
+ - :mapping_t
30
+ - - :color
31
+ - :color_t
32
+ - - - :normal
33
+ - :hnormal_t
34
+ - - :mapping3
35
+ - :mapping_t
36
+ - - :mapping4
37
+ - :mapping_t
38
+ - - :mapping5
39
+ - :mapping_t
40
+ 11:
41
+ - - - :position
42
+ - :position_t
43
+ - - :tangents
44
+ - :tangents_t
45
+ - - :mapping
46
+ - :mapping_t
47
+ - - :bone_infos
48
+ - :bone_infos_t
49
+ - - - :mapping2
50
+ - :mapping_t
51
+ - - :color
52
+ - :color_t
53
+ - - :normal
54
+ - :hnormal_t
55
+ - - :mapping3
56
+ - :mapping_t
57
+ 10:
58
+ - - - :position
59
+ - :position_t
60
+ - - :tangents
61
+ - :tangents_t
62
+ - - :mapping
63
+ - :mapping_t
64
+ - - :bone_infos
65
+ - :bone_infos_t
66
+ - - - :mapping2
67
+ - :mapping_t
68
+ - - :color
69
+ - :color_t
70
+ - - :normal
71
+ - :hnormal_t
72
+ 7:
73
+ - - - :position
74
+ - :position_t
75
+ - - :tangents
76
+ - :tangents_t
77
+ - - :mapping
78
+ - :mapping_t
79
+ - - :bone_infos
80
+ - :bone_infos_t
81
+ - - - :mapping2
82
+ - :mapping_t
83
+ - - :normal
84
+ - :hnormal_t
85
+ 5:
86
+ - - - :position
87
+ - :position_t
88
+ - - :tangents
89
+ - :tangents_t
90
+ - - :mapping
91
+ - :mapping_t
92
+ - - :bone_infos
93
+ - :bone_infos_t
94
+ - - :mapping2
95
+ - :mapping_t
96
+ - - :color
97
+ - :color_t
98
+ - - - :normal
99
+ - :hnormal_t
100
+ - - :mapping3
101
+ - :mapping_t
102
+ 4:
103
+ - - - :position
104
+ - :position_t
105
+ - - :tangents
106
+ - :tangents_t
107
+ - - :mapping
108
+ - :mapping_t
109
+ - - :mapping2
110
+ - :mapping_t
111
+ - - :color
112
+ - :color_t
113
+ - - - :normal
114
+ - :hnormal_t
115
+ 3:
116
+ - - - :position
117
+ - :position_t
118
+ - - :tangents
119
+ - :tangents_t
120
+ - - :mapping
121
+ - :mapping_t
122
+ - - :color
123
+ - :color_t
124
+ - - - :normal
125
+ - :hnormal_t
126
+ 1:
127
+ - - - :position
128
+ - :position_t
129
+ - - :tangents
130
+ - :tangents_t
131
+ - - :mapping
132
+ - :mapping_t
133
+ - - :mapping2
134
+ - :mapping_t
135
+ - - - :normal
136
+ - :hnormal_t
137
+ 0:
138
+ - - - :position
139
+ - :position_t
140
+ - - :tangents
141
+ - :tangents_t
142
+ - - :mapping
143
+ - :mapping_t
144
+ - - :normal
145
+ - :hnormal_t