Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xrce/sublie
How to patch Sublime Text
https://github.com/xrce/sublie
hexedit patches sublime sublime-text
Last synced: 7 days ago
JSON representation
How to patch Sublime Text
- Host: GitHub
- URL: https://github.com/xrce/sublie
- Owner: xrce
- Created: 2023-02-19T16:50:10.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-11T08:33:15.000Z (6 months ago)
- Last Synced: 2025-01-09T19:43:49.850Z (14 days ago)
- Topics: hexedit, patches, sublime, sublime-text
- Language: Python
- Homepage:
- Size: 11.7 KB
- Stars: 57
- Watchers: 2
- Forks: 14
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
```
It's called sublie cause you're lying about unlimited user license
```Install Sublime Text
## Windows
1. Download [Sublime Text](https://www.sublimetext.com/download_thanks?target=win-x64)
2. Open installer file
3. Select destination location, then click Next
4. You can add Sublime Text to explorer context menu, just check it then click Next
5. After installation succedded, click Finish## Linux
**Apt**
The apt repository contains packages for both x86-64 and arm64.
1. Install the GPG key:
```
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/sublimehq-archive.gpg > /dev/null
```2. Select the channel to use:
**Stable**
```
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
```**Dev**
```
echo "deb https://download.sublimetext.com/ apt/dev/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
```
3. Update apt sources and install Sublime Text:```
sudo apt-get update
sudo apt-get install sublime-text
```**Pacman**
1. Install the GPG key:
```
curl -O https://download.sublimetext.com/sublimehq-pub.gpg && sudo pacman-key --add sublimehq-pub.gpg && sudo pacman-key --lsign-key 8A8F901A && rm sublimehq-pub.gpg
```2. Select the channel to use:
**Stable x86_64**
```
echo -e "\n[sublime-text]\nServer = https://download.sublimetext.com/arch/stable/x86_64" | sudo tee -a /etc/pacman.conf
```**Dev x86_64**
```
echo -e "\n[sublime-text]\nServer = https://download.sublimetext.com/arch/dev/x86_64" | sudo tee -a /etc/pacman.conf
```**Stable aarch64**
```
echo -e "\n[sublime-text]\nServer = https://download.sublimetext.com/arch/stable/aarch64" | sudo tee -a /etc/pacman.conf
```**Dev aarch64**
```
echo -e "\n[sublime-text]\nServer = https://download.sublimetext.com/arch/dev/aarch64" | sudo tee -a /etc/pacman.conf
```3. Update pacman and install Sublime Text:
```
sudo pacman -Syu sublime-text
```**Yum**
1. Install the GPG key:
```
sudo rpm -v --import https://download.sublimetext.com/sublimehq-rpm-pub.gpg
```2. Select the channel to use:
**Stable**
```
sudo yum-config-manager --add-repo https://download.sublimetext.com/rpm/stable/x86_64/sublime-text.repo
```**Dev**
```
sudo yum-config-manager --add-repo https://download.sublimetext.com/rpm/dev/x86_64/sublime-text.repo
```
3. Update yum and install Sublime Text:```
sudo yum install sublime-text
```**Dnf**
1. Install the GPG key:
```
sudo rpm -v --import https://download.sublimetext.com/sublimehq-rpm-pub.gpg
```2. Select the channel to use:
**Stable**
```
sudo dnf config-manager --add-repo https://download.sublimetext.com/rpm/stable/x86_64/sublime-text.repo
```**Dev**
```
sudo dnf config-manager --add-repo https://download.sublimetext.com/rpm/dev/x86_64/sublime-text.repo
```
3. Update dnf and install Sublime Text:```
sudo dnf install sublime-text
```**Zypper**
1. Install the GPG key:
```
sudo rpm -v --import https://download.sublimetext.com/sublimehq-rpm-pub.gpg
```2. Select the channel to use:
**Stable**
```
sudo zypper addrepo -g -f https://download.sublimetext.com/rpm/stable/x86_64/sublime-text.repo
```**Dev**
```
sudo zypper addrepo -g -f https://download.sublimetext.com/rpm/dev/x86_64/sublime-text.repo
```
3. Update zypper and install Sublime Text:```
sudo zypper install sublime-text
```## MacOS
1. Download [Sublime Text](https://www.sublimetext.com/download_thanks?target=mac)
2. Extract downloaded file
3. Drag Sublime Text.app into your Applications folderPatch Sublime Text
## Patch Automatically
You can use ```patcher.py``` for replacing hex if you want
**Usage :**
```
python patcher.py -i -o
```
**Example :**
```
python patcher.py -i sublime_text.exe -o sublime_text.exe
```
```
python patcher.py -i sublime_text
```## Patch Manually
1. Go to [HexEd.it](https://hexed.it/)
2. Click Open file, then put executable file of Sublime Text
**Windows**
```
C:\Program Files\Sublime Text\sublime_text.exe
```**Linux**
```
/opt/sublime_text/sublime_text
```**MacOS**
```
/Applications/Sublime Text.app/Contents/MacOS/sublime_text
```3. Search `80 78 05 00 0F 94 C1` in Search for
4. Click Find Next
5. Overwrite it to `C6 40 05 01 48 85 C9` as Hexadecimal Values
6. After that click Save as, rename it to same as Sublime Text executable file
7. Backup old file, then move modified file to Sublime Text directory> For newer version like `4180`, search for `80 79 05 00 0F 94 C2` then replace with `C6 41 05 01 B2 00 90`