(Unity) Seven Deadly Sins Grand Cross

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
condemn
Posts: 17
Joined: Sat May 11, 2019 3:26 pm

(Unity) Seven Deadly Sins Grand Cross

Post by condemn »

Hi guys, I've got some trouble with this game. To open the files with AssetStudio I need to delete some parts in HxD so it only has one Unity header.

Some files only have "UnityArchive" to delete while others have twice maybe more the same header.

It looks similar to this topic : https://zenhax.com/viewtopic.php?f=9&t=17276, I tried to adapt the script from it, but I don't know much about this.

Here is a screenshot for the hex data.

Image

Thanks for the help !
TH30
Posts: 1
Joined: Tue Nov 01, 2022 7:30 pm

Re: (Unity) Seven Deadly Sins Grand Cross

Post by TH30 »

The problem is the UnityArchive header, which goes all the way until 0x5F. Assuming you've not already solved this, you can use a script like this one in quickbms

Code: Select all

# Script by Bartlomiej Duda (Ikskoks)
# UnityFS files (double header)


# Ver    Date        Author               Comment
# v0.1   31.12.2021  Bartlomiej Duda      -


goto 0x3A # skip first signature
FindLoc SIGN_OFFSET STRING "UnityFS"
get ARCH_SIZE asize

XMATH F_SIZE "ARCH_SIZE - SIGN_OFFSET"

# print "F_SIZE: %F_SIZE%, SIGN_OFFSET: %SIGN_OFFSET%"

get F_NAME basename
set F_OUT_NAME string F_NAME
string F_OUT_NAME += "_decrypted.unity3d"
log F_OUT_NAME SIGN_OFFSET F_SIZE


from https://github.com/bartlomiejduda/Tools
which removes all the text before UnityFS, but with it's offset changed so it deletes up to the second UnityFS.

you could also try just converting with the aforementioned offset, but this worked for me.

Due to the current event, I'm looking at pulling the models and repurposing them, but their bones are structured confusingly.

if you're looking at doing something similar, feel free to pm me your disc.