|
|
|
|
April 5th, 2006, 12:19 AM
|
|
Corporal
|
|
Join Date: Feb 2006
Posts: 176
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Data Checker v 1.10
I've created a Data Checker tool that will examine the Components.txt and TechArea.txt files. It currently ensures the following.
- No Tabs being used (causes problems with Component Editor .90)
- Data for fields requiring Integers
- Proper order of Fields
- Proper spelling of field names
- Proper sequencing of Tech Req and Abilities
Gives warnings for the following:
- Tech Requirements for a Component or Tech Area are higher than what is attainable
- Ability assigned to a Component isn't valid (spell checked)
The Tool doesn't correct the data.
I don't have many Mods downloaded, so give it a test run on the Mods you have and report any problems. Try to even fool it, or break it.
PS: Place the EXE in the Data folder of the Mod.
v 1.0
- Original Release
v 1.05
- Enabled basic format checking of TechArea.txt
- Added data checking for Integer only fields
v 1.1
- Added compensation for Optional Weapon List fields
- No longer gives false errors when encountering extra spaces before or after a Tech name
- Added line count display
- Added data checking on True/False, Vehicle Type and Custom Vehicle Type data
|
April 5th, 2006, 12:27 AM
|
|
Corporal
|
|
Join Date: Feb 2006
Posts: 176
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Data Checker v 1.0
One thing I found was that in the original Components folder it lists the optional fields as:
Quote:
Vechicle List Type Override:
If this field is present, it overrides the value in ....
|
Note the misspelling.
I didn't know if SEIV cares about this misspelling, but that is how I'm checking the spelling for that field name.
Anyone know the truth behind that field?
|
April 5th, 2006, 12:31 AM
|
|
National Security Advisor
|
|
Join Date: Oct 2001
Location: Toronto, Canada
Posts: 5,623
Thanks: 1
Thanked 14 Times in 12 Posts
|
|
Re: Data Checker v 1.0
The incorrect spelling is unfortunately necessary for the field to work.
|
April 5th, 2006, 12:38 AM
|
|
National Security Advisor
|
|
Join Date: Oct 2001
Location: Toronto, Canada
Posts: 5,623
Thanks: 1
Thanked 14 Times in 12 Posts
|
|
Re: Data Checker v 1.0
A couple of problems:
The line numbers don't seem to match up where a potential problem is. For example, it told me I had a problem on line 1127, but it wasn't there...
I'm also encountering a run-time error '5' invalid procedure call or argument.
|
April 5th, 2006, 12:44 AM
|
|
Corporal
|
|
Join Date: Feb 2006
Posts: 176
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Data Checker v 1.0
Could you give the full error message? It should have told you what it was expecting. Given that information, it may have been caused by a component or Tech Area stating there was 3 Requirements, when there actually were 4 listed.
When do you get the Run-time Error?
What OS do you have?
|
April 5th, 2006, 12:59 AM
|
|
Corporal
|
|
Join Date: Feb 2006
Posts: 176
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: Data Checker v 1.0
v 1.1 will be checking the data for fields with limited valid values.
Example:
Vehicle Type in the Components.txt file
It will also give the option to create an output file listing all of your components in order by Family, though the SE Modder utility does this graphically which is far better.
|
April 5th, 2006, 01:04 AM
|
|
National Security Advisor
|
|
Join Date: Oct 2001
Location: Toronto, Canada
Posts: 5,623
Thanks: 1
Thanked 14 Times in 12 Posts
|
|
Re: Data Checker v 1.0
The run-time error is on startup of the program (that's the full text of the error in my post below). It didn't happen until after I made a fix to one of the entries. It sounds like an internal program error from the description. Anyway I'm using XP Pro sp2.
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|