Important information: this site is currently scheduled to go offline indefinitely by end of the year.

League of legends model problems....

Post questions about game models here, or help out others!
napoleon321
advanced
Posts: 60
Joined: Tue Nov 16, 2010 12:11 pm
Has thanked: 9 times
Been thanked: 4 times

League of legends model problems....

Post by napoleon321 »

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.
napoleon321
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....

Post by napoleon321 »

...bump...
Anyone out there having the same issues? Or maybe someone know how to avoid them?
Helop
ultra-n00b
Posts: 1
Joined: Wed Mar 28, 2012 12:25 pm
Contact:

Re: League of legends model problems....

Post by Helop »

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.
finale00
M-M-M-Monster veteran
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....

Post by finale00 »

Was the model like that in blender or only after you exported it?
napoleon321
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....

Post by napoleon321 »

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...
finale00
M-M-M-Monster veteran
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....

Post by finale00 »

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.
napoleon321
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....

Post by napoleon321 »

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.
User avatar
shakotay2
MEGAVETERAN
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....

Post by shakotay2 »

Twitch.JPG
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?"
napoleon321
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....

Post by napoleon321 »

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.
User avatar
shakotay2
MEGAVETERAN
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....

Post by shakotay2 »

It's hex2obj.exe (view link in my sig for it).

using Noesis:
Twitch_Noesis.JPG
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?"
napoleon321
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....

Post by napoleon321 »

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...
You do not have the required permissions to view the files attached to this post.
User avatar
shakotay2
MEGAVETERAN
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....

Post by shakotay2 »

well,...
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()
and

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?"
napoleon321
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....

Post by napoleon321 »

Thank you! Now it loads properly. I hope Riot will not change more the file format...
Prettyfloralbonnet
ultra-n00b
Posts: 1
Joined: Thu Jul 24, 2014 9:44 pm
Has thanked: 1 time

Re: League of legends model problems....

Post by Prettyfloralbonnet »

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.
User avatar
Wobble
ultra-veteran
ultra-veteran
Posts: 584
Joined: Tue Jan 04, 2005 9:47 pm
Has thanked: 43 times
Been thanked: 112 times

Re: League of legends model problems....

Post by Wobble »

[out]
Last edited by Wobble on Sun Mar 12, 2017 11:40 am, edited 1 time in total.
Post Reply