https://github.com/opentibiabr/client-editor
Patch Programmatically Tibia 11+ with OTServ RSA and Custom WebService URL
https://github.com/opentibiabr/client-editor
ipchanger opentibia opentibiabr otserv tibia
Last synced: 25 days ago
JSON representation
Patch Programmatically Tibia 11+ with OTServ RSA and Custom WebService URL
- Host: GitHub
- URL: https://github.com/opentibiabr/client-editor
- Owner: opentibiabr
- License: gpl-3.0
- Created: 2019-07-07T03:25:05.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2024-08-12T18:07:14.000Z (over 1 year ago)
- Last Synced: 2024-08-12T21:03:54.484Z (over 1 year ago)
- Topics: ipchanger, opentibia, opentibiabr, otserv, tibia
- Language: Go
- Homepage:
- Size: 53.7 KB
- Stars: 32
- Watchers: 6
- Forks: 19
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# client-editor
## Usage
### Edit client
Edit or make a `config.toml` with all the URLs you want to change, there's an example one in `config.toml.dist`.
```bash
# Windows
.\client-editor.exe edit -t -c config.toml
# Unix
./client-editor edit -t -c config.toml
```
For a local client using [SlenderAAC](https://github.com/luan/slenderaac) you can use `local.toml` as a base.
```bash
# Windows
.\client-editor.exe edit -t -c local.toml
# Unix
./client-editor edit -t -c local.toml
```
### Repack client
Repack an existing tibia client for [use with slender-launcher](https://github.com/luan/slender-launcher). Repack requires a `client..json` and `assets..json` for each of the platforms you want to repack. Check out https://github.com/luan/tibia-client for an example.
```bash
# Windows
.\client-editor.exe repack -s C:\Games\Tibia-windows -d C:\Users\YourName\src\tibia-client -p windows
.\client-editor.exe repack -s C:\Games\Tibia-mac -d C:\Users\YourName\src\tibia-client -p mac
.\client-editor.exe repack -s C:\Games\Tibia-linux -d C:\Users\YourName\src\tibia-client -p linux
# Unix
./client-editor repack -s ~/Games/Tibia-windows -d ~/src/tibia-client -p windows
./client-editor repack -s ~/Games/Tibia-mac -d ~/src/tibia-client -p mac
./client-editor repack -s ~/Games/Tibia-linux -d ~/src/tibia-client -p linux
```
### Editing appearances.dat
Sometimes all you want is make that one item house-wrappable. Or add use-with to something. But you don't want to have to load up asset editor since it's heavy and has a lot more features. You can use client-editor to edit appearances.dat directly.
```bash
# Windows
.\client-editor.exe appearances -a appearances.dat -c config.toml
# Unix
./client-editor appearances -a appearances.dat -c config.toml
```
It'll write a appearances.out.dat file with the changes. You can then copy that over to your client and to the canary `data/items/` folder to have your changes applied.
### Compiled Releases (Windows/Mac/Linux)
https://github.com/opentibiabr/client-editor/releases
### How to Compile
Requirements: golang 1.8+
```bash
$ make build
```