Skip to content

mcw0933/CardHunterUtils

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CardHunterUtils

Deck manager and party builder utility for Card Hunter by Blue Manchu

What It Does

  • Complete listing of all items and cards in the game
  • Search and sort items by name, rarity, type, tokens, etc.
  • Import parties from the game/forum bbCode format (using partybbcode command)
  • Save/load parties
  • Generate an HTML view of item cards / all cards, for searching in card text

What It Looks Like

Party View

partyview

Item Search/Filter

filters

Item Card Inspector

itemcards

HTML Card Viewer

allcards

How To Run It

Grab the latest published cardhunterutils.jar file from our Card Hunter Forums thread. Get a fairly recent version of Java, if you don't have one already.

Mix lightly in a command prompt, separating ingredients with spaces ( ). Add the java first, followed by -jar. Finally, add the path to the downloaded cardhunterutils.jar file. Press enter and serve immediately.

We'll get builds published here on Github... you know, ... Real Soon Now.

ALSO: For the utmost in gorgeous card art, make sure you have a non-crappy version of the Garamond font installed. We highly recommend the beautiful Garamond No. 8, available as a free download here. This Garamond, on the other hand, is hella crappy. We warned you.

What's Happening Now

Check out the current issues list on the Github page, or check out the thread at the Card Hunter forums.

Can I Help?

Yup. See below for getting started as a developer.


Developer Setup

For Windows:

Follow the steps in this guide to get a Java development environment.

Note:

One small gotcha is that the Maven cmd, mvn, gets unhappy if the path you are running from has no spaces or is a drive root.

If you're planning to work in such a path as your dev folder, work around this by modifying the mvn.cmd file in %MAVEN_HOME%\bin\mvn.cmd as follows:

  1. Find the line that starts with

    %MAVEN_JAVA_EXE% %JVM_CONFIG_MAVEN_PROPS% %MAVEN_OPTS%

  2. Remove the quotes around

`"-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%"`

So that it becomes

`-Dmaven.multiModuleProjectDirectory=%MAVEN_PROJECTBASEDIR%`

For Mac OSX:

Install the latest Java JDK.

  1. Set your JAVA_HOME variable in your shell's rc file (e.g. .zshrc):

    export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_51.jdk/Contents/Home

    (Note your Java SDK version may be different)

  2. Install ant and maven via brew:

    brew install ant

    brew install maven

    (you may need to brew update before you do these)

  3. Set your MAVEN_HOME variable in your rc file as well:

    export MAVEN_HOME=/usr/local/Cellar/maven/3.3.3

(If you didn't install ant via homebrew, you will also need to set your ANT_HOME variable to wherever your manual ant install lives. For whatever reason, homebrew doesn't set it, because homebrew doesn't like that.

Confirming Environment

You should now be able to run the following:

echo %JAVA_HOME% (Win) or echo $JAVA_HOME (OSX)

ant -version

mvn -version

and see happy responses.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 86.0%
  • Java 12.8%
  • Other 1.2%