Skip to content

Patch Programmatically Tibia 11+ with OTServ RSA and Custom WebService URL

License

Notifications You must be signed in to change notification settings

opentibiabr/client-editor

Repository files navigation

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.

# Windows
.\client-editor.exe edit -t <tibia.exe location> -c config.toml

# Unix
./client-editor edit -t <tibia.exe location> -c config.toml

For a local client using SlenderAAC you can use local.toml as a base.

# Windows
.\client-editor.exe edit -t <tibia.exe location> -c local.toml

# Unix
./client-editor edit -t <tibia.exe location> -c local.toml

Repack client

Repack an existing tibia client for use with slender-launcher. Repack requires a client.<platform>.json and assets.<platform>.json for each of the platforms you want to repack. Check out https://github.com/luan/tibia-client for an example.

# 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.

# 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+

$ make build