The JSGME "Generic Mod Enabler", for use when the plugin manager is a no-no (IE LUV).

The place to discuss scripting and game modifications for X³: Terran Conflict and X³: Albion Prelude.

Moderators: Moderators for English X Forum, Scripting / Modding Moderators

Post Reply
Posts: 13
Joined: Tue, 16. Feb 16, 13:43

The JSGME "Generic Mod Enabler", for use when the plugin manager is a no-no (IE LUV).

Post by RoflCopter4 » Wed, 24. Feb 16, 23:50

As far as I can tell nobody has posted this before, and in the off chance anyone finds it useful I figured I'd just put it here. Firstly though, let me make it clear that THIS IS NOT MY WORK AND I TAKE ABSOLUTELY NO CREDIT FOR IT WHATSOEVER. I'm not sure exactly who made it, but it is called the "Jonesoft Generic Mod Enabler", so presumably a guy/team named Jonesoft made it at some point.

It's not particularly popular, only a few modding communities have really embraced it for a few reasons, but I think it could be useful here. This is primarily because this is a very "stupid" program. It's basically an automated, archiving copy paste front-end. You just drop the exe in your root folder, make a "MODS" directory in the same place, put your desired mods into that directory, and run the program. The mods must be in their own directory within the mods directory (name those directories whatever you wish - preferably the name of the mod), and make sure that the files within are not zipped and are set up explicitly where they must go. If you want to install a script mod for AP named "MyExampleMod", then the setup should look like:

Code: Select all

and within that folder should be:

Code: Select all

It's important that they be within "addons", because when you run the program and enable the mod all it will do is copypaste everything within that folder to the root directory of your game, so if you forget to put them in "addons" it will go into your TC scripts and t folders. Alternatively you could put JSGME.exe into your addons folder directly and not bother. It's up to you. It's flexible like that. You may also want to delete any various readme or changefile files that were bundled with the mod, or put them in a "documents" folder or something to prevent a flood of random text files in your game directory.

Furthermore, and the reason why this is useful, is that when enabling a mod it will make a record of all the files being copied and where they went, and will back up any files that are overwritten. If you want to remove the mod you just tell JSMGE to do so and it will delete the files and restore the originals if applicable. This is similar to what the plugin manager does, but as I mentioned it is much "stupider". It does only this and nothing more. You do not have to worry about what kinds of nasty things it might be doing to your Litcube's Universe install. It's simply a more convenient way to keep track of what scripts you may have installed and make it easier to remove them if desired. I've seen a few script packages with bundled .bat files that aid in deleting their core files, so I know that at least someone somewhere may have a use for this, since this program basically does that, but does it better.

The other thing this program does is allow you to save preset loadouts of mods. If desired you could load a whole bunch of scripts into LUV with this thing, save that preset, and switch between that heavily modified LUV loadout and the default LUV loadout in one click. Or you could do it in 10 clicks by enabling each mod individually, since this feature is just a batch job for convenience.

Lastly, when you try to enable a mod that overwrites the files of a previously enabled mod, JSMGE will warn you of this. If you tell it to do so anyway it will overwrite the other mod's files (after backing them up of course). If you tell it not to overwrite them, the whole mod will not be enabled. This should not ever really happen in X3 since most of the time scripts from different mods have different names, but in some other games this is a very real problem. It's also a good way to keep track of patches.

I would not recommend using this for use with .cat and .dat files unless you know what you're doing. Remember that it is not smart enough to do any kind of "fake patching". It just copies things.

Here is the download:
It's a 7zip package, so if for some reason you don't have 7zip installed you can get it here:

Posts: 280
Joined: Sun, 27. Feb 05, 23:59

Post by Jonzac » Fri, 25. Mar 16, 03:34

I will say that I"ve used this for Silent Hunter ALOT and its really just that easy. Pretty sure it backs up original files if you want to pull the mod out as well.

Post Reply

Return to “X³: Terran Conflict / Albion Prelude - Scripts and Modding”