DEFAULT.UNIT file Editor/Browser
-
- General
- Posts: 1113
- Joined: Jun 03 2009
- Human: Yes
Re: DEFAULT.UNIT unit file Browser
I have just completed an new "SR2020 Utility" program. It contains a new Unit List View and has the previous Browser dialog as well. Here is a screen-shot:
Here is the text from the Readme file:
10/21/2009
Author:catatonic
Contents of 2020 Utility.zip:
Setup.exe
SR2020 Utility.msi
readme.txt
Description:
This Windows .NET application is designed to allow the user to view
the Supreme Ruler 2020 DEFAULT.UNIT file as a sortable list.
Since this .CSV data file is quite large and is awkward to view with
a plain text editor, or even with a spreadsheet program,
this application was designed to allow the user to view each SR2020
unit in a standard "List View" dialog box.
All columns of interest are displayed and each column is seperately
sortable. Columns can be moved horizontally.
Arrays of radio buttons allow filtering of the list by land, sea and
air classes, sub-classes and "special topics".
A "Keep Selected" button allows the user to select target unit/rows
and then delete all non-selected rows. This allows "side-by-side"
compairsons of units.
The previous "SR2020 Browser" with the Technical Readout matrix is
included. Both dialogs are available from the main screen "View"
menu-item.
The DEFAULT.UNIT file can be selected from the "File/Open" menu-item.
The applicataion can be run from any folder.
Load/Display performance slows with the more units that are selected.
The program is designed for use with SR2020-GC only. Other versions
might work - no guarantees.
The program reads the installed DEFAULT.UNIT, DEFAULT.TTRX,
Local_text.TTR, and variabes.ini files.
The program reads the "Language Files" and "Install Folder" entrys
from your SR2020 registry entry.
The program writes no files.
The program will not change any of your SR2020 files.
This application requires the light-weight ".NET Framework 3.5 Client
Profile" package, which will be automatically
downloaded to your computer via the Web. This takes less than a
minute.
FUTURE PLANS:
1. Add a custom TR window for Missiles to the Browser, just like the
in the game.
2. Modify to allow for Unit editing and creation.
INSTALLATION:
You can install the Utility app into any folder when prompted from
the Installer.
1. Download "SR2020 Utility.zip".
2. Un-zip the three installation files into any folder.
3. Run "setup.exe" with Administrator's Privledges.
4. Setup will ask for permission to download the ".NET Framework 3.5
Client Profile".
5. Allow the download. This will happen quickly.
6. Acknowledge the successful Framework installation. This screen
may be obscured by the next one.
7. The SR2020 Utility installation process will begin immediately.
8. Follow the prompts and allow it to install into the target folder.
If you have SR2020 installed on another drive then you will get a
chance to change the drive letter.
A shortcut icon will be placed onto your desktop. Use it to start the
Utility.
If the installation refuses to install then you may not have
permissions for the target folder. Try the following :
A. Login as Administrator and change the file permissions for the
folder.
or
B. Re-install into another folder that you have permission to write
to and then move the "SR2020 Utility.exe" and "Readme.txt" files
manually to the target folder.
Experience with the previous Browser project gives me confidence that
this app is compatable with Windows 7, Vista and XP.
Release Notes:
Version 1.0.0.0 11/20/2009
1. Still calls for .NET version 4.0.
Version 1.0.0.1 11/21/2009
1. Manually changed all ".NET 4.0" references to 3.0.
Version 1.0.0.2 11/21/2009
1. Beefed-up error handling for when files are missing.
2. Corrected setting in the setup/Installer - changed launch
condition from .NET 4.0 to 3.5.
Version 1.0.0.3 11/21/2009
1. Added new "Keep Selected" button. Allows selective column
deletion.
2. Changed Publish prerequsite from "3.5 SP1" to "3.5 SP1 Client
Profile".
Release Notes (Browser only)
version 1.0.0.0 10/20/2009
1. Tool-tips are not localized - they are all in English. Unit and
tech names are translated into your installed language.
2. Tool-tips are keyed to the text data, not to the icons.
3. Compiled to use .NET Framework version 3.5 SP1 Client Profile.
4. Only tested under Windows 7 without extra .NET Frameworks
installed.
5. Missiles use the standard TR large window, not the smaller missile
one.
version 1.0.0.1 10/15/2009
1. Fixed problem where un-expected numeric format in .CSV file caused
program exception.
2. Cleaned up graphics.
3. Added title to technical readout.
4. Replaced file-handling so that the entire .CSV file is no longer
resident in memory.
5. Added accessors to class objects.
6. Strengthened error checking.
7. Modified to accept eccentricly formated DEFAULT.UNIT files.
8. Modified file opening to shared mode.
version 1.0.0.3 11/21/2009
1. Application is more object-oriented and is better structured.
2. Tested with different DEFAUlT.UNIT files to deal with un-expected
idiosyncracies.
3. App is relocatable.
4. Contains file selector for DEFAULT.UNIT file.
DISCLAIMER:
Install and run this program at your own risk.
This program is provided as is without any guarantees or warranty.
Although the author has attempted to find and correct any bugs in the
free software programs, the author is not responsible for any damage
or losses of any kind caused by the use or misuse of the programs.
The author is under no obligation to provide support, service,
corrections, or upgrades to the free software programs.
Download Link for SR2020 Utility.ZIP:
http://www.mediafire.com/?zg0ilmwjmhf
Here is the text from the Readme file:
10/21/2009
Author:catatonic
Contents of 2020 Utility.zip:
Setup.exe
SR2020 Utility.msi
readme.txt
Description:
This Windows .NET application is designed to allow the user to view
the Supreme Ruler 2020 DEFAULT.UNIT file as a sortable list.
Since this .CSV data file is quite large and is awkward to view with
a plain text editor, or even with a spreadsheet program,
this application was designed to allow the user to view each SR2020
unit in a standard "List View" dialog box.
All columns of interest are displayed and each column is seperately
sortable. Columns can be moved horizontally.
Arrays of radio buttons allow filtering of the list by land, sea and
air classes, sub-classes and "special topics".
A "Keep Selected" button allows the user to select target unit/rows
and then delete all non-selected rows. This allows "side-by-side"
compairsons of units.
The previous "SR2020 Browser" with the Technical Readout matrix is
included. Both dialogs are available from the main screen "View"
menu-item.
The DEFAULT.UNIT file can be selected from the "File/Open" menu-item.
The applicataion can be run from any folder.
Load/Display performance slows with the more units that are selected.
The program is designed for use with SR2020-GC only. Other versions
might work - no guarantees.
The program reads the installed DEFAULT.UNIT, DEFAULT.TTRX,
Local_text.TTR, and variabes.ini files.
The program reads the "Language Files" and "Install Folder" entrys
from your SR2020 registry entry.
The program writes no files.
The program will not change any of your SR2020 files.
This application requires the light-weight ".NET Framework 3.5 Client
Profile" package, which will be automatically
downloaded to your computer via the Web. This takes less than a
minute.
FUTURE PLANS:
1. Add a custom TR window for Missiles to the Browser, just like the
in the game.
2. Modify to allow for Unit editing and creation.
INSTALLATION:
You can install the Utility app into any folder when prompted from
the Installer.
1. Download "SR2020 Utility.zip".
2. Un-zip the three installation files into any folder.
3. Run "setup.exe" with Administrator's Privledges.
4. Setup will ask for permission to download the ".NET Framework 3.5
Client Profile".
5. Allow the download. This will happen quickly.
6. Acknowledge the successful Framework installation. This screen
may be obscured by the next one.
7. The SR2020 Utility installation process will begin immediately.
8. Follow the prompts and allow it to install into the target folder.
If you have SR2020 installed on another drive then you will get a
chance to change the drive letter.
A shortcut icon will be placed onto your desktop. Use it to start the
Utility.
If the installation refuses to install then you may not have
permissions for the target folder. Try the following :
A. Login as Administrator and change the file permissions for the
folder.
or
B. Re-install into another folder that you have permission to write
to and then move the "SR2020 Utility.exe" and "Readme.txt" files
manually to the target folder.
Experience with the previous Browser project gives me confidence that
this app is compatable with Windows 7, Vista and XP.
Release Notes:
Version 1.0.0.0 11/20/2009
1. Still calls for .NET version 4.0.
Version 1.0.0.1 11/21/2009
1. Manually changed all ".NET 4.0" references to 3.0.
Version 1.0.0.2 11/21/2009
1. Beefed-up error handling for when files are missing.
2. Corrected setting in the setup/Installer - changed launch
condition from .NET 4.0 to 3.5.
Version 1.0.0.3 11/21/2009
1. Added new "Keep Selected" button. Allows selective column
deletion.
2. Changed Publish prerequsite from "3.5 SP1" to "3.5 SP1 Client
Profile".
Release Notes (Browser only)
version 1.0.0.0 10/20/2009
1. Tool-tips are not localized - they are all in English. Unit and
tech names are translated into your installed language.
2. Tool-tips are keyed to the text data, not to the icons.
3. Compiled to use .NET Framework version 3.5 SP1 Client Profile.
4. Only tested under Windows 7 without extra .NET Frameworks
installed.
5. Missiles use the standard TR large window, not the smaller missile
one.
version 1.0.0.1 10/15/2009
1. Fixed problem where un-expected numeric format in .CSV file caused
program exception.
2. Cleaned up graphics.
3. Added title to technical readout.
4. Replaced file-handling so that the entire .CSV file is no longer
resident in memory.
5. Added accessors to class objects.
6. Strengthened error checking.
7. Modified to accept eccentricly formated DEFAULT.UNIT files.
8. Modified file opening to shared mode.
version 1.0.0.3 11/21/2009
1. Application is more object-oriented and is better structured.
2. Tested with different DEFAUlT.UNIT files to deal with un-expected
idiosyncracies.
3. App is relocatable.
4. Contains file selector for DEFAULT.UNIT file.
DISCLAIMER:
Install and run this program at your own risk.
This program is provided as is without any guarantees or warranty.
Although the author has attempted to find and correct any bugs in the
free software programs, the author is not responsible for any damage
or losses of any kind caused by the use or misuse of the programs.
The author is under no obligation to provide support, service,
corrections, or upgrades to the free software programs.
Download Link for SR2020 Utility.ZIP:
http://www.mediafire.com/?zg0ilmwjmhf
Last edited by catatonic on Dec 02 2009, edited 10 times in total.
"War is merely the continuation of politics [diplomacy] by other means"
General Carl von Clausewitz - 1832
"Defense: De ting dat keeps de cows off de road."
Catatonic - 2012
General Carl von Clausewitz - 1832
"Defense: De ting dat keeps de cows off de road."
Catatonic - 2012
-
- General
- Posts: 1168
- Joined: Jul 14 2004
- Human: Yes
- Location: Space Coast, FL
Re: DEFAULT.UNIT unit file Browser
It is asking for .net 4.0 beta....
Violence is the last refuge of the incompetent.
Isaac Asimov, Salvor Hardin in "Foundation"
-
Si vis pacem, para bellum
-
It is hard to free fools from the chains they revere.
Voltaire
Isaac Asimov, Salvor Hardin in "Foundation"
-
Si vis pacem, para bellum
-
It is hard to free fools from the chains they revere.
Voltaire
-
- General
- Posts: 1113
- Joined: Jun 03 2009
- Human: Yes
Re: DEFAULT.UNIT unit file Browser
That doesn't make any sense to me - I used the same "prerequsite" settings as the Browers project and I just verified that.
When I installed it here it asked for and installed the same ".NET Framework 3.5 Client Profile" package.
But certainly I believe you and am looking into it more closely right now.
Edit:
OK, now I remember - in order to target earlier .NET versions with this 4.0 "Visual Studio 2010" you must manually go in and change all of the "version 4.0" code entries that it generates for you with "3.0".
I have now done that and will put up new code within the hour.
Thanks for calling this to my attention.
When I installed it here it asked for and installed the same ".NET Framework 3.5 Client Profile" package.
But certainly I believe you and am looking into it more closely right now.
Edit:
OK, now I remember - in order to target earlier .NET versions with this 4.0 "Visual Studio 2010" you must manually go in and change all of the "version 4.0" code entries that it generates for you with "3.0".
I have now done that and will put up new code within the hour.
Thanks for calling this to my attention.
Last edited by catatonic on Nov 21 2009, edited 1 time in total.
"War is merely the continuation of politics [diplomacy] by other means"
General Carl von Clausewitz - 1832
"Defense: De ting dat keeps de cows off de road."
Catatonic - 2012
General Carl von Clausewitz - 1832
"Defense: De ting dat keeps de cows off de road."
Catatonic - 2012
-
- General
- Posts: 1168
- Joined: Jul 14 2004
- Human: Yes
- Location: Space Coast, FL
Re: DEFAULT.UNIT unit file Browser
:-D If I had a penny for every time I've said that in the last 26 years I would be richer than Bill Gates...catatonic wrote:That doesn't make any sense to me
(I work on IT since 1983...)
Looking forward to the utility....
Violence is the last refuge of the incompetent.
Isaac Asimov, Salvor Hardin in "Foundation"
-
Si vis pacem, para bellum
-
It is hard to free fools from the chains they revere.
Voltaire
Isaac Asimov, Salvor Hardin in "Foundation"
-
Si vis pacem, para bellum
-
It is hard to free fools from the chains they revere.
Voltaire
-
- General
- Posts: 1113
- Joined: Jun 03 2009
- Human: Yes
Re: DEFAULT.UNIT unit file Browser
Last edited by catatonic on Dec 02 2009, edited 6 times in total.
"War is merely the continuation of politics [diplomacy] by other means"
General Carl von Clausewitz - 1832
"Defense: De ting dat keeps de cows off de road."
Catatonic - 2012
General Carl von Clausewitz - 1832
"Defense: De ting dat keeps de cows off de road."
Catatonic - 2012
-
- General
- Posts: 1168
- Joined: Jul 14 2004
- Human: Yes
- Location: Space Coast, FL
Re: DEFAULT.UNIT unit file Browser
Odd... I still get the .net 4 message...
Violence is the last refuge of the incompetent.
Isaac Asimov, Salvor Hardin in "Foundation"
-
Si vis pacem, para bellum
-
It is hard to free fools from the chains they revere.
Voltaire
Isaac Asimov, Salvor Hardin in "Foundation"
-
Si vis pacem, para bellum
-
It is hard to free fools from the chains they revere.
Voltaire
-
- General
- Posts: 1113
- Joined: Jun 03 2009
- Human: Yes
Re: DEFAULT.UNIT unit file Browser
Draken want to be able to compair two units "side-by-side" - well now you can do it. Using the new "Keep Selected" button on the SR2020 Utility Viewer screen, you can select two or more unit record-rows to view side-by-side. When you press the button all unit-rows but those selected will be removed from the viewer.
To select multiple units just hold down the "Ctrl" key when selecting with the mouse.
Here are two new screen shots. A link to the newest download appears at the botton this post.
Download link:
http://www.mediafire.com/?zg0ilmwjmhf
To select multiple units just hold down the "Ctrl" key when selecting with the mouse.
Here are two new screen shots. A link to the newest download appears at the botton this post.
Download link:
http://www.mediafire.com/?zg0ilmwjmhf
Last edited by catatonic on Dec 02 2009, edited 6 times in total.
"War is merely the continuation of politics [diplomacy] by other means"
General Carl von Clausewitz - 1832
"Defense: De ting dat keeps de cows off de road."
Catatonic - 2012
General Carl von Clausewitz - 1832
"Defense: De ting dat keeps de cows off de road."
Catatonic - 2012
-
- General
- Posts: 1168
- Joined: Jul 14 2004
- Human: Yes
- Location: Space Coast, FL
Re: DEFAULT.UNIT unit file Browser
It works very well... I like it!
Good Job!
Good Job!
Violence is the last refuge of the incompetent.
Isaac Asimov, Salvor Hardin in "Foundation"
-
Si vis pacem, para bellum
-
It is hard to free fools from the chains they revere.
Voltaire
Isaac Asimov, Salvor Hardin in "Foundation"
-
Si vis pacem, para bellum
-
It is hard to free fools from the chains they revere.
Voltaire
-
- Colonel
- Posts: 462
- Joined: Apr 10 2006
- Location: Tennessee
Re: DEFAULT.UNIT unit file Browser
Very Nice! This should have been a utility that came with the game!! BG...maybe some coins thrown his way?
-
- General
- Posts: 1113
- Joined: Jun 03 2009
- Human: Yes
Re: DEFAULT.UNIT unit file Browser
The SR2020 Utility List Viewer will now perform editing.
The contents of its Readme.TXT file is displayed below. At the bottom of this post you will find the new
download link for the zipped installation package.
Here are some screen-shots:
10/24/2009
Author:catatonic
Contents of 2020 Utility.zip:
Setup.exe
SR2020 Utility.msi
readme.txt
Description:
This Windows .NET application is designed to allow the user to view the Supreme Ruler 2020 DEFAULT.UNIT file as a sortable list.
Since this .CSV data file is quite large and is awkward to view with a plain text editor, or even with a spreadsheet program,
this application was designed to allow the user to view each SR2020 unit in a standard "List View" dialog box.
All columns of interest are displayed and each column is seperately sortable. Columns can be moved horizontally.
Arrays of radio buttons allow filtering of the list by land, sea and air classes, sub-classes and "special topics".
A "Keep Selected" button allows the user to select target unit/rows and then delete all non-selected rows. This allows "side-by-side" compairsons of units.
The previous "SR2020 Browser" with the Technical Readout matrix is included. Both dialogs are available from the main screen "View" menu-item.
The DEFAULT.UNIT file can be selected from the "File/Open" menu-item. The applicataion can be run from any folder.
All Unit records can be edited and new records can be created.
To edit a Unit record:
1. Select the Unit from the list view control.
2. Press the "Edit" button.
3. A second list view will appear with two columns - a label column and a unit data column on the right.
4. Two buttons are displayed below the edit matrix - "Save" and "Cancel".
5. An edit box will be displayed above the edit matrix.
6. To edit a value double-click on the value's row in the edit matrix.
7. The value will appear in the edit box.
8. Edit the value in the edit box.
9. Press "Return".
10. The edited value will be transferred back to the edit matrix below.
11. To finish editing press the "Save" button.
12. To save your work switch from the List Viewer dialog to the main window.
13. From the "File" menu select either "Save" or "Save As".
To add a new unit:
1. Follow the steps above for editing.
2. To the bottom right there is a "Next ID" box. This displays the next un-used Unit ID.
3. Before saving the new unit assign it a unique Unit ID.
4. Press the "Save" button.
5. The new Unit will be placed into the main list viewer and the viewer will re-sort the units automatically.
6. You must manually save your work from the File menu.
If you attempt to close the list viewer or the main program before saving your work you will be prompted to save it.
The Save file options are only active while the list viewer is displayed, and then only if you have changed
some Unit data.
Load/Display performance slows with the more units that are selected.
The program is designed for use with SR2020-GC only. Other versions might work - no guarantees.
The program reads the installed DEFAULT.UNIT, DEFAULT.TTRX, Local_text.TTR, and variabes.ini files.
The program reads the "Language Files" and "Install Folder" entrys from your SR2020 registry entry.
The program writes no files.
The program will not change any of your SR2020 files.
FUTURE PLANS:
1. Add a custom TR window for Missiles to the Browser, just like the in the game.
INSTALLATION:
This application requires the light-weight ".NET Framework 3.5 Client Profile" package, which will be automatically
downloaded to your computer via the Web. This takes less than a minute.
You can install the Utility app into any folder when prompted from the Installer.
1. Download "SR2020 Utility.zip".
2. Un-zip the three installation files into any folder.
3. Run "setup.exe" with Administrator's Privledges.
4. Setup will ask for permission to download the ".NET Framework 3.5 Client Profile".
5. Allow the download. This will happen quickly.
6. Acknowledge the successful Framework installation. This screen may be obscured by the next one.
7. The SR2020 Utility installation process will begin immediately.
8. Follow the prompts and allow it to install into the target folder. If you have SR2020 installed on another drive then you will get a chance to change the drive letter.
A shortcut icon will be placed onto your desktop. Use it to start the Utility.
If the installation refuses to install then you may not have permissions for the target folder. Try the following :
A. Login as Administrator and change the file permissions for the folder.
or
B. Re-install into another folder that you have permission to write to and then move the "SR2020 Utility.exe" and "Readme.txt" files
manually to the target folder.
This this app is compatable with Windows 7, Vista and XP.
Version 1.0.0.4 11/24/2009
1. Added Unit editing.
2. Added "Edit" button.
3. Added "Save" and "Save As" file menu items.
4. Added a disappearing edit panel.
5. Speeded up loading of the list view control.
Version 1.0.0.3 11/21/2009
1. Added new "Keep Selected" button. Allows selective column deletion.
2. Changed Publish prerequsite from "3.5 SP1" to "3.5 SP1 Client Profile".
3. Eliminated flicker from list view when loading.
Version 1.0.0.2 11/21/2009
1. Beefed-up error handling for when files are missing.
2. Corrected setting in the setup/Installer - changed launch condition from .NET 4.0 to 3.5.
Version 1.0.0.1 11/21/2009
1. Manually changed all ".NET 4.0" references to 3.0.
Release Notes:
Version 1.0.0.0 11/20/2009
1. Still calls for .NET version 4.0.
Release Notes (Browser only)
version 1.0.0.3 11/21/2009
1. Application is more object-oriented and is better structured.
2. Tested with different DEFAUlT.UNIT files to deal with un-expected idiosyncracies.
3. App is relocatable.
4. Contains file selector for DEFAULT.UNIT file.
version 1.0.0.1 10/15/2009
1. Fixed problem where un-expected numeric format in .CSV file caused program exception.
2. Cleaned up graphics.
3. Added title to technical readout.
4. Replaced file-handling so that the entire .CSV file is no longer resident in memory.
5. Added accessors to class objects.
6. Strengthened error checking.
7. Modified to accept eccentricly formated DEFAULT.UNIT files.
8. Modified file opening to shared mode.
version 1.0.0.0 10/20/2009
1. Tool-tips are not localized - they are all in English. Unit and tech names are translated into your installed language.
2. Tool-tips are keyed to the text data, not to the icons.
3. Compiled to use .NET Framework version 3.5 SP1 Client Profile.
4. Only tested under Windows 7 without extra .NET Frameworks installed.
5. Missiles use the standard TR large window, not the smaller missile one.
DISCLAIMER:
Install and run this program at your own risk.
This program is provided as is without any guarantees or warranty.
Although the author has attempted to find and correct any bugs in the free software programs, the author is not responsible for any damage or losses of any kind caused by the use or misuse of the programs.
The author is under no obligation to provide support, service, corrections, or upgrades to the free software programs.
Download link:
http://www.mediafire.com/?zg0ilmwjmhf
The contents of its Readme.TXT file is displayed below. At the bottom of this post you will find the new
download link for the zipped installation package.
Here are some screen-shots:
10/24/2009
Author:catatonic
Contents of 2020 Utility.zip:
Setup.exe
SR2020 Utility.msi
readme.txt
Description:
This Windows .NET application is designed to allow the user to view the Supreme Ruler 2020 DEFAULT.UNIT file as a sortable list.
Since this .CSV data file is quite large and is awkward to view with a plain text editor, or even with a spreadsheet program,
this application was designed to allow the user to view each SR2020 unit in a standard "List View" dialog box.
All columns of interest are displayed and each column is seperately sortable. Columns can be moved horizontally.
Arrays of radio buttons allow filtering of the list by land, sea and air classes, sub-classes and "special topics".
A "Keep Selected" button allows the user to select target unit/rows and then delete all non-selected rows. This allows "side-by-side" compairsons of units.
The previous "SR2020 Browser" with the Technical Readout matrix is included. Both dialogs are available from the main screen "View" menu-item.
The DEFAULT.UNIT file can be selected from the "File/Open" menu-item. The applicataion can be run from any folder.
All Unit records can be edited and new records can be created.
To edit a Unit record:
1. Select the Unit from the list view control.
2. Press the "Edit" button.
3. A second list view will appear with two columns - a label column and a unit data column on the right.
4. Two buttons are displayed below the edit matrix - "Save" and "Cancel".
5. An edit box will be displayed above the edit matrix.
6. To edit a value double-click on the value's row in the edit matrix.
7. The value will appear in the edit box.
8. Edit the value in the edit box.
9. Press "Return".
10. The edited value will be transferred back to the edit matrix below.
11. To finish editing press the "Save" button.
12. To save your work switch from the List Viewer dialog to the main window.
13. From the "File" menu select either "Save" or "Save As".
To add a new unit:
1. Follow the steps above for editing.
2. To the bottom right there is a "Next ID" box. This displays the next un-used Unit ID.
3. Before saving the new unit assign it a unique Unit ID.
4. Press the "Save" button.
5. The new Unit will be placed into the main list viewer and the viewer will re-sort the units automatically.
6. You must manually save your work from the File menu.
If you attempt to close the list viewer or the main program before saving your work you will be prompted to save it.
The Save file options are only active while the list viewer is displayed, and then only if you have changed
some Unit data.
Load/Display performance slows with the more units that are selected.
The program is designed for use with SR2020-GC only. Other versions might work - no guarantees.
The program reads the installed DEFAULT.UNIT, DEFAULT.TTRX, Local_text.TTR, and variabes.ini files.
The program reads the "Language Files" and "Install Folder" entrys from your SR2020 registry entry.
The program writes no files.
The program will not change any of your SR2020 files.
FUTURE PLANS:
1. Add a custom TR window for Missiles to the Browser, just like the in the game.
INSTALLATION:
This application requires the light-weight ".NET Framework 3.5 Client Profile" package, which will be automatically
downloaded to your computer via the Web. This takes less than a minute.
You can install the Utility app into any folder when prompted from the Installer.
1. Download "SR2020 Utility.zip".
2. Un-zip the three installation files into any folder.
3. Run "setup.exe" with Administrator's Privledges.
4. Setup will ask for permission to download the ".NET Framework 3.5 Client Profile".
5. Allow the download. This will happen quickly.
6. Acknowledge the successful Framework installation. This screen may be obscured by the next one.
7. The SR2020 Utility installation process will begin immediately.
8. Follow the prompts and allow it to install into the target folder. If you have SR2020 installed on another drive then you will get a chance to change the drive letter.
A shortcut icon will be placed onto your desktop. Use it to start the Utility.
If the installation refuses to install then you may not have permissions for the target folder. Try the following :
A. Login as Administrator and change the file permissions for the folder.
or
B. Re-install into another folder that you have permission to write to and then move the "SR2020 Utility.exe" and "Readme.txt" files
manually to the target folder.
This this app is compatable with Windows 7, Vista and XP.
Version 1.0.0.4 11/24/2009
1. Added Unit editing.
2. Added "Edit" button.
3. Added "Save" and "Save As" file menu items.
4. Added a disappearing edit panel.
5. Speeded up loading of the list view control.
Version 1.0.0.3 11/21/2009
1. Added new "Keep Selected" button. Allows selective column deletion.
2. Changed Publish prerequsite from "3.5 SP1" to "3.5 SP1 Client Profile".
3. Eliminated flicker from list view when loading.
Version 1.0.0.2 11/21/2009
1. Beefed-up error handling for when files are missing.
2. Corrected setting in the setup/Installer - changed launch condition from .NET 4.0 to 3.5.
Version 1.0.0.1 11/21/2009
1. Manually changed all ".NET 4.0" references to 3.0.
Release Notes:
Version 1.0.0.0 11/20/2009
1. Still calls for .NET version 4.0.
Release Notes (Browser only)
version 1.0.0.3 11/21/2009
1. Application is more object-oriented and is better structured.
2. Tested with different DEFAUlT.UNIT files to deal with un-expected idiosyncracies.
3. App is relocatable.
4. Contains file selector for DEFAULT.UNIT file.
version 1.0.0.1 10/15/2009
1. Fixed problem where un-expected numeric format in .CSV file caused program exception.
2. Cleaned up graphics.
3. Added title to technical readout.
4. Replaced file-handling so that the entire .CSV file is no longer resident in memory.
5. Added accessors to class objects.
6. Strengthened error checking.
7. Modified to accept eccentricly formated DEFAULT.UNIT files.
8. Modified file opening to shared mode.
version 1.0.0.0 10/20/2009
1. Tool-tips are not localized - they are all in English. Unit and tech names are translated into your installed language.
2. Tool-tips are keyed to the text data, not to the icons.
3. Compiled to use .NET Framework version 3.5 SP1 Client Profile.
4. Only tested under Windows 7 without extra .NET Frameworks installed.
5. Missiles use the standard TR large window, not the smaller missile one.
DISCLAIMER:
Install and run this program at your own risk.
This program is provided as is without any guarantees or warranty.
Although the author has attempted to find and correct any bugs in the free software programs, the author is not responsible for any damage or losses of any kind caused by the use or misuse of the programs.
The author is under no obligation to provide support, service, corrections, or upgrades to the free software programs.
Download link:
http://www.mediafire.com/?zg0ilmwjmhf
Last edited by catatonic on Dec 02 2009, edited 5 times in total.
"War is merely the continuation of politics [diplomacy] by other means"
General Carl von Clausewitz - 1832
"Defense: De ting dat keeps de cows off de road."
Catatonic - 2012
General Carl von Clausewitz - 1832
"Defense: De ting dat keeps de cows off de road."
Catatonic - 2012
- Balthagor
- Supreme Ruler
- Posts: 22106
- Joined: Jun 04 2002
- Human: Yes
- Location: BattleGoat Studios
Re: DEFAULT.UNIT unit file Browser
I haven't had a chance to take a look yet, but this is all very impressive. Hats off to you Cat.
BTW, there is a rule that the ID must be within the number range for the Class. Recons must be numbered between 1000 and 1999, interceptors between 9000 and 9999 etc. Have you accounted for this rule?catatonic wrote:...To add a new unit:
1. Follow the steps above for editing.
2. To the bottom right there is a "Next ID" box. This displays the next un-used Unit ID....
-
- General
- Posts: 1168
- Joined: Jul 14 2004
- Human: Yes
- Location: Space Coast, FL
Re: DEFAULT.UNIT unit file Browser
Getting better every day!
I won't be able to test this version until next week (I'm away from home) but one thing I noticed in the previous version is that if you maximize the app, the unit list stays a the same size...It would be nice to have it resized to take advantage of the screen size.
I won't be able to test this version until next week (I'm away from home) but one thing I noticed in the previous version is that if you maximize the app, the unit list stays a the same size...It would be nice to have it resized to take advantage of the screen size.
Violence is the last refuge of the incompetent.
Isaac Asimov, Salvor Hardin in "Foundation"
-
Si vis pacem, para bellum
-
It is hard to free fools from the chains they revere.
Voltaire
Isaac Asimov, Salvor Hardin in "Foundation"
-
Si vis pacem, para bellum
-
It is hard to free fools from the chains they revere.
Voltaire
-
- General
- Posts: 1113
- Joined: Jun 03 2009
- Human: Yes
Re: DEFAULT.UNIT unit file Browser
No, but I will. The whole "Next ID" concept needs work.Balthagor wrote: BTW, there is a rule that the ID must be within the number range for the Class. Recons must be numbered between 1000 and 1999, interceptors between 9000 and 9999 etc. Have you accounted for this rule?
Currently it just starts counting from the current ID upwards until it finds one that is unused.
But it doesn't check to see if that "Next ID" is still available - it could have been used during the editing session and be awaiting a "Save" to disk.
So it starts out in the correct range and it is unlikely to run out of that range - but it is possible.
"War is merely the continuation of politics [diplomacy] by other means"
General Carl von Clausewitz - 1832
"Defense: De ting dat keeps de cows off de road."
Catatonic - 2012
General Carl von Clausewitz - 1832
"Defense: De ting dat keeps de cows off de road."
Catatonic - 2012
- Balthagor
- Supreme Ruler
- Posts: 22106
- Joined: Jun 04 2002
- Human: Yes
- Location: BattleGoat Studios
Re: DEFAULT.UNIT unit file Browser
What about a pulldown field that lists only unused IDs? Make the player pick from a list in the number range of the class they've set?
- BigWolf
- Brigadier Gen.
- Posts: 523
- Joined: Jun 24 2008
- Location: Empire of the Wolf
Re: DEFAULT.UNIT unit file Browser
Ok Catatonic, where would you like your temple built then? lol
Bloody nice work
Bloody nice work