Page 1 of 2

MMOFPS Elite Force Model Format

Posted: Tue Oct 02, 2012 5:14 pm
by onelove1210
This game is a new MMOFPS, and i found its model format are .wpk, like SUN, but can't use wpktool because it had been encrypted :( There are some pic about this game
Image
Image

Example file :

Code: Select all

http://www.mediafire.com/?8p6dd59zeie22md
Sorry about my bad Eng :D

Re: MMOFPS Elite Force Model Format

Posted: Tue Oct 02, 2012 11:40 pm
by finale00
I don't think it is encrypted. Are you sure it is the same format as SUN online? Like, did someone say it was the same format?

Ok a single wpk file contains multiple models.
Just search for MSD0 as the start of the model, search for the next occurrence, and then export it.

Re: MMOFPS Elite Force Model Format

Posted: Wed Oct 03, 2012 3:28 am
by onelove1210
finale00 wrote:I don't think it is encrypted. Are you sure it is the same format as SUN online? Like, did someone say it was the same format?

Ok a single wpk file contains multiple models.
Just search for MSD0 as the start of the model, search for the next occurrence, and then export it.
Because they are .wpk files, so i think same format as SUN online, and i had used wpk tool but couldn't decompress those files so i think they are encrypted, if i wrong, sorry about that :D
Thanks for helping me :D but why when i export to .wzm, noesis or max script can't load it? can you explain for me?. Sorry T_T

Re: MMOFPS Elite Force Model Format

Posted: Wed Oct 03, 2012 4:59 am
by finale00
Because it has nothing to do with SUN.

Re: MMOFPS Elite Force Model Format

Posted: Wed Oct 03, 2012 5:11 am
by onelove1210
finale00 wrote:Because it has nothing to do with SUN.
oh :eek: would you mind telling me what type of file i need to export ? Thanks :(

Re: MMOFPS Elite Force Model Format

Posted: Wed Oct 03, 2012 4:06 pm
by finale00
It's a proprietary format, or at least one I haven't seen prior to this.

Re: MMOFPS Elite Force Model Format

Posted: Wed Oct 03, 2012 4:26 pm
by onelove1210
finale00 wrote:It's a proprietary format, or at least one I haven't seen prior to this.
oh, that game from China and Taiwan, they always encrypt files like that :( Elite Force has nice model and texture so i just want to export them. Would you mind helping me about its .wpk files. i don't know a lot about Hex :(

Re: MMOFPS Elite Force Model Format

Posted: Wed Oct 03, 2012 5:06 pm
by finale00
The file table is compressed I didn't actually try to look at it but the data itself is not obfuscated you can easily get them out by searching for MSD0 strings.
Well, right before the file table data there are two integers one for the compressed size and other presumably uncompressed size so you could run it through comtype_scan2 and try to get the compression algo.

Re: MMOFPS Elite Force Model Format

Posted: Thu Oct 04, 2012 5:09 am
by onelove1210
Maybe COMP_ASCII85( 26.dmp ) or OMP_RLEW ( 32.dmp ), i haven't used comtype before, and i use it for the file has header is MSD0 which i export from .wpk, 26.dmp and 32.dmp contains some info like this pic, but 32.dmp don't have "MS" and 26.dmp has this value, sorry if i wrong :-s, and i try to use comtype with wpk file, and output file is large capacity ( ~ 2GB ) :(

Image

Re: MMOFPS Elite Force Model Format

Posted: Thu Oct 04, 2012 5:31 pm
by finale00
No the file table is the stuff right before the first msd0 tag.

Re: MMOFPS Elite Force Model Format

Posted: Fri Oct 05, 2012 6:03 am
by onelove1210
finale00 wrote:No the file table is the stuff right before the first msd0 tag.
maybe this :-(, i just export value before first msd0 tag, and use comtype :(

Image

Re: MMOFPS Elite Force Model Format

Posted: Fri Oct 05, 2012 4:39 pm
by finale00
Nope there's nothing there.

Re: MMOFPS Elite Force Model Format

Posted: Sat Oct 06, 2012 8:22 am
by onelove1210
finale00 wrote:Nope there's nothing there.

can you tell me what i need to do to find the main file :(, over 100 files with hex value :(

Re: MMOFPS Elite Force Model Format

Posted: Sun Aug 07, 2016 2:54 am
by Acewell
use this bms script to split the model files from skin.wpk

Code: Select all

findloc OFFSET binary "\x4d\x53\x44\x30"
do
    goto OFFSET
    get DUMMY long
    findloc NEXT_OFFSET binary "\x4d\x53\x44\x30" 0 ""
    if NEXT_OFFSET == ""
        get SIZE asize
    else
        math SIZE = NEXT_OFFSET
    endif
    math SIZE -= OFFSET
    log "" OFFSET SIZE
    math OFFSET = NEXT_OFFSET
while NEXT_OFFSET != ""
00000000000000a2.msd :D
00000000000000a2.png
0x14e - face count
0x3a6c - vertex count

Re: MMOFPS Elite Force Model Format

Posted: Sun Aug 07, 2016 4:44 am
by onelove1210
finale00 made the Noesis Script for that but idk why it didn't work with the extracted files :D

here