Europa Universalis 4 Wiki:JParser

From Europa Universalis 4 Wiki
Jump to navigation Jump to search

The JParser is a tool created by Meneth in order to extract information about EU4 from the game-files themselves and turn the information into a human-readable format. It is intended as a replacement for the Python Project:Parser. Currently there's full support for parsing event files. It does a far better job at this task than the Python Parser. At the time of writing the Python Parser has over 200 unlocalised tokens, while the JParser has none.

Setup[edit source]

  1. Download and extract the Parser. The full source code of the parser is also available here
  2. Edit the settings.txt file to point to your EU4 folder
  3. Run the run.bat file

If step 3 fails, you might need to download the latest version of Java.

Settings[edit source]

There's currently only a single setting:

  1. path: This should be set to the path to your EU4 folder. If not, the program will fail to run.

Feedback[edit source]

Any feedback related to the JParser can be posted on this page's Talk page. Any feedback is appreciated, regardless of whether it has to do with the code itself or simply the natural language output.