Page 2 of 6

Re: Asphalt 8 .pig

Posted: Mon Apr 28, 2014 9:19 am
by huckleberrypie
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?

Re: Asphalt 8 .pig

Posted: Mon Apr 28, 2014 9:55 am
by Chipicao
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..

Re: Asphalt 8 .pig

Posted: Mon Apr 28, 2014 1:42 pm
by TomWin
any idea how to extract that obb files from android version?

Re: Asphalt 8 .pig

Posted: Mon Apr 28, 2014 1:49 pm
by huckleberrypie
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?

Re: Asphalt 8 .pig

Posted: Mon Apr 28, 2014 5:32 pm
by Chipicao
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.

Re: Asphalt 8 .pig

Posted: Mon Apr 28, 2014 7:39 pm
by TomWin
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?

Re: Asphalt 8 .pig

Posted: Wed Apr 30, 2014 7:09 am
by MisterPrawn
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! :)

Re: Asphalt 8 .pig

Posted: Fri May 02, 2014 6:55 pm
by Chipicao
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?

Re: Asphalt 8 .pig

Posted: Sat May 03, 2014 3:47 am
by MisterPrawn
The .pig format seems to be fairly common in Gameloft games, so I'd probably name it based on that for now.

Re: Asphalt 8 .pig

Posted: Sat May 03, 2014 8:50 am
by Chipicao
Could you please name a few other games?

Re: Asphalt 8 .pig

Posted: Sat May 03, 2014 10:37 am
by huckleberrypie
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.

Re: Asphalt 8 .pig

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

Re: Asphalt 8 .pig

Posted: Sat May 03, 2014 2:55 pm
by TomWin
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?

Re: Asphalt 8 .pig

Posted: Sat May 03, 2014 4:08 pm
by Chipicao
Some models only have LOD3 glass, that's how they are.

Re: Asphalt 8 .pig

Posted: Mon May 05, 2014 8:42 am
by huckleberrypie
'Swell work with the importer dude! Now all we need is an exporter for maximum lulz. :)