Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

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

Featured Replies

  • Author
  • Localization

SoulPatrol, posted Thu Dec 19, 2019 4:15 pm (52691)


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 :-)
  • Author
  • Localization

SoulPatrol, posted Mon Dec 23, 2019 4:40 am (52747)


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.
  • Author
  • Localization

Acewell, posted Tue Dec 24, 2019 11:16 am (52765)


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. :)
  • Author
  • Localization

SoulPatrol, posted Wed Dec 25, 2019 9:29 am (52775)


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
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.