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

https://github.com/kralamoure/retroproxy

A reverse proxy for login and game servers of Dofus Retro.
https://github.com/kralamoure/retroproxy

dofus dofusretro go golang

Last synced: 7 months ago
JSON representation

A reverse proxy for login and game servers of Dofus Retro.

Awesome Lists containing this project

README

          

# retroproxy

`retroproxy` is a reverse proxy for login and game servers of Dofus Retro.

[![Go Reference](https://pkg.go.dev/badge/github.com/kralamoure/retroproxy.svg)](https://pkg.go.dev/github.com/kralamoure/retroproxy)
[![CI](https://github.com/kralamoure/retroproxy/actions/workflows/ci.yml/badge.svg)](https://github.com/kralamoure/retroproxy/actions/workflows/ci.yml)

- [Build](#build)
- [Installation](#installation)
- [Usage](#usage)
- [Printing usage help](#printing-usage-help)
- [Starting the proxy](#starting-the-proxy)
- [Connecting to the proxy](#connecting-to-the-proxy)

## Build

```sh
git clone https://github.com/kralamoure/retroproxy
cd retroproxy
go build ./cmd/retroproxy
```

## Installation

Copy [config.xml](assets/config.xml) to the directory where Dofus Retro is installed
(e.g. `…/Ankama/Retro/resources/app/retroclient/config.xml`),
replacing the original one.

## Usage

### Printing usage help

```sh
docker run --rm ghcr.io/kralamoure/retroproxy:latest --help
```

Output:

```text
Usage of retroproxy:
-d, --debug Enable debug mode
-s, --server string Dofus login server address (default "dofusretro-co-production.ankama-games.com:443")
-l, --login string Dofus login proxy listener address (default "0.0.0.0:5555")
-g, --game string Dofus game proxy listener address (default "0.0.0.0:5556")
-p, --public string Dofus game proxy public address (default "127.0.0.1:5556")
-a, --admin Force admin mode on the client
```

### Starting the proxy

```sh
docker run --name retroproxy -p 5555-5556:5555-5556 -d ghcr.io/kralamoure/retroproxy:latest
```

### Connecting to the proxy

1. Go to Dofus Retro in the Ankama Launcher and press the `Play` button.
![Dofus Retro in Ankama Launcher](assets/images/launcher.png)
2. After Dofus Retro has launched, select the `With Launcher` → `Local` configuration and press the `OK` button.
![Configuration screen of Dofus Retro](assets/images/configuration.png)