Skip to content

Configuration

iSmokeDrow edited this page Apr 24, 2022 · 2 revisions

First Start

The very first thing you need to do is to configure this software. This can be done two ways:

  • Open Grimoire and click the Settings (top right corner) button.
  • Configure as needed and close the menu (settings are automatically written to disk)

or

  • Open the directory Grimoire is locafted in and open the Config.json with your favorite editor.
  • Configured as needed and save the file (If Grimoire is open you will need to restart it)

Note: Directories can be relative or absolute

Configuration Settings

Below you will find all currently implemented settings broken down by their category.

Grim (misc)

Name Description Value-Type
BuildDirectory Directory where files created by Grimoire will be written to string
DumpDirectory Directory where utilities like SPR Generator and Dump Updater can find a premade /dump/ string
Codepage Encoding used in some functionality int
Epic Target epic used by some functionality like RDB2 float

Tab

Name Description Value-Type
DefaultStyle Style to be loaded on-start (if any, elsewise use "NONE") string
FocusNewTabs If true newly created tabs will automatically be selected bool

Database

Name Description Value-Type
Engine Type of database engine to be used (0 = MsSQL, 1 = MySQL) int
IP Target machine to connect to for SQL operations. string
Port Target machine port to connections related to SQL operations. int
Trusted If true Grimoire will attempt to make trusted connections on the SA account for MsSQL connections. Note: this will only work when your SQL instance is installed as a default instance with Mixed Mode Authentication enabled on your LOCAL network. bool
WorldName Name of the Arcadia database. string
WorldUser Username for the Arcadia database. (Leave blank if using Trusted) string
WorldPass Password for the user of the Arcadia database. (Leave blank if using Trusted) string
Backup If true, tables will be backed up via scripting before changes are made to them bool
DropOnExport If true, tables will be dropped via the drop statement during save operations. bool
Timeout The amount of time that can elapse before SQL operations will timeout. int

RDB

Name Description Value-Type
DefaultSaveType Determines the default (file) save behavior of RDB2 SaveFileType
DefaultSqlSaveType Determines the default (sql) save behavior SqlSaveFileType
DefaultDirectory Default directory used in loading/saving operations string
Encoding Encoding to be used in rdb related operations. Note: this must match a name on the list of encoding for RDB tabs. string
AppendASCII If true, (ascii) will be appended to the names of files being written to disk. bool
SaveHashed If true, file names will be converted/hashed during save operations. bool
CSV_Directory Directory where .csv will be created. string
SQL_Directory Not implemented. string

Data

Name Description Value-Type
LoadDirectory Default directory be used in data.000 load/save operations. string
Backup If true, data.xxx files will be backed up before being changed by Grimoire bool
UseModifiedXOR If true, DataCore will use the provided ModifiedXORKey in operations bool
ModifiedXORKey Key to be used in DataCore operations if UseModifiedXOR is set to true int[] (array)
ClearOnCreate If true, newly created data.000 will not be loaded and displayed bool

Hasher

Name Description Value-Type
AutoClear If true, the hash grid will be cleared after a conversion occurs. bool
AutoConvert If true, files added to the hash grid will be automatically hashed. bool
Type Do not change this! int

Log

Name Description Value-Type
Directory Directory where new log files will be written string
Level Level of logs to be recorded SeriLog.Events.LogEventLevel

Log

Name Description Value-Type
Directory Directory where flag list .txt are loaded from string
Default Name (without extension) of the default flag list .txt string
ClearOnChange If true, when flag lists are changed all selected flags will be unselected. bool

Dump Updater

Name Description Value-Type
OverwriteExisting If true, files in the target dump directory will be automatically ovewritten during an update operation bool

SPR Generator

Name Description Value-Type
IgnoreSize If true, the spr generator will not warn/delete of icons with a size different than expected bool
ShowWarnings If true, the spr generator will show warnings about icons that could not be validated and have been removed bool
ShowIgnored If true, the spr generator will show a list of all ignored (unvalidated) icon files after a generate operation bool

Localization

Name Description Value-Type
Directory Directory where localization .xml are located string
Locale Name (without extension) of the target locale .xml string
Clone this wiki locally