it no longer relies on batch files
version 2 relies on the registry
the registry data is as follows
To register a package do the following
append "YourModName," [WITH THE COMMA] to
Key:
String Variable:
ModListplease check if your mod is already installed so you don't double register it
add a new key
HKEY_LOCAL_MACHINE/Software/DMEN/FS2ModMan/YourModNamewith the following data
String Variable: Extension: contains the alternative extension for you files - ie when your mod is disabled the files will have their extension changed, and this is that extension - please be as unique as possible, as to not collide
examples: .uam "Unholy Alliance Mod", .dlm "Derelict Mod", .wzm "Warzone Mod"
Integer Variable: NumToggle: contains the number of files that are in the "toggle" list - files in the "toggle" list get renamed in activitation/deactivation VP that create name collisions and table files should be in the toggle list
Integer Variable: NumUninstal: contains the number of files your installed since all your files go into the uninstall list
then for each file in the toggle or uninstall lists there is a key
for the Toggle list it's
String Variable: Toggle#: where # is in the range 0 to NumToggle-1, the contents of the string is the aboslute path of the file on the harddrive [in the FreeSpace 2 Programmable installer does the absolute pathing auotmatically so it's correct on that person's system]
it's the same for the delete list except the Key name is Uninst# range 0 to NumUninstal-1
FreeSpace 2 Package Manager can save Mod Info files with the extension .fmi
it's a simple text file in the Following Format
ModName
NumUninstal
Uninst0
....
Uninst
NumToggle
Toggle0
...
ToggleN
extension
and example freshly exported from my registry
UnholyAlliance
7
C:\Games\FreeSpace2\UAMods.txt
C:\Games\FreeSpace2\UnholyAlliance.vp
C:\Games\FreeSpace2\data\tables\ships.tbl
C:\Games\FreeSpace2\data\tables\sounds.tbl
C:\Games\FreeSpace2\data\tables\stars.tbl
C:\Games\FreeSpace2\data\tables\weapon_expl.tbl
C:\Games\FreeSpace2\data\tables\weapons.tbl
6
C:\Games\FreeSpace2\UnholyAlliance.vp
C:\Games\FreeSpace2\data\tables\ships.tbl
C:\Games\FreeSpace2\data\tables\sounds.tbl
C:\Games\FreeSpace2\data\tables\stars.tbl
C:\Games\FreeSpace2\data\tables\weapon_expl.tbl
C:\Games\FreeSpace2\data\tables\weapons.tbl
uam
I didn't think anyone was actually using FS2PM so i stopped making revisions, but if you're acting going to use it I will implement more features for you
[edit]
oh yeah, it's designed for three-letter extensions, on VPs it actually kabongs the . when it's in toggled-off