Join also our Discord channel! Click here.

[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: 10
Joined: Sun Sep 21, 2014 2:46 am
Has thanked: 1 time
Been thanked: 1 time

[Help] Destiny mobile app file extraction

Post by Spartan019 » Sun Sep 21, 2014 3:24 am

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

Re: [Help] Destiny mobile app file extraction

Post by barti » Sun Sep 21, 2014 1:15 pm

.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: 10
Joined: Sun Sep 21, 2014 2:46 am
Has thanked: 1 time
Been thanked: 1 time

Re: [Help] Destiny mobile app file extraction

Post by Spartan019 » Mon Sep 22, 2014 4:47 am

Danke comrade!

Hmm. Ok, I'll have to learn how to execute scripts...

Spartan019
n00b
Posts: 10
Joined: Sun Sep 21, 2014 2:46 am
Has thanked: 1 time
Been thanked: 1 time

Re: [Help] Destiny mobile app file extraction

Post by Spartan019 » Wed Sep 24, 2014 9:48 am

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

Re: [Help] Destiny mobile app file extraction

Post by barti » Wed Sep 24, 2014 8:42 pm

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: 10
Joined: Sun Sep 21, 2014 2:46 am
Has thanked: 1 time
Been thanked: 1 time

Re: [Help] Destiny mobile app file extraction

Post by Spartan019 » Thu Sep 25, 2014 12:33 am

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 » Sat Sep 27, 2014 9:56 am

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: 10
Joined: Sun Sep 21, 2014 2:46 am
Has thanked: 1 time
Been thanked: 1 time

Re: [Help] Destiny mobile app file extraction

Post by Spartan019 » Sun Sep 28, 2014 12:04 am

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: 10
Joined: Sun Sep 21, 2014 2:46 am
Has thanked: 1 time
Been thanked: 1 time

Re: [Help] Destiny mobile app file extraction

Post by Spartan019 » Mon Oct 06, 2014 2:00 am

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: 12
Joined: Thu Feb 18, 2016 6:01 pm
Has thanked: 1 time

Re: [Help] Destiny mobile app file extraction

Post by Shiroleinchen » Thu Jun 02, 2016 4:50 pm

have anyone a script to convert the tgx files?

lyhtem
n00b
Posts: 17
Joined: Tue Dec 20, 2016 9:04 pm

Re: [Help] Destiny mobile app file extraction

Post by lyhtem » Wed Jun 21, 2017 9:08 am

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

Post Reply