DirtyDan Posted October 6, 2014 Share Posted October 6, 2014 I'm trying to make a generic hand-slot item using the tutorial on how to make it from scratch, and when I start DS to export it into a .zip, I get this error in the CMD window. IndexError: tuple index out of rangeThere was an export error! I have no idea how to fix this, help would be appreciated. Link to comment https://forums.kleientertainment.com/forums/topic/41520-ds-mod-tools-index-out-of-range-cmd-error/ Share on other sites More sharing options...
Dryicefox Posted October 6, 2014 Share Posted October 6, 2014 I'm trying to make a generic hand-slot item using the tutorial on how to make it from scratch, and when I start DS to export it into a .zip, I get this error in the CMD window. IndexError: tuple index out of rangeThere was an export error! I have no idea how to fix this, help would be appreciated.It would be easier if you uploaded your file, so people could see what is wrong, rather than guess at it. Link to comment https://forums.kleientertainment.com/forums/topic/41520-ds-mod-tools-index-out-of-range-cmd-error/#findComment-545998 Share on other sites More sharing options...
DirtyDan Posted October 6, 2014 Author Share Posted October 6, 2014 It would be easier if you uploaded your file, so people could see what is wrong, rather than guess at it. Oh sorry, here you go. Tea WIP.zip Link to comment https://forums.kleientertainment.com/forums/topic/41520-ds-mod-tools-index-out-of-range-cmd-error/#findComment-546025 Share on other sites More sharing options...
_Q_ Posted October 7, 2014 Share Posted October 7, 2014 There is no anim projects in exported folder, so maybe that's why you get an error.You need to make animations in spriter, even if its single image that don't do anything, only projects form spriter are made itno zip files. Link to comment https://forums.kleientertainment.com/forums/topic/41520-ds-mod-tools-index-out-of-range-cmd-error/#findComment-546158 Share on other sites More sharing options...
DirtyDan Posted October 7, 2014 Author Share Posted October 7, 2014 That's what I've been doing, I'm trying to get it to autocompile using the mod tools, but I get that error.It compiles everything else, but not this specific project. I'm still confused. Link to comment https://forums.kleientertainment.com/forums/topic/41520-ds-mod-tools-index-out-of-range-cmd-error/#findComment-546719 Share on other sites More sharing options...
_Q_ Posted October 7, 2014 Share Posted October 7, 2014 That's what I've been doing, I'm trying to get it to autocompile using the mod tools, but I get that error.It compiles everything else, but not this specific project. I'm still confused.I'm confused now.The only thing that can be made into zip files are scml projects from spriter, you don't have any scml files in the exported folder just raw images that can be converted to tex files and nothing else. Link to comment https://forums.kleientertainment.com/forums/topic/41520-ds-mod-tools-index-out-of-range-cmd-error/#findComment-546741 Share on other sites More sharing options...
DirtyDan Posted October 7, 2014 Author Share Posted October 7, 2014 I'm confused now.The only thing that can be made into zip files are scml projects from spriter, you don't have any scml files in the exported folder just raw images that can be converted to tex files and nothing else. Weird, I must of deleted them by accident when I uploaded, but when I do make the .scml file and try to compile it I get that error. Here's the revised one. It makes the .zip in the exported folder, but doesn't put one in the anim folder like it should. Tea_TEST.zip Link to comment https://forums.kleientertainment.com/forums/topic/41520-ds-mod-tools-index-out-of-range-cmd-error/#findComment-546744 Share on other sites More sharing options...
DirtyDan Posted October 7, 2014 Author Share Posted October 7, 2014 Also here is a screenshot of the error if it helps. Link to comment https://forums.kleientertainment.com/forums/topic/41520-ds-mod-tools-index-out-of-range-cmd-error/#findComment-546747 Share on other sites More sharing options...
_Q_ Posted October 7, 2014 Share Posted October 7, 2014 (edited) Also here is a screenshot of the error if it helps. bandicam 2014-10-07 17-40-35-846.jpg It is some problem with your PNG image, the script fails to change it into atlas for some reason.Draw or get new image that game can compile, I changed image for some random 64x64 png icon I had for DS and it compiled just fine. Edited October 7, 2014 by _Q_ Link to comment https://forums.kleientertainment.com/forums/topic/41520-ds-mod-tools-index-out-of-range-cmd-error/#findComment-546754 Share on other sites More sharing options...
DirtyDan Posted October 7, 2014 Author Share Posted October 7, 2014 It is some problem with your PNG image, the script fails to change it into atlas for some reason.Draw or get new image that game can compile, I changed image for some random 64x64 png icon I had for DS and it compiled just fine.Thank you so much, I thought I screwed up somewhere, and I was pulling my hair out from frustration. XD Link to comment https://forums.kleientertainment.com/forums/topic/41520-ds-mod-tools-index-out-of-range-cmd-error/#findComment-546797 Share on other sites More sharing options...
DirtyDan Posted October 8, 2014 Author Share Posted October 8, 2014 It is some problem with your PNG image, the script fails to change it into atlas for some reason.Draw or get new image that game can compile, I changed image for some random 64x64 png icon I had for DS and it compiled just fine. I am having one last problem, it is the item itself is offcenter in the swap_nameofitem.scml.I try to fix it by deleting the previous .scml and .zip, as well as the anim/swap_nameofitem.zip, but changing itdoes not change the way Wilson holds it at all. Here is a picture of it. Link to comment https://forums.kleientertainment.com/forums/topic/41520-ds-mod-tools-index-out-of-range-cmd-error/#findComment-546840 Share on other sites More sharing options...
Dryicefox Posted October 8, 2014 Share Posted October 8, 2014 I am having one last problem, it is the item itself is offcenter in the swap_nameofitem.scml.I try to fix it by deleting the previous .scml and .zip, as well as the anim/swap_nameofitem.zip, but changing itdoes not change the way Wilson holds it at all. Here is a picture of it. Flip the cup's image in your image editor and mess around with that bar that has a red dot and a white dot in spriter. (The red dot thing will change the cups position.) Link to comment https://forums.kleientertainment.com/forums/topic/41520-ds-mod-tools-index-out-of-range-cmd-error/#findComment-546911 Share on other sites More sharing options...
_Q_ Posted October 8, 2014 Share Posted October 8, 2014 I am having one last problem, it is the item itself is offcenter in the swap_nameofitem.scml.I try to fix it by deleting the previous .scml and .zip, as well as the anim/swap_nameofitem.zip, but changing itdoes not change the way Wilson holds it at all. Here is a picture of it. Changing scale x to -1 will flip the image, set pivot of the image to the place where character will hold the item. Link to comment https://forums.kleientertainment.com/forums/topic/41520-ds-mod-tools-index-out-of-range-cmd-error/#findComment-546970 Share on other sites More sharing options...
DirtyDan Posted October 8, 2014 Author Share Posted October 8, 2014 Changing scale x to -1 will flip the image, set pivot of the image to the place where character will hold the item. I've tried that many times, but no matter what I do, it stays exactly the same as in that picture. Link to comment https://forums.kleientertainment.com/forums/topic/41520-ds-mod-tools-index-out-of-range-cmd-error/#findComment-547292 Share on other sites More sharing options...
_Q_ Posted October 8, 2014 Share Posted October 8, 2014 I've tried that many times, but no matter what I do, it stays exactly the same as in that picture.Upload the mod with swap anim in, will check it later. Link to comment https://forums.kleientertainment.com/forums/topic/41520-ds-mod-tools-index-out-of-range-cmd-error/#findComment-547295 Share on other sites More sharing options...
DirtyDan Posted October 8, 2014 Author Share Posted October 8, 2014 (edited) Thanks, I really appreciate your help. :> Also, ignore the other two teas, just focus on the tea cup itself, because I need that to work first before I begin the others. Tea_TEST2.zip Edited October 8, 2014 by DirtyDan Link to comment https://forums.kleientertainment.com/forums/topic/41520-ds-mod-tools-index-out-of-range-cmd-error/#findComment-547300 Share on other sites More sharing options...
_Q_ Posted October 8, 2014 Share Posted October 8, 2014 Thanks, I really appreciate your help. :> Also, ignore the other two teas, just focus on the tea cup itself, because I need that to work first before I begin the others. Tea_TEST2.zip Sorry. Its seems like you need to flip the image in graphical editor.Quite strange, but here is the fixed thing: Tea_TEST.zip Link to comment https://forums.kleientertainment.com/forums/topic/41520-ds-mod-tools-index-out-of-range-cmd-error/#findComment-547386 Share on other sites More sharing options...
naptimeshadows Posted December 4, 2015 Share Posted December 4, 2015 (edited) Has anyone figured out exactly what makes the .png cause this issue?I am using the same images of a working item I made, but in the new item, I am getting that same tuple error.I replace it with otherwise working images over and over and still get the issue.And I know the .scml's are right, because I've made several other items that export without issue. So what's the deal? hockeystick.zip Edited December 5, 2015 by naptimeshadows Link to comment https://forums.kleientertainment.com/forums/topic/41520-ds-mod-tools-index-out-of-range-cmd-error/#findComment-692405 Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now