Hello, I'm sorry to bother you, but I have some problems and I think you could be able to help me.
Well I'm trying toget my hands on League of Legends models...
I'm using Szkaradek's blender imported for the skn files (blender 2.49); then i export the models as colada or fbx (in order to editthem in milk shape 3d; the same black turned faces are shown in 3d max too) and when i import i got the faces turned back... (the surface of the model is black; and the skin applys on the backfaces...) When I import those models in noesis I see part of the model skinned part of the model missing... When I turn on/off toggue face cull (in noesis) I see the missing faces... But still I can't get the model exported right.
I have tried the other skn plugin for blender 2.5x and the plug in for maya... and the result is still the same... faces turned back... I'm attaching asample file plus some screans of my problem.
I hope you can tell me what I'm doing wrong.. and how can I get it fixed...
Thanks for your time and understanding.
Important information: this site is currently scheduled to go offline indefinitely by end of the year.
League of legends model problems....
-
- advanced
- Posts: 60
- Joined: Tue Nov 16, 2010 12:11 pm
- Has thanked: 9 times
- Been thanked: 4 times
-
- advanced
- Posts: 60
- Joined: Tue Nov 16, 2010 12:11 pm
- Has thanked: 9 times
- Been thanked: 4 times
Re: League of legends model problems....
...bump...
Anyone out there having the same issues? Or maybe someone know how to avoid them?
Anyone out there having the same issues? Or maybe someone know how to avoid them?
Re: League of legends model problems....
I don't know if this is a LoL specific problem, but I also had major difficulties exporting the models.
I think I tried it the way you described but I'm not 100% sure since I was just mindlessly following some tutorial.
So yeah... no solution from me since I'm justa noob with this stuff.
I think I tried it the way you described but I'm not 100% sure since I was just mindlessly following some tutorial.
So yeah... no solution from me since I'm justa noob with this stuff.
-
- M-M-M-Monster veteran
- Posts: 2382
- Joined: Sat Apr 09, 2011 1:22 am
- Has thanked: 170 times
- Been thanked: 307 times
Re: League of legends model problems....
Was the model like that in blender or only after you exported it?
-
- advanced
- Posts: 60
- Joined: Tue Nov 16, 2010 12:11 pm
- Has thanked: 9 times
- Been thanked: 4 times
Re: League of legends model problems....
well in blender it does look nice... flatshaded (since i don't know how to apply the texturesin blender); but itdoesnot look like that in blender... The funny thing is that i exported the same way from max and maya and the result was the same... btw i could post the blend file too...
-
- M-M-M-Monster veteran
- Posts: 2382
- Joined: Sat Apr 09, 2011 1:22 am
- Has thanked: 170 times
- Been thanked: 307 times
Re: League of legends model problems....
http://db.tt/tGUTfJrg
I found a problem with the noesis plugin I wrote some months ago but I never went back to fix it until napoleon mentioned it. It was with how it was parsing materials; it uses index ranges to indicate which faces use which material, but I didn't realize that.
I've also changed the texture-finding function to basically brute-force the model folder in search of a dds file that has the model's name in it (just cause I can't find where the texName is stored and there's no consistent pattern to the texture names). For the base models, I simply checked whether an underscore was in the model's name and added "_base" if it wasn't.
Also...there are some models where the texture name is not even the same as the model name (eg: DestroyedTower.skn vs. tower_destroyed_diff.dds). This indicates that there must be some file that connects the two...but I can't find it.
Since a blender importer is already available I could just look up the skl format and copy it over...but maybe later.
Oh and I took out the Sanae3D dependency cause it takes away from the whole "Stand-alone plugin" idea.
I found a problem with the noesis plugin I wrote some months ago but I never went back to fix it until napoleon mentioned it. It was with how it was parsing materials; it uses index ranges to indicate which faces use which material, but I didn't realize that.
I've also changed the texture-finding function to basically brute-force the model folder in search of a dds file that has the model's name in it (just cause I can't find where the texName is stored and there's no consistent pattern to the texture names). For the base models, I simply checked whether an underscore was in the model's name and added "_base" if it wasn't.
Also...there are some models where the texture name is not even the same as the model name (eg: DestroyedTower.skn vs. tower_destroyed_diff.dds). This indicates that there must be some file that connects the two...but I can't find it.
Since a blender importer is already available I could just look up the skl format and copy it over...but maybe later.
Oh and I took out the Sanae3D dependency cause it takes away from the whole "Stand-alone plugin" idea.
-
- advanced
- Posts: 60
- Joined: Tue Nov 16, 2010 12:11 pm
- Has thanked: 9 times
- Been thanked: 4 times
Re: League of legends model problems....
I would like to notify you that riot has updated their skn file format. On the new models they have released the Noesis script does not work. (3d maya, the 3d max script and the blender script does not work too). The updated file format is currently on the new skins tehy have released, including on the visual update of twitch. I'll upload sample files here:
https://www.dropbox.com/s/htr36uyt3cob8u7/samples.zip
Any help here would be really appreciated.
https://www.dropbox.com/s/htr36uyt3cob8u7/samples.zip
Any help here would be really appreciated.
- shakotay2
- MEGAVETERAN
- Posts: 4284
- Joined: Fri Apr 20, 2012 9:24 am
- Location: Nexus, searching for Jim Kirk
- Has thanked: 1146 times
- Been thanked: 2242 times
Re: League of legends model problems....
You do not have the required permissions to view the files attached to this post.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
-
- advanced
- Posts: 60
- Joined: Tue Nov 16, 2010 12:11 pm
- Has thanked: 9 times
- Been thanked: 4 times
Re: League of legends model problems....
Wait is that in Noesis? It does not look like Noesis to me... please post your answer not in just screenshots... I don't recognize the tools you have used, and I suppose most of the members here does not... And here's the error message I get in the latest version of noesis.
You do not have the required permissions to view the files attached to this post.
- shakotay2
- MEGAVETERAN
- Posts: 4284
- Joined: Fri Apr 20, 2012 9:24 am
- Location: Nexus, searching for Jim Kirk
- Has thanked: 1146 times
- Been thanked: 2242 times
Re: League of legends model problems....
It's hex2obj.exe (view link in my sig for it).
using Noesis: changes in fmt_LeagueOfLegends_skn.py:
Only tested with Twitch.skn!
using Noesis: changes in fmt_LeagueOfLegends_skn.py:
Only tested with Twitch.skn!
Code: Select all
def parse_file(self):
idstring = self.inFile.readUInt()
hasMat, numMesh = self.inFile.read('2H')
if hasMat:
numMat = self.inFile.readUInt()
for i in range(numMat):
name = self.read_name(64)
self.inFile.read('4L')
#just hardcode matName for now
matName = self.parse_material()
self.inFile.readUInt() # skip 2 bytes, for updated skn format
numIdx = self.inFile.readUInt()
numVerts = self.inFile.readUInt()
else:
matName = self.parse_material()
#self.inFile.readUInt() # ? untested
numIdx, numVerts = self.inFile.read('2L')
self.inFile.readBytes(48) # skip 48 bytes, updated skn format
idxBuff = self.parse_faces(numIdx, matName)
self.parse_vertices(numVerts)
You do not have the required permissions to view the files attached to this post.
Last edited by shakotay2 on Thu Apr 17, 2014 10:07 pm, edited 1 time in total.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
-
- advanced
- Posts: 60
- Joined: Tue Nov 16, 2010 12:11 pm
- Has thanked: 9 times
- Been thanked: 4 times
Re: League of legends model problems....
Excuse my stupidity.. but can you post the edited file? I can't seems to place the edited part in the right place. Thank you.
Edit here's the error message i get after placing the edited part...
Edit here's the error message i get after placing the edited part...
You do not have the required permissions to view the files attached to this post.
- shakotay2
- MEGAVETERAN
- Posts: 4284
- Joined: Fri Apr 20, 2012 9:24 am
- Location: Nexus, searching for Jim Kirk
- Has thanked: 1146 times
- Been thanked: 2242 times
Re: League of legends model problems....
well,...
the >>> were just thought to be markers.
They're NOT part of the code.
Try it such as:
and
the >>> were just thought to be markers.
They're NOT part of the code.
Try it such as:
Code: Select all
matName = self.parse_material()
self.inFile.readUInt()
Code: Select all
self.inFile.readBytes(48)
idxBuff = self.parse_faces(numIdx, matName)
Last edited by shakotay2 on Thu Jul 31, 2014 11:20 am, edited 1 time in total.
Tuts: a) Bigchillghost, viewtopic.php?f=29&t=17889
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
b) Extracting simple models: http://forum.xentax.com/viewtopic.php?f=29&t=10894
"Quoting the whole thing. Would u ever stop this nonsense?"
-
- advanced
- Posts: 60
- Joined: Tue Nov 16, 2010 12:11 pm
- Has thanked: 9 times
- Been thanked: 4 times
Re: League of legends model problems....
Thank you! Now it loads properly. I hope Riot will not change more the file format...
-
- ultra-n00b
- Posts: 1
- Joined: Thu Jul 24, 2014 9:44 pm
- Has thanked: 1 time
Re: League of legends model problems....
I just wanted to throw in here that after numerous failed attempts to load the newer (post 4.11 LoL patch) Mecha Aatrox .skn file into anything viewable, this thread and the changes shakotay2 posted finally gave me results. I tried Maya, Blender, Milkshake, 3DS Max, and a variety of other programs plus any .skn related plugins with no success.