Skip to content

Instantly share code, notes, and snippets.

@knot126
Last active January 22, 2026 21:33
Show Gist options
  • Select an option

  • Save knot126/7a464e04596836e3692ae83395bd8065 to your computer and use it in GitHub Desktop.

Select an option

Save knot126/7a464e04596836e3692ae83395bd8065 to your computer and use it in GitHub Desktop.
Prism Launcher crack patches

Prism Launcher Crack

These are some simple binary patches to Prism Launcher that crack the official release builds. You can use something like hexed.it to apply the patches.

Using Hexed.it to apply patches

  1. Open the main prismlauncher.exe from the official download (make sure it's the right build!)
  2. Paste the location of the patch into the "Go to" box and click enter
  3. With the cursor at the right location, type in the patch bytes. They should overwrite the bytes that used to be there.
  4. Export the modified binary and replace the uncracked EXE with the one you just patched.

Patches

9.4

Windows

Build Location / Go to Patch
9.4 Portable MSVC x64 0x139b40 b8 01 00 00 00 c3
9.4 Portable MinGW x64 0x10acc0 b0 01 c3
9.4 Portable MSVC ARM64 0x16aa98 20 00 80 52 c0 03 5f d6

Linux

Build Location / Go to Patch
9.4 Portable Qt6 x64 0x36a910 b8 01 00 00 00 c3

10.0.1

Linux 10.0.1 Portable x64

Location Patch Info
0x4ffd50 b8 01 00 00 00 c3 Forces anyAccountIsValid() to return true
0x38cb16 48 e9 Makes the jump to launchInstance() unconditional to ignore aborting launch when not in demo mode
0x7fd920 b8 00 00 00 00 c3 Forces askPlayDemo() to return false (technically optional)

What these patches do

For 9.x: These patches simpily modify AccountList::anyAccountIsValid() to always return true. From my exprience this seems to be enough to bypass the DRM in Prism Launcher as of 9.4.

For 10.x: In addition to patching anyAccountIsValid(), it is now required to patch an if statement in LauncherController::login() that prevents launching if no microsoft accounts that own minecraft are added, and optionally to patch LaunchController::askPlayDemo() to remove the annoying "Do you want to play in demo mode?" pop-up.

Known problems

It seems possible there are issues related to offline LAN servers still trying to authenticate anyway, but I'm not exactly sure. It mainly seems to affect Windows AMD64 builds, but I have gotten it once under Linux. This is also known to occur with source cracks where this mod has been suggested as a fix.

Notes

  • For Linux:
    • In 9.x the portable build main binary is <launcher root>/bin/prismlauncher.
    • In 10.x it has changed to <launcher root>/shared/bin/prismlauncher and the original <launcher root>/bin/prismlauncher appears to be some kind of stub.
  • In 10.x, some changes were made to always check for a Microsoft account in offline mode. Multiple patches are now required.
  • For 9.x, it's most likely possible to write an automated script for Linux and Windows MinGW versions to find the symbol location and patch it, even in versions that aren't yet supported, since they ship with the symbol table.
  • To answer the question "Why not just edit the source code?": Because for me, it's more fun than trying to make 3 build sytems work and installing 760 depencies just to change a few instructions. ;P
@JoseskVolpe
Copy link

I've made a patch file for 10.x that reverts these commits. No bypass are required, just add an offline account and play.
It's not for binary, you must clone PrismLauncher, apply the patch and compile.

https://codeberg.org/JoseskVolpe/PrismLauncher-Patch

@knot126
Copy link
Author

knot126 commented Jan 15, 2026

Cool :3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment