Skip to content
This repository has been archived by the owner on Oct 13, 2020. It is now read-only.

A simple software for Planet Coaster translators that merge the old translation file with the new one.

License

Notifications You must be signed in to change notification settings

ScrappyCocco/PlanetCoasterXMLMerge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

planet coaster icon Build Status codecov Number of Bugs

Planet Coaster XML Merge

This is a small software for Planet Coaster translators that merge the old xml translation file with the new xml. (Leaving the translated sentences). You can use it too for checking duplicates or to print some values to a text file.

The program can easily be modified if you need to merge a completely different type of XML file.

Getting Started

These instructions will get you a copy of the program for development and testing purposes, you can edit it as you want or just use it for Planet Coaster XML files.

Prerequisites (How to edit or rebuild the software)

To execute this program you need Java, you can download Java from here.

If you want to re-compile the program, you need the JDK, you can download it from here and also Maven, you can get it from here.

Documentation

All the code documentation of the program is available as Javadoc, you can read it here.

Build and run the program

To run the program you can re-compile it and install it with this command:

mvn package install

(The project build has been moved to Maven, if you want to build it with JDK you'll need the jars files listed in "Build using" and to use the classpath. Considering how easy is to build with Maven, i suggest you to use it if you want to recompile the program.)

Download the program

You can download the last program release here.

Using the program

The program is really easy to use: once you started it you have to choose:

Once you have chosen your files you can press "Process" and wait a couple of seconds until the final file (Called Final.xml) appear! The program may write another file called "StringLoss.txt", this file contains the sentences in the old file that aren't present in the new file and that have been removed.

To check for duplicates just select a file and click the button, this will create a txt file if duplicates are found.

Please report any bug, the program may not be perfect.

Built Using

Authors

  • Franccc - Special Thanks to my friend Franccc for the initial code.
  • ScrappyCocco - The rest of the work (GUI and code optimizations)

License

This project is licensed under the MIT License - see the LICENSE.md file for details