pgtools 1.0.0 → 1.0.1

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 +4 -4
  2. data/LICENSE +25 -25
  3. data/bin/bxm_decoder +2 -2
  4. data/bin/bxm_encoder +2 -2
  5. data/bin/clh_convert +2 -2
  6. data/bin/clp_convert +2 -2
  7. data/bin/clw_convert +2 -2
  8. data/bin/dat_creator +2 -2
  9. data/bin/dat_extractor +2 -2
  10. data/bin/dat_ls +2 -2
  11. data/bin/eff_idd_creator +2 -2
  12. data/bin/eff_idd_extractor +2 -2
  13. data/bin/exp_convert_wiiu_pc +2 -2
  14. data/bin/exp_tool +2 -2
  15. data/bin/mot_convert_wiiu_pc +2 -2
  16. data/bin/mot_tool +2 -2
  17. data/bin/pkz_extractor +2 -2
  18. data/bin/scr_creator +2 -2
  19. data/bin/scr_extractor +2 -2
  20. data/bin/wmb_cleanup +2 -2
  21. data/bin/wmb_common_bones +2 -2
  22. data/bin/wmb_convert_pc_switch +2 -2
  23. data/bin/wmb_convert_wiiu_pc +2 -2
  24. data/bin/wmb_export_assimp +2 -2
  25. data/bin/wmb_get_bone_map +2 -2
  26. data/bin/wmb_import_assimp +2 -2
  27. data/bin/wmb_import_nier +2 -2
  28. data/bin/wmb_import_wiiu +2 -2
  29. data/bin/wtb_convert_wiiu_pc +2 -2
  30. data/bin/wtx_creator +2 -2
  31. data/bin/wtx_extractor +2 -2
  32. data/lib/bayonetta/alignment.rb +0 -0
  33. data/lib/bayonetta/bone.rb +0 -0
  34. data/lib/bayonetta/bxm.rb +180 -180
  35. data/lib/bayonetta/clh.rb +159 -159
  36. data/lib/bayonetta/clp.rb +212 -212
  37. data/lib/bayonetta/clw.rb +166 -166
  38. data/lib/bayonetta/dat.rb +261 -261
  39. data/lib/bayonetta/eff.rb +314 -314
  40. data/lib/bayonetta/endianness.rb +0 -0
  41. data/lib/bayonetta/exp.rb +768 -768
  42. data/lib/bayonetta/linalg.rb +416 -416
  43. data/lib/bayonetta/material_database.yaml +2581 -2581
  44. data/lib/bayonetta/mot.rb +763 -763
  45. data/lib/bayonetta/pkz.rb +63 -63
  46. data/lib/bayonetta/scr.rb +0 -0
  47. data/lib/bayonetta/tools/bxm_decoder.rb +23 -23
  48. data/lib/bayonetta/tools/bxm_encoder.rb +37 -37
  49. data/lib/bayonetta/tools/clh_convert.rb +60 -60
  50. data/lib/bayonetta/tools/clp_convert.rb +70 -70
  51. data/lib/bayonetta/tools/clw_convert.rb +60 -60
  52. data/lib/bayonetta/tools/dat_creator.rb +57 -57
  53. data/lib/bayonetta/tools/dat_extractor.rb +94 -94
  54. data/lib/bayonetta/tools/dat_ls.rb +106 -106
  55. data/lib/bayonetta/tools/eff_idd_creator.rb +66 -66
  56. data/lib/bayonetta/tools/eff_idd_extractor.rb +73 -73
  57. data/lib/bayonetta/tools/exp_convert_wiiu_pc.rb +33 -33
  58. data/lib/bayonetta/tools/exp_tool.rb +48 -48
  59. data/lib/bayonetta/tools/mot_convert_wiiu_pc.rb +33 -33
  60. data/lib/bayonetta/tools/mot_tool.rb +0 -0
  61. data/lib/bayonetta/tools/pkz_extractor.rb +75 -75
  62. data/lib/bayonetta/tools/scr_creator.rb +63 -63
  63. data/lib/bayonetta/tools/scr_extractor.rb +78 -78
  64. data/lib/bayonetta/tools/wmb_cleanup.rb +250 -250
  65. data/lib/bayonetta/tools/wmb_common_bones.rb +45 -45
  66. data/lib/bayonetta/tools/wmb_convert_pc_switch.rb +35 -35
  67. data/lib/bayonetta/tools/wmb_convert_wiiu_pc.rb +33 -33
  68. data/lib/bayonetta/tools/wmb_export_assimp.rb +479 -479
  69. data/lib/bayonetta/tools/wmb_get_bone_map.rb +50 -50
  70. data/lib/bayonetta/tools/wmb_import_assimp.rb +735 -735
  71. data/lib/bayonetta/tools/wmb_import_geometry_wiiu_pc.rb +472 -472
  72. data/lib/bayonetta/tools/wmb_import_nier.rb +309 -309
  73. data/lib/bayonetta/tools/wtb_convert_wiiu_pc.rb +95 -95
  74. data/lib/bayonetta/tools/wtb_import_textures.rb +103 -103
  75. data/lib/bayonetta/tools/wtx_creator.rb +69 -69
  76. data/lib/bayonetta/tools/wtx_extractor.rb +85 -85
  77. data/lib/bayonetta/vertex_types.yaml +0 -0
  78. data/lib/bayonetta/vertex_types2.yaml +0 -0
  79. data/lib/bayonetta/vertex_types_nier.yaml +145 -145
  80. data/lib/bayonetta/wmb.rb +2455 -2443
  81. data/lib/bayonetta/wmb3.rb +759 -759
  82. data/lib/bayonetta/wtb.rb +481 -481
  83. data/lib/bayonetta.rb +60 -60
  84. metadata +2 -2
data/lib/bayonetta.rb CHANGED
@@ -1,60 +1,60 @@
1
- require 'libbin'
2
- require_relative 'bayonetta/linalg'
3
- require_relative 'bayonetta/endianness'
4
- require_relative 'bayonetta/alignment'
5
- require_relative 'bayonetta/bone'
6
- require_relative 'bayonetta/pkz'
7
- require_relative 'bayonetta/dat'
8
- require_relative 'bayonetta/eff'
9
- require_relative 'bayonetta/wtb'
10
- require_relative 'bayonetta/wmb'
11
- require_relative 'bayonetta/wmb3'
12
- require_relative 'bayonetta/bxm'
13
- require_relative 'bayonetta/clp'
14
- require_relative 'bayonetta/clh'
15
- require_relative 'bayonetta/clw'
16
- require_relative 'bayonetta/scr'
17
- require_relative 'bayonetta/mot'
18
- require_relative 'bayonetta/exp'
19
-
20
- module Bayonetta
21
- include Alignment
22
-
23
- #Platforms
24
- PC = 1
25
- WIIU = 2
26
- XBOX360 = 3
27
- PS3 = 4
28
- SWITCH = 5
29
- PLATFORMS = {
30
- pc: PC,
31
- wiiu: WIIU,
32
- xbox360: XBOX360,
33
- ps3: PS3,
34
- switch: SWITCH
35
- }
36
-
37
- #Games
38
- BAYONETTA = 1
39
- BAYONETTA2 = 2
40
- NIERAUTOMATA = 3
41
- VANQUISH = 4
42
- ANARCHY = 5
43
- GAMES = {
44
- bayo: BAYONETTA,
45
- bayo2: BAYONETTA2,
46
- nier: NIERAUTOMATA,
47
- vanquish: VANQUISH,
48
- anarchy: ANARCHY
49
- }
50
-
51
- #Supported
52
- SUPPORTED = {
53
- [BAYONETTA, PC] => true,
54
- [BAYONETTA, WIIU] => true,
55
- [BAYONETTA2, WIIU] => true,
56
- [NIERAUTOMATA, PC] => true,
57
- [VANQUISH, PC] => true,
58
- [ANARCHY, XBOX360] => true
59
- }
60
- end
1
+ require 'libbin'
2
+ require_relative 'bayonetta/linalg'
3
+ require_relative 'bayonetta/endianness'
4
+ require_relative 'bayonetta/alignment'
5
+ require_relative 'bayonetta/bone'
6
+ require_relative 'bayonetta/pkz'
7
+ require_relative 'bayonetta/dat'
8
+ require_relative 'bayonetta/eff'
9
+ require_relative 'bayonetta/wtb'
10
+ require_relative 'bayonetta/wmb'
11
+ require_relative 'bayonetta/wmb3'
12
+ require_relative 'bayonetta/bxm'
13
+ require_relative 'bayonetta/clp'
14
+ require_relative 'bayonetta/clh'
15
+ require_relative 'bayonetta/clw'
16
+ require_relative 'bayonetta/scr'
17
+ require_relative 'bayonetta/mot'
18
+ require_relative 'bayonetta/exp'
19
+
20
+ module Bayonetta
21
+ include Alignment
22
+
23
+ #Platforms
24
+ PC = 1
25
+ WIIU = 2
26
+ XBOX360 = 3
27
+ PS3 = 4
28
+ SWITCH = 5
29
+ PLATFORMS = {
30
+ pc: PC,
31
+ wiiu: WIIU,
32
+ xbox360: XBOX360,
33
+ ps3: PS3,
34
+ switch: SWITCH
35
+ }
36
+
37
+ #Games
38
+ BAYONETTA = 1
39
+ BAYONETTA2 = 2
40
+ NIERAUTOMATA = 3
41
+ VANQUISH = 4
42
+ ANARCHY = 5
43
+ GAMES = {
44
+ bayo: BAYONETTA,
45
+ bayo2: BAYONETTA2,
46
+ nier: NIERAUTOMATA,
47
+ vanquish: VANQUISH,
48
+ anarchy: ANARCHY
49
+ }
50
+
51
+ #Supported
52
+ SUPPORTED = {
53
+ [BAYONETTA, PC] => true,
54
+ [BAYONETTA, WIIU] => true,
55
+ [BAYONETTA2, WIIU] => true,
56
+ [NIERAUTOMATA, PC] => true,
57
+ [VANQUISH, PC] => true,
58
+ [ANARCHY, XBOX360] => true
59
+ }
60
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pgtools
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brice Videau
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-10 00:00:00.000000000 Z
11
+ date: 2022-12-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: libbin