CSVDefCreator - Reducing Definition Redundancy

CSVDefCreator

This program converts column A of your csv files (which usually do nothing and aren’t interpreted as data, and are often used as notes) into proper EA definitions - reducing the tedium of writing the definitions you might already basically have there again.

It does not read cell A1 as a definition.

Column A of the csv table must be formatted as 0xYY Name where YY is a hex number (if anyone desperately needs a short indexed table and wants this to work with it I’ll add functionality), and Name is your definition name - following EA rules. If you don’t want a row to have an entry, set the name to -.

Download

Download here. Requires .NET 8 or later to run. (All files sans CSVDefCreator.vb and ExampleBatch.cmd must be downloaded - I am not aware of how to compile into a single executable yet, sorry.)

Usage

CSVDefCreator.exe <PathToDefinitionsFolder> <PathToTable> <PathToTable> <PathToTable>...
You can have as many tables as you need.
Paths are relative to the current directory.

Hope this saves some of you some time buildfiling away!

2 Likes

Why? The data is ordered / indexed, so why not accept just Name as an entry?

Some tables may not be indexed correctly. I want this to be of as flexible use as possible. I may add a feature to allow tables to be automatically indexed on a table per table basis, though.