Engineering Unity3d Apk

Read or post any tutorial related to file format analysis for modding purposes.
Post Reply
aftech
ultra-n00b
Posts: 1
Joined: Thu Sep 06, 2018 12:44 pm

Engineering Unity3d Apk

Post by aftech » Thu Sep 06, 2018 12:50 pm

hello guys,
I want to ask you if there is some know how we can do "engineering unity3d apk" ?

Help us Please

Thank you

ShinyAfro
ultra-n00b
Posts: 1
Joined: Sun Oct 07, 2018 6:48 pm

Re: Engineering Unity3d Apk

Post by ShinyAfro » Sun Oct 07, 2018 7:09 pm

aftech wrote:hello guys,
I want to ask you if there is some know how we can do "engineering unity3d apk" ?

Help us Please

Thank you
Honestly you need to re-word yourself specifically, Its hard to grasp what you are asking.

judging by the apk you mean a mobile, online unityweb file.
If you're asking how to read a unityweb file, i can help. First you need QuickBMS https://aluigi.altervista.org/quickbms.htm
And a simple script

Code: Select all

# script for QuickBMS http://quickbms.aluigi.org

idstring "UnityWeb"
goto 0xD1
get OFFSET long
get SIZE long
get NAME_SZ long
getdstring NAME NAME_SZ
log NAME OFFSET SIZE
Also a hex editor.

See the second line?

Code: Select all

goto 0xD1
This may or may not be valid, depending on the game. But to grab the value we need to open the file in a hex editor and find in the plaintext section "data.unity"
Now pardon me people who actually know what they are doing, because honestly i don't so pardon me if i am wrong on the technical bits, but from what i understand in bitcode is that this is a header of sorts, and each file is proceeded by some identifiers to say where the data is in the file. a long seems to be 4 bytes in this case, the offset (where it starts in the file), the size (how long the data is) and the name_sz is the size of the name or some shit (not really sure but whatever, not really relevant)
each two hex characters is a representation of a byte. 4x3 = 12 (qwik maf) so we go back 12 spaces, and find the first hex code and find it's position in the file.

We replace goto 0xD1 with whatever value you found.
so say you found F4, the line would be goto 0xF4" (0x just shows the pc we're talking in hex)

Anyway here's a drawing i did in paint to illustrate what's going on with the artistic grace of a 8 year old
Image

Save the script, open QuickBMS, select the script and target the unityweb file you want to extract the unity3d from, then let it extract it.

Now just open it in Unity Studio viewtopic.php?t=11807&f=10 and you're good.

Post Reply