DEFAULT.UNIT file Editor/Browser

What is the world like in 2020? What are the different ways to play? How can I create my own futuristic scenario and country groupings?

Moderators: Balthagor, Legend

Post Reply
xafemo
Corporal
Posts: 3
Joined: Jun 23 2006

Re: DEFAULT.UNIT file Editor/Browser

Post by xafemo »

BigWolf wrote:In the Browser, I'm finding the technical readout only being half visible
And stretching the window only expands the list, but not the technical readout
I have the same problem... :roll:
UchihaMadara971
Lieutenant
Posts: 99
Joined: May 20 2010
Human: Yes
Location: Kyoto, Japan

Re: DEFAULT.UNIT file Editor/Browser

Post by UchihaMadara971 »

What of a unit editor/browser which also categorizes units by country? (Such as Russia: Tanks, Artillery,etc... or China: Tanks, artillery, etc... you know what I mean from there)
catatonic
General
Posts: 1113
Joined: Jun 03 2009
Human: Yes

Re: DEFAULT.UNIT file Editor/Browser

Post by catatonic »

UchihaMadara971 wrote:What of a unit editor/browser which also categorizes units by country? (Such as Russia: Tanks, Artillery,etc... or China: Tanks, artillery, etc... you know what I mean from there)
1. Start the SR2020 Utility
2. Load a UNITS file
3. Choose View/Viewer for the List View
4. Sort on Region Code or Market Availibility.
"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
UchihaMadara971
Lieutenant
Posts: 99
Joined: May 20 2010
Human: Yes
Location: Kyoto, Japan

Re: DEFAULT.UNIT file Editor/Browser

Post by UchihaMadara971 »

catatonic wrote:
UchihaMadara971 wrote:What of a unit editor/browser which also categorizes units by country? (Such as Russia: Tanks, Artillery,etc... or China: Tanks, artillery, etc... you know what I mean from there)
1. Start the SR2020 Utility
2. Load a UNITS file
3. Choose View/Viewer for the List View
4. Sort on Region Code or Market Availibility.
I already know this. I am talking of something else. This was not what I meant.
baltic1284
Lieutenant
Posts: 99
Joined: Aug 30 2009
Human: Yes

Re: DEFAULT.UNIT file Editor/Browser

Post by baltic1284 »

when i try it say access to this path is denied and then it doesnt save and closes
hoodedclaw666
Corporal
Posts: 3
Joined: Oct 20 2010
Human: Yes

Re: DEFAULT.UNIT file Editor/Browser

Post by hoodedclaw666 »

I dont wish to seem very dumb but i have changed values using the editor and copied my save game file over the sceanario i was using but nothing seems to have changed.

Am i truely missing something, i am only trying to change some unit stats!
User avatar
Balthagor
Supreme Ruler
Posts: 22082
Joined: Jun 04 2002
Human: Yes
Location: BattleGoat Studios

Re: DEFAULT.UNIT file Editor/Browser

Post by Balthagor »

Huangdiist wrote:Everytime I open the SR2020 Unit Browser, sometimes I see a "SHIP" named LSM-1 Landing Ship, Medium appearing in the infrantry section. Yes, the infnatry section. Then I click on it, it says an error:

Image

Then I had to delete this ship both in the infantry section along with the amphibious section of the navy, where it was usually located; in order to make the utility work.

Is there are solution to this unit, along with another problem I just came upon, which is that some units have been cloned, as in appearing two times with the same Unit ID, information, etc.
Chris Latour
BattleGoat Studios
chris@battlegoat.com
User avatar
Huangdiist
Lieutenant
Posts: 58
Joined: Nov 12 2010
Human: Yes
Location: Tokyo, Japan
Contact:

Re: DEFAULT.UNIT file Editor/Browser

Post by Huangdiist »

Everytime I open the SR2020 Unit Browser, sometimes I see a "SHIP" named LSM-1 Landing Ship, Medium appearing in the infrantry section. Yes, the infnatry section. Then I click on it, it says an error:

Image

Then I had to delete this ship both in the infantry section along with the amphibious section of the navy, where it was usually located; in order to make the utility work.

Is there are solution to this unit, along with another problem I just came upon, which is that some units have been cloned, as in appearing two times with the same Unit ID, information, etc.
"All War is Based Upon Deception" - Sun Tzu's The Art of War
User avatar
Huangdiist
Lieutenant
Posts: 58
Joined: Nov 12 2010
Human: Yes
Location: Tokyo, Japan
Contact:

Re: DEFAULT.UNIT file Editor/Browser

Post by Huangdiist »

I have a problem with my unit file.
Orbital launch pad as well as other buildings show these error:

First this one:
Image

Then this one:
Image

Afterwards first I tried what the first screenshot told me: to bring back the missing DEFAULT.TTRX file, which I restored.
Now, I clicked on a building, which suddenly dissappeared the unit browser window (Browser section not in viewer); while in viewer, sometimes as I close it to save the file, it will not work, moreover, it shows errors like access is denied (which I fixed), or other errors having to do with index 91 being incorrect or anything else of errors. If someone can also fix my UNIT file, which I have not the time to fix (too many commas make it all too confusing for me, moreover I am working so I cannot really go into this).

My unit file can be found at: My UNIT file

I need this file back as well as uploaded to mediafire or emailed to me at uchiha971@live.jp as soon as possible (around 11/26/2010 which is 11/25/2010 in US time) if you have corrected any error. Arigato!
"All War is Based Upon Deception" - Sun Tzu's The Art of War
User avatar
Huangdiist
Lieutenant
Posts: 58
Joined: Nov 12 2010
Human: Yes
Location: Tokyo, Japan
Contact:

Re: DEFAULT.UNIT unit file Browser

Post by Huangdiist »

catatonic wrote: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:

Image

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
On both the first then second page, the same link is posted. Which one is the newer one? (the zip files all shows v.9)
"All War is Based Upon Deception" - Sun Tzu's The Art of War
Prescot
Lieutenant
Posts: 85
Joined: Jan 09 2011
Human: Yes

Re: DEFAULT.UNIT file Editor/Browser

Post by Prescot »

I have problem with this editor.

When im saving new created unit its make a clone of the old one.
tld464
Private
Posts: 1
Joined: Mar 19 2011
Human: Yes

Re: DEFAULT.UNIT file Editor/Browser

Post by tld464 »

I'm having trouble getting the changes I make in the editor show up in the game, I was wondering what I have to do to the game or scenario I have to make in order for it to work, I heard that you have to create a cache but I don't really understand how to do that
Hundane
General
Posts: 1858
Joined: Sep 11 2008

Re: DEFAULT.UNIT file Editor/Browser

Post by Hundane »

http://www.supremewiki.com/index.php/Mo ... ache_Files

Hope thats what you need. Im not sure.
ANTE88
Private
Posts: 1
Joined: Mar 31 2011
Human: Yes

Re: DEFAULT.UNIT file Editor/Browser

Post by ANTE88 »

Hello!
I have a few questions;

Is there a way to make certain units unbuildable for AI and not for the player? The reason why I'm asking this is because of "regional codes", where for one letter there are usually more than one nation. Now, I presume that region codes define what regions can create certain units
http://www.supremewiki.com/index.php/Region_Codes
What I want to do is create a new unit, under the region code section put letter "T" (Czech, Austria, Yugoslavia, Finnish, Poland, Romanian) but make this unit available just for one of these countries, not all. Is there another way to do this besides making this new unit unavailable for AI, or is that the only way, and if it is how can I do it?
Thanks!
Prescot
Lieutenant
Posts: 85
Joined: Jan 09 2011
Human: Yes

Re: DEFAULT.UNIT file Editor/Browser

Post by Prescot »

This software is pretty bugged ;/ when i try to create new unit by editing other then unit is cloned two times.
Post Reply

Return to “Scenarios, Mods and More - 2020”