|
Post by george111 on Aug 18, 2009 11:47:20 GMT -5
So, i'm using spinout's converter, and it worked for me the first time, but now every time i input something for scale, i always get a different error message. Can anyone help?
Heres what happens:
>>> ================================ RESTART ================================ >>> Choose a action: 1 - Turn a obj file into a Zelda 64 map/scene 2 - Turn a obj file into a F3DEX2 display list 3 - View instructions/help Other - Exit NOTICE - At this time, textures must be BMP 24-bit or 32-bit format at 32x32 pixels NOTICE - Whenever giving a file (unless directed otherwise), give it's full location (enter 3 below for more details) NOTICE - When asked for a non-offset integer, put the 0x prefix in front of it to enter a number in hexadecimal, otherwise integer is assumed. Choice: 1 Convert single map? (y/n): y Object file: C:\Users\Administrator\Zelda Hacking\Test Stuff\block.obj Scale: 2
Traceback (most recent call last): File "C:\Users\Administrator\Zelda Hacking\Obj.txt", line 896, in <module> if action == 1: obj2map() File "C:\Users\Administrator\Zelda Hacking\Obj.txt", line 625, in obj2map DL_START=OBJ2F3DEX2(f, f2, scale, 0x200, 3, cwd) File "C:\Users\Administrator\Zelda Hacking\Obj.txt", line 414, in OBJ2F3DEX2 _textures = open(cwd+line.split(" ")[1][:-1],"r") IOError: [Errno 2] No such file or directory: 'C:\\Users\\Administrator\\Zelda Hacking\\Test Stuff\\C:\\Users\\Administrator\\Zeld' >>>
|
|
|
Post by haddockd on Aug 18, 2009 12:14:47 GMT -5
Looks like a directory error (guessing). I put everything in my python directory (c:/python26) and i didnt have any issues, it also allowed me to skip the directories, i just used file names (i believe).
|
|
|
Post by spinout on Aug 29, 2009 13:49:32 GMT -5
the problem is that my program assumes there are no spaces in the filename
|
|