Page 1 of 1
Star Trek Online (need unpacker)
Posted: Fri Nov 24, 2017 7:10 pm
by lyutor1945
Hi guys!! Recently I came across star trek online and models in this game are pretty good. My friend is ready to make a script to extract these models,but first you need to unpack Mset and wtex files. For those who are interested And ready to make unpacker, the samples below:)
Mset female archives:
https://www.mediafire.com/file/a6rtlpf6tnzstxt/F.rar
Mset male archives:
https://www.mediafire.com/file/hd24e905b93uthn/M.rar
Wtex archives:
https://www.mediafire.com/file/67kb71he ... enbody.rar
Re: Star Trek Online (need unpacker)
Posted: Mon Dec 04, 2017 10:44 am
by PredatorCZ
Gibbed's tools:
http://svn.gib.me/builds/cryptic/
WTEX Decompiler:
viewtopic.php?f=18&t=4077
Next time please use search button.
Re: Star Trek Online (need unpacker)
Posted: Mon Dec 04, 2017 5:01 pm
by Acewell
those wtex samples are crunch compressed, tools posted in that link won't work with them.
Noesis supports crunch and there is a python script here that works on some
viewtopic.php?p=87769#p87769
edit
ok here is modified Noesis python script to open all the wtex samples and possibly htex textures too,
or at least the ones from this thread
viewtopic.php?f=18&t=15666&p=125609 
*script updated March 6, 2018*
tex_StarTrekOnline_wtex_htex.zip
this might be the last update i make on this script, it is becoming more chaotic than anticipated.
there are only a few textures i seen so far that are storing mipmaps first and i don't have enough
diverse samples to compare and confirm flags so i will give the users more control here.
in the updated script on line 4 is where you can change to 0 or 1 (false or true),
it is set to 1 or true by default, so if you see a texture that displays with mipmaps first
you must change that line in the script and save and reload plugins, then you can export that texture
and it will look correct.
i have also seen a htex texture that starts with a valid dds header but it stores mipmaps first and
Noesis will override any command i throw at it because it thinks the dds is normal.
so i have made a bms script that you can run on those to get a fixed dds texture that you can open.
Code: Select all
# script for QuickBMS http://aluigi.altervista.org/quickbms.htm
idstring "DDS "
get SIZE asize
get NAME basename
string NAME + _fixed.dds
goto 0x14
get DATASIZE long
xmath OFFSET "SIZE - DATASIZE"
append
log NAME 0x0 0x80
log NAME OFFSET DATASIZE
append
Re: Star Trek Online (need unpacker)
Posted: Sun Feb 04, 2018 6:46 am
by FleetAdmiral01
@lyutor1945
There was someone who made an extractor for STO's Mset files at one point. I think that project was dropped but I still have the file on hand. Shoot me a note.
Re: Star Trek Online (need unpacker)
Posted: Mon Feb 12, 2018 6:23 pm
by zaramot
If you still have the program to unpack .mset models I'll make a maxscript for model import. So, if you have any unpacked .mset sample attach it here I will take a look. Thanks.
Re: Star Trek Online (need unpacker)
Posted: Mon Mar 05, 2018 8:48 am
by FleetAdmiral01
zaramot wrote:If you still have the program to unpack .mset models I'll make a maxscript for model import. So, if you have any unpacked .mset sample attach it here I will take a look. Thanks.
I've still got it.
https://drive.google.com/file/d/0B3tos6 ... sp=sharing
Re: Star Trek Online (need unpacker)
Posted: Mon Jul 09, 2018 6:48 pm
by Regardie
Acewell: if you need more textures from STO let me know as I have unpacked versions of the texture hoggs from last years version of the game sitting around and I am sure I can do the same with the current game. A lot of work swapping textures in the game is going on at Undertow and they have been updating the hoggs toolset with each new release.
Re: Star Trek Online (need unpacker)
Posted: Tue Nov 27, 2018 4:57 am
by FriendCoder
Hi @all.
Does anyone got the Costume<xxx>.bin Converted?
If, in xml would be awesome.
And also howto create Materials from Textures in 3d Apps (Blender would be nice, 2.8+)
Howto determin if Model needs Mirroring?
Is there something about the Skeletons as Information out there?
Wouldnt it be cool to have the Picard-Maneuver as an Animation?
@Acewell: thx for the script noesis works much better now.

Re: Star Trek Online (need unpacker)
Posted: Mon Feb 01, 2021 3:30 pm
by AxelNoir
Acewell wrote: ↑Mon Dec 04, 2017 5:01 pm
those wtex samples are crunch compressed, tools posted in that link won't work with them.
Noesis supports crunch and there is a python script here that works on some
http://forum.xentax.com/viewtopic.php?p=87769#p87769
edit
ok here is modified Noesis python script to open all the wtex samples and possibly htex textures too,
or at least the ones from this thread
http://forum.xentax.com/viewtopic.php?f ... 6&p=125609 
*script updated March 6, 2018*
tex_StarTrekOnline_wtex_htex.zip
this might be the last update i make on this script, it is becoming more chaotic than anticipated.
there are only a few textures i seen so far that are storing mipmaps first and i don't have enough
diverse samples to compare and confirm flags so i will give the users more control here.
in the updated script on line 4 is where you can change to 0 or 1 (false or true),
it is set to 1 or true by default, so if you see a texture that displays with mipmaps first
you must change that line in the script and save and reload plugins, then you can export that texture
and it will look correct.
i have also seen a htex texture that starts with a valid dds header but it stores mipmaps first and
Noesis will override any command i throw at it because it thinks the dds is normal.
so i have made a bms script that you can run on those to get a fixed dds texture that you can open.
Code: Select all
# script for QuickBMS http://aluigi.altervista.org/quickbms.htm
idstring "DDS "
get SIZE asize
get NAME basename
string NAME + _fixed.dds
goto 0x14
get DATASIZE long
xmath OFFSET "SIZE - DATASIZE"
append
log NAME 0x0 0x80
log NAME OFFSET DATASIZE
append
That Noesis script doesn't seem to work anymore for textures, I get the following error when viewing and trying to export .wtex textures:

Re: Star Trek Online (need unpacker)
Posted: Thu Jul 22, 2021 8:31 am
by DMStealth
Assasinge wrote: ↑Mon Feb 01, 2021 3:30 pm
That Noesis script doesn't seem to work anymore for textures, I get the following error when viewing and trying to export .wtex textures:
Sorry for bumping old topics but I think I have the solution for those interested.
Put the crunchimage.dll found in Noesis/optionalplugins into the Noesis/plugins directory.
EDIT: This is using a more recent Noesis (mine's Noesis version 4.451).
Script has worked fine after that. There are a few that don't work but I believe they're the ones with the DDS header.
Re: Star Trek Online (need unpacker)
Posted: Thu Oct 07, 2021 7:57 am
by roswell
Acewell wrote: ↑Mon Dec 04, 2017 5:01 pm
those wtex samples are crunch compressed, tools posted in that link won't work with them.
Noesis supports crunch and there is a python script here that works on some
I've tried converting these .wtex crunch files with the commandline executable crunch.exe, and they all fail.
'Error: CRN unpack failed'
v1.01 crunch
https://code.google.com/archive/p/crunch/downloads
v1.04 crunch
https://github.com/BinomialLLC/crunch
I made sure the files start with the magic id 'Hx', but they still fail. Is there anything unusual about these .wtex crunch files? Header data looks similar to crunch files created with the commandline tool, so I don't understand why they're not getting converted.
Interestingly enough, the crunch file format stores two crc16 values, one for the header and one for the data. I recomputed it to compare against the .wtx crunch files, and I get mixed results. So, something is wrong.
Re: Star Trek Online (need unpacker)
Posted: Tue Nov 15, 2022 9:45 pm
by TokiChan
Hi,everyone!
I wanna tool for converting wtex to dds (or any other formats)
I try different methods,like Quick bms and wtex to dds tools, but it not working for many textures (created dds does'n open in photoshop, irfran,noesis or nvidia tools)
Any luck with?
I attach example
Re: Star Trek Online (need unpacker)
Posted: Tue Nov 15, 2022 9:48 pm
by TokiChan
roswell wrote: ↑Thu Oct 07, 2021 7:57 am
Acewell wrote: ↑Mon Dec 04, 2017 5:01 pm
those wtex samples are crunch compressed, tools posted in that link won't work with them.
Noesis supports crunch and there is a python script here that works on some
I've tried converting these .wtex crunch files with the commandline executable crunch.exe, and they all fail.
'Error: CRN unpack failed'
v1.01 crunch
https://code.google.com/archive/p/crunch/downloads
v1.04 crunch
https://github.com/BinomialLLC/crunch
I made sure the files start with the magic id 'Hx', but they still fail. Is there anything unusual about these .wtex crunch files? Header data looks similar to crunch files created with the commandline tool, so I don't understand why they're not getting converted.
Interestingly enough, the crunch file format stores two crc16 values, one for the header and one for the data. I recomputed it to compare against the .wtx crunch files, and I get mixed results. So, something is wrong.
How to use this tool?