A script that makes shortcuts for BF2 mods which often are using custom .bat files to run game with mod path and screen arguments. It simplifies shortcut creation for users since they just run script and icon appears on their desktop. It is Visual Basic Script so works only on Windows machines.
HOW TO GET IT WORKING
() Steps are not mandatory.
-
For Users:
- Unpack .zip archive.
- Follow the mods direction and copy BF2 MSC.vbs.
- Paste it in desired mod folder in the path of your instalation.
Default path looks like this: "C:\Program Files\EA GAMES\Battlefield 2\mods"
- Run it and proceed with your choice.
- (For the repeated choices you need to open script again, for now at least)
-
For Developers:
- Do same as aforementioned in step 1,2 and 3.
- (Create custom icon named parentfoldername.ico and custom argument config named parentfoldername.arg in your mod parent folder. The .arg file should contain prefered arguments that you want the shortcut to be run with eg. "+fullscreen 1". Do not place space on the beginning of a string in the config file. Write the arguments as you would normaly do eg. "+fullscreen 0 +szx 1600 +szy 900", ommit quotations of course.)
- Retain those files in your package if you want the users to create shortcuts with it.
ADDITIONAL INFO
Script automaticaly finds path from which it was started and uses that information to set working parameters such as Mod name or search for provided files like Mod.ico, Mod.arg. This allows for fast and easy customization compared to .bat links or manually creating shortcuts for each mod. Script also eliminates the need of user input aside from running it.
Don't mind crappy icons made by me just for testing.
CHANGELOG
27/02/2020 (A01)
- Some misspellings were corrected.
- String "+fullscreen 0 +szx 1600 +szy 900" was added as a default argument for windowed mode. No mod.arg is needed anymore for Users to copy. However developer .arg will be prioritized over default config.
- Added popup indicating config used for windowed mode (Mod provider .arg or Default).
HOW IT LOOKS LIKE
This is the first popup screen where you make choice.
Its either default (YES) and it creates shortcut
with no additional arguments except modpath.
Choosing (NO) will perform custom shortcut creation
that includes provided arguments in config.
Simple Mode.
Windowed Mode Developer.
With the arguments from mod.arg shown.
Windowed Mode Default.
If you like it and find it usefull let me and others know. Leave a comment or rate the BF 2 MSC. Hope it helps!
Thanks, Pro! Very useful upload!
Really usefull incase switching directory