Skip to content

Instantly share code, notes, and snippets.

@xiopt
Created February 14, 2020 16:17
Show Gist options
  • Save xiopt/89a209a5d87aa28c3d4841ab9071e13b to your computer and use it in GitHub Desktop.
Save xiopt/89a209a5d87aa28c3d4841ab9071e13b to your computer and use it in GitHub Desktop.
Sublime HQ Patching Guide

Sublime Text 3

Sublime Text 3 (Build 3211)

Windows 32-bit

Offset Original Patched
0x0CDC7 0x00 0x10
0x7A48F 0xF2 0x66
0x7A490 0x0F 0x83
0x7A491 0x11 0x09
0x7A492 0x01 0x10
0x7C40E 0x25 0x0D
0x7C413 0x00 0x10

Windows 64-bit

Offset Original Patched
0x0E12A 0x00 0x10
0x8F099 0x48 0x80
0x8F09A 0x89 0x09
0x8F09B 0x01 0x10
0x915AA 0x25 0x0D
0x915AF 0x00 0x10

macOS 64-bit (Enter anything to register)

Offset Original Patched
0xDA4CF 0x55 0xB8
0xDA4D0 0x48 0x01
0xDA4D1 0x89 0x00
0xDA4D2 0xE5 0x00
0xDA4D3 0x41 0x00
0xDA4D4 0x57 0xC3

Sublime Text 3 (Build 3211)

Adding these lines to the hosts file would be better.

127.0.0.1    www.sublimetext.com
127.0.0.1    sublimetext.com
127.0.0.1    sublimehq.com
127.0.0.1    license.sublimehq.com
It's just working fine for me without blocking in hosts.

Sublime Merge

Sublime Merge (Build 1119)

Windows 64-bit

Offset Original Patched
0x2F729 0x00 0x10
0x277CB 0x48 0x80
0x277CC 0x89 0x09
0x277CD 0x01 0x10
0x29D6A 0x25 0x0D
0x29D6F 0x00 0x10

macOS 64-bit (Enter anything to register)

Offset Original Patched
0x262A3 0x55 0xB8
0x262A4 0x48 0x00
0x262A5 0x89 0x00
0x262A6 0xE5 0x00
0x262A7 0x41 0x00
0x262A8 0x57 0xC3

Sublime Merge (Build 1119)

For linux, will be updated soon.

Extras:

Monokai Pro For Sublime Text, VSCode & VSCodium
https://github.com/jrhax/mki_pro_ked

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