XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Thu Jan 18, 2018 2:22 pm

All times are UTC + 1 hour


Forum rules


Please click here to view the forum rules



Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Captian Morgane and the golden turtle ".wr"
PostPosted: Mon Feb 06, 2017 6:06 pm 
Offline
ultra-n00b

Joined: Sun Feb 02, 2014 3:14 am
Posts: 4
Has thanked: 0 time
Have thanks: 0 time














You can make the ads go away by registering

The models use a .wr extension and would very much appreciate it if can anyone can lend a hand.


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.



Top
 Profile  
 
 Post subject: Re: Captian Morgane and the golden turtle ".wr"
PostPosted: Mon Feb 06, 2017 7:18 pm 
Offline
VIP member
VIP member

Joined: Wed Nov 05, 2008 12:16 pm
Posts: 987
Has thanked: 1982 times
Have thanks: 519 times
your wr sample contains 1 dds texture and a binary compressed .x model file

this bms script will auto-split the files and auto-decompress the x file on the fly. :D
Code:
goto 0xc
get TABLELEN long
goto 0x800
savepos BASEOFF
get NUMFILES long
for i = 0 < NUMFILES
   getdstring ID 4
   get OFFSET long
   math OFFSET + BASEOFF
   get SIZE long
   getdstring SKIP 0xc
   get NAMEOFF long
   savepos TMP
   math NAMEOFF + BASEOFF
   goto NAMEOFF
   get NAME string
   if ID == "D2XT"
      string NAME + ".dds"
      log NAME OFFSET SIZE
   elif ID == "SEMX"
      string NAME + ".x"
      set MEMORY_FILE binary "\x78\x6f\x66\x20\xAA\xAA\xBB\xBB\xCC\xCC\xCC\xCC\xDD\xDD\xDD\xDD"
      comtype mszip
      goto OFFSET
      get SKIP long
      get MAJORVERSION short
      get MINORVERSION short
      getdstring FORMATTYPE 0x4
      get FLOATSIZE long
      get DECOMPSIZE long
      math OFFSET + 0x18
      if FORMATTYPE == "tzip"
         math FORMATTYPE = 0x20747874 //"txt "
      elif FORMATTYPE == "bzip"
         math FORMATTYPE = 0x206e6962 //"bin "
      endif
      putVarChr MEMORY_FILE 0x4 MAJORVERSION short //AAAA
      putVarChr MEMORY_FILE 0x6 MINORVERSION short //BBBB
      putVarChr MEMORY_FILE 0x8 FORMATTYPE long //CCCCCCCC
      putVarChr MEMORY_FILE 0xc FLOATSIZE long //DDDDDDDD
      log NAME 0 0x10 MEMORY_FILE
      append
      clog NAME OFFSET SIZE DECOMPSIZE
   endif
   goto TMP
next i




Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.


_________________
Noesis
Hex2obj
QuickBMS
TextureFinder
Unity Assets Bundle Extractor


Last edited by AceWell on Tue Jan 02, 2018 7:01 pm, edited 5 times in total.

Top
 Profile  
 
 Post subject: Re: Captian Morgane and the golden turtle ".wr"
PostPosted: Tue Feb 07, 2017 5:57 am 
Offline
ultra-n00b

Joined: Sun Feb 02, 2014 3:14 am
Posts: 4
Has thanked: 0 time
Have thanks: 0 time
Hmm..it seems everytime I run the script I get a "invalid command "formattype" or arguments at line 18. But I successfully extracted textures


Top
 Profile  
 
 Post subject: Re: Captian Morgane and the golden turtle ".wr"
PostPosted: Sun Feb 12, 2017 3:08 am 
Offline
VIP member
VIP member

Joined: Wed Nov 05, 2008 12:16 pm
Posts: 987
Has thanked: 1982 times
Have thanks: 519 times
no idea why you get that message, it works fine as you can see from the image.... :?

i updated my previous post with a better script to auto-split the files and auto-decompress the .x file :D
viewtopic.php?p=127327#p127327

_________________
Noesis
Hex2obj
QuickBMS
TextureFinder
Unity Assets Bundle Extractor


Top
 Profile  
 
 Post subject: Re: Captian Morgane and the golden turtle ".wr"
PostPosted: Tue Jan 02, 2018 9:49 am 
Offline
ultra-n00b

Joined: Sun Jul 02, 2017 8:40 pm
Posts: 3
Has thanked: 3 times
Have thanks: 0 time
how did you open the ,x files?
noesis gave runtime error: failed to construct model from rpgeo context
when i imported the .xfiles into blender, nothing showed up


Top
 Profile  
 
 Post subject: Re: Captian Morgane and the golden turtle ".wr"
PostPosted: Tue Jan 02, 2018 8:34 pm 
Offline
VIP member
VIP member

Joined: Wed Nov 05, 2008 12:16 pm
Posts: 987
Has thanked: 1982 times
Have thanks: 519 times
i used unwrap3d to open the extracted mabel.x file.
it is a paid program but has some high quality import/export plugins. :)

_________________
Noesis
Hex2obj
QuickBMS
TextureFinder
Unity Assets Bundle Extractor


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: hvg6458 and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group