Skip to content

How do I use this?

spasskopf edited this page Jul 13, 2021 · 1 revision

Usage

Standalone jar

Run the jar file via the command line (cmd on Windows, terminal on Linux / Apple / Mac) Example: java -jar dimensionfinder-1.1-all.jar

Make sure to use the correct version of java.
There are always two .jar Files in each release:

  • dimensionfinder-VERSION-all.jar for java > 15
  • dimensionfinder-VERSION-java8-all.jar for java > 8

Use the first one (java 15) unless that throws an exception that looks similar to this:

Exception in thread "main" java.lang.UnsupportedClassVersionError:
me/spasskopf/dimensionfinder/DimensionFinder has been compiled by a more recent version of the Java Runtime (class file version 59.0),
this version of the Java Runtime only recognizes class file versions up to 52.0

Console Arguments

Argument Required Description Example
-threads={num} yes Number of Threads you want to use -threads=16
-length={num} yes Length of the output text -length=6
-IDs={num1};{num2};… no (defaults to 1,2,3) What IDs you want to search for. Separated with ',' -IDs=1;2;3;4;5;6
-chars=characters no (defaults to lowercase alphabet + space + 0-9) The Characters the text can contain. NOTE: Can only be the LAST PARAMETER! Otherwise it would be difficult to separate characters/options -chars=abc123ABC

You don't have to pass all required arguments, the program will ask for them if necessary.

Edit the Code

  1. Clone this repository
  2. Open the project in your favorite editor / IDE
  3. Edit code (there are comments!)
  4. Run the gradle shadowJar task to build the jar
  5. Open an issue to tell me someone used this, because I don't think anyone is ever going to use this…
  6. Run the jar file (Scroll up for more information)
Clone this wiki locally