Theater.lst update utility by Malc
Posted: 2007-02-16 13:35:37
Malc released lstupdate v1.0.2.2 theater.lst file editing utility.
Here is the readme
I have tested it and it works nicely. Its okay now as it reads the Falcon 4 path from the registry directly, also it neatly cleans the theater.lst for unecessary empty spaces.
Looks good, thanks for the utility Malc!
Download here - 12kb.
Here is the readme
Code: Select all
This program edits the theater.lst file in the current active F4 or AF directory.
Useage
..\lstupdate.exe [AF|F4] [+|-]description
[AF|F4]
Use AF to look for Allied Force installation
Use F4 to look for Falcon4 installation
[+|-]
Use + to add the description
Use - to remove the description
description
Describe the line to add or remove, e.g. panama\definitions\panama.tdf
Notes:
v1.0.2.2
- Fixed a bug where the commandline parameter was not being interpreted properly, resulting in a hang! Right royal f***-up this one. Am I trying to do too much with this...?
- Fixed a bug where similar lines would be deleted. For example, if you wanted to delete "europe\definitions\europe.tdf" and you had three entries - "..\europe.tdf", "..\europe2005.tdf", and "..\europe2010.tdf" - all three were deleted at once. While in practice this might not be a problem per se, it was a bug and it bothered me.
v1.0.2.1
- Improved error-checking to allow for changes in case of description (i.e. Proper, all lower-case, etc.) while retaining original casing as desired.
v1.0.2
- Changed name, dropped AF, now lstupdate.exe
- Added option to work with either Allied Force or Falcon4 installs.
- Added more error-checking.
v1.0.1
- Added error-checking to ensure no spaces were at the start of the description, and remove them if there is.
- Added a cleaning routine to remove blank lines and any crap from theater.lst that didn't look it should be there.
v1.0.0
- There should be no spaces between the [+|-] and the description.
- Use backslashes (\) to maintain commonality with LP default theaters.
- Example - ..\lstupdate.exe AF +panama\definitions\panama.tdf
Any problems, suggestions, etc. - (email removed)
Looks good, thanks for the utility Malc!
Download here - 12kb.