Skip to content

Instantly share code, notes, and snippets.

@maboloshi
Last active August 8, 2026 00:08
Show Gist options
  • Select an option

  • Save maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47 to your computer and use it in GitHub Desktop.

Select an option

Save maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47 to your computer and use it in GitHub Desktop.
Crack Sublime Text and Sublime Merge

How to Crack Sublime Text Build 4121

Thanks to @leogx9r for providing cracking methods.

https://gist.github.com/JerryLokjianming/71dac05f27f8c96ad1c8941b88030451#gistcomment-3762200 https://gist.github.com/maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47#gistcomment-3802197 https://gist.github.com/maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47#gistcomment-3803204

Note: ARM platform is not supported

Win64 ↓

Desciption Offset Original Patched
Initial License Check 0x000A691C 55 41 57 41 48 31 C0 C3
Persistent License Check 1 0x0000711A E8 55 1F 20 00 90 90 90 90 90
Persistent License Check 2 0x00007133 E8 3C 1F 20 00 90 90 90 90 90
Disable Server Validation Thread 0x000A84E3 55 56 57 48 83 EC 30 48 31 C0 48 FF C0 C3
Disable License Notify Thread 0x000A6517 55 C3
Disable Crash Reporter 0x00000400 41 C3

for 4117, 4118: https://gist.github.com/maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47#gistcomment-3927712

Bat Script
:: for Win64
cd /d "C:\Program Files\Sublime Text" || exit
printf '5446869D73EAEADEC1CACE4E5A6CF64D  sublime_text.exe' | md5sum -c - || exit
printf '\x48\x31\xC0\xC3'                 | dd.exe of=sublime_text.exe bs=1 seek=682268 conv=notrunc
printf '\x90\x90\x90\x90\x90'             | dd.exe of=sublime_text.exe bs=1 seek=28954  conv=notrunc
printf '\x90\x90\x90\x90\x90'             | dd.exe of=sublime_text.exe bs=1 seek=28979  conv=notrunc
printf '\x48\x31\xC0\x48\xFF\xC0\xC3'     | dd.exe of=sublime_text.exe bs=1 seek=689379 conv=notrunc
printf '\xC3'                             | dd.exe of=sublime_text.exe bs=1 seek=681239 conv=notrunc
printf '\xC3'                             | dd.exe of=sublime_text.exe bs=1 seek=1024   conv=notrunc

PS:Command Line Tools for Windows 64 extracted from PortableGit

The license can be any string.

Blocked by Microsoft Defender SmartScreen -> More Info -> Run Anyway

Screenshot

Screenshot

Screenshot

Linux ↓

Desciption Offset Original Patched
Initial License Check 0x00375A48 55 41 57 41 48 31 C0 C3
Persistent License Check 1 0x0036BC85 E8 0C BC 11 00 90 90 90 90 90
Persistent License Check 2 0x0036BC9B E8 F6 BB 11 00 90 90 90 90 90
Disable Server Validation Thread 0x003774CB 55 41 56 53 41 89 F6 48 31 C0 48 FF C0 C3
Disable License Notify Thread 0x0037570C 41 C3
Disable Crash Reporter 0x0035F930 55 C3

for 4121: https://gist.github.com/maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47#gistcomment-3940961

Bash Script
# for Linux
cd /opt/sublime_text || exit
md5sum -c <<<"D3343AD6D13F816F1F9414223B8BE091  sublime_text" || exit
printf '\x48\x31\xC0\xC3'                 | dd of=sublime_text bs=1 seek=$((0x00375A48)) conv=notrunc
printf '\x90\x90\x90\x90\x90'             | dd of=sublime_text bs=1 seek=$((0x0036BC85)) conv=notrunc
printf '\x90\x90\x90\x90\x90'             | dd of=sublime_text bs=1 seek=$((0x0036BC9B)) conv=notrunc
printf '\x48\x31\xC0\x48\xFF\xC0\xC3'     | dd of=sublime_text bs=1 seek=$((0x003774CB)) conv=notrunc
printf '\xC3'                             | dd of=sublime_text bs=1 seek=$((0x0037570C)) conv=notrunc
printf '\xC3'                             | dd of=sublime_text bs=1 seek=$((0x0035F930)) conv=notrunc

macOS ↓

Desciption Offset Original Patched
Initial License Check 0x0009257E 55 48 89 E5 48 31 C0 C3
Persistent License Check 1 0x000086F6 E8 1F 1D 12 00 90 90 90 90 90
Persistent License Check 2 0x00008715 E8 00 1D 12 00 90 90 90 90 90
Disable Server Validation Thread 0x000938CF 55 48 89 E5 41 57 41 48 31 C0 48 FF C0 C3
Disable License Notify Thread 0x0009219C 55 C3
Disable Crash Reporter 0x00002867 55 C3
Bash Script
# for MacOS
cd "/Applications/Sublime Text.app/Contents/MacOS/" || exit
[ $(md5 sublime_text) = 29D43CC159DA2FADFCD15D95536AA29A ] || exit
printf '\x48\x31\xC0\xC3'                 | dd of=sublime_text bs=1 seek=$((0x0009257E)) conv=notrunc
printf '\x90\x90\x90\x90\x90'             | dd of=sublime_text bs=1 seek=$((0x000086F6)) conv=notrunc
printf '\x90\x90\x90\x90\x90'             | dd of=sublime_text bs=1 seek=$((0x00008715)) conv=notrunc
printf '\x48\x31\xC0\x48\xFF\xC0\xC3'     | dd of=sublime_text bs=1 seek=$((0x000938CF)) conv=notrunc
printf '\xC3'                             | dd of=sublime_text bs=1 seek=$((0x0009219C)) conv=notrunc
printf '\xC3'                             | dd of=sublime_text bs=1 seek=$((0x00002867)) conv=notrunc
Re-Sign App
codesign --force --deep --sign - "/Applications/Sublime Text.app"

Requires Apple Command Line Tools to be installed

macOS (M1 ARM64) ↓

Based on: https://gist.github.com/maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47#gistcomment-3929427

Desciption Offset Original Patched
Initial License Check 0x00FCA6F8 E6 03 1E AA 19 59 0E 94 E0 03 1F AA C0 03 5F D6
Persistent License Check 1 0x00F5C160 5F 95 03 94 1F 20 03 D5
Persistent License Check 2 0x00F5C174 5A 95 03 94 1F 20 03 D5
Disable Server Validation Thread 0x00FCB7D8 F6 57 BD A9 C0 03 5F D6
Disable License Notify Thread 0x00FCA388 FC 6F BD A9 C0 03 5F D6
Disable Crash Reporter 0x00F577E4 FC 6F BC A9 C0 03 5F D6
Bash Script
# for MacOS
cd "/Applications/Sublime Text.app/Contents/MacOS/" || exit
[ $(md5 sublime_text) = B78F54073437FDF71834D46DCEC72700 ] || exit
printf '\xE0\x03\x1F\xAA\xC0\x03\x5F\xD6' | dd of=sublime_text bs=1 seek=$((0x00FCA6F8)) conv=notrunc
printf '\x1F\x20\x03\xD5'                 | dd of=sublime_text bs=1 seek=$((0x00F5C160)) conv=notrunc
printf '\x1F\x20\x03\xD5'                 | dd of=sublime_text bs=1 seek=$((0x00F5C174)) conv=notrunc
printf '\xC0\x03\x5F\xD6'                 | dd of=sublime_text bs=1 seek=$((0x00FCB7D8)) conv=notrunc
printf '\xC0\x03\x5F\xD6'                 | dd of=sublime_text bs=1 seek=$((0x00FCA388)) conv=notrunc
printf '\xC0\x03\x5F\xD6'                 | dd of=sublime_text bs=1 seek=$((0x00F577E4)) conv=notrunc

How to Crack Sublime Merge Build 2063

Thanks to @leogx9r for providing cracking methods.

https://gist.github.com/maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47#gistcomment-3823090 https://gist.github.com/JerryLokjianming/71dac05f27f8c96ad1c8941b88030451#gistcomment-3762883 https://gist.github.com/maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47#gistcomment-3802197

Note: ARM platform is not supported

Win64 ↓

Desciption Offset Original Patched
Initial License Check 0x00024570 55 41 57 41 56 41 55 41 48 C7 C0 19 01 00 00 C3
Persistent License Check 1 0x00027127 E8 9C FC 25 00 90 90 90 90 90
Persistent License Check 2 0x00027140 E8 83 FC 25 00 90 90 90 90 90
Disable Server Validation Thread 0x00025AD7 55 56 57 48 83 EC 30 48 31 C0 48 FF C0 C3
Disable License Notify Thread 0x000241C3 55 C3
Disable Crash Reporter 0x00021AF8 41 C3
Bat Script
:: for Win64
cd /d "C:\Program Files\Sublime Merge" || exit
printf 'A6D0ED92FDC38018D59A426EE3E16929  sublime_merge.exe' | md5sum -c - || exit
printf '\x48\xC7\xC0\x19\x01\x00\x00\xC3' | dd of=sublime_merge.exe bs=1 seek=148848 conv=notrunc
printf '\x90\x90\x90\x90\x90'             | dd of=sublime_merge.exe bs=1 seek=160039 conv=notrunc
printf '\x90\x90\x90\x90\x90'             | dd of=sublime_merge.exe bs=1 seek=160064 conv=notrunc
printf '\x48\x31\xC0\x48\xFF\xC0\xC3'     | dd of=sublime_merge.exe bs=1 seek=154327 conv=notrunc
printf '\xC3'                             | dd of=sublime_merge.exe bs=1 seek=147907 conv=notrunc
printf '\xC3'                             | dd of=sublime_merge.exe bs=1 seek=137976 conv=notrunc

PS:Command Line Tools for Windows 64 extracted from PortableGit

Linux ↓

Desciption Offset Original Patched
Initial License Check 0x003B3B62 55 41 57 41 56 41 55 41 48 C7 C0 19 01 00 00 C3
Persistent License Check 1 0x003B66AD E8 A6 39 1D 00 90 90 90 90 90
Persistent License Check 2 0x003B66C8 E8 8B 39 1D 00 90 90 90 90 90
Disable Server Validation Thread 0x003B4F8D 55 41 56 53 41 89 F6 48 31 C0 48 FF C0 C3
Disable License Notify Thread 0x003B38AE 41 C3
Disable Crash Reporter 0x003B2832 55 C3
Bash Script
# for Linux
cd /opt/sublime_merge || exit
md5sum -c <<<"CB61D19785055FEABA792E7D908E2374  sublime_merge" || exit
printf '\x48\xC7\xC0\x19\x01\x00\x00\xC3' | dd of=sublime_merge bs=1 seek=$((0x003B3B62)) conv=notrunc
printf '\x90\x90\x90\x90\x90'             | dd of=sublime_merge bs=1 seek=$((0x003B66AD)) conv=notrunc
printf '\x90\x90\x90\x90\x90'             | dd of=sublime_merge bs=1 seek=$((0x003B66C8)) conv=notrunc
printf '\x48\x31\xC0\x48\xFF\xC0\xC3'     | dd of=sublime_merge bs=1 seek=$((0x003B4F8D)) conv=notrunc
printf '\xC3'                             | dd of=sublime_merge bs=1 seek=$((0x003B38AE)) conv=notrunc
printf '\xC3'                             | dd of=sublime_merge bs=1 seek=$((0x003B2832)) conv=notrunc

macOS ↓

Desciption Offset Original Patched
Initial License Check 0x00027747 55 48 89 E5 41 57 41 56 48 C7 C0 19 01 00 00 C3
Persistent License Check 1 0x000295E4 E8 CA B9 21 00 90 90 90 90 90
Persistent License Check 2 0x00029603 E8 AB B9 21 00 90 90 90 90 90
Disable Server Validation Thread 0x0002844F 55 48 89 E5 41 57 41 48 31 C0 48 FF C0 C3
Disable License Notify Thread 0x00027402 55 C3
Disable Crash Reporter 0x00025EA1 55 C3
Bash Script
# for MacOS
cd "/Applications/Sublime Merge.app/Contents/MacOS/" || exit
[ $(md5 sublime_merge) = D578F6D65F9470F84E1D6724277E6820 ] || exit
printf '\x48\xC7\xC0\x19\x01\x00\x00\xC3' | dd of=sublime_merge bs=1 seek=$((0x00027747)) conv=notrunc
printf '\x90\x90\x90\x90\x90'             | dd of=sublime_merge bs=1 seek=$((0x000295E4)) conv=notrunc
printf '\x90\x90\x90\x90\x90'             | dd of=sublime_merge bs=1 seek=$((0x00029603)) conv=notrunc
printf '\x48\x31\xC0\x48\xFF\xC0\xC3'     | dd of=sublime_merge bs=1 seek=$((0x0002844F)) conv=notrunc
printf '\xC3'                             | dd of=sublime_merge bs=1 seek=$((0x00027402)) conv=notrunc
printf '\xC3'                             | dd of=sublime_merge bs=1 seek=$((0x00025EA1)) conv=notrunc
Re-Sign App
codesign --force --deep --sign - "/Applications/Sublime Merge.app"

Requires Apple Command Line Tools to be installed

macOS (M1 ARM64) ↓

Based on: https://gist.github.com/maboloshi/feaa63c35f4c2baab24c9aaf9b3f4e47#gistcomment-3929427

Desciption Offset Original Patched
Initial License Check 0x013F14DC F8 5F BC A9 F6 57 01 A9 20 23 80 D2 C0 03 5F D6
Persistent License Check 1 0x013F2BDC 21 6D 06 94 1F 20 03 D5
Persistent License Check 2 0x013F2BF0 1C 6D 06 94 1F 20 03 D5
Disable Server Validation Thread 0x013F1FA4 F6 57 BD A9 C0 03 5F D6
Disable License Notify Thread 0x013F1230 FC 6F BD A9 C0 03 5F D6
Disable Crash Reporter 0x013EFFC8 FC 6F BC A9 C0 03 5F D6
Bash Script
# for MacOS
cd "/Applications/Sublime Merge.app/Contents/MacOS/" || exit
[ $(md5 sublime_merge) = D578F6D65F9470F84E1D6724277E6820 ] || exit
printf '\x20\x23\x80\xD2\xC0\x03\x5F\xD6' | dd of=sublime_merge bs=1 seek=$((0x013F14DC)) conv=notrunc
printf '\x1F\x20\x03\xD5'                 | dd of=sublime_merge bs=1 seek=$((0x013F2BDC)) conv=notrunc
printf '\x1F\x20\x03\xD5'                 | dd of=sublime_merge bs=1 seek=$((0x013F2BF0)) conv=notrunc
printf '\xC0\x03\x5F\xD6'                 | dd of=sublime_merge bs=1 seek=$((0x013F1FA4)) conv=notrunc
printf '\xC0\x03\x5F\xD6'                 | dd of=sublime_merge bs=1 seek=$((0x013F1230)) conv=notrunc
printf '\xC0\x03\x5F\xD6'                 | dd of=sublime_merge bs=1 seek=$((0x013EFFC8)) conv=notrunc

Sublime Text & Sublime Merge cracked by TNT ( macOS | Without License) ↓

You can check and download the latest version from here (please note that not all versions are corresponding to the cracked version)

DISABLE SYSTEM INTERGRITY PROTECTION (SIP)

sudo spctl --master-disable

DISABLE GATEKEEPER

Enable Allow apps downloaded from “Anywhere” in Security & Privacy

disable-gatekeeper

@urxi

urxi commented Jan 1, 2026

Copy link
Copy Markdown

macOS

Sublime Text (Stable Channel, Build 4200)
cd "/Applications/Sublime Text.app/Contents/MacOS/" || exit
md5 -q sublime_text | grep -i "4AA67B38CCFCC37A2E7AF0239750F889" || exit

echo 00239DCF: 48 C7 C0 00 00 00 00 C3 | xxd -r - sublime_text
echo 00230C35: 90 90 90 90 90          | xxd -r - sublime_text
echo 00230C4D: 90 90 90 90 90          | xxd -r - sublime_text
echo 00239A96: C3                      | xxd -r - sublime_text
echo 0023B035: C3                      | xxd -r - sublime_text

echo 00EF9E24: 00 00 80 D2 C0 03 5F D6 | xxd -r - sublime_text
echo 00EF3570: 1F 20 03 D5             | xxd -r - sublime_text
echo 00EF3584: 1F 20 03 D5             | xxd -r - sublime_text
echo 00EF9B4C: C0 03 5F D6             | xxd -r - sublime_text
echo 00EFADA4: C0 03 5F D6             | xxd -r - sublime_text

codesign --force --deep --sign - "/Applications/Sublime Text.app"
Sublime Merge (Stable Channel, Build 2121)
cd "/Applications/Sublime Merge.app/Contents/MacOS/" || exit
md5 -q sublime_merge | grep -i "6AFDC2ACBB858785FC11985BF901900A" || exit

echo 00236718: 48 C7 C0 19 01 00 00 C3 | xxd -r - sublime_merge
echo 002388EA: 90 90 90 90 90          | xxd -r - sublime_merge
echo 00238909: 90 90 90 90 90          | xxd -r - sublime_merge
echo 0023641C: C3                      | xxd -r - sublime_merge
echo 00237310: C3                      | xxd -r - sublime_merge

echo 01041338: 20 23 80 D2 C0 03 5F D6 | xxd -r - sublime_merge
echo 01042C10: 1F 20 03 D5             | xxd -r - sublime_merge
echo 01042C24: 1F 20 03 D5             | xxd -r - sublime_merge
echo 010410C4: C0 03 5F D6             | xxd -r - sublime_merge
echo 01041C78: C0 03 5F D6             | xxd -r - sublime_merge

codesign --force --deep --sign - "/Applications/Sublime Merge.app"

@zheltikov

Copy link
Copy Markdown

Is there a patch available for Sublime Merge 2121 for Linux arm64?

@Destitute-Streetdwelling-Guttersnipe

Copy link
Copy Markdown

@gildas-le-drogoff

gildas-le-drogoff commented Apr 1, 2026

Copy link
Copy Markdown

Sublime Merge Linux Stable 2123

Original MD5: 11BE76D4D5E532B4C5EA74E3E2CCF4C2

Bash Script

# for Linux
cd "/opt/sublime_merge" || exit
md5sum -c <<<"11BE76D4D5E532B4C5EA74E3E2CCF4C2  sublime_merge" || exit

echo 0058f706: 48 C7 C0 19 01 00 00 C3 90 90 | xxd -r - sublime_merge
echo 0058f476: 48 31 C0 C3                   | xxd -r - sublime_merge
echo 00590b52: 48 31 C0 C3                   | xxd -r - sublime_merge
echo 00591f43: 90 90 90 90 90                | xxd -r - sublime_merge
echo 00591f5b: 90 90 90 90 90                | xxd -r - sublime_merge
echo 0069d9a5: 48 31 C0 C3                   | xxd -r - sublime_merge
----- BEGIN LICENSE -----
John Doe
Unlimited User License
0000000000000000000000000
0000000000000000000000000
0000000000000000000000000
0000000000000000000000000
----- END LICENSE -----

@gildas-le-drogoff

Copy link
Copy Markdown

Sublime Merge Linux Dev 2124

Original MD5: 3B03C2628D7BAE19DA9683224A469948

Bash Script

# for Linux
cd "/opt/sublime_merge" || exit
md5sum -c <<<"3B03C2628D7BAE19DA9683224A469948  sublime_merge" || exit

echo "005841f0: 4831 C0C3 9090 9090 9090" | xxd -r - sublime_merge
echo "00583f60: 4831 C0C3"                | xxd -r - sublime_merge
echo "0058561c: 4831 C0C3"                | xxd -r - sublime_merge
echo "00693795: 4831 C0C3"                | xxd -r - sublime_merge
echo "00586a21: 9090 9090 90"             | xxd -r - sublime_merge
echo "00586a09: 9090 9090 90"             | xxd -r - sublime_merge

@ehsan-khan-sazim

Copy link
Copy Markdown

@gildas-le-drogoff sm 2125 please

@Destitute-Streetdwelling-Guttersnipe

Copy link
Copy Markdown

@tuannguyen0328

Copy link
Copy Markdown

for Linux (SM v2125)

cd "/opt/sublime_merge" || exit
md5sum -c <<<"a13cbe0aaedf0743322da15db37685b7  sublime_merge" || exit

echo "005841f4: 48c7 c001 0000 00c3" | xxd -r - sublime_merge
echo "00586a0a: 9090 9090 90"        | xxd -r - sublime_merge
echo "00586a22: 9090 9090 90"        | xxd -r - sublime_merge
echo "000f6f6c: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 00" | xxd -r - sublime_merge
echo "0012377d: 0000 0000 0000 0000 0000 0000 00" | xxd -r - sublime_merge

@aynakeya

Copy link
Copy Markdown

not tested use at your own risk

Sublime Merge Windows Stable 2125

Original MD5: 38AD6FC66339A097205ADF7FA484029B

Desciption Offset Original Patched
is_license_valid 0x00048116 41 57 41 56 41 55 41 54 48 C7 C0 01 00 00 00 C3
persistent_license_check_1 0x0004A54E E8 D5 C3 1D 00 90 90 90 90 90
persistent_license_check_2 0x0004A567 E8 BC C3 1D 00 90 90 90 90 90
thread_check_license_func 0x00048DA8 41 57 41 56 48 31 C0 C3
thread_license_notification_func 0x00047E0D 41 57 41 56 48 31 C0 C3
crash_reporter_func 0x0015B1FC 41 57 41 56 48 31 C0 C3

Bash Script

:: for Win64
cd /d "C:\Program Files\Sublime Merge" || exit
certutil -hashfile sublime_merge.exe md5 | find /i "38AD6FC66339A097205ADF7FA484029B" || exit
echo 00048116: 48 C7 C0 01 00 00 00 C3 | xxd -r - sublime_merge.exe
echo 0004A54E: 90 90 90 90 90       | xxd -r - sublime_merge.exe
echo 0004A567: 90 90 90 90 90       | xxd -r - sublime_merge.exe
echo 00048DA8: 48 31 C0 C3          | xxd -r - sublime_merge.exe
echo 00047E0D: 48 31 C0 C3          | xxd -r - sublime_merge.exe
echo 0015B1FC: 48 31 C0 C3          | xxd -r - sublime_merge.exe

@ChaoticHolon

ChaoticHolon commented May 15, 2026

Copy link
Copy Markdown

for Linux (SM v2125)

cd "/opt/sublime_merge" || exit
md5sum -c <<<"a13cbe0aaedf0743322da15db37685b7  sublime_merge" || exit

echo "005841f4: 48c7 c001 0000 00c3" | xxd -r - sublime_merge
echo "00586a0a: 9090 9090 90"        | xxd -r - sublime_merge
echo "00586a22: 9090 9090 90"        | xxd -r - sublime_merge
echo "000f6f6c: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 00" | xxd -r - sublime_merge
echo "0012377d: 0000 0000 0000 0000 0000 0000 00" | xxd -r - sublime_merge

Not working. Should also use dd (and sudo), not xxd from root (which is bad form and will behave differently across different distros and shells)

Rewritten using dd (still doesn't work though)

cd "/opt/sublime_merge" || exit
md5sum -c <<<"a13cbe0aaedf0743322da15db37685b7  sublime_merge" || exit

printf '\x48\xC7\xC0\x01\x00\x00\x00\xC3' | sudo dd of=sublime_merge bs=1 seek=$((0x005841f4)) conv=notrunc
printf '\x90\x90\x90\x90\x90' | sudo dd of=sublime_merge bs=1 seek=$((0x00586a0a)) conv=notrunc
printf '\x90\x90\x90\x90\x90' | sudo dd of=sublime_merge bs=1 seek=$((0x00586a22)) conv=notrunc
printf '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' | sudo dd of=sublime_merge bs=1 seek=$((0x000f6f6c)) conv=notrunc
printf '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00' | sudo dd of=sublime_merge bs=1 seek=$((0x0012377d)) conv=notrunc

@elytraVIII

Copy link
Copy Markdown

Does anyone have for sm2125 I mean working way

@elytraVIII

Copy link
Copy Markdown

Linux

@Destitute-Streetdwelling-Guttersnipe

Copy link
Copy Markdown

@yabasha

yabasha commented Jun 7, 2026

Copy link
Copy Markdown

macOS

Sublime Text (Stable Channel, Build 4200)
Sublime Merge (Stable Channel, Build 2121)

Hello Guys, is there any patch for SM 2125???

@AbzX12206

AbzX12206 commented Jun 17, 2026

Copy link
Copy Markdown

Windows Sublime Merge 2125
Powershell (run as administrator)

cd "C:\Program Files\Sublime Merge"

$bytes = [System.IO.File]::ReadAllBytes("$pwd\sublime_merge.exe")

function Patch-Bytes($offset, $hexString) {
    $newBytes = $hexString -split ' ' | ForEach-Object { [Convert]::ToByte($_, 16) }
    for ($i = 0; $i -lt $newBytes.Length; $i++) {
        $bytes[$offset + $i] = $newBytes[$i]
    }
}
#Patching ONLY the is_license_valid feature at 0x00048116
Patch-Bytes 0x00048116 "48 C7 C0 01 00 00 00 C3"

[System.IO.File]::WriteAllBytes("$pwd\sublime_merge.exe", $bytes)

Write-Host "Success" -ForegroundColor Green

@aqilc

aqilc commented Jun 29, 2026

Copy link
Copy Markdown

Anyone have it for Mac?

@aqilc

aqilc commented Jun 29, 2026

Copy link
Copy Markdown

While this does work for MacOS, it's not complete because you can't just edit the files in the /Application/ folder without configuring a ton of things and disabling critical security features. I tried to make @urxi's method WHICH ONLY WORKS FOR SUBLIME MERGE 2121, detailed below:

macOS

Sublime Text (Stable Channel, Build 4200)

cd "/Applications/Sublime Text.app/Contents/MacOS/" || exit
md5 -q sublime_text | grep -i "4AA67B38CCFCC37A2E7AF0239750F889" || exit

echo 00239DCF: 48 C7 C0 00 00 00 00 C3 | xxd -r - sublime_text
echo 00230C35: 90 90 90 90 90          | xxd -r - sublime_text
echo 00230C4D: 90 90 90 90 90          | xxd -r - sublime_text
echo 00239A96: C3                      | xxd -r - sublime_text
echo 0023B035: C3                      | xxd -r - sublime_text

echo 00EF9E24: 00 00 80 D2 C0 03 5F D6 | xxd -r - sublime_text
echo 00EF3570: 1F 20 03 D5             | xxd -r - sublime_text
echo 00EF3584: 1F 20 03 D5             | xxd -r - sublime_text
echo 00EF9B4C: C0 03 5F D6             | xxd -r - sublime_text
echo 00EFADA4: C0 03 5F D6             | xxd -r - sublime_text

codesign --force --deep --sign - "/Applications/Sublime Text.app"

Sublime Merge (Stable Channel, Build 2121)

cd "/Applications/Sublime Merge.app/Contents/MacOS/" || exit
md5 -q sublime_merge | grep -i "6AFDC2ACBB858785FC11985BF901900A" || exit

echo 00236718: 48 C7 C0 19 01 00 00 C3 | xxd -r - sublime_merge
echo 002388EA: 90 90 90 90 90          | xxd -r - sublime_merge
echo 00238909: 90 90 90 90 90          | xxd -r - sublime_merge
echo 0023641C: C3                      | xxd -r - sublime_merge
echo 00237310: C3                      | xxd -r - sublime_merge

echo 01041338: 20 23 80 D2 C0 03 5F D6 | xxd -r - sublime_merge
echo 01042C10: 1F 20 03 D5             | xxd -r - sublime_merge
echo 01042C24: 1F 20 03 D5             | xxd -r - sublime_merge
echo 010410C4: C0 03 5F D6             | xxd -r - sublime_merge
echo 01041C78: C0 03 5F D6             | xxd -r - sublime_merge

codesign --force --deep --sign - "/Applications/Sublime Merge.app"

work on any Mac without all that configuration by modifying his script into one that copies it into a different folder and runs everything that can fail there:

# 1. Close Sublime Merge completely
killall "Sublime Merge" 2>/dev/null

# 2. Clear old working environments and copy the ENTIRE app bundle to your desktop
rm -rf ~/Desktop/sm_clean_patch
mkdir -p ~/Desktop/sm_clean_patch
cp -R "/Applications/Sublime Merge.app" ~/Desktop/sm_clean_patch/

# 3. Drop into your local workspace
cd ~/Desktop/sm_clean_patch/Sublime\ Merge.app/Contents/MacOS/

# 4. Force read/write permissions onto the local binary copy
chmod 755 ./sublime_merge

# 5. Apply your xxd byte replacements to the isolated binary
echo 00236718: 48 C7 C0 19 01 00 00 C3 | xxd -r - sublime_merge
echo 002388EA: 90 90 90 90 90          | xxd -r - sublime_merge
echo 00238909: 90 90 90 90 90          | xxd -r - sublime_merge
echo 0023641C: C3                      | xxd -r - sublime_merge
echo 00237310: C3                      | xxd -r - sublime_merge

echo 01041338: 20 23 80 D2 C0 03 5F D6 | xxd -r - sublime_merge
echo 01042C10: 1F 20 03 D5             | xxd -r - sublime_merge
echo 01042C24: 1F 20 03 D5             | xxd -r - sublime_merge
echo 010410C4: C0 03 5F D6             | xxd -r - sublime_merge
echo 01041C78: C0 03 5F D6             | xxd -r - sublime_merge

# 6. Step back out to the app's parent folder on your desktop
cd ~/Desktop/sm_clean_patch/

# 7. Strip all system tracking and quarantine flags from the local bundle
xattr -cr "./Sublime Merge.app"

# 8. Force sign the local app copy (this bypasses the /Applications lock)
codesign --force --deep --sign - "./Sublime Merge.app"

# 9. Purge the original locked app from your system folder using root privileges
sudo rm -rf "/Applications/Sublime Merge.app"

# 10. Move your completely processed and freshly signed app back to Applications
sudo mv "./Sublime Merge.app" /Applications/

# 11. Clean up your desktop staging area
cd ~ && rm -rf ~/Desktop/sm_clean_patch

echo "Process fully completed!"

after that runs, open Sublime Merge, go to Help -> Enter License and paste this in:

----- BEGIN LICENSE -----
Any Name Here
Unlimited User License
EA7E-999999
D5A26F23 6AFDC2AC BB858785 FC11985B
F901900A 48C7C019 010000C3 90909090
----- END LICENSE -----

After that runs, you should be good to go!!

NOTE: You need to get the Sublime Merge 2121 Binaries from the website, that's the only way it can work! It doesn't work on newer releases! You cannot update!

@rhcp011235

rhcp011235 commented Jun 29, 2026

Copy link
Copy Markdown

https://pastebin.com/U5UPf6Zh

The above python should work on any version of sublime text (Mac) (I added pattern matching) so you don't need to update the patch each time.

@rhcp011235

rhcp011235 commented Jun 29, 2026

Copy link
Copy Markdown

This patch should work on all versions of sublime merge for Mac as well

https://pastebin.com/ckauSphP

EDIT: I updated this, it seems to crash when adding the license, I dont have time to look at it right now, but the problems is

The crash is a bug in x86 p4's poff.

@rhcp011235

Copy link
Copy Markdown

a friend has linked me this, so i guess, no need to manual patch this anymore

https://github.com/Antibioticss/sublime-keygen

@Destitute-Streetdwelling-Guttersnipe

Copy link
Copy Markdown

@tuannguyen0328

Copy link
Copy Markdown

for Linux (SM v2125)

cd "/opt/sublime_merge" || exit
md5sum -c <<<"a13cbe0aaedf0743322da15db37685b7  sublime_merge" || exit

echo "005841f4: 48c7 c001 0000 00c3" | xxd -r - sublime_merge
echo "00586a0a: 9090 9090 90"        | xxd -r - sublime_merge
echo "00586a22: 9090 9090 90"        | xxd -r - sublime_merge
echo "000f6f6c: 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 00" | xxd -r - sublime_merge
echo "0012377d: 0000 0000 0000 0000 0000 0000 00" | xxd -r - sublime_merge

it's worked on my PC, applied then enter any License Key.
Screenshot

@Destitute-Streetdwelling-Guttersnipe

Copy link
Copy Markdown

@Destitute-Streetdwelling-Guttersnipe

Copy link
Copy Markdown

@Destitute-Streetdwelling-Guttersnipe

Copy link
Copy Markdown

@7a6163

7a6163 commented Jul 21, 2026

Copy link
Copy Markdown

@plakhin

sublime merge 2125 for mac

cd "/Applications/Sublime Merge.app/Contents/MacOS/" || exit
md5 -q sublime_merge | grep -i "34DE638868C1FAE5CD78AAAD1DFA3289" || exit

echo 0021DBA2: B8 01 00 00 00 C3 | xxd -r - sublime_merge
echo 0021E770: C3                | xxd -r - sublime_merge
echo 0021E7BA: C3                | xxd -r - sublime_merge
echo 00220E8A: 90 90 90 90 90    | xxd -r - sublime_merge
echo 00220E95: 90 90 90 90       | xxd -r - sublime_merge

echo 0103A8C4: 20 00 80 52 C0 03 5F D6 | xxd -r - sublime_merge
echo 0103B1F8: C0 03 5F D6             | xxd -r - sublime_merge
echo 0103B23C: C0 03 5F D6             | xxd -r - sublime_merge
echo 0103CD9C: 1F 20 03 D5             | xxd -r - sublime_merge
echo 0103CDA4: 1F 20 03 D5             | xxd -r - sublime_merge

codesign --force --deep --sign - "/Applications/Sublime Merge.app"

@plakhin

plakhin commented Jul 21, 2026

Copy link
Copy Markdown

@7a6163 seems to work fine, thx!

@stephanschielke

Copy link
Copy Markdown

Linux build-agnostic across builds 4176-4206 (including dev versions):
https://github.com/stephanschielke/sublime-text-4-dev-patcher

@Destitute-Streetdwelling-Guttersnipe

Copy link
Copy Markdown

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