Destiny 2 Beyond Light

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
Jamjardavies
Posts: 4
Joined: Tue Nov 17, 2020 9:48 am

Re: Destiny 2 Beyond Light

Post by Jamjardavies »

Ah perfect! So I've converted my code and some packages (or some blocks) doesn't seem to decode correctly, so I need to investigate more.

Edit: Seems like I'm unable to read the
sr_sandbox_0105
package, but I'm able to read a few of the other packages, so I might have one of the keys wrong.

Edit 2: I think I found the issue!
Syscache
Posts: 4
Joined: Fri Nov 27, 2020 3:42 pm

Re: Destiny 2 Beyond Light

Post by Syscache »

Jamjardavies wrote:Ah perfect! So I've converted my code and some packages (or some blocks) doesn't seem to decode correctly, so I need to investigate more.

Edit: Seems like I'm unable to read the
sr_sandbox_0105
package, but I'm able to read a few of the other packages, so I might have one of the keys wrong.



Edit 2: I think I found the issue!



What was the issue
Jamjardavies
Posts: 4
Joined: Tue Nov 17, 2020 9:48 am

Re: Destiny 2 Beyond Light

Post by Jamjardavies »

I forgot to update where the Patch ID was found in the header, once I updated that it all opened.

Anyone know how to decode the mesh data? I've found the indices, and the vertex data, but there seems to be too much (sometimes too little) data for just position and UV. Also the data doesn't look like standard floats.

I've managed to get full texture loading now, and have fully decoded the headers etc.