Home

Awesome

Download via Releases page

You can find more detailed instructions and the demo project Here

1. Introduction

This tool simplifies database design and management for game developers and designers, allowing for easy modification of configurations and statistics.

As projects grow, the need for efficient management of data tables, constants, and IDs increases. This tool centralizes the process, enabling easy searching, modification, and updates.

It supports various data types and utilizes popular spreadsheet tools for data management.

2. Main functions

3. Introduce features and installation instructions

3.1. Export single excel

excel-2-unity-tab-1

This is a basic but very important function, helping you get acquainted with the tools. If your Static Database is not too large or complex, and only needs an excel file to contain all data, then this function is enough for your needs. However, if your Static Database is complex and needs to be stored in multiple Excel files, you will need to use the Export Multi Excels function. This function will be introduced in the next section.

The important functions are in the buttons on the right:

3.2. Export multiple Excel Spreadsheets

excel-2-unity-tab-2

This is a comprehensive function, everything will be processed with just one button press:

  1. Add all the Excel files you want to process.
  2. Choose whether to export IDs and Constants by checking the appropriate boxes for each file.
  3. Press the Export All button to complete the process.

3.3. Export multiple Google Spreadsheets

excel-2-unity-tab-7

Prefer using Google Spreadsheets? No problem.

  1. Enter the IDs for the Google Spreadsheet files you want to process.
  2. Press the Export All button to begin the export.

3.4. Settings

excel-2-unity-tab-3

3.5. Encrypt & Decrypt Text

excel-2-unity-tab-4

This function allows you to encrypt or decrypt a string of characters based on the Key provided in the Settings Tab. You can use this function to secure the content of a text, or to open and read the encrypted JSON Data files after they have been exported.

4. Data Design Rules in Excel

4.1. IDs

Download detail example from GitHub

HeroBuildingPetGender[enum]
HERO_11commentBUILDING_NULL0commentPET_NULL0commentGENDER_NONE0
HERO_22commentBUILDING_11PET_11GENDER_MALE1
HERO_33commentBUILDING_22PET_22GENDER_FEMALE2
BUILDING_33PET_33GENDER_HELICOPTER3
BUILDING_44PET_44
BUILDING_55PET_55
BUILDING_66PET_66
BUILDING_77PET_77
BUILDING_88

ID Sheets, named with the suffix IDs are used to compile all IDs into Integer Constants. The design rules are:

| Group | Key | Comment |
| ----- | --- | ------- |

4.2. Constants

NameTypeValueComment
EXAMPLE_INTint83Integer Example
EXAMPLE_FLOATfloat1.021Float example
EXAMPLE_STRINGstring321fdaString example
EXAMPLE_INTARRAY_1int-array4Integer array example
EXAMPLE_INT_ARRAY_2int-array0:3:4:5Integer array example
EXAMPLE_FLOAT_ARRAY_1float-array5FLoat array example
EXAMPLE_FLOAT_ARRAY_2float-array5:1:1:3FLoat array example
EXAMPLE_VECTOR2_1vector21:2Vector2 example
EXAMPLE_VECTOR2_2vector21:2:3Vector2 example
EXAMPLE_VECTOR3vector33:3:4Vector3 example
EXAMPLE_REFERENCE_1intHERO_1Integer example
EXAMPLE_REFERENCE_2int-arrayHERO_1 : HERO_2Integer array example
EXAMPLE_REFERENCE_3int-arrayHERO_1 | HERO_3Integer array example
EXAMPLE_REFERENCE_4int-arrayHERO_1 HERO_4Integer array example
EXAMPLE_FORMULA_1int=1*10*36Excel formula example
EXAMPLE_FORMULA_2float=1+2+3+4+5+6+7+8+9Excel formula example

Constants Sheets, named with the suffix Constants compile project constants. The design rules are:

| Name | Type | Value | Comment |
| ---- | ---- | ----- | ------- |

4.3. Localization

idstringrelativeIdenglishspanish
message_1this is english message 1este es el mensaje en ingles 1
message_2this is english message 2este es el mensaje en ingles 2
message_3this is english message 3este es el mensaje en ingles 3
content1this is english message 1este es el mensaje en ingles 1
content2this is english message 2este es el mensaje en ingles 2
content3this is english message 3este es el mensaje en ingles 3
title_1this is english title 1este es el titulo 1 en ingles
title_2this is english title 2este es el titulo 2 en ingles
title_3this is english title 3este es el titulo 3 en ingles
whatever_msgthis is a sample messageeste es un mensaje de muestra
hero_nameHERO_1hero name 1nombre del héroe 1
hero_nameHERO_2hero name 2nombre del héroe 2
hero_nameHERO_3hero name 3nombre del héroe 3

Localization Sheets are named with the prefix Localization and follow these rules:

| idString | relativeId | english | spanish | japan | .... |
| -------- | ---------- | ------- | ------- | ----- | ---- |

4.4 Data table - JSON Data

Basic data type: Boolean, Number, String

numberExample1numberExample2numberExample3boolExamplestringExample
1101.2TRUEtext
2203.1TRUEtext
3BUILDING_85FALSEtext
6HERO_310.7FALSEtext
9PET_216.4FALSEtext

Extended data type: Array, JSON object

array1[]array2[]array3[]array4[]array5[]array6[]JSON{}
text111TRUE123<br/>66aaa<br/>ccc{}
text22 | 2 | 31 | 2 | 3TRUE | FALSE | TRUE123<br/>71aaa<br/>ccc{"id":1, "name":"John Doe 1"}
text1 | text21 | 21 | BUILDING_2TRUE | FALSE123<br/>67aaa<br/>ccc{"id":2, "name":"John Doe 2"}
text1 | text2 | text31 | 2 | 3BUILDING_1 | HERO_2TRUE | FALSE | TRUE123<br/>68aaa<br/>ccc{"id":HERO_2, "name":"JohnDoe 2"}
text34 | 2BUILDING_3 | HERO_1 | HERO_2TRUE | FALSE123<br/>76aaa<br/>ccc[{"id":HERO_1, "name":"John Doe 1"},{"id":HERO_2, "name":"Mary Sue 2"}]
text1 | text2 | text751 | 2 | 4 | PET_5TRUE123<br/>78aaa<br/>ccc[{"id":HERO_1, "name":"John Doe 1"},{"id":HERO_2, "name":"Mary Sue 2"}]

Special data type: Attributes list

attribute0value0unlock0increase0max0attribute1value1[]unlock1[]increase1[]max1[]...attributeN
ATT_HP3021.28...
ATT_AGI2531.58...
ATT_INT30215ATT_CRIT3 | 20 | 110.5 | 110 | 20...
ATT_ATK30218ATT_CRIT10 | 11 | 121.5 | 110 | 20...
ATT_CRIT10 | 11 | 121.5 | 110 | 20...

Attribute is a specific data type, specially created for RPG genre games - where characters and equipment can possess various different and non-fixed attributes and stats. This data type makes character and equipment customization more flexible, without restrictions.

attribute example

To define an attribute object type, the following rules should be followed:

5. Setup for a Unity Project

You can view the demo project Here