Dougline

#4 Solution - Aquila Favonia Bennett Auto Detection

Jan 6th, 2024
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ; Merged Mod: .\Jingliu Sword\AquilaFavonia.ini, .\SignoraWhip\FavoniusSword.ini
  2.  
  3. ; Constants ---------------------------
  4.  
  5. [Constants]
  6. global persist $swapvar = 0
  7. global $ActiveCharacter = 0
  8.  
  9. [TextureOverrideBennyDetect]
  10. hash = 993d1661
  11. $swapvar = 1
  12.  
  13. [Present]
  14. post $ActiveCharacter = 0
  15. post $swapvar = 0
  16.  
  17. ; Overrides ---------------------------
  18.  
  19. [TextureOverrideAquilaFavonia]
  20. hash = 65914967
  21. run = CommandListAquilaFavonia
  22. $ActiveCharacter = 1
  23.  
  24. [TextureOverrideAquilaFavoniaIB]
  25. hash = 4035c5d6
  26. run = CommandListAquilaFavoniaIB
  27.  
  28. [TextureOverrideAquilaFavoniaHead]
  29. hash = 4035c5d6
  30. match_first_index = 0
  31. run = CommandListAquilaFavoniaHead
  32.  
  33. [TextureOverride41FixVertexLimitRaise0]
  34. hash = 02cf3aa5
  35.  
  36. ; CommandList -------------------------
  37.  
  38. [CommandListAquilaFavonia]
  39. if $swapvar == 0
  40.     vb0 = ResourceAquilaFavonia.0
  41. else if $swapvar == 1
  42.     vb0 = ResourceFavoniusSword.1
  43. endif
  44.  
  45. [CommandListAquilaFavoniaIB]
  46. if $swapvar == 0
  47.     handling = skip
  48.     drawindexed = auto
  49. else if $swapvar == 1
  50.     handling = skip
  51.     drawindexed = auto
  52. endif
  53.  
  54. [CommandListAquilaFavoniaHead]
  55. if $swapvar == 0
  56.     ib = ResourceAquilaFavoniaHeadIB.0
  57.     ps-t0 = ResourceAquilaFavoniaHeadDiffuse.0
  58.     ps-t1 = ResourceAquilaFavoniaHeadLightMap.0
  59. else if $swapvar == 1
  60.     ib = ResourceFavoniusSwordHeadIB.1
  61.     ps-t0 = ResourceFavoniusSwordHeadDiffuse.1
  62.     ps-t1 = ResourceFavoniusSwordHeadLightMap.1
  63.     ps-t2 = ResourceFavoniusSwordHeadMetalMap.1
  64.     ps-t3 = ResourceFavoniusSwordHeadDiffuseGuide.1
  65. endif
  66.  
  67. ; Resources ---------------------------
  68.  
  69. [ResourceAquilaFavonia.0]
  70. type = Buffer
  71. stride = 28
  72. filename = .\Jingliu Sword\AquilaFavonia.buf
  73.  
  74. [ResourceAquilaFavoniaHeadIB.0]
  75. type = Buffer
  76. format = DXGI_FORMAT_R32_UINT
  77. filename = .\Jingliu Sword\AquilaFavoniaHead.ib
  78.  
  79. [ResourceAquilaFavoniaHeadDiffuse.0]
  80. filename = .\Jingliu Sword\AquilaFavoniaHeadDiffuse.dds
  81.  
  82. [ResourceAquilaFavoniaHeadLightMap.0]
  83. filename = .\Jingliu Sword\AquilaFavoniaHeadLightMap.dds
  84.  
  85. [ResourceFavoniusSword.1]
  86. type = Buffer
  87. stride = 28
  88. filename = .\SignoraWhip\FavoniusSword.buf
  89.  
  90. [ResourceFavoniusSwordHeadIB.1]
  91. type = Buffer
  92. format = DXGI_FORMAT_R32_UINT
  93. filename = .\SignoraWhip\FavoniusSwordHead.ib
  94.  
  95. [ResourceFavoniusSwordHeadDiffuse.1]
  96. filename = .\SignoraWhip\FavoniusSwordHeadDiffuse.dds
  97.  
  98. [ResourceFavoniusSwordHeadLightMap.1]
  99. filename = .\SignoraWhip\FavoniusSwordHeadLightMap.jpg
  100.  
  101. [ResourceFavoniusSwordHeadMetalMap.1]
  102. filename = .\SignoraWhip\FavoniusSwordHeadMetalMap.dds
  103.  
  104. [ResourceFavoniusSwordHeadDiffuseGuide.1]
  105. filename = .\SignoraWhip\FavoniusSwordHeadDiffuseGuide.dds
  106.  
  107.  
  108.  
  109. ; .ini generated by GIMI (Genshin-Impact-Model-Importer) mod merger script
  110. ; If you have any issues or find any bugs, please open a ticket at https://github.com/SilentNightSound/GI-Model-Importer/issues or contact SilentNightSound#7430 on discord
Add Comment
Please, Sign In to add comment