WerewolfCustoms / ModsStudio2IssueBoard

Task board and bug tracker for Mods Studio 2 project
11 stars 1 forks source link

Update templates with new mat file format for game version 1.48 and above #488

Closed Mike7O closed 5 months ago

Mike7O commented 6 months ago

Task List; update following templates:

... ms2 library > models > scsmod > templates ...

Describe the bug

ERROR [00004] (/universal/material/ui/accessory/icon.mat): Found non-empty binding beyond the expected ones.
ERROR [00004] (/universal/material/ui/accessory/icon.mat): Found non-empty texture location beyond the expected ones.

Because of WU Update 🤨

Current Version 1.0.49 (af61694b8c38) - 21.5.2024
Re-enabled texture related checks

To Reproduce Steps to reproduce the behavior:

  1. Create a mod
  2. Try to upload to Workshop
  3. You get those errorlines
  4. See error (at the top)

Expected behavior No errors while uploading 😎

Screenshots

what have changed ? icon.mat (example...so any name) in directory material/ui/accessory from:

material : "ui"
{
    texture : "icon.tobj"
    texture_name : "texture"
}

to:

effect : "ui.rfx" {
    texture : "texture" {
        source : "icon.tobj"
        u_address : clamp
        v_address : clamp
        mip_filter : none
    }
}

To adapt to this new style, how to make MS2 export this so it is possible to upload to Workshop ?

Desktop (please complete the following information):

Additional context https://discord.com/channels/611134812471820348/1021379459703652362/1242538317661208666 https://discord.com/channels/611134812471820348/611134813021143041/1242554938685395047

Mike7O commented 6 months ago

a fresh update of the WU today ... tested the same mod which had issues and it was uploaded successfully 🤩 still this might be a problem in the future....

Skärmbild 2024-05-22 141042

pete-agreatguy commented 6 months ago

We still need to update the code regardless :)

pete-agreatguy commented 6 months ago

Seems it was introduced back in v1.48.* image

pete-agreatguy commented 6 months ago

Completed.