Gnumaru's Static Data Importer's icon

Gnumaru's Static Data Importer 1.0 Tools 4.0 Community

Submitted by user gnumaru; MIT; 2024-06-07

TL;DR: Import raw data from several file types (yaml, toml, hjson, xml, csv, xlsx, ods, odb, sqlite) in the same manner as a JSON resource but processing the strings with str_to_var.

WARNING: This add-on has system prerequisites and does not work without them, read the "Prerequisites" section in the README.md for further details.

==================================================

Hi =)!

Did you know that since godot 4.0 the JSON class is a Resource =O?

Previously it was just a helper class, but since godot 4.0 you can do something like "var mydata = load('res://my.json').data" and just start using your parsed data =D!

But that only works for json files ;-(.

Oh, how GOOD and WONDERFULL and NEEDED and FANCY and LIFE CHANGING would it be if we could do that same thing with other files like yaml, toml, xml, csv, or an excell spreadsheet, or an sqlite database...

But wait! Here I come to your aid. With this addon, you can do just that!

With the one and only "Gnumaru's Static Data Importer" you can import a plethora of files as if they where just a plain old json resource!

You can write concise nested dictionary structures in yaml and load it =D!

You can write well organized spreadsheets with lots of interdependent data and full of functions in microsoft excell (or any other software that saves as xlsx or ods like libreoffice, onlyoffice, wps office or google docs) and load it =D!

You can write a well structured and coherent database in sqlite or odb (libreoffice base format) and load it =D!

And all of this is done only in the editor, in the asset importing stage. That is, while exporting your game for production, you can just throw away the addon, the imported data is not dependant of the addon at all!

Just use the addon and be happy =D! You can thank me later ;).


View files Download Submit an issue Recent Edits