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.

VectorUnit games texture formats

Featured Replies

  • Author
  • Localization

carlimarli, posted Tue Dec 21, 2021 1:11 pm (68397)


The game uses a custom engine made by VectorUnit

Upon testing with the program Raw texture cooker from another post, I got the rough shape of the real image by using the mode bc1_unorm on DesertA_BlueSkyC.dat



sample files, most textures have a .dat extension, while some others have .vap and .ttf, which doesn't seem to have a distinct pattern in which ones are used when from what I can currently tell; the four bytes at 0x19 seem to be the width

  • Author
  • Localization

Allen, posted Wed Dec 22, 2021 2:12 pm (68429)


Some tips :)
Code:
DWORD   texFormat;//0x15
DWORD   width;//0x19
DWORD   height;//0x1D
DWORD   MipMaps;//0x21
DWORD   dataSize;//0x25
if (texFormat == 0x5)
byte    RGBA32_Data[dataSize];

else if (texFormat == 0x10)
byte    ETC_RGB_Data[dataSize];

else if (texFormat == 0x23)
byte    ETC_RGBA1_Data[dataSize];

else if (texFormat == 0x24)
byte    ETC_RGBA_Data[dataSize];

else
byte    unkFormatData[dataSize];


Remember to post the game platform next time, this is very important.
  • Author
  • Localization

carlimarli, posted Thu Dec 23, 2021 5:07 am (68438)


Allen wrote:
Some tips :)
Code:
DWORD   texFormat;//0x15
DWORD   width;//0x19
DWORD   height;//0x1D
DWORD   MipMaps;//0x21
DWORD   dataSize;//0x25
if (texFormat == 0x10)
byte    ETC_RGB_Data[dataSize];

else if (texFormat == 0x23)
byte    ETC_RGBA1_Data[dataSize];

else if (texFormat == 0x24)
byte    ETC_RGBA_Data[dataSize];

else
byte    unkFormatData[dataSize];


Remember to post the game platform next time, this is very important.



Thank you -- one more request, do you know which format is texFormat == 0x5?
  • Author
  • Localization

Allen, posted Thu Dec 23, 2021 7:40 am (68439)


carlimarli wrote:
Thank you -- one more request, do you know which format is texFormat == 0x5?
Results_Banner_Main.dat

32bits RGBA :)
  • Author
  • Localization

carlimarli, posted Fri Dec 24, 2021 9:46 am (68454)


Thanks!
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.