[Request] Tree of savior (.XAC) Export

Post questions about game models here, or help out others!
krausk
ultra-n00b
Posts: 5
Joined: Sun Jun 26, 2016 5:50 pm
Has thanked: 2 times

Re: [Request] Tree of savior (.XAC) Export

Post 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.
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4134
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1124 times
Been thanked: 2154 times

Re: [Request] Tree of savior (.XAC) Export

Post 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.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
Some things will never change. [roll]
"You quoted the whole thing, what a mess."
krausk
ultra-n00b
Posts: 5
Joined: Sun Jun 26, 2016 5:50 pm
Has thanked: 2 times

Re: [Request] Tree of savior (.XAC) Export

Post 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
User avatar
shakotay2
MEGAVETERAN
MEGAVETERAN
Posts: 4134
Joined: Fri Apr 20, 2012 9:24 am
Location: Nexus, searching for Jim Kirk
Has thanked: 1124 times
Been thanked: 2154 times

Re: [Request] Tree of savior (.XAC) Export

Post by shakotay2 »

upload the xac in question, please.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
Some things will never change. [roll]
"You quoted the whole thing, what a mess."
krausk
ultra-n00b
Posts: 5
Joined: Sun Jun 26, 2016 5:50 pm
Has thanked: 2 times

Re: [Request] Tree of savior (.XAC) Export

Post 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
Szkaradek123
mega-veteran
mega-veteran
Posts: 292
Joined: Wed May 05, 2010 8:21 pm
Location: Poland Głogów
Has thanked: 21 times
Been thanked: 735 times

Re: [Request] Tree of savior (.XAC) Export

Post 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.
You do not have the required permissions to view the files attached to this post.
krausk
ultra-n00b
Posts: 5
Joined: Sun Jun 26, 2016 5:50 pm
Has thanked: 2 times

Re: [Request] Tree of savior (.XAC) Export

Post 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!
Post Reply