Skip to content

Commit

Permalink
Fixed some small stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
XtronXI authored Aug 13, 2024
1 parent bf7a110 commit da572ab
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions secretlol.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,8 @@ There is an other method using ClipSVC, we will define that later.
Minecraft for Windows uses `C:\Windows\System32\Windows.ApplicationModel.Store.dll` for its licensing system. It makes use of this DLL to perform in-app purchases and licensing related tasks like identifying if user bought game or has acquired trial.\
We crack `C:\Windows\System32\Windows.ApplicationModel.Store.dll` to modify return value of trial function and Minecraft starts working in full game mode. The crack can be done manually or by specific [Third Party Software](/windows/minecraft-for-windows#unlockers-for-minecraft-for-windows).



## How Minecraft works



To understand deeply about the DLL that gets replaced with the original dll, you will have to know about the licensing process. The licensing process is different depending on the Minecraft version you have:

### Newer Versions
Expand All @@ -43,17 +39,18 @@ Newer Versions of Minecraft uses the boolean property [Windows.Services.Store.St
### Initial Versions
Initial Versions of Minecraft uses the boolean property [Windows.ApplicationModel.Store.LicenseInformation.isTrial](https://learn.microsoft.com/en-us/uwp/api/windows.applicationmodel.store.licenseinformation.istrial) from `Windows.ApplicationModel.Store.dll` to check if the user is licensed to use all features of Minecraft or just trial only features. Like Windows.Services.Store.StoreAppLicense.isTrial, its value is also affected by factors like accounts and PCs and if user exceeds any limit then Minecraft runs in trial mode.


::: tip Tip
For more information about how minecraft works visit https://learn.microsoft.com/en-us/uwp/api/windows.services.store and https://learn.microsoft.com/en-us/uwp/api/windows.applicationmodel.store
For more information about how Minecraft works, visit https://learn.microsoft.com/en-us/uwp/api/windows.services.store and https://learn.microsoft.com/en-us/uwp/api/windows.applicationmodel.store
:::

## Cracking/Patching
We crack Minecraft by modifying return value of IsTrial boolean property. This is done by editing the related function at assembly level to make it replace isTrial value with false whenever Minecraft tries to access the property
### Required Tools & Knowledge
- You might need to know about [Assembly](https://www.tutorialspoint.com/assembly_programming/) before reading this, or your brain might explode.
- Disassembler [Interactive Dissassebler](https://en.wikipedia.org/wiki/Interactive_Disassembler).

::: tip Required Tools & Knowledge
- You might need to know about [Assembly](https://www.tutorialspoint.com/assembly_programming/) before reading this, or your brain might explode.
- Disassembler - [Interactive Dissassebler](https://en.wikipedia.org/wiki/Interactive_Disassembler).
:::

We crack Minecraft by modifying return value of IsTrial boolean property. This is done by editing the related function at assembly level to make it replace isTrial value with false whenever Minecraft tries to access the property

Watch the video below to do it:

Expand Down

0 comments on commit da572ab

Please sign in to comment.