READ THE RULES: Click here

Follow us on Facebook: https://www.facebook.com/xentax/ :)

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: 101 times

Asphalt 8 .pig

Post by barti » Fri Apr 04, 2014 4:03 pm

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: 93 times

Re: Asphalt 8 .pig

Post by fatduck » Fri Apr 04, 2014 6:54 pm

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
mega-veteran
mega-veteran
Posts: 319
Joined: Mon Apr 26, 2010 6:51 am
Has thanked: 95 times
Been thanked: 13 times

Re: Asphalt 8 .pig

Post by huckleberrypie » Sat Apr 26, 2014 8:05 am

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: 303 times
Contact:

Re: Asphalt 8 .pig

Post by Chipicao » Sat Apr 26, 2014 1:40 pm

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: 101 times

Re: Asphalt 8 .pig

Post by barti » Sat Apr 26, 2014 1:46 pm

I wanted to make a MaxScript for this format, but I didn't get around to it yet. Nice work Chipicao :)

TomWin
veteran
Posts: 137
Joined: Sun Apr 11, 2010 7:46 pm
Has thanked: 8 times
Been thanked: 6 times

Re: Asphalt 8 .pig

Post by TomWin » Sat Apr 26, 2014 11:00 pm

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: 101 times

Re: Asphalt 8 .pig

Post by barti » Sat Apr 26, 2014 11:30 pm

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: 137
Joined: Sun Apr 11, 2010 7:46 pm
Has thanked: 8 times
Been thanked: 6 times

Re: Asphalt 8 .pig

Post by TomWin » Sun Apr 27, 2014 4:52 am

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: 303 times
Contact:

Re: Asphalt 8 .pig

Post by Chipicao » Sun Apr 27, 2014 7:46 am

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: 137
Joined: Sun Apr 11, 2010 7:46 pm
Has thanked: 8 times
Been thanked: 6 times

Re: Asphalt 8 .pig

Post by TomWin » Sun Apr 27, 2014 1:03 pm

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: 101 times

Re: Asphalt 8 .pig

Post by barti » Sun Apr 27, 2014 1:35 pm

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: 137
Joined: Sun Apr 11, 2010 7:46 pm
Has thanked: 8 times
Been thanked: 6 times

Re: Asphalt 8 .pig

Post by TomWin » Sun Apr 27, 2014 1:44 pm

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: 101 times

Re: Asphalt 8 .pig

Post by barti » Sun Apr 27, 2014 1:58 pm

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: 303 times
Contact:

Re: Asphalt 8 .pig

Post by Chipicao » Sun Apr 27, 2014 2:14 pm

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: 137
Joined: Sun Apr 11, 2010 7:46 pm
Has thanked: 8 times
Been thanked: 6 times

Re: Asphalt 8 .pig

Post by TomWin » Sun Apr 27, 2014 3:31 pm

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