Jump to content

Custom character mod will not work


Recommended Posts

I am using the Extended sample character mod.

But when I draw my sprites I get this error when trying to compile the animation

 

C:\Program Files (x86)\Steam\steamapps\common\Don't Starve Mod Tools\mod_tools\.
.\..\dont_starve\mods\extended sample character\images\map_icons\prophet.xml is
up to date.
C:\Program Files (x86)\Steam\steamapps\common\Don't Starve Mod Tools\mod_tools\.
.\..\dont_starve\mods\extended sample character\images\saveslot_portraits\prophe
t.xml is up to date.
C:\Program Files (x86)\Steam\steamapps\common\Don't Starve Mod Tools\mod_tools\.
.\..\dont_starve\mods\extended sample character\images\selectscreen_portraits\pr
ophet.xml is up to date.
C:\Program Files (x86)\Steam\steamapps\common\Don't Starve Mod Tools\mod_tools\.
.\..\dont_starve\mods\extended sample character\images\selectscreen_portraits\pr
ophet_silho.xml is up to date.
C:\Program Files (x86)\Steam\steamapps\common\Don't Starve Mod Tools\mod_tools\.
.\..\dont_starve\mods\extended sample character\bigportraits\prophet.xml is up t
o date.
C:\Program Files (x86)\Steam\steamapps\common\Don't Starve Mod Tools\mod_tools\.
.\..\dont_starve\mods\workshop-286633678\images\saveslot_portraits\fsdf.xml is u
p to date.
        Exporting prophet.zip
Exporting Animation[################################] 1/1
Error Exporting C:\Program Files (x86)\Steam\steamapps\common\dont_starve\mods\e
xtended sample character\exported\prophet\prophet.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.skipantia
lias, results.platform, results.textureformat, results.hardalphatextureformat, r
esults.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
There was an export error!
 

I have tried remaking the mod from th start 6 times and I get this every time

Link to comment
Share on other sites

I am someone else who experienced this issue. I tracked down Cadvaerous and the solution is as infuriating as the problem. When saving the .png files for your characters in Paint.NET choose 32-bit in the pop up screen.

 

32-bit Good, Auto detect bad.

 

I don't mean to bump old threads or however forums work. Its that this thread is the first result when searching this issue and now wayward modders have an answer.

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...