Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Asphalt 8 .pig

Post questions about game models here, or help out others!
barti
veteran
Posts: 148
Joined: Sun Apr 01, 2012 12:44 pm
Has thanked: 51 times
Been thanked: 102 times

Asphalt 8 .pig

Post by barti »

Has anyone tried looking into this model format? I'm interested in ripping models from this game because it has some unique vehicles. I've tried looking through the files and I was only able to find face indices and dummy floats. The vertex data seems like it's there but it's suspiciously small and doesn't give any proper meshes. It could be compressed in some way (or I'm looking at it incorrectly)

Samples:
http://www53.zippyshare.com/v/70121626/file.html
Last edited by barti on Fri Apr 04, 2014 7:07 pm, edited 1 time in total.
fatduck
mega-veteran
mega-veteran
Posts: 315
Joined: Wed Aug 02, 2006 10:07 pm
Has thanked: 10 times
Been thanked: 94 times

Re: Asphalt 8 .pig

Post by fatduck »

Vertices are in short integer format.
XYZ / factor

eg: car_aston_martin_zagato.pig @ 0x1D70
1st vertex => [4281,-7359,-3373] / 32767
You do not have the required permissions to view the files attached to this post.
No more Fatduck, no more FatImporter, Byebye everyone!
huckleberrypie
ultra-veteran
ultra-veteran
Posts: 351
Joined: Mon Apr 26, 2010 6:51 am
Has thanked: 105 times
Been thanked: 15 times

Re: Asphalt 8 .pig

Post by huckleberrypie »

Any progress on this format?
User avatar
Chipicao
ultra-veteran
ultra-veteran
Posts: 476
Joined: Thu Feb 03, 2011 11:18 am
Has thanked: 42 times
Been thanked: 305 times
Contact:

Re: Asphalt 8 .pig

Post by Chipicao »

I'm working on a maxscript, but I still have some things to figure out before it's finished.

Image Image
Please post any requests or issues with my tools in the appropriate topics.
I'm sorry if I don't reply or if I ignore PMs. My time is very limited.
barti
veteran
Posts: 148
Joined: Sun Apr 01, 2012 12:44 pm
Has thanked: 51 times
Been thanked: 102 times

Re: Asphalt 8 .pig

Post by barti »

I wanted to make a MaxScript for this format, but I didn't get around to it yet. Nice work Chipicao :)
TomWin
veteran
Posts: 146
Joined: Sun Apr 11, 2010 7:46 pm
Has thanked: 16 times
Been thanked: 9 times

Re: Asphalt 8 .pig

Post by TomWin »

barti wrote:Has anyone tried looking into this model format? I'm interested in ripping models from this game because it has some unique vehicles. I've tried looking through the files and I was only able to find face indices and dummy floats. The vertex data seems like it's there but it's suspiciously small and doesn't give any proper meshes. It could be compressed in some way (or I'm looking at it incorrectly)

Samples:
http://www53.zippyshare.com/v/70121626/file.html
where I find that pig files in android system? in sdcard0/Android/data, there I dont find car files
barti
veteran
Posts: 148
Joined: Sun Apr 01, 2012 12:44 pm
Has thanked: 51 times
Been thanked: 102 times

Re: Asphalt 8 .pig

Post by barti »

Just go to sdcard0\Android\obb\com.gameloft.android.ANMP.GloftA8HM - there will be an .obb file, change the extension to .zip and extract or open it in any ZIP viewer. There will be a "models" folder and inside will be all models (.pig) and textures (.pvr in my case) from the game (car models have the "car_" prefix in the name)
TomWin
veteran
Posts: 146
Joined: Sun Apr 11, 2010 7:46 pm
Has thanked: 16 times
Been thanked: 9 times

Re: Asphalt 8 .pig

Post by TomWin »

GT Racing 2 also has obb file com.gameloft.android.ANMP.GloftRAHM but I cannot extract it. it has models with interiors
User avatar
Chipicao
ultra-veteran
ultra-veteran
Posts: 476
Joined: Thu Feb 03, 2011 11:18 am
Has thanked: 42 times
Been thanked: 305 times
Contact:

Re: Asphalt 8 .pig

Post by Chipicao »

TomWin wrote:GT Racing 2 also has obb file com.gameloft.android.ANMP.GloftRAHM but I cannot extract it. it has models with interiors
How do you extract those gla files?
Please post any requests or issues with my tools in the appropriate topics.
I'm sorry if I don't reply or if I ignore PMs. My time is very limited.
TomWin
veteran
Posts: 146
Joined: Sun Apr 11, 2010 7:46 pm
Has thanked: 16 times
Been thanked: 9 times

Re: Asphalt 8 .pig

Post by TomWin »

I dont have pvr files but tga, I cannot open them. i tried real racing 3 script for convert that tga files to pvr format but it doesnt work
URUS TEXTURES: http://www.mediafire.com/download/tzc2tgr4t2k2hhq

these obb files are in sdcard0\Android\obb\
barti
veteran
Posts: 148
Joined: Sun Apr 01, 2012 12:44 pm
Has thanked: 51 times
Been thanked: 102 times

Re: Asphalt 8 .pig

Post by barti »

TomWin wrote:I dont have pvr files but tga, I cannot open them. i tried real racing 3 script for convert that tga files to pvr format but it doesnt work
URUS TEXTURES: http://www.mediafire.com/download/tzc2tgr4t2k2hhq

these obb files are in sdcard0\Android\obb\
My bad, they're pvr files, only with tga extension. PVRTexTool can open them. If it doesn't work, change extension from .tga to .pvr and it should work.

I tried opening the GT Racing 2 files a while ago, but I couldn't open the .obb and I needed space on my SD Card so I deleted it.
TomWin
veteran
Posts: 146
Joined: Sun Apr 11, 2010 7:46 pm
Has thanked: 16 times
Been thanked: 9 times

Re: Asphalt 8 .pig

Post by TomWin »

barti wrote:
TomWin wrote:I dont have pvr files but tga, I cannot open them. i tried real racing 3 script for convert that tga files to pvr format but it doesnt work
URUS TEXTURES: http://www.mediafire.com/download/tzc2tgr4t2k2hhq

these obb files are in sdcard0\Android\obb\
My bad, they're pvr files, only with tga extension. PVRTexTool can open them. If it doesn't work, change extension from .tga to .pvr and it should work.

I tried opening the GT Racing 2 files a while ago, but I couldn't open the .obb and I needed space on my SD Card so I deleted it.
it doesnt work in PVRTexTool v3.20. I get this error message:
File open failed:
Texture appears empty: file may be corrupt, If data appears to be intact, you could try wrapping as Raw data (Ctrl-D)
If file data is valid you could try to wrap it as RAW data.

that RAW thing doesnt work
barti
veteran
Posts: 148
Joined: Sun Apr 01, 2012 12:44 pm
Has thanked: 51 times
Been thanked: 102 times

Re: Asphalt 8 .pig

Post by barti »

I just installed the latest version from the link I gave before, and it loads all of your samples perfectly
Image
User avatar
Chipicao
ultra-veteran
ultra-veteran
Posts: 476
Joined: Thu Feb 03, 2011 11:18 am
Has thanked: 42 times
Been thanked: 305 times
Contact:

Re: Asphalt 8 .pig

Post by Chipicao »

Yes, the extension just needs to be changed from tga to pvr.
TomWin wrote:these obb files are in sdcard0\Android\obb\
Unfortunately I don't have smartphone :|
Does anyone know a way to extract gla files?
Please post any requests or issues with my tools in the appropriate topics.
I'm sorry if I don't reply or if I ignore PMs. My time is very limited.
TomWin
veteran
Posts: 146
Joined: Sun Apr 11, 2010 7:46 pm
Has thanked: 16 times
Been thanked: 9 times

Re: Asphalt 8 .pig

Post by TomWin »

barti wrote:I just installed the latest version from the link I gave before, and it loads all of your samples perfectly
Image
thanks a lot, this new one worked, looks like previous version couldnt read them only
Post Reply