Page 2 of 2
Re: [Request] Tree of savior (.XAC) Export
Posted: Wed Jun 29, 2016 7:52 am
by krausk
shakotay2 wrote:any chance you tell us more about the error?

Not sure if I'm doing something wrong as there is no instructions how to use it, I tried to open the blender that comes with it and then run the script, but the code itself won't even run as it keeps complaining about missing parenthesis etc in the code on multiple lines.
Re: [Request] Tree of savior (.XAC) Export
Posted: Wed Jun 29, 2016 9:24 am
by shakotay2
You were instructed to use blender249 ("It requires Blender 249 and Python26.")
Newer versions don't work.
Hover the mouse cursor over the script (Texteditor window) then press alt-p to start the script.
Re: [Request] Tree of savior (.XAC) Export
Posted: Wed Jun 29, 2016 7:39 pm
by krausk
Ok 1st mistake was that my blender was too new, now the script runs, but if I try to import something it still says "Python script error: check console" and console reads:
File "SKOnline.py", line 257, in openFile
parser=Parser()
File "SKOnline.py", line 244, in Parser
xacParser(filename,g)
File "SKOnline.py", line 120, in xacParser
mat=matList[w[2]]
IndexError: list index out of range
Re: [Request] Tree of savior (.XAC) Export
Posted: Wed Jun 29, 2016 8:18 pm
by shakotay2
upload the xac in question, please.
Re: [Request] Tree of savior (.XAC) Export
Posted: Thu Jun 30, 2016 12:13 am
by krausk
shakotay2 wrote:upload the xac in question, please.
Here's one of the files, I extracted them with IPFSuite. The same thing happens with all of the files.
https://www.mediafire.com/?ja0qpf12wv980gr
Re: [Request] Tree of savior (.XAC) Export
Posted: Thu Jun 30, 2016 6:09 am
by Szkaradek123
Hi
You have error with file skonline.py which is not in importer folder.
Please install Blender249b (32bits) and Python26.
Check if blend files open with this version of Blender. If not open, than change it in file blend properties (click right mouse button )
Double click on Blender249.blend.
Re: [Request] Tree of savior (.XAC) Export
Posted: Thu Jun 30, 2016 8:03 am
by krausk
(Just noticed that I typoed the DKonline to SKonline)
Jesus I'm stupid, I thought I had downloaded the zip that Szkaradek123 had made for Tree of Savior, but as you can see from the DKonline.py name it was from another thread for another game. I downloaded the zip from this thread and everything works with it!
Thanks for your help and patience!