Page 1 of 1
Swords of Legends Online .hkc and .model Files
Posted: Thu Jun 17, 2021 12:09 am
by Mirailiyeon
Hello! So i used the QuickBMS script to extract the dat files in Swords of Legends Online, and I looked in the "models" folder and there are two model file types: .hkc and .model
I am trying to open one or the other, but cant seem to find a way to do so. I will include a google drive link with some samples. Thanks for your time!
https://drive.google.com/file/d/1S4NZ1b ... sp=sharing
Re: Swords of Legends Online .hkc and .model Files
Posted: Thu Jun 17, 2021 9:12 am
by dimis9138
For the female hair 010 .model faces should start at 0x05EC46 and should be short type. Verts have 0x20 bytes inbetween them (I think) but I can't quite find their starting offset.
Re: Swords of Legends Online .hkc and .model Files
Posted: Thu Jun 17, 2021 9:33 am
by shakotay2
female_hair_main_010-model.png
Re: Swords of Legends Online .hkc and .model Files
Posted: Thu Jun 17, 2021 9:51 am
by dimis9138
shakotay2 wrote: ↑Thu Jun 17, 2021 9:33 am
female_hair_main_010-model.png
The verts are float type? I tried offset 0x086 with short sign/float/half-float and I'm wondering what I did wrong.
EDIT: Okay nevermind, I'm dumb it was my padding. I kept trying earlier with short / half-float but never thought to try float. Good job and thanks a ton shako, I'm sure OP would thank you too.
For hair 13:
With AXE:
Only thing I wasn't able to figure out was the UVs with AXE because I am not very certain on how to do that sort of thing yet.
Re: Swords of Legends Online .hkc and .model Files
Posted: Thu Jun 17, 2021 2:17 pm
by shakotay2
not sure, looks a little bit strange:
.
female_hair_main_010-maybe_uvs.png
Re: Swords of Legends Online .hkc and .model Files
Posted: Fri Jun 18, 2021 10:22 am
by dimis9138
shakotay2 wrote: ↑Thu Jun 17, 2021 2:17 pm
not sure, looks a little bit strange:
.
female_hair_main_010-maybe_uvs.png
What offset is the uv position exactly? Like in mesh extractor how does the uv pos relate to the vertices? Like the 20 number you put.
Re: Swords of Legends Online .hkc and .model Files
Posted: Fri Jun 18, 2021 12:44 pm
by shakotay2
Dunno what you mean exactly, uvs start 20 bytes after vertices for this .model format:
.
SwordsOfLegends_model.format-FVF_block.png
(FVF means "flexible vertex format")
Re: Swords of Legends Online .hkc and .model Files
Posted: Fri Jun 18, 2021 6:05 pm
by dimis9138
shakotay2 wrote: ↑Fri Jun 18, 2021 12:44 pm
Dunno what you mean exactly, uvs start 20 bytes after vertices for this .model format:
.
SwordsOfLegends_model.format-FVF_block.png
(FVF means "flexible vertex format")
Thank you, that makes a lot more sense now. And UVs look correct I think since it's supposed to be hair anyway.
Re: Swords of Legends Online .hkc and .model Files
Posted: Thu Aug 05, 2021 1:27 am
by Trophi Hunter
hey @Mirailiyeon how did you get the file names from the bms script. Used
new_sword_legends.bms 0.2.5
Re: Swords of Legends Online .hkc and .model Files
Posted: Thu Aug 05, 2021 1:52 pm
by reydria
Hi there I hope I can ask this here, I am trying to import my exported models from the bms script for swords of legends. I tried using the 3d object converter and when I import a .model, it says bad polygons and nothing shows up. Should I be using a different program? any help would be awesome