I'm often playing around with paksets and pakset addons. The problem is, while it's not exactly hard to install paksets and their addons, uninstalling addons is non-trivial since it's hard to know which files belong to the main pakset or what addon.
To make this easier, I wrote a little command line tool. This tool should be considered early alpha
and may cause loss of files
on your local file system.
It's written in Python (version 3, should work on 2.7 as well but wasn't tested) and can be installed with pip
: pip install modman
Once installed, run it using modman
. Not giving it any options should show you how to use it, but to get yourself started quicker, here's an example workflow:
modman add game simutrans /path/to/my/simutrans/installation/ # configure modman to know the game named 'simutrans' is at '/path/to/my/simutrans/installation/'
modman add mod pak128.japan http://pak128.jpn.org/souko/pak128.japan.112.0b.cab # tell modman where the mod 'pak128.japan' can be downloaded from
modman add mod pak128.japan-keikyu http://pak128.jpn.org/souko/addon_keikyuu.cab modman.contrib.simutrans.pak_addon pak128.japan # tell modman where the mod 'pak128.japan-keikyu' can be found, and to install it using the pak_addon installer with the argument 'pak128.japan'
modman install test pak128.japan # install pak128.japanmodman install test pak128.japan-keikyu # install pak128.japan-keikyu
# play some simutrans
modman uninstall test pak128.japan-keikyu # remove pak128.japan-keikyu
The important bit is that if you're installing a sub-addon, you should use the installer modman.contrib.simutrans.pak_addon
with the pakset name as installer option.
Would love to get some feedback, and enjoy simutrans!