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

[Help] Destiny mobile app file extraction

Read or post about compression. And decompression. Or ask questions how to decompress your files.
Post Reply
Spartan019
n00b
Posts: 17
Joined: Sun Sep 21, 2014 2:46 am
Has thanked: 1 time
Been thanked: 3 times

[Help] Destiny mobile app file extraction

Post by Spartan019 »

Heya people,

Wondering... I'm attempting to extract the 3D models from the Destiny android app.
While I've experience with PC game ripping etc etc unfortunately I've never messed with anything within android.

There are a series of .TGXM and .JSON files within the app that are around 600KB, I'm assuming that they may be low-poly versions of the in-game avatar but as of yet I've had no luck extracting the file type to anything I could use as a model.

Here's a link to everything I pulled from the app.
https://onedrive.live.com/redir?resid=1 ... 2693%21363

So, any advice or nudges in the correct direction would be much appreciated!
barti
veteran
Posts: 148
Joined: Sun Apr 01, 2012 12:44 pm
Has thanked: 51 times
Been thanked: 102 times

Re: [Help] Destiny mobile app file extraction

Post by barti »

.TGXM is a container format. It can store models as well as textures. Here's a QuickBMS script for extraction:

Code: Select all

idstring "TGXM"
get DUMMY long
get DUMMY long # first file name offset?
get FILES long

getdstring FOLDERNAME 256

for i = 0 < FILES
	getdstring FILENAME 256
	get OFFSET long
	get DUMMY  long
	get SIZE   long
	get DUMMY  long
	
	string NAME p= "%s/%s" FOLDERNAME FILENAME
	log NAME OFFSET SIZE
next i
I'll look into the model data in a bit.
Spartan019
n00b
Posts: 17
Joined: Sun Sep 21, 2014 2:46 am
Has thanked: 1 time
Been thanked: 3 times

Re: [Help] Destiny mobile app file extraction

Post by Spartan019 »

Danke comrade!

Hmm. Ok, I'll have to learn how to execute scripts...
Spartan019
n00b
Posts: 17
Joined: Sun Sep 21, 2014 2:46 am
Has thanked: 1 time
Been thanked: 3 times

Re: [Help] Destiny mobile app file extraction

Post by Spartan019 »

Ok! Worked out how to use quickBSM, pulled out all the texture folder files to usable files.
However the geometry folders files came out as .TGX, so I'm assuming there's another process needed to convert those to some form of mesh file? .obj etc etc.
barti
veteran
Posts: 148
Joined: Sun Apr 01, 2012 12:44 pm
Has thanked: 51 times
Been thanked: 102 times

Re: [Help] Destiny mobile app file extraction

Post by barti »

That's correct. The .tgx files store some of the model data, while the .js file "ties" the whole model together. Unfortunately I don't have the time to make a converter right now.
Spartan019
n00b
Posts: 17
Joined: Sun Sep 21, 2014 2:46 am
Has thanked: 1 time
Been thanked: 3 times

Re: [Help] Destiny mobile app file extraction

Post by Spartan019 »

No worries, Barti.
I wouldn't expect anyone to waste time on something like this without being paid for said time.

Off to the internets I go to attempt to work out how to do it myself...
TheLynx
ultra-n00b
Posts: 3
Joined: Sat Sep 27, 2014 9:52 am

Re: [Help] Destiny mobile app file extraction

Post by TheLynx »

Spartan019 wrote:No worries, Barti.
I wouldn't expect anyone to waste time on something like this without being paid for said time.

Off to the internets I go to attempt to work out how to do it myself...
it's not payment that's the issue. Lots of people don't mind helping others out. It's just sometimes people are busy. Hopefully someone else will jump in to help. I'm not capable of such things but many are and lots of the time they get bored or want to take on new projects.

I still highly recommend going and learning how to do this on your own. Quite frankly it's why I am here, and I might even take a crack at it.
Spartan019
n00b
Posts: 17
Joined: Sun Sep 21, 2014 2:46 am
Has thanked: 1 time
Been thanked: 3 times

Re: [Help] Destiny mobile app file extraction

Post by Spartan019 »

Yeah, wasn't suggesting it was, just thought such an endeavour would warrant some form of compensation is all.

I've looked around, haven't found anything useful in terms of instructional information.
Pretty sure I just don't know where to look :P
Spartan019
n00b
Posts: 17
Joined: Sun Sep 21, 2014 2:46 am
Has thanked: 1 time
Been thanked: 3 times

Re: [Help] Destiny mobile app file extraction

Post by Spartan019 »

Ok.
Stuck.

Could anyone point me in the direction of something that could explain how to combine the above file types into some form of usable model?
Shiroleinchen
n00b
Posts: 17
Joined: Thu Feb 18, 2016 6:01 pm
Has thanked: 3 times

Re: [Help] Destiny mobile app file extraction

Post by Shiroleinchen »

have anyone a script to convert the tgx files?
lyhtem
n00b
Posts: 18
Joined: Tue Dec 20, 2016 9:04 pm

Re: [Help] Destiny mobile app file extraction

Post by lyhtem »

Sorry to unbury the thread, was there any progress made?
Post Reply