[BMS Script] wrong Image/MipMap extraction - Script/Sample attached

Doubts, help and support about QuickBMS and other game research tools
SoulPatrol
Posts: 13
Joined: Wed May 15, 2019 8:45 am

[BMS Script] wrong Image/MipMap extraction - Script/Sample attached

Post by SoulPatrol »

Hello all,
i have a Problem with MipMaps and correct dds extraction from uasset Files by using QuickBMS and the tk7_Texture_Extractor.bms Script.
On uasset's with single Image the Script works fine, only on Images with MipMaps i not get the correct Image.
I allways get only a 64x64px Image and 6 MipMaps, but the Image should be 1024x1024px and more MipMaps.

Merry X-mas and a happy new Year :-)
Last edited by SoulPatrol on Tue Dec 31, 2019 12:15 am, edited 1 time in total.
SoulPatrol
Posts: 13
Joined: Wed May 15, 2019 8:45 am

Re: [BMS Script] wrong Image/MipMap extraction - Script/Sample attached

Post by SoulPatrol »

100 Views and to bad, not even 1 Hint why the 1024px Image in the uasset File can't extracted :(
But anyway thanks for reading so much this posting, good luck with your projects and happy new year.
Last edited by SoulPatrol on Tue Dec 31, 2019 12:16 am, edited 1 time in total.
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

Re: [BMS Script] wrong Image/MipMap extraction - Script/Sample attached

Post by Acewell »

i have not researched uasset files enough to properly know the structure
but in your sample it looks like the mips are sorted in unconventional way.
the 1024x1024 image data you seek is stored at 0x1a83
if you need it bad enough you can just use RawTex tool to get this dxt5 image. :)
SoulPatrol
Posts: 13
Joined: Wed May 15, 2019 8:45 am

Re: [BMS Script] wrong Image/MipMap extraction - Script/Sample attached

Post by SoulPatrol »

Thank you Acewell for this Xmas present :-)
If i copy from 0x1a83 everything to it's end (ignoring last 4 chars) with Hex Editor and paste to a new File, adding a DDS Header with 1024x1024 Settings it worked very well.
The Script show this Mip as 4x4 Pixel, so there is something wrong with the Positioning.

My Son starts calling me "Mess"warrior then "Mech"warrior for all the Time and try's i spent.
Hope to find some Time the next Days, for now Familly is calling...but...but...this Voice in my Head "Sit down...try to find out...learn you must" :D