easyCSV

Jared Therriault - Oct 16, 2020

A runtime solution for parsing CSV files into string arrays for easy access

  • Supported Platforms
  • Supported Engine Versions
    4.25
  • Download Type
    Engine Plugin
    This product contains a code plugin, complete with pre-built binaries and all its source code that integrates with Unreal Engine, which can be installed to an engine version of your choice then enabled on a per-project basis.

Games and applications are data-rich and sometimes you want to drive or edit this data from outside of the engine - this is where spreadsheets really shine. You can store information about objects, characters, or even create save data using simple plain text then bring it into the engine through an external file.


If you have used Data Tables in the engine in the past, you know that you can import/export that data using CSV among other formats but this is only available when not in-game. With easyCSV you can get data in a string format at any time and use Blueprint or C++ “from string” methods to convert data from string.


If you want to convert a CSV to your game’s data types automatically at runtime (or download it from a public Google Sheet) or export a local CSV from your game’s data, please see Runtime DataTable.

Technical Details

Features:

  •  Runtime parsing of CSV text files in blueprints or C++
  •  Conversion library for strings representing quaternions
  • Supports arrays, maps, sets, nested structs and localized text objects represented as a string

Code Modules:

  •  easyCSV: A runtime module that handles parsing,


Number of Blueprints nodes: 21

C++ Classes: 2

Network Replicated: No

Supported Development Platforms: Win64, Mac

Supported Target Build Platforms: Win32, Win64, Android, Mac, iOS, tvOS


Documentation

Discussion

Project Files: Includes a TestStruct.csv (CSV_Test\Saved) that can be edited with the results showing in the output log when 'Execute It' is clicked. Requires plugin.