/RxLauncher-Rust

[WIP] Launcher for Renegade-X (Not Electron)

Primary LanguageRustGNU General Public License v3.0GPL-3.0

RenegadeX Launcher

Note: The source code for this launcher is for an alternative launcher that was never finished. Due to other circumstances, the electron launcher was rushed into service.

screenshot

Makes use of the following dependencies of the same developer (SonnyX):

RenegadeX-patcher-lib

xDelta-decoder

Download-Async

UnZip

RunAs

Front-end development tools

sciter-js contains a few integral files for the development of sciter-related products (e.g. the launcher) The important ones are:

  • sciter.dll this file is used by the launcher to run the front-end.
  • inspector.exe this file can act like a dom-inspector (like F12 in Chrome/Firefox), to use it, place inspector.exe inside of the pre-compiled launcher folder, and open inspector.exe along with RenegadeX Launcher.exe, press ctrl+shift+i or ctrl+shift+left-click to select an element.
  • usciter.exe this can open a htm(l) file and thus render things like sciter does, useful for development.

Compilation Instructions

Windows

Cross-Compiling relies on Docker, make sure to have it installed!

cargo install cross

To compile for windows:

./package-windows.sh

Linux

Native build-requirements for Arch based systems:

sudo pacman -Syu cmake gcc pkgconf wget openssl

Build commands:

cargo update
cargo build --release

Run commands for Linux: Download Sciter from https://github.com/c-smile/sciter-js-sdk/ and add the path to $SCITER_PATH

export PATH=$PATH:$SCITER_PATH/bin/linux/x64
cargo run --release