![]() |
Extract L2 SkeletalMesh
Hello,
For some time I was looking for tools to extract SkeletalMesh from L2 game. And I have found something interesting... Maybe someone will be also interested in such a tool :) Here is a link to the.... I could say community http://icculus.org/freyja/index.html there is also the source of the tool svn://svn.icculus.org/freyja/branches/freyja_0.9.5 With this program you can only extract SkeletalMesh I couldn't find any tool to implement it back to the game so thats why I am adding it to general section and not to game modding :) If someone already posted similar thread, Moderator, feel free to remove it sorry for my bad english. P.S. I am adding Baium's SkeletalMesh as an attachement You can View it Вложения из исходного сообщения (сами файлы в копии отсутствуют): baium.zip — 322286 байт |
yeah i discovered this project a while ago... its pretty good for like extracting the meshes to 3ds and then rendering them for like cool photoshops without having to use tools like the magnetic selection thingy which often leaves crappy edges... a tool for repacking them into the l2 client, or for converting default ue2 packs to the l2 format would be awsome... would make stealing mobs n stuff from other chronicles a lot easyer, without having a 900mb patch -.-
|
Developers Mongoose tutorial
LineageII support is currently alpha, and will likely stay that way for some time. The format hasn't been completely reverse engineered due to the usage is more of a novelity than of practical use. It's provied to allow 'Mash-ups', fan art, etc. You can't put the models back in the game w/o breaking the ToS in one manner or another, so I hope this answers questions about online play with modifications. There is now an option for LineageIIraw2obj to attempt automatic extraction. That option is -a. eg: lineageIIraw2obj filename.raw -a If this fails you'll have to use the manual method below: End Update I posted an exe for the 'hard to use' version for now, since I don't have time to make the automated version. It's under the Windows builds in the download section of the website. This version might be hard for the average user, however it's possible to extract mesh data from every UE2 game I've found so far. It's flexable, but you pay for that. I'm going to demo a run with a mesh picked at random. Some meshes are harder than others to extract. There is a special mode of this little program that makes it possible to examine all data types byte by byte -- however you shouldn't have to use that. This is also to encourage you to learn how to reverse engineer file formats. I may release such a format later, but I'm hoping I can coach someone else to do it first. I don't have the free time like I used to after all. =) How this works: 1. Extract some SkeletalMeshes as .RAW files. utpackage d lineagemonsters2.ukx 2. Run lineageIIraw2obj on a SkeletalMesh. lineageIIraw2obj queen_of_cat_m00.raw You'll see a lot of text spewed everywhere, and this will be some of it. # Index FaceCount not found in 'header'# Possible counts: { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1864, 29, -34, 1, -52, 1, -33, 1, 117, 1, 118, 1, -53, 1, 27, 1, -30, 0, -30, 0 } # Face index set = { 29, 1864, 5, 23 } This shows us the Faces that were picked don't agree in count with the possible counts in the 'header'. Out of these numbers the only reasonable one is 1864. If you look at the Faces generated eg Face[1323] 1273 1234 1105 1 63 1 then you'll see they fit a pattern of a b c m a u. Almost all have matching m and a. This means we have the right Faces offset, but not the correct count in all likelyhood. We see the Likey FaceGuess 384173 1864 pop up in the list, so yeah that's a pretty sure bet. 3. Refine lineageIIraw2obj queen_of_cat_m00.raw ? ? ? ? 384173 1864 4. Refine We got an *Agrees and Old method WedgeGuess @ 371057 x 1311, so now it looks like we can just plug in numbers and refine. The chances of this failing when that text appears is very small. lineageIIraw2obj queen_of_cat_m00.raw ? ? 371057 1311 384173 1864 5. Refine Look the text Old method VertexGuess @ 359555 x 958 appears, and that means I choose a very boring example. lineageIIraw2obj queen_of_cat_m00.raw 359555 958 371057 1311 384173 1864 > queen_of_cat_m00.obj 6. The generated obj can be loaded in freyja, where you can generate normals and separate the material assignments by smoothing group to pretty it up before animation. It might be useful to make the obj dump dummy materials next binary drop I do as well. Here's what it looks like in freyja after doing that: http://offload1.icculus.org/freyja/i...of_cat_m00.png I'm still going to release the automated vertsion of this, but as you can see this is full functional and some people are demanding it come out now. The next drop will basically just do these actions for you, however it can fail due to limited prediction -- I don't want the program to only complete once a mesh is found in case it's not possible. Sometimes this system fails completely, and then you must do Index based guessing. I plan to add that as an auto option and even the option for the |
| All times are GMT. The time now is 15:48. |