An open API service indexing awesome lists of open source software.

https://github.com/luan/slender-launcher


https://github.com/luan/slender-launcher

Last synced: 11 months ago
JSON representation

Awesome Lists containing this project

README

          

# Slender Launcher

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](https://github.com/luan/tibia-client).

- Slender.mac (for MacOS) + Slender.mac.sha256
- Slender.exe (for Windows) + Slender.exe.sha256
- Slender (for Linux) + Slender.sha256

## Features

- [x] Windows
- [x] MacOS
- [x] Linux
- [x] Auto updater
- [x] Auto updater for the launcher
- [x] Auto updater for the game client
- [x] Map downloader
- [x] Settings page
- [x] Enable/disable local client launcher
- [ ] Enable/disable test client updater
- [ ] Change game client path
- [ ] Server status
- [ ] News view

## How to use

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](https://github.com/opentibiabr/client-editor) to do that. Checkout https://github.com/luan/tibia-client for an example packed client.

## Screenshots

image

image

image

image

image