Git Product home page Git Product logo

client-launcher's Introduction

ProTanki Client Launcher

Discord

Launcher allows to start the ProTanki official client with the chainloader to connect to custom game and resource server.

Usage

Video tutorial is available.

Creating client profile

First, you need to create a client profile. Client profile contains chainloader and application description (for Adobe AIR).

Application ID have to be unique for each started client. Default is ProTanki-${CRC32(root)}

java -jar launcher.jar create ./my-profile

# Specify display name
java -jar launcher.jar create ./my-profile --name "My Profile"

# Specify custom application ID for Adobe AIR
java -jar launcher.jar create ./my-profile --id "ProTanki-12345"

Editing client profile

You can set settings for the client profile.

java -jar launcher.jar edit ./my-profile \
  --runtime air \
  --runtime-executable "Path/to/Adobe/AIR/bin/adl" \
  --chainloader "Path/to/chainloader.swf" \
  --game-library "Path/to/library.swf"
  
# Set default game and resource servers
java -jar launcher.jar edit ./my-profile \
  --game-server "game.example.org:1337" \
  --resource-server "https://resources.example.org"

Running client

java -jar launcher.jar run ./my-profile

You can also override client profile settings:

java -jar launcher.jar run ./my-profile \
  --game-server "game.example.org:1337" \
  --resource-server "https://resources.example.org"

Runtimes

You can choose between Adobe AIR and Flash Player to use for the client.

To use Adobe AIR, you need to specify the path to the adl executable in the --runtime-executable option.

To use Flash Player, you need to specify the path to the flashplayer executable in the --runtime-executable option.

# 'run' command can be used instead of 'edit'

java -jar launcher.jar edit ./my-profile \
  --runtime air \
  --runtime-executable "Path/to/Adobe/AIR/bin/adl"

java -jar launcher.jar edit ./my-profile \
  --runtime flashplayer \
  --runtime-executable "Path/to/Adobe/FlashPlayer/flashplayer"

Download

Prebuilt binaries are available at GitHub Releases.

Building

Build instructions available in building.md.

client-launcher's People

Contributors

assasans avatar c6oi avatar

Stargazers

 avatar  avatar  avatar  avatar

client-launcher's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.