Forum Rules

  • No flaming or derogatory remarks, directly or through insinuation.
  • No discussion, sharing or referencing illegal software such as hacks, keygen, cracks and pirated software.
  • No offensive contents, including but not limited to, racism, gore or pornography.
  • No excessive spam/meme, i.e. copious one liners in a short period of time, typing with all caps or posting meme responses (text/image).
  • No trolling, including but not limited to, flame incitation, user provocation or false information distribution.
  • No link spamming or signature advertisements for content not specific to Dota 2.
  • No Dota 2 key requests, sell, trade etc.
  • You may not create multiple accounts for any purpose, including ban evasion, unless expressly permitted by a moderator.

  • Please search before posting. One thread per issue. Do not create another thread if there is an existing one already.
  • Before posting anything, make sure you check out all sticky threads (e.g., this). Do not create new threads about closed ones.
  • It is extremely important that you post in correct forum section.

  • Balance discussion only in Misc.
  • All art related (such as hero model) feedbacks go to Art Feedback Forum.
  • All matchmaking feedback should go here: Matchmaking Feedback
  • All report/low priority issues should go here: Commend/Report/Ban Feedback
  • No specific workshop item feedback. These should go to workshop page of that item.
  • When posting in non-bugs section (such as this), use [Bugs], [Discussion] or [Suggestion] prefix in your thread name.

In case you object some action by a moderator, please contact him directly through PM and explain your concerns politely. If you are still unable to resolve the issue, contact an administrator. Do not drag these issues in public.

All rules are meant to augment common sense, please use them when not conflicted with aforementioned policies.
See more
See less

[BUG] .vtex for animated sprite sheet does not compile if it refers to an .mks file

  • Filter
  • Time
  • Show
Clear All
new posts

  • [BUG] .vtex for animated sprite sheet does not compile if it refers to an .mks file

    Edit: I have *partially* fixed the issue. It seems (though I am still not 100% sure) to have been related to the alpha channel of some of the .tga images. I made 32 images with progressively more blur intensity. I used the image's combined RGB channel as the alpha channel. From my testing, after 16 images, the compiler starts giving me errors on compile. I think after 16 stages of blur, the pixels in the alpha channel are too blurred/diffused. Although, I don't think this is the entire issue, since each of the individual 32 .tga source files can be converted to individual .vtexs without issue. However, it seems that when they are packaged and/or converted by proxy of the .mks file, they don't compile properly, probably due to some conversion issue.

    I have come across an issue recently where it is impossible to create new sprite sheets for animated sprites used in particle effects. I can compile regular .vtex files that point to a .tga/.png/.psd just fine, but resourcecompiler/the engine no longer recognizes .mks (the file format required to compile for multi-sequence/multi-frame sprites) as a valid file and struggles to find "the best packaging" for this type of file when compiling a .vtex into a .vtex_c, as seen in this screenshot:

    Additionally, this error is spewed constantly in vconsole if the engine is attempting to compile the .vtex file from the asset browser:
    c:\buildslave\source2_dota_rel_win64\build\src\rendersystem\texturebase.cpp(2496):ResourceHandleToData( materials/particle/sprite_blur_sheet/sprite_blur_sheet.vtex ) failed! Falling back to error texture!
    It seems as though a recent, or perhaps not-very-recent (since I have not attempted to compile a .vtex with an .mks file reference since 2015, when it still worked) update might have broken this functionality. I have linked a googledrive download link for the files I'm working with (the attachment function on this forum doesn't want to upload the zip for some reason) in case anyone wants to take a look at them and try to compile for themselves:
    Last edited by Toyoka; 02-18-2019, 01:47 PM. Reason: Resolved