Jump to content

Auto compiler anim error


wilfweACH

Recommended Posts

Hi, I've been having troubles with the autocompiler for a while now. For some reason, it won't compile my character's sprites and hat to the anim folder correctly.
Without the hat, I guess I've been getting along fine replacing my character's anim sprites with the esctemplate anim thingy, although the character appears invisible in game.

The autocompiler says


          Exporting alextest.zip
Exporting Animation [##########] 1/1
Error Exporting C:\Program Files (x86)\Steam\steamapps\common\Don't Starve Together\mods\AlexTest\exported\alextest\alextest.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 529 in <module>
     ExportBuild( endianstring, zip_file, buildxml, outzip, not results.skipantialias, results.playform, 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 395, 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


I've included the mod I've been working on so anybody can have it checked.
I'm aware the mod is missing a lot of things, but my focus is on the anim problem right now.
Preferably, I'd like to have things done here instead of in DMs so others suffering the same problem can hopefully find this.

Any help is appreciated and thanks a bunch in advance!

AlexTest.rar

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...