Offtopic: Into Commodore 64 (6502) coding, pixeling or music?
Xentax is looking for new members for the C64 activities!
Just drop us a message at forum@xentax.com and join the Scene Team!

Forum rules: Click here

Asphalt 8 .pig

Post questions about game models here, or help out others!
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 » Mon Apr 28, 2014 9:19 am

Chipicao wrote: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?
You can try it on a cheap but fairly-powerful smartphone or tablet. :)

As for the models themselves, have you guys found any dummies, bones or whatever parts Gameloft used to string the car parts together?

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 » Mon Apr 28, 2014 9:55 am

huckleberrypie wrote:You can try it on a cheap but fairly-powerful smartphone or tablet. :)
I managed to install Android on a VMware virtual machine. Unfortunately I misunderstood; I thought .obb were model files extracted from .gla archives, but it's the other way around. So we're still stuck. But I heard GMMan is working on an update for his Gameloft CustomPak Extractor, so let's be patient.
huckleberrypie wrote:As for the models themselves, have you guys found any dummies, bones or whatever parts Gameloft used to string the car parts together?
I did, but I'm still having some issues with transformations to get them all in the right place.

Actually, it's not the dummies that are used to put all parts together. There are additional position and scale vectors for each mesh, and with them you'll get correct positions for everything except wheels..
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 » Mon Apr 28, 2014 1:42 pm

any idea how to extract that obb files from android version?

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 » Mon Apr 28, 2014 1:49 pm

Chipicao wrote:
huckleberrypie wrote:You can try it on a cheap but fairly-powerful smartphone or tablet. :)
I managed to install Android on a VMware virtual machine. Unfortunately I misunderstood; I thought .obb were model files extracted from .gla archives, but it's the other way around. So we're still stuck. But I heard GMMan is working on an update for his Gameloft CustomPak Extractor, so let's be patient.
huckleberrypie wrote:As for the models themselves, have you guys found any dummies, bones or whatever parts Gameloft used to string the car parts together?
I did, but I'm still having some issues with transformations to get them all in the right place.

Actually, it's not the dummies that are used to put all parts together. There are additional position and scale vectors for each mesh, and with them you'll get correct positions for everything except wheels..
(OBBs are merely zip archives afaik) - That applies to most Android game packages i.e. the GTA games. Seems like some developers are either encrypting or just plain borked up the OBBs with a different format.

As for parts positions, provided that we gather enough info on the file format, would it be possible to shove in a custom vehicle model back into the game?

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 » Mon Apr 28, 2014 5:32 pm

It doesn't look like a zip file, at least not one that I'm familiar with.
I've made a quickbms script to extract it: viewtopic.php?f=10&t=11462

Regarding getting vehicles back in-game, anything is possible, but I'm not sure how easy it would be.
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 » Mon Apr 28, 2014 7:39 pm

Chipicao wrote:It doesn't look like a zip file, at least not one that I'm familiar with.
I've made a quickbms script to extract it: viewtopic.php?f=10&t=11462

Regarding getting vehicles back in-game, anything is possible, but I'm not sure how easy it would be.
works great, thanks a lot. now we gotta wait only for gla extractor.
how's going with asphalt 8 models?

is that LaFerrari from iOS or android version?

MisterPrawn
beginner
Posts: 28
Joined: Thu Jan 30, 2014 5:36 am
Has thanked: 2 times

Re: Asphalt 8 .pig

Post by MisterPrawn » Wed Apr 30, 2014 7:09 am

The Minion Rush game on iOS also uses the .pig format, and I've been trying to get models from that game for quite some time. Would it be possible to configure the maxscript so that it will work with these files and preferably with the rigging in-tact?

Here's some samples to give you an idea: https://www.mediafire.com/?sjse65615h7v5hb

Thanks! :)

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 » Fri May 02, 2014 6:55 pm

The script is almost ready, I'm just putting in some final touches.
I know about Minion Rush and I already have it. The script should work with any .pig mesh file.

Does anybody know the name of this game engine?
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.

MisterPrawn
beginner
Posts: 28
Joined: Thu Jan 30, 2014 5:36 am
Has thanked: 2 times

Re: Asphalt 8 .pig

Post by MisterPrawn » Sat May 03, 2014 3:47 am

The .pig format seems to be fairly common in Gameloft games, so I'd probably name it based on that for now.

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 May 03, 2014 8:50 am

Could you please name a few other games?
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.

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 May 03, 2014 10:37 am

MisterPrawn wrote:The .pig format seems to be fairly common in Gameloft games, so I'd probably name it based on that for now.
The Pig Engine? :P

Previous Gameloft titles used .BDAE as the primary model format, if I'm not mistaken.

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 May 03, 2014 1:18 pm

Hehe I guess Pig Engine will have to do for now.

Script released: viewtopic.php?f=16&t=11095&p=91256#p91256
Image Image Image 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.

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 May 03, 2014 2:55 pm

Great work thanks a lot Chipicao!!!

hmm it doesnt load windows and glass parts of some models

how is going with GT Racing 2 extractor?

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 May 03, 2014 4:08 pm

Some models only have LOD3 glass, that's how they are.
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.

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 » Mon May 05, 2014 8:42 am

'Swell work with the importer dude! Now all we need is an exporter for maximum lulz. :)

Post Reply