首页 > 其他分享 >SubstanceArchive .sbsasm file & ProceduralMaterial

SubstanceArchive .sbsasm file & ProceduralMaterial

时间:2024-07-06 09:41:52浏览次数:13  
标签:ProceduralMaterial xml SubstanceArchive get some file sbsasm

The .sbsasm file can be copied out of the SubstanceArchive. Export it raw and delete everything before "SBAM" in a hex editor.

The only issue is the .xml file that needs to be next to the .sbsasm file (both are packed in a .7z renamed to .sbsar). The information converted from the xml is stored in ProceduralMaterial and ProceduralTexture assets but I don't know the specifics of how the sbsar xml files are built.

Someone did in fact have some success with the method here described, yet they still have some doubts, especially regarding the .xml files here mentioned!

There are some ways to get the dynamic procedural texture back:

  • extract and build the original asset data as an assetbundle file, load it with the right unity version! Sometimes it works, but sometime not!
  • write some inject C# .il code to get all MeshRenderer components and retrieve and check it's material is ProceduralMaterial or not, then use RenderToTexture to get texture back

Reference: https://community.7daystodie.com/topic/1871-uabe-asset-bundle-extractor/page/9/

标签:ProceduralMaterial,xml,SubstanceArchive,get,some,file,sbsasm
From: https://www.cnblogs.com/open-coder/p/18286926

相关文章