This project is a HotA.dat parser written in Java. It can export the entries into separate, editable files and merge them together when creating a new .dat file.
Always make a backup before you replace your HotA.dat file with the one this program created. Things can go wrong, so be safe.
This program requires Java 8 or newer.
Double-clicking the .jar file opens a basic gui where you can edit the entries in the HotA.dat on the fly. If you wish to rather use it as a command-line tool, place the HotA.dat you want as you base file into the res folder and run it with java -jar HDATParser.jar <option> [option-args] [--charset-flag]. The options are:
- -E
- exports all files found into export/files/ and creates a FileList.txt
- -e "list, of, files"
- exports the list of files passed into export/ModFiles/ and creates a ModList.txt
- -W
- writes a new .dat file containing all files in the FileList.txt to export/output.dat
- -m or -w
- merges the entries in the HotA.dat with the files listed in ModList.txt and writes a new .dat file to export/output.dat
- --c
- sets the charset to the Polish language compliant Windows-1250
The HotA.dat file will not be modified. Sample .bat files are provided in the release.
If you are using the Polish language for HotA, set the encoding to Windows-1250, else leave it as it is (Windows-1251)!
This project was inspired by sake12/HotA-editor.
https://github.com/Karyoplasma/JavaHotADatParser/releases/latest