Unity decompiling "Subway_Bundle" files from Subway Surfers

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
SeriousNorbo
Posts: 19
Joined: Mon Mar 20, 2017 1:21 pm

Unity decompiling "Subway_Bundle" files from Subway Surfers

Post by SeriousNorbo »

Hello, i have a problem with extracting the files from Unity Game "Subway Surfers" which are compiled in an unique way and I haven't found any help online so far.

This game stores models and textures of the character in a strange way, each is stored in the files as two TextAssets, one seems to be an instruction and second an actual file (Which data starts with "Subway_Bundle") and when the game loads the specific character, the proper text files are somehow "decompiled" by the game into usable assets and stored in system root (in data/data/com.kiloo.subwaysurf/files/AssetsBundle).

I tried viewing and extracting the "Subway_Bundle" text files with Assets Studio, UABE and UTiny, but they just treat it as normal text file.

Is there any way to decompile all these text files into exportable unity bundles?

.rar has example character's model and texture as:
1.orginal files straight from .apk
2.extracted TextAssets
3.the same files from system root "Decompiled" by the game, and also textures extracted into .png


Note: this storing method is currently only in Chinese version of the game, international version used it previously but they changed it about a year ago.
SeriousNorbo
Posts: 19
Joined: Mon Mar 20, 2017 1:21 pm

Re: Unity decompiling "Subway_Bundle" files from Subway Surfers

Post by SeriousNorbo »

I found something usefull: https://docs.unity3d.com/540/Documentat ... ntent.html
This is probably the encryption method used here, also i tested the game offline and it's still able to decrypt the files.