Minecraft Store Packs: Encrypted files: scripts (JSON/MCFUNCTION), audio, level data and textures

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Minecraft Store Packs: Encrypted files: scripts (JSON/MCFUNCTION), audio, level data and textures

Post by LolHacksRule »

Bump for the new encryption of Minecraft Store Packs instead of the deprecated encrypted ZIPE format: http://www.zenhax.com/viewtopic.php?f=9&t=7190

I want to view the data in some packs acquired from the Minecraft Store (premium_cache in AppData) but most is unreadable, upon MANY lookups, the data is encrypted and devs stated that many times too. They previously had most of the pack in the contents.zipe format with only that being encrypted (given by ZIPE, ZIP Encrypted, also having the pack UUID in the header) while everything outside was readable fine, but was then deprecated as of sometime and they now have the entire pack completely pre-decompressed (from a ZIP archive from the CDN), but with the majority of assets encrypted. Audio files are sometimes encrypted, textures and most scripts are ALWAYS encrypted. They are pre-encrypted from distributors from the CDN. If anyone wants to crack open the files, I give so much thanks.

Builds: https://drive.google.com/open?id=18AArm ... wclszhBaCD

Store assets: https://drive.google.com/open?id=17d6YS ... eCYP34G92V

Notes on them:
1. Does not write to the system decrypted anywhere in the process.
2. Cannot be loaded plain in "games/com.mojang"'s (external) folders as decryption code doesn't take effect here (encrypted worlds created from encrypted world templates with packs are decrypted in the memory fine, otherwise you will output many content log errors if you try to load them all externally).
3. Can use decrypted assets over encrypted.
4. MOST packs are hidden from the user (in the game) unless loaded in a world template or the skin editor.
5. They all have an Xbox ownership check to prevent using the content unowned (unless free).
6. Key is singular (I think).
7. You may rename content folders downloaded and extracted in AppData then load them that way, decryption won't be affected.
8. Renaming UUIDs messes up content locating.
puagardian
Posts: 1
Joined: Sat Jan 18, 2020 12:59 pm

Re: Minecraft Store Packs: Encrypted files: scripts (JSON/MCFUNCTION), audio, level data and textures

Post by puagardian »

LolHacksRule wrote:Bump for the new encryption of Minecraft Store Packs instead of the deprecated encrypted ZIPE format: http://www.zenhax.com/viewtopic.php?f=9&t=7190

I want to view the data in some packs acquired from the Minecraft Store (premium_cache in AppData) but most is unreadable, upon MANY lookups, the data is encrypted and devs stated that many times too. They previously had most of the pack in the contents.zipe format with only that being encrypted (given by ZIPE, ZIP Encrypted, also having the pack UUID in the header) while everything outside was readable fine, but was then deprecated as of sometime and they now have the entire pack completely pre-decompressed (from a ZIP archive from the CDN), but with the majority of assets encrypted. Audio files are sometimes encrypted, textures and most scripts are ALWAYS encrypted. They are pre-encrypted from distributors from the CDN. If anyone wants to crack open the files, I give so much thanks.

Builds: https://drive.google.com/open?id=18AArm ... wclszhBaCD

Store assets: https://drive.google.com/open?id=17d6YS ... eCYP34G92V

Notes on them:
1. Does not write to the system decrypted anywhere in the process.
2. Cannot be loaded plain in "games/com.mojang"'s (external) folders as decryption code doesn't take effect here (encrypted worlds created from encrypted world templates with packs are decrypted in the memory fine, otherwise you will output many content log errors if you try to load them all externally).
3. Can use decrypted assets over encrypted.
4. MOST packs are hidden from the user (in the game) unless loaded in a world template or the skin editor.
5. They all have an Xbox ownership check to prevent using the content unowned (unless free).
6. Key is singular (I think).
7. You may rename content folders downloaded and extracted in AppData then load them that way, decryption won't be affected.
8. Renaming UUIDs messes up content locating.


Any luck yet?
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Minecraft Store Packs: Encrypted files: scripts (JSON/MCFUNCTION), audio, level data and textures

Post by LolHacksRule »

No not yet, also if you read the memory of the game, you can see the decrypted assets, just not the encryption key(s)...
giftmetonnes
Posts: 1
Joined: Wed Jul 01, 2020 9:09 am

Re: Minecraft Store Packs: Encrypted files: scripts (JSON/MCFUNCTION), audio, level data and textures

Post by giftmetonnes »

LolHacksRule wrote:if you read the memory of the game, you can see the decrypted assets


Uhhh... I wouldn't call the "first 16 bytes of a PNG file" decrypted assets. Also, it looks to be very very fragmented.
QuickDegree026
Posts: 2
Joined: Sun Feb 21, 2021 5:48 pm

Re: Minecraft Store Packs: Encrypted files: scripts (JSON/MCFUNCTION), audio, level data and textures

Post by QuickDegree026 »

can u make a quickbms script for this?
QuickDegree026
Posts: 2
Joined: Sun Feb 21, 2021 5:48 pm

Minecraft marketplace JSON

Post by QuickDegree026 »

can someone make a quickbms script for extracting and decrypting minecraft marketplace packs?
Lyn
Posts: 1
Joined: Sat Jun 26, 2021 4:08 pm

Re: Minecraft Store Packs: Encrypted files: scripts (JSON/MCFUNCTION), audio, level data and textures

Post by Lyn »

I know there is not a lot of demand for this but I would be particularly interested in an easier way to rip files from Bedrock Edition. Going through memory is a bit time consuming and a little inconsistent, you can certainly get skin textures and models through this method but other things such as behavior pack assets seem a lot more difficult if not impossible.
334lxis
Posts: 2
Joined: Mon Jul 26, 2021 8:33 am

Re: Minecraft Store Packs: Encrypted files: scripts (JSON/MCFUNCTION), audio, level data and textures

Post by 334lxis »

Hey, did anyone of you had any luck yet? I needed to create an account just for this. I really only need the textures and models. Is there any way possible to get them? Would really help out a lot!

Please let me know!
MCGuy2009
Posts: 2
Joined: Mon Sep 27, 2021 11:36 am

Re: Minecraft Store Packs: Encrypted files: scripts (JSON/MCFUNCTION), audio, level data and textures

Post by MCGuy2009 »

Hello.
I'm in a similar state as 334lxis since I'm wanting to view the models and textures of various Marketplace models and get a better look at them than what's possible in-game (especially since spectator mode isn't an option).

If there's an update to this, please let me know!
Coockio
Posts: 2
Joined: Sun Nov 28, 2021 5:25 pm

Re: Minecraft Store Packs: Encrypted files: scripts (JSON/MCFUNCTION), audio, level data and textures

Post by Coockio »

Please step by step guide for premium cache

Here I have encrypted content from the premium cache folder. What should I do with it to decipher it?
atom0s
Posts: 250
Joined: Sat Dec 27, 2014 8:49 pm

Re: Minecraft Store Packs: Encrypted files: scripts (JSON/MCFUNCTION), audio, level data and textures

Post by atom0s »

This got posted on another site today, source is released under public domain:
https://anonfiles.com/n0G2h5T0xe/McTools_zip

Credits to SilicaAndPina.
SpicedCurry
Posts: 2
Joined: Mon Dec 05, 2022 2:40 am

Re: Minecraft Store Packs: Encrypted files: scripts (JSON/MCFUNCTION), audio, level data and textures

Post by SpicedCurry »

atom0s wrote:This got posted on another site today, source is released under public domain:
https://anonfiles.com/n0G2h5T0xe/McTools_zip

Credits to SilicaAndPina.

They released a new version recently. But I don't have access to the forum, so I can't download it. Can you post the new version?