Summoners War - Printable Version +- The VG Resource (https://www.vg-resource.com) +-- Forum: The Resources (https://www.vg-resource.com/forum-109.html) +--- Forum: The Models Resource (https://www.vg-resource.com/forum-111.html) +---- Forum: Project Organization (https://www.vg-resource.com/forum-119.html) +---- Thread: Summoners War (/thread-27176.html) |
Summoners War - aceres - 05-25-2015 Someone offered help and asked me to share how I ripped this game's models so I decided to open this thread for those interested. I kind of quit trying to figure out so perhaps more people can continue with this. It's a mobile game and downloads lots of files. There are many different formats but the ones for units are of "dat" extension and go like "unit_mdl_archangel.dat". In this game most monsters have "awakened" form and their name has "_hr" in it like "unit_mdl_archangel_hr.dat". Buildings/stages seem to be using a different format. There were a few exceptions like "special_mdl_irene.dat" which have slight differences but generally the format goes like the following. (It's been a while since I worked on these so I may remember a few things wrong.) The formats are in LITTLE_ENDIAN. Let's say the file consists of chunks, each chunk has 4 byte integer size value, then this size amount of bytes.
Now I'll explain what I managed to figure out so far regarding these chunks. I just skip the header chunk. PMM Chunk:
I can't share my export codes since they are in Flash AS3 and not in a ready-to-use-by-anyone state but I believe some people here can write scripts for common programs that are usually used around here. Updated Info: Some models have an encrypted PMM chunk. Basically you need the array below. Simply read each byte and use it as an indice for this array to get the actual value. For example, the first 4 bytes of encrypted PMM chunks are 0xa68a8ac8 hexadecimal values. Get the values in the array from indices a6, 8a and c8. We end up with 0x504d4d24 which are the ascii codes for "PMM$" string as in regular files. Quote:var encrypt_array = [ Here's an example file for those who don't have the game or don't want to bother getting, which should produce this model: http://www.models-resource.com/mobile/summonerswar/model/9565/ unit_mdl_ninja.zip (Size: 510.49 KB / Downloads: 652) RE: Summoners War - TGE - 05-25-2015 Interesting format. The data that follows after the parent bone ID is likely to be a 3x3 matrix (3x3*4 = 36) RE: Summoners War - aceres - 05-25-2015 I added an example file in the OP. RE: Summoners War - kutaras - 05-25-2015 Interesting, maybe it wont be so hard to rip these after all, still I wonder how hard will the rigging be, so far i couldn't even start the game on bluestacks to download the files directly on my computer, I've heard C2us doesn't allow it anymore, and it looks like my phone doesn't allow me to touch the game files for some reason . RE: Summoners War - aceres - 05-25-2015 Well, the rigging could be automatic if someone can figure out how to get default joint orientations from these files. I'm not sure if the default pose that's supposed to fit the geometry (they aren't t-posed) is included in those 39 bytes. Someone experienced with animation data might be able to export animations as well. RE: Summoners War - kutaras - 05-25-2015 (05-25-2015, 11:04 AM)aceres Wrote: Well, the rigging could be automatic if someone can figure out how to get default joint orientations from these files. I'm not sure if the default pose that's supposed to fit the geometry (they aren't t-posed) is included in those 39 bytes. Well it would be quite the shot to find motion data in there, pre-made walk cycles etc... It seems that everytime that I try to import gamedata on my pc the phone crashes why is that? I can't find any unit_mltd files, just some texture and scenario models. RE: Summoners War - aceres - 05-25-2015 (05-25-2015, 11:12 AM)kutaras Wrote: I can't find any unit_mltd files, just some texture and scenario models. They should be amongst them, maybe in another folder. Perhaps it didn't complete download process. RE: Summoners War - kutaras - 05-25-2015 (05-25-2015, 12:25 PM)aceres Wrote:(05-25-2015, 11:12 AM)kutaras Wrote: I can't find any unit_mltd files, just some texture and scenario models. I found them! They were hidden for some reason, I needed to redownload the whole game tho. RE: Summoners War - kutaras - 05-26-2015 Alright... I thought I found a way to easily convert those .dat files into wawefront, but it turned out to be a complete failure. Someone suggested me to use some python scripts and such, at first it looked like it worked but than the meshes just decided to die on me, so I did a research about that script this old friend gave me, and I found out that, this script was made for some "oolite models" dunno what it is and now I'm back at the beginning. RE: Summoners War - aceres - 05-27-2015 You need to know the format you are going to export into well, perhaps you are missing something. OBJ is not a good choice by the way because it doesn't have armature/skeleton support. I used it because I didn't know how to export skeletons anyway. I recommend DAE(Collada) files since many programs seem to support it. In fact I modified my codes to export into DAE but skeleton is always messed up. Bone parent structure seems to be correct but cannot be sure, I just couldn't match their positions/rotations with the mesh. RE: Summoners War - kutaras - 05-27-2015 (05-27-2015, 01:39 AM)aceres Wrote: You need to know the format you are going to export into well, perhaps you are missing something. OBJ is not a good choice by the way because it doesn't have armature/skeleton support. I used it because I didn't know how to export skeletons anyway. I recommend DAE(Collada) files since many programs seem to support it. In fact I modified my codes to export into DAE but skeleton is always messed up. Bone parent structure seems to be correct but cannot be sure, I just couldn't match their positions/rotations with the mesh. I tried obj just to see what I could do with those .dat, and I'm pretty sure I've checked inside those .dat before trying to convert them, and for a moment I had the illusion "I've already seen this", but what i saw was an old android game and the files were pretty different, so now I'm trying to find an easy way to convert them, via some script but I'm still just scratching the surface of this game, and the code for the script is kinda of unknown to me right now, since it's the first time that I'm trying to export the model with the rigging RE: Summoners War - TGE - 05-27-2015 If you're just interested in ripping the meshes, you can use the MaxScript I attached. I didn't manage to figure out the bones though, so that's kinda sad. It exports the pngs as well. RE: Summoners War - kutaras - 05-27-2015 (05-27-2015, 08:50 AM)TGE Wrote: If you're just interested in ripping the meshes, you can use the MaxScript I attached. Well it's more about the rig that I'm interested in, but it seems that inside that 34 kb file there's nothing or at least I couldn't find nothing. Anyway, you're awesome! this will at least help the models thread to grow don't worry about the rig we will find out a way eventually RE: Summoners War - TGE - 05-27-2015 The bones are there, it's just put together in a really odd way. There's some code for it in the maxscript, but the bones don't look right. Either way, the models are really low poly so rigging them wouldn't be that much of a deal. Not to mention that they're already posed. RE: Summoners War - kutaras - 06-01-2015 I can't find Garuda's model nowhere, searched everywhere and redownloaded the game several times, I'm doing a small archive with all the models listed following the game's order but Garuda's model seems to be missing, I'm rigging them one by one and this is the only model that is missing right now... Any idea where i could find it? |