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.

Asphalt 8 .pig and .tga

Featured Replies

  • Author
  • Localization

Doprond, posted Mon May 22, 2017 7:12 pm (23457)


Greetings,can anyone take a look on these models/textures files from the latest version of the mobile game called "Asphalt 8 : Airborne"?
Chipicao's script for 3ds max and standalone program (PIG2FBX) doesn't works.

Textures:
I tried to change .tga extension to .pvr and tried to open it in PvrTexTool.Looks strange.. :
http://i.imgur.com/m8kVnU4.jpg
Also i tried to change extension to .zip ( at least this method worked with Spider-Man Unlimited) but no effect..
Texture samples: https://mega.nz/#!2oBkiAQS!iejpqDH2xl4a ... 7AVw2zXIYM

Models:
Both script for 3ds max and standalone program doesn't works.
Model samples : https://mega.nz/#!G9Q32IrL!Hc-UWnSs82AC ... YVer8jmkqc

I have no idea how to open models/textures so i hope someone can help me.
Thanks in advance!
  • Author
  • Localization

dionyseuss, posted Tue Aug 29, 2017 6:32 pm (26027)


-- BUMP--

I'm running into the same issue. Has anyone had a chance to update these tools?

I am having the same issue trying to get the models from newer version of Six Gun.

I tried this with Hex2Obj but didn't have any luck.

  • Author
  • Localization

BCGhost, posted Sun Dec 31, 2017 4:01 pm (31149)


The compression had been changed, but I still have no clue about it.
Here the structure of the compressed data in the pig files:
Code:
String   Material name(*.tga)
BYTEs   Null
BYTE   0x02
LONG   Compressed size
LONG   Uncompressed size
BYTEs   Compressed data(Start as 26 B5 2F FD, old version also had fixed header)
LONG   End Flag 0x64 as I called it
  • Author
  • Localization

BCGhost, posted Mon Jan 01, 2018 2:22 am (31162)


And structure of the compressed pvr textures:
Code:
Offset                    Type                      Notes
0x2C                      Long                      Mipmap amount, also entry count
0x30                      Long                      Total header size
0x34                      LongLong                  String
0x3C                      Long                      Total entries size(TES)
0x40                      3x Long                   Entry info   
                                                     struct Entry
                                                     {
                                                         Long   Compressed data start offset
                                                         Long   ZipSize
                                                         Long   UnzipSize
                                                     }
0x40 TES                Bytes                     Raw data

Raw compressed data also start as 26 B5 2F FD.
  • Author
  • Localization

BCGhost, posted Wed Jan 03, 2018 1:07 am (31243)


Got it! It's actually zstd compressed according to aluigi. Both mesh & texture data can be decompressed correctly as I tested. ;)
  • Author
  • Localization

Asphalt 9321, posted Sun Mar 27, 2022 4:34 pm (70748)


Is there any program to convert any 3d models files to .pig file format?
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.