- You have already run the export scripts using FO76Edit
- An installation of Visual Studio
- (Optional) competency with C# and .NET
The Mappalachia Preprocessor is a simple C# .NET CLI tool which preprocesses the data in the initial exported CSVs into the format required for the database.
It carries out several key steps;
- Data validation, based on expected values for each column.
- Data minimization, removing junk data and excess precision, leaving the bare minimum required for Mappalachia to function.
- Combination and transformation of certain tables - notably the final Junk and NPC tables are each formed from a combination of data points from originally exported CSVs.
- It also injects position "nudges" to the CSV for the Space_Info table
You simply need to build and run the preprocessor exe. There are no arguments or inputs required. The preprocessor assumes you have run the export scripts and have left the outputted CSVs where they were exported to.
To do this, find the Preprocessor project inside the main Mappalachia solution at Mappalachia.sln
, then build and start the Preprocessor
project.
Much like the export scripts, once complete the preprocessor will generate a new folder, \Preprocessor\Output\
which contains 6 preprocessed CSVs.
If any issues arise (most likely due to failing validation, after a new game update changes something), they will be reported to the console via a raised Exception.
Please note: Due to being heavily parallelized, the preprocessor tends to allocate around 8GB memory (and is therefore configured as 64-bit).
Once the data has been preprocessed, it can now be ingested into the database, please see Ingest.md