Sublime Patcher


Compatibility

With this tool you can register and activate any copies and builds of Sublime Text 3.
It is compatible with Windows, MacOS and Linux from the moment you have Python 3 installed.

2020 Update: Use VS Code bro.

Build Platform(s)
3170 MacOS, Windows x64, Linux x64
3143 MacOS, Windows x64
3126 MacOS, Windows x86, Windows x64, Linux x86, Linux x64
3124 MacOS, Windows x86, Linux x86
3114 MacOS, Windows x86, Windows x64, Linux x86, Linux x64
3107 MacOS, Windows x86, Windows x64, Linux x86, Linux x64
3083 MacOS, Windows x86, Windows x64, Linux x86, Linux x64

Requirements

It all depends on what you want: graphical user interface or simply command line interface.
For CLI mode:
    • Python 3
For GUI mode
    • Python 3
    • Appjar


Installation

$ pip install appjar

(Only used in GUI mode.)
Copy patch.py on your computer.


Usage

For the GUI : 
Be sure to close Sublime Text 3, select the executable of Sublime Text 3 and be sure to choose the right version/architecture informations.
Then click on Register to register or Unregister to unregister your copy.
And for the CLI:

$ py patch.py --help
    usage: patch.py [-h] [-i sublime_text] [-v build number] [-a arch] [-o os] [-u]

    Sublime Patcher

    optional arguments:
        -h, --help show this help message and exit
        -c, --compatibility Displays supported platforms
        -i sublime_text, --input sublime_text Sublime Text 3 executable file
        -v build number, --version build number Sublime Text 3 build number
        -a arch, --arch arch Architecture
        -o os, --os os Operating system
        -u, --unregister Un-register Sublime Text 3

For example if i want to register my copy of Sublime Text 3 build 3170 on Windows 10 x64 i'll use:

$ python patch.py -i "D:\Program Files\Sublime Text 3\sublime_text.exe" -v 3170 -a x64 -o win
    [Sublime Patcher] [INFO]: D:\Program Files\Sublime Text 3\sublime_text.exe
    [Sublime Patcher] [DBUG]: Version: 3170 | Arch: x64 | Sys: winx64
    [Sublime Patcher] [INFO]: Sublime Text 3 - Build 3170 - has been registered.

In fact --os is not needed. Your OS is automatically detected, but if you want to patch a file for another OS it might be useful.


Common issues

[Sublime Patcher] [FAIL]: [Errno 13] Permission denied: 'C:\\Path\\To\\sublime_text.exe'

Permission error :
Be sure to close Sublime Text 3 before patching. If the error persists, start the patch in administrator mode.

[Sublime Patcher] [FAIL]: 'winx86'

Compatibility error :
Run patch.py -c or click on Compatibility to check if your version is supported.


Downloads

You can download the latest script version.
 VERSION 1.0   VERSION 2.0   VERSION 3.0