Jump to content

DST Mod tools randomly not regening character animation.zip file


Recommended Posts

So i had to delete the animation.zip file and it won't regen it, it will however regen the ghost version, it gives the following error: 

      Exporting character.zip
Exporting Animation[################################] 1/1
Error Exporting C:\Program Files (x86)\Steam\steamapps\common\Don't Starve Together\mods\Asgore[V0.2]\exported\character\character.zip
'int' object is not subscriptableTraceback (most recent call last):
  File "C:\Program Files (x86)\Steam\steamapps\common\Don't Starve Mod Tools\mod_tools\exported\..\tools\scripts\buildanimation.py", line 493, in <module>
    ExportBuild( endianstring, zip_file, buildxml, outzip, not results.skipantialias, results.platform, results.textureformat, results.hardalphatextureformat, results.force, results.ignoreexceptions )
  File "C:\Program Files (x86)\Steam\steamapps\common\Don't Starve Mod Tools\mod_tools\exported\..\tools\scripts\buildanimation.py", line 359, in ExportBuild
    img.regions = optimizeimage.GetImageRegions(img, 32)
  File "C:\Program Files (x86)\Steam\steamapps\common\Don't Starve Mod Tools\mod_tools\tools\scripts\optimizeimage.py", line 156, in GetImageRegions
    rootNode = QuadTreeNode(img, None, 0, blocksize)
  File "C:\Program Files (x86)\Steam\steamapps\common\Don't Starve Mod Tools\mod_tools\tools\scripts\optimizeimage.py", line 75, in __init__
    childtypes = [ Analyze(im, childboxes[0]),
  File "C:\Program Files (x86)\Steam\steamapps\common\Don't Starve Mod Tools\mod_tools\tools\scripts\optimizeimage.py", line 34, in Analyze
    if p[3] == 0:
TypeError: 'int' object is not subscriptable
        Exporting ghost_character_build.zip
Exporting Animation[################################] 1

I did not change anything in their, it just sorta happened, i already tried to verify cache and reinstall, neither worked. This is way beyond me and i have 0 idea why this would happen...

Link to comment
Share on other sites

The autoconverter tool didn't like your following images:
hair-0.png, hair-2.png, hair_hat-0.png, hair_hat-2.png, hairpigtails-0.png, hairpigtails-1.png, headbase_hat-0.png, headbase_hat-2.png.
Increasing their color depth to 32 bits (with alpha channel) fixed that.

Asgore-fix.zip

Link to comment
Share on other sites

Wow, i really didn't expect this to be fixed lol, thanks so much!

I do have another problem though, it has to do with items, i can't give details atm for i am not at my desktop but if you could help with that too, that'd be great.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
  • Create New...