This is the launcher for open tibia servers. It installs the client in %appdata% so you'll find it at:
- Windows:
%appdata%/Slender
(C:\Users\{username}\AppData\Roaming\Slender
) - MacOS:
~/Library/Application Support/Slender
- Linux:
~/.config/Slender
It only installs what's in client.json
and asset.json
and only downloads files that need updating instead of a whole package. This makes it very fast and efficient. It also makes it so the client can receive updates without any risk of overriding user settings.
Note that these files are compatible with CIP's package.json
and assets.json
. If you're repacking a CIP client, you can use the same files, just rename package.json
to client.json
. We renamed it to avoid confusion with the node's package.json
(used elsewhere in the app).
The launcher itself also updates automatically, so you don't have to worry about it. All you need is to have the URL serving the launcher also have the following files alongside the client.
- Slender.mac (for MacOS) + Slender.mac.sha256
- Slender.exe (for Windows) + Slender.exe.sha256
- Slender (for Linux) + Slender.sha256
- Windows
- MacOS
- Linux
- Auto updater
- Auto updater for the launcher
- Auto updater for the game client
- Map downloader
- Settings page
- Enable/disable local client launcher
- Enable/disable test client updater
- Change game client path
- Server status
- News view
You'll have to modify some code to make it work for your server. The launcher is not ready to be used for any server, but it's easy to modify it.
Look for baseURL in main.go
and change it to a URL that can serve your game client. The client needs to be repacked in the correct format, you can use this client-editor to do that. Checkout https://github.com/luan/tibia-client for an example packed client.