Editor for DayZ cfgeconomycore.xml type files. Built with Python and Flet.
Редактор файлов types для cfgeconomycore.xml в DayZ. Написан на Python с использованием Flet.
- Open
cfgeconomycore.xmlvia native file picker - Edit type files in a table UI with inline editing (nominal, lifetime, restock, min, quantmin, quantmax, cost, flags, category, usage, value)
- Create new type files — auto-registers in the CE block
- Delete type files — removes from config and disk
- Batch update — edit multiple types in one file at once
- Pagination & search for large type lists (supports
|for OR queries, e.g.AK101|AK74) - Cross-platform — native desktop builds for Windows and Linux
- Открытие
cfgeconomycore.xmlчерез нативный файловый диалог - Редактирование типов в таблице с inline-редактированием (nominal, lifetime, restock, min, quantmin, quantmax, cost, flags, category, usage, value)
- Создание новых файлов — авторегистрация в CE блоке
- Удаление файлов — удаление из конфига и с диска
- Пакетное обновление — редактирование нескольких типов в одном файле сразу
- Пагинация и поиск по большим спискам типов (поддержка
|для OR запросов, напримерAK101|AK74) - Кроссплатформенность — нативные сборки для Windows и Linux
Ванильный cfgeconomycore.xml не содержит CE блока. Редактор создаст его автоматически.
- Скачайте папку
mpmissions/<map_name>/с сервера себе на компьютер - Откройте приложение
- Выберите
mpmissions/<map_name>/cfgeconomycore.xml - В выпадающем списке файлов напишите
types.xml— он будет создан и подключён к CE блоку
Директория CE файлов — mpmissions/<map_name>/db/.
Vanilla cfgeconomycore.xml does not contain a CE block. The editor will create it automatically.
- Download
mpmissions/<map_name>/from your server - Open the app
- Select
mpmissions/<map_name>/cfgeconomycore.xml - Type
types.xmlin the file dropdown — it will be created and registered in the CE block
The CE files directory is mpmissions/<map_name>/db/.
You can create a new file with any name (e.g. my_mod_types.xml). If the file doesn't exist yet — it will be created with the standard XML template and automatically registered in the CE block. If the file already exists in the db/ folder — it will be connected to the config.
Можно создать новый файл с любым именем (например, my_mod_types.xml). Если файла нет — он создастся с стандартным XML-шаблоном и автоматически пропишется в CE блок. Если файл уже существует в папке db/ — он подключится в конфиг.
Point the editor to cfgeconomycore.xml. The editor reads the CE block, finds types.xml (or any other registered files), and loads them for editing.
Укажите путь к cfgeconomycore.xml. Редактор прочитает CE блок, найдёт types.xml (или другие зарегистрированные файлы) и загрузит их для редактирования.
Download the latest binary for your OS from the Releases page:
- Linux:
types_editor_linux - Windows:
types_editor_windows.exe
Make executable and run (Linux):
chmod +x types_editor_linux
./types_editor_linuxpip install uv
uv sync --group dev
uv run flet runСкачайте готовый бинарник для вашей ОС со страницы Releases:
- Linux:
types_editor_linux - Windows:
types_editor_windows.exe
Сделайте исполняемым и запустите (Linux):
chmod +x types_editor_linux
./types_editor_linuxpip install uv
uv sync --group dev
uv run flet run- Launch the app (double-click binary or
uv run flet run) - Click "Select cfgeconomycore.xml"
- Pick your server's config file
- Edit type files in the table — all changes are inline
- Click Save to persist changes
- Upload the modified files back to your server
- Запустите приложение (двойной клик по бинарнику или
uv run flet run) - Нажмите "Select cfgeconomycore.xml"
- Выберите конфиг вашего сервера
- Редактируйте типы в таблице — изменения применяются сразу
- Нажмите Save для сохранения
- Загрузите изменённые файлы обратно на сервер
uv run pytest tests/ -vtypes_editor/
├── src/
│ ├── main.py # Flet GUI application
│ ├── file_display.py # Type file table UI with inline editing
│ └── etree.py # XML parsing utilities
├── tests/
│ └── test_main.py # Tests
├── .github/workflows/
│ └── build.yml # CI: test, build, release
├── pyproject.toml
└── README.md
Licensed under the MIT License.