Python3 SWBF2ModLoader.py '/path/to/Star Wars Battlefront II/GameData/addon/' Just download the SWBF2ModLoader.py file.
It renames the addme.script file in the mod folder to (de)activate them. It automatically recognizes the name of the mod by its folder name (nearly every mod from, 166 at the moment).
An unofficial mod loader for Star Wars: Battlefront II that runs natively on GNU/Linux, macOS and *BSD.