CSVExporter 2 is a much reworked edition of csvExporter with expanded functionality and support for Automation version 4.3.1.
CSVExporter provides the ability to put Automation car data into Comma Separated Value files for further use.
Usage
Once you have a car you are ready to export into a CSV file, go into the exporter menu (the same way you do for the BeamNG exporter), and pick CSVExporter 2 in the dropdown box in the top right corner of the screen.
Fill out the input boxes to your liking (see the guide on export parameters below) and click export.
Find the exported data in the Appdata folder of Automation (see ReadMe.txt).
Tip: You can export several cars into one file by using the same file name.
Export Parameters
Car Name - The name of the car that will be displayed in the files.
File Name - The name of the file that the data will be exported into.
CSV Delimiter - The character that will be used to separate columns.
Lua File - The name of the Lua code file in the UserFiles directory to be executed while exporting, .lua extension is added automatically if one is not given. If left blank, a default code file will be used.
Dataset File - The name of the dataset JSON file in the UserFiles directory that pairs Lua data to CSV columns, .json extension is added automatically if one is not given. If left blank, a default file will be used.
Translation File - The name of the translation JSON file in the UserFiles directory that is used to translate internal Automation text strings into more readable versions, .json extension is added automatically if one is not given. If left blank, a default file will be used.
Locale - A system locale to be used while writing the .csv file. You may want to use this to correctly export local language translations or to export floating point numbers with a comma decimal separator, in the latter case you want to pair it with a custom delimiter (";" recommended). If left blank, the default locale will be used.
Hide or delete columns that you don’t think will be relevant
At present, this sheet probably contains lots of data that you don’t really care about. You can either hide columns by selecting them by clicking and dragging on the column bars, right clicking, and clicking “hide.” You can also delete them altogether the same way.
Freeze panes with important information
You can keep important info (like car names and column labels) “pinned” to the top or side of the screen using the Freeze Panes option under View > Freeze Panes > Freeze Panes.
Figure out which columns and rows you want to “pin” to the top and left sides of the screen. For example, let’s say we want to keep the first two columns and the first row.
Really glad to see this all open sourced! Should allow for more development of user exporters, between this and the SDK provided by Camshaft (which, I’ll admit, I never saw).
like karhgath said, not sure if this is a good place to paste bug reports - but the Model Name column currently exports the trim name. Also, is there any way we can get the stress thresholds for pistons, or are we stuck with the “engine explodes after one crank” thresholds?
The all new custom exporter allows you to export your beloved cars to a common CSV file!
Usage
If you have already used the BeamNG exporter the process should be familiar to you.
Select your car and go to the exporting page, select "csvExporter" in the top right corner, configure it to your likings and press export
The result will be exported to your Automation user directory, after the export a finished you will be prompted with an option to view the directory
There are several options you can configure in the exporter screen:
Car Name - The name of your car that will be displayed in the exported file(s)
File Name - Name of the file the data will be exported to. You can export several cars into the same file, to do that simply set this file name the same for all cars you wish to combine
Delimiter - The character(s) used to separate the keys and values. The default is “,” (comma)
Export Choices And Results Separately - If ticked, will export the engineering choices and the stats into separate files
Export Car and Engine Separately - If ticked, will export the car and the engine into separate files. This can be combined with the previous option to export 4 separate files
Cost preset - Selects a particular preset for calculating costs for the trim, the engine and the car as a whole, the input value must be a number from 0 to 13 (more information about presets below)
Cost calculator presets
Currently there are 14 presets in the cost calculator, ranging from 0 to 13
Medium factory, cheap labor, medium automation, 2 shifts
Large factory, cheap labor, medium automation, 2 shifts
Medium factory, average labor, high automation, 2 shifts
Medium factory, average labor, high automation, 3 shifts
Small factory, average labor, medium automation, 2 shifts
Small factory, cheap labor, medium automation, 3 shifts
Tiny factory, cheap labor, no automation, 2 shifts
Tiny factory, average labor, no automation, 2 shifts
Tiny factory, expensive labor, no automation, 1 shift
Medium factory, very cheap labor, low automation, 3 shifts
Large factory, very cheap labor, low automation, 3 shifts
Large factory, average labor, medium automation, 2 shifts
Small factory, expensive labor, high automation, 2 shifts
Tiny factory, expensive labor, high automation, 2 shifts
There’s very, very little (if anything) that this exporter exposes which isn’t already in the game.
What it does do, however, is collate the information for a bunch of cars in a spreadsheet incredibly easily. If you need to look at the stats of ten, twenty, fifty cars… this automatically puts them in a spreadsheet for you. You may never have needed to look at the stats of that many cars, but people hosting challenges here on the forum absolutely do. This cuts data entry which could take an entire day down to maybe an hour on the high side.
This is especially true for challenges with high turnouts (20 or more entrants), but it’s still useful even when there’s a small entry list of 10 or fewer entrants.
Not sure if I did something wrong, but running the latest version of CSVExporter2, the car files generated are not compatible with the current version of the game for some reason.
Steps to reproduce:
Export a car with CSVExporter2
Copy the .car file from the output to CarSaveImport
Receive an incompatible version error on attempting to import again
I can’t get the exporter plugin to show up in the dropdown menu (it only contains the BeamNG exporter).
Since @AMuteCrypt has a more “late stage” issue, I’m assuming it’s a local/user error issue on my part, and the exporter works fine for others?
I followed the readme instructions, and deleted the old version.
The CSVExporter “1” worked perfectly for me last year BTW.