Skip to content

4.0.0.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@cmkushnir cmkushnir released this 09 Oct 00:32
· 160 commits to main since this release
c273de3
  • add:
    • string cmk.NMS.PAK.SPV.Data.Main( Log LOG = null ) method to return "void main() { ... }"
    • string cmk.NMS.PAK.SPV.Data.Main( string MAIN, bool UPDATE = true, Log LOG = null )
      method to search and replace "void main() { ... }" with MAIN.
      Returns updated full shader text. If UPDATE == true then update SPV.Data.Text,
      else just applies update to a temp copy that is returned. SPV.Data.Text is what
      will get converted back to the spv binary on Save, this does not Save.
    • Shader_Replace cmk mod script to test cmk.NMS.PAK.SPV.Data.Main methods
      and demonstrate their use. Makes a trivial change in a shader that can then be
      viewed in PAK Item tab when viewing the generated mod pak shader diff.