Changelog Tools

by adamius
Changelog parser rule checker tool. Only useful for those writing mods. Requires a recent Python 2.x or 3.x from www.python.org
a month ago
0.17
53
Owner: adamius
Source: N/A
Homepage: https://forums.factorio.com/viewtopic...
License: MIT
Created: a month ago
Latest Version: 0.0.13 (a month ago)
Factorio version: 0.17
Downloaded: 53 times

Python script with my (incomplete) understanding of the the Factorio changelog parser rules. Probably not useful for general players. Might contain unexpected bugs.

IMPORTANT NOTE: This is not executable from within Factorio! I'm releasing it as a mod for simpler distribution.

Requires a recent Python 3.x from www.python.org OR a recent Python 2.x.

STILL IN DEVELOPMENT - The tool does not modify files nor currently delete its temporary files (created using mkdtemp).

Quickstart after installing the mod from the portal
0) make sure python 3 is installed. It is downloadable from python.org. I recommend the 64bit version.
1) go to your factorio mods folder
2) expand the da-changelog-tools zip file in that folder.
3) in the da-changelog-tools folder, double click the check-changelogs.cmd file
4) the text window will evaluate all mods and produce a report.

Notes:

To really use this mod, you need to open a terminal in the folder where you extracted the zip file. Then you can actually call the python script with command line parameters.

check a mods folder somewhere
changelog-checker.py --mods-folder C:\Users\adamius\AppData\Roaming\Factorio\mods

check a particular text file
changelog-checker.py --changelog C:\Users\adamius\AppData\Roaming\Factorio\mods\da-changelog-tools_0.0.5\changelog.txt

check a folder full of mods somewhere else
changelog-checker.py --mods-folder d:\factorio\devel\mods

You may need to put python in front of "changelog-checker.py" or on some systems you may need to use python3 instead.

eg more examples (each line is a separate example)
python changelog-checker.py --changelog C:\Users\adamius\AppData\Roaming\Factorio\mods\da-changelog-tools_0.0.5\changelog.txt

python changelog-checker.py --mods-folder C:\Users\adamius\AppData\Roaming\Factorio\mods

python changelog-checker.py --changelog changelog.txt

Obviously you'll need to swap out my username if you want to use the similar full path on your system.