Page 1 of 1

[Help] Destiny mobile app file extraction

Posted: Sun Sep 21, 2014 3:24 am
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!

Re: [Help] Destiny mobile app file extraction

Posted: Sun Sep 21, 2014 1:15 pm
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.

Re: [Help] Destiny mobile app file extraction

Posted: Mon Sep 22, 2014 4:47 am
by Spartan019
Danke comrade!

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

Re: [Help] Destiny mobile app file extraction

Posted: Wed Sep 24, 2014 9:48 am
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.

Re: [Help] Destiny mobile app file extraction

Posted: Wed Sep 24, 2014 8:42 pm
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.

Re: [Help] Destiny mobile app file extraction

Posted: Thu Sep 25, 2014 12:33 am
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...

Re: [Help] Destiny mobile app file extraction

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

Re: [Help] Destiny mobile app file extraction

Posted: Sun Sep 28, 2014 12:04 am
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

Re: [Help] Destiny mobile app file extraction

Posted: Mon Oct 06, 2014 2:00 am
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?

Re: [Help] Destiny mobile app file extraction

Posted: Thu Jun 02, 2016 4:50 pm
by Shiroleinchen
have anyone a script to convert the tgx files?

Re: [Help] Destiny mobile app file extraction

Posted: Wed Jun 21, 2017 9:08 am
by lyhtem
Sorry to unbury the thread, was there any progress made?