Page 1 of 1

AGMP — Auto Generate Mod Pack | Snapshot your mod list as a real Factorio mod

Posted: Mon Apr 27, 2026 1:41 pm
by Sold-tov
════════════════════════════════════════════════════════════

🇷🇺 Русский

AGMP — утилита, которая читает ваш mod-list.json и автоматически создаёт настоящий мод Factorio, содержащий все ваши активные моды в виде зависимостей.

Это снапшот вашего текущего набора модов — прямо внутри игры, без сторонних менеджеров.

Зачем?
AGMP создаёт снапшот внутри Factorio — в виде настоящего мода, который видно в меню модов. Включил — и все нужные моды активны.

Что делает:
— Читает активные моды из mod-list.json
— Создаёт папку мода с полной структурой (info.json, locale, changelog, settings)
— Нумерует снапшоты по дате: 2026-04-27_001_НазваниеМодпака
— Поддержка кириллицы в названии
— Исключает ранее созданные авто-моды из зависимостей
— Добавляет мод в mod-list.json как выключенный — не мешает текущей игре

Использование:
python AGMP.py
Введите имя автора и название модпака — готово.
Мод создаётся прямо в %APPDATA%\Factorio\mods\

Скачать: https://github.com/Sold-tov/AGMP
Также доступен .exe без необходимости устанавливать Python (см. Releases).

════════════════════════════════════════════════════════════

🇬🇧 English

AGMP (Auto Generate Mod Pack) is a utility that reads your mod-list.json and generates a real Factorio mod containing all your currently active mods as dependencies — a snapshot of your mod set, living inside the game itself.

Why bother?
Tools like ModMyFactory manage mods from outside the game. AGMP takes a different approach: it creates a snapshot as a proper Factorio mod, visible in the in-game mod menu. Enable it, and all required mods are guaranteed to be active.

What it does:
— Reads active mods from mod-list.json
— Generates a complete mod folder (info.json, locale, changelog, settings)
— Date-based automatic numbering: 2026-04-27_001_MyPackName
— Cyrillic mod name support (auto-transliterates to Latin)
— Previously generated auto-mods are excluded from dependencies
— New mod is added to mod-list.json as disabled — won't affect current game

Usage:
python AGMP.py
Enter author name and modpack name — done.
Mod folder is created directly in %APPDATA%\Factorio\mods\

Prebuilt .exe available in Releases — no Python required.

Download / Source: https://github.com/Sold-tov/AGMP

License: MIT

Re: AGMP — Auto Generate Mod Pack | Snapshot your mod list as a real Factorio mod

Posted: Mon Apr 27, 2026 10:21 pm
by pioruns

Code: Select all

$ echo $APPDATA

Your python script is hardcoded to only work on Windows, due to APPDATA variable usage. Please consider declaring directory differently, so that it works on Linux too.

Re: AGMP — Auto Generate Mod Pack | Snapshot your mod list as a real Factorio mod

Posted: Tue Apr 28, 2026 8:15 pm
by Sold-tov
Thanks for the feedback! You're absolutely right — the hardcoded %APPDATA% was a Windows-only oversight.

The script has been updated to auto-detect the correct mods directory based on the OS:

• Windows: %APPDATA%\Factorio\mods
• Linux: ~/.factorio/mods
• macOS: ~/Library/Application Support/factorio/mods

This is handled by a small helper function using sys.platform, so no manual configuration is needed. The updated version is available in the original post.

Re: AGMP — Auto Generate Mod Pack | Snapshot your mod list as a real Factorio mod

Posted: Wed Apr 29, 2026 7:29 am
by pioruns
Fantastic, thank you.