converts old file formats to new ones. the package type is detected from its files:

typedetected byconf file
gamegame.confgame.conf
modpackmodpack.conf or modpack.txtmodpack.conf
modmod.conf or init.luamod.conf
texture packtexture_pack.conftexture_pack.conf

for all types:

  • description.txt is moved into the description of the conf file
  • locale/*.tr translations are converted to locale/*.po

additionally:

  • mods: depends.txt is moved into depends and optional_depends of mod.conf. if a mod has no mod.conf, one is created with name set to the folder name
  • modpacks: modpack.txt is replaced by modpack.conf

if an old file doesn’t match what’s already in the conf file, nothing is changed and an error is reported.