Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Super Mario Run: *.COMPRESSED (Encrypted)

Featured Replies

  • Author
  • Localization

LolHacksRule, posted Sun Dec 23, 2018 12:29 am (41582)


I want to view the .compressed files from Super Mario Run's text assets, but they are encrypted or compressed in some way I cannot figure out, any advice on decrypting and viewing these files? If so thanks. :)
  • Author
  • Localization

aluigi, posted Thu Jan 10, 2019 7:16 pm (42134)


I'm not sure if the ".compressed" extension is honest. These files look more encrypted than compressed, moreover because they already come from a ZIP archive that uses compression.
  • Author
  • Localization

LolHacksRule, posted Thu Jan 10, 2019 7:24 pm (42137)


Yeah, I think its encrypted too... I found ZLIB asset compression loading mentioned in the game assembly, not sure if that's 100% useful but it's something... I'll dive into it more when I get home...
  • Author
  • Localization

aluigi, posted Thu Jan 10, 2019 7:54 pm (42139)


Eh no, no zlib or deflate used in the .compressed files.
  • Author
  • Localization

LolHacksRule, posted Thu Jan 10, 2019 8:00 pm (42141)


Oh ok. The monobehaviours for relating to these files list the files in them, and their dependencies...

Code:
(Sample MonoBehaviour for .compressed)

PPtr m_GameObject
   int m_FileID = 0
   int64 m_PathID = 0
UInt8 m_Enabled = 1
PPtr m_Script
   int m_FileID = 1
   int64 m_PathID = 1344
string m_Name = "XXX.compressed"
String AssetBundleName = "XXX.compressed"
String[] AssetBundleKey
   int size = 13
      [0]
      String data = "XXX.XXX"
String[] AssetBundleDependencies
   int size = 13
      [0]
      String data = "XXX.compressed"


Almost the assets from the CDN also use this extension after the STIR (SimpleEncryption) mechanism, however, .compressed in those files are just notes as decryption of these files output plain Unity3D files.
  • Author
  • Localization

LolHacksRule, posted Sun May 03, 2020 11:48 pm (56514)


A setting for fullEncryption (.ENCRYPT) is present, luckily the developers didn't go that far...
  • Author
  • Localization

LolHacksRule, posted Thu Nov 19, 2020 5:16 am (60422)


Coming back to this. According to code and internal directory naming, these are Unity AssetBundles in some form. There's three forms of encryptions to them, being None, Simple or Full, the only one enabled is Simple being STIR from the CDN. According to internals, these files may be chunkbased. Can someone crack them? There's interesting files in them. This does NOT have any keys. I attempted to look at the game's lib and got nowhere.

Code:
AssetBundleSettings (MonoBehaviour):
{
  "m_GameObject": {
    "m_FileID": 0,
    "m_PathID": 0
  },
  "m_Enabled": 1,
  "m_Script": {
    "m_FileID": 1,
    "m_PathID": 1500
  },
  "m_Name": "AssetBundleSetting",
  "outputFolder": "bundles/",
  "baseUrl": "http://localhost/",
  "indexFolder": "Assets/AssetBundle/Indexes/",
  "descriptionFolder": "Assets/AssetBundle/Descriptions/",
  "originalFolder": "Assets/AssetBundle/Original/",
  "mode": 1,
  "debugBuild": true,
  "wwwTimeout": 120.0,
  "assetBundleLoadWorkerNum": 4,
  "useHttpBasicAuthentication": false,
  "username": "",
  "password": "",
  "preloadPriorityThreshold": 5,
  "isZlibCompressed": false,
  "usePrefabInAssetBundle": true,
  "zlibCompressedThreshold": 0.8,
  "zlibExclusiveAssetBundle": [],
  "assetListPrefix": "",
  "useFullEncryption": false,
  "fullEncryptionSuffix": ".encrypt",
  "fullEncryptionKey": {
    "p": [],
    "c": [],
    "i": false
  },
  "useSimpleEncryption": true,
  "simpleEncryptionSuffix": ".stir",
  "simpleEncryptionSpan": 256,
  "simpleEncryptionInitialSpan": 512,
  "simpleEncryptionKey": 93,
  "useAssetCompress": true,
  "isAssetCompressChunkbased": true,
  "assetCompressAffix": ".compressed",
  "assetGroups": [
    ".*"
  ],
  "useGroupDirectory": true,
  "runtimeAssetBasePath": "",
  "bundlePlatformList": [
    {
      "platform": "ios"
    },
    {
      "platform": "android"
    }
  ]
}
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.