Skip to content

CRLauncher/CRLoader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CRLoader

CRLoader is a Java agent that replaces some code at runtime enabling the user to change location of Cosmic Reach's files

Quick start

You can either download a prebuilt jar from Releases page, or, build it yourself. To build CRLoader you need at least JDK 17 and Apache Maven:

git clone https://github.com/CRLauncher/CRLoader
cd CRLauncher
mvn clean package

Usage

You use CRLoader like the following:

java -Dcrloader.saveDirPath=<Desired location of Cosmic Reach files> -javaagent:<path to your CRLoader.jar> -jar <Cosmic Reach jar>

Example:

java -Dcrloader.saveDirPath=C:\Users\User\Documents\CosmicReach -javaagent:CRLoader-0.1.5.jar "Cosmic Reach-0.1.57.jar"

You can also set initial window title with crloader.windowTitle system property.