All Projects → TKasekamp → VickyWarAnalyzer

TKasekamp / VickyWarAnalyzer

Licence: MIT license
Victoria II war analyzer. Java 8 + JavaFX + Maven

Programming Languages

java
68154 projects - #9 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to VickyWarAnalyzer

lib-preferences
Lib-Preferences is a library for easy storing simple data to a Preferences.properties file in a Java(FX) & Maven desktop application.
Stars: ✭ 12 (-72.09%)
Mutual labels:  maven, javafx
Samples
JavaFX samples to run with different options and build tools
Stars: ✭ 352 (+718.6%)
Mutual labels:  maven, javafx
LogoRRR
A log viewer which visualises log events such that it is easy to identify problems or events of interest. This app was implemented using Scala and JavaFX, GluonHQ toolchain and GraalVM as platform.
Stars: ✭ 40 (-6.98%)
Mutual labels:  maven, javafx
Javafx Maven Plugin
Maven plugin for JavaFX
Stars: ✭ 764 (+1676.74%)
Mutual labels:  maven, javafx
Drombler Fx
Drombler FX - the modular application framework for JavaFX.
Stars: ✭ 52 (+20.93%)
Mutual labels:  maven, javafx
Azkar-App
Desktop Application 💻 for Calculating Muslim prayer times 🕌 , Morning and Nights Azkar 🤲 with notification for random Azkar that pops-up in specific time.
Stars: ✭ 64 (+48.84%)
Mutual labels:  maven, javafx
openjfx-docs
Getting started guide for JavaFX 11
Stars: ✭ 70 (+62.79%)
Mutual labels:  maven, javafx
Lib I18n
The library `Lib-I18N` allows a developer to bind a key-value pair of a `.properties` file to a [StringBinding]. This makes it very easy to change the language during runtime in a [JavaFX] application.
Stars: ✭ 40 (-6.98%)
Mutual labels:  maven, javafx
Hellojpro
Stars: ✭ 46 (+6.98%)
Mutual labels:  maven, javafx
Maven Jpackage Template
Sample project illustrating building nice, small cross-platform JavaFX-based desktop apps with native installers while still using the standard Maven dependency system.
Stars: ✭ 74 (+72.09%)
Mutual labels:  maven, javafx
vic2 economy analyzer
Victoria 2 savegame economy analyzer, updated version
Stars: ✭ 44 (+2.33%)
Mutual labels:  maven, javafx
monorepo
Structure and workflows of our internal git-maven-monorepo
Stars: ✭ 16 (-62.79%)
Mutual labels:  maven
eksi
Eksi sözlük crawl,stat , api calismalari
Stars: ✭ 25 (-41.86%)
Mutual labels:  maven
tqrespec
TQRespec - The respec tool for Titan Quest game
Stars: ✭ 59 (+37.21%)
Mutual labels:  javafx
Brutal-wordlist-Generator
Brutal Wordlist Generator is a java based Application software used to generate the wordlist with best of UX interface
Stars: ✭ 24 (-44.19%)
Mutual labels:  javafx
Desktop-Applications-JavaFX
JavaFX Open Source Projects
Stars: ✭ 69 (+60.47%)
Mutual labels:  javafx
LocaleLib
Show translated names of items, entities & more in client's language
Stars: ✭ 34 (-20.93%)
Mutual labels:  maven
SeleniumDemo
Selenium automation test framework
Stars: ✭ 84 (+95.35%)
Mutual labels:  maven
basepom
All the base POMs in the world.
Stars: ✭ 35 (-18.6%)
Mutual labels:  maven
InvMan
Open source JavaFX inventory management application
Stars: ✭ 40 (-6.98%)
Mutual labels:  javafx

Victoria II war analyzer

Or the full name Victoria II save game war analyzer. Naming stuff is hard.

Paradox forum thread: link

Download links

  • Version 1.0.1 that works with Java 7 link
  • New version 1.2.1 that works with Java 8 link
  • Or you can look inside the dist folder for all the versions.

What is it

The analyzer reads the save game produced by Victoria II (it's a strategy game, look it up) and presents all the wars in a family-friendly way. The program retrieves all the data that can be retrieved from the save file, such as total losses in a war, all the battles, wargoals and the war participants.

Most of the counties have a flag with them. Originally I planned to find all of them from the Victori II directory, but it converting .svg to a format usable by JavaFX turned out to be too difficult.

This analyzer is NOT a fully-fledged save game analyzer. It does one thing and does it reasonably well.

Instructions

  1. Make sure you have Java 8 installed on your computer
  2. Run the jar file
  3. Specify the save game. Usually the save games are in C:\Users\USERNAME\Documents\Paradox Interactive\Victoria II\save games\
  4. Optionally you can point to the Victoria II install directory. The analyzer will retrieve the country names from there.
  5. Click "Read file" and see how terrible your wars have been.
  6. The analyzer will create a file called "paths.txt" in the jar directory. This stores the path to the last used save game directory.

Screenshots

All wars tab: alt text War details tab: alt text Battle details tab: alt text Wargoals tab: alt text

Bugs and limitations

  • The analyzer will produce many errors when it can't find the flag or the name for a country. Just ignore it.

  • When the player country has fought no wars then it's name will be a TAG even if localisation is used.

  • Some versions of Modern Age Mod produce save games that won't work with the analyzer. The newest versions should however work.

  • The analyzer will only show country names and flags for HoD vanilla countries.

Tools

Build process

If you really want to build your own version of this then go right ahead. I'm going to assume you know what Maven is and how to install it. You need to have Java 8.

  1. Download this repository
  2. Run mvn install in the base directory. Everything should install without problems.
  3. Run mvn jfx:jar to compile it into a jar. The result an be found in target/jfx/app.
  4. Use mvn eclipse:eclipse to generate the project files for Eclipse. You might also need the m2e Eclipse plugin.

Code

The UI design was made by me and with Java 7 it looked fine. With Java 8 it doesn't. Thanks, Oracle. Due to this, some words will be hidden and some tables will have empty columns.

The internal architecture is horrible and should be rebuilt from the ground up. Also, most comments are now outdated.

About

This project was my first big Java project. I started working on it in April 2013 and released it in the Paradox forums. Then I forgot (or avoided) this project because I the code was so horrible. But around 1500 people downloaded it from the Paradox forums, so that was nice.

The save game is read in by a hand-made parser. Suprisingly, it works.

In April 2015 I finally got around to making it work with Java 8. I replaced the mostly static variables with object-oriented programming. I also replaced the Ant build with Maven.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].