![]() |
Data Checker v 1.10
1 Attachment(s)
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 |
Re: Data Checker v 1.0
One thing I found was that in the original Components folder it lists the optional fields as:
Quote:
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? |
Re: Data Checker v 1.0
The incorrect spelling is unfortunately necessary for the field to work.
|
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. |
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? |
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. |
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.
|
Re: Data Checker v 1.0
Thanks for your testing Kwok. =)
I think I'll be expanding the data checker to Vehicles. Then I'll move over to the AI files. =) |
Re: Data Checker v 1.0
There is an error with the new algorithm to read for valid vehicle types, likely with the overrides.
i.e. Vechicle List Type Override := Ships, Drones Vehicle List Type Description := Ship\Drone Also, why not make the program allow the user to choose the path for the data folder to check rather than have it be placed in the data folder itself? |
Re: Data Checker v 1.0
I haven't learned how to do the Browse/Open File feature for Visual Basic yet. =)
I can make it so you can type in the Path. I'll have to check the Vehicle stuff, cause I actually think I forgot to add that. |
All times are GMT -4. The time now is 06:08 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.