Skip to content

setting.json Details ​

setting.json is the file that consolidates basic settings related to the entire game of this tool. The content edited in the Editor System tab is saved as a single-file Flat Dictionary Type. This chapter presents all properties as a category-organized dictionary.

Position of this chapter

  • Quick reference for "what in the editor is saved to which key"
  • Dictionary for when you "want to know the meaning when looking at JSON directly"
  • Detailed UI behaviors and design intent are explained in the System Tab Reference

Direct editing not recommended

This file is safely edited via the editor. Before editing JSON directly, always back it up (details in JSON Data Structure).

File Location ​

<project>/addons/rpg_wizard/data/settings/setting.json

Save Structure ​

Flat Dictionary Type (key = property name, value = setting value):

json
{
  "start_map": "map_village",
  "start_event": "evt_opening",
  "bgm_battle": "res://.../battle.ogg",
  "autosave_enabled": false,
  ...
}

Start Information (Initial State at Game Start) ​

KeyTypeMeaningDefault
start_mapstringStarting map IDEmpty
start_eventstringStarting event IDEmpty
start_pos_cell_xintStarting cell coordinate X0
start_pos_cell_yintStarting cell coordinate Y0
start_walk_charstringWalking character path at startDefault walking character
start_memberstring[]Array of character IDs for the starting party1 sample character

Movement / Input Settings ​

KeyTypeMeaningDefault
tile_sizeintTile size (px, grid base)48
pc_dash_enabledboolEnable dash (run) featuretrue
pc_move_time_normalfloat1-cell move time for normal walking (seconds)0.25
pc_move_time_dashfloat1-cell move time while dashing (seconds)0.125
input_touch_move_enabledboolEnable screen tap movement (smartphone / mouse)true
event_object_move_time_defaultfloatDefault for object move time0.25

Auto-Save ​

KeyTypeMeaningDefault
autosave_enabledboolEnable auto-savefalse

See Save/Load Reference for details.

UI Presets (bi_window / bi_button etc.) ​

KeyTypeMeaning
bi_windowstringKey for basic window (key in window.json)
bi_buttonstringKey for basic button (key in button.json)
menu_buttonstringKey for function buttons (such as MENU)
menu_textstringLabel for function buttons (subject to translation)
send_text_animestringAnimation on text advance

In principle, all windows and buttons use these preset keys and are displayed with a unified style (details: feedback_system_ui_bi_only).

BGM / ME / SE (Audio) ​

BGM ​

KeyTypeMeaning
bgm_battlestringBattle BGM path
bgm_victorystringBattle victory BGM path
bgm_defeatstringBattle defeat BGM path

SE (Sound Effects) ​

KeyTypeMeaning
sound_decidestringConfirm sound
sound_cancelstringCancel sound
sound_send_textstringText advance sound
sound_missstringBattle miss sound
sound_escapestringBattle escape success sound

Total Defeat Processing ​

KeyTypeMeaningValue
encounter_defeat_actionintProcessing on total defeat0=Reset Game (return to title) / 1=Move Event (to specified event)
encounter_defeat_eventstringDestination event ID when Move Event is selected—
encounter_victory_eventstringEvent ID that fires on returning to the field after encounter victoryEmpty = no firing

Battle Check Formulas (SK10) ​

KeyTypeMeaningBehavior When Empty
formula_battle_first_strikeFormula stringAlly first-strike check (bool)No check (always normal battle)
formula_battle_ambushFormula stringEnemy first-strike (ambush) check (bool)No check
formula_battle_escapeFormula stringParty escape check (bool)Uses internal fallback formula
formula_battle_action_orderFormula stringAction order calculation (descending)Random

Battle Check ON/OFF Switches ​

KeyTypeMeaningDefault
battle_first_strike_enabledboolUse ally first-strike checktrue
battle_ambush_enabledboolUse enemy first-strike (ambush) checktrue
battle_escape_enabledboolDisplay the "Escape" commandtrue

Battle State Effect Timing ​

KeyTypeMeaningDefault
battle_first_turn_include_turn_startboolFire TURN_START on turn 1 (poison etc. acts on the first turn)true
battle_end_include_turn_endboolAlso fire TURN_END at battle endfalse

Drop / Level Up ​

KeyTypeMeaningDefault
level_up_full_heal_paramsstring[]Array of Parameter keys to fully heal on level up["HP"]
battle_drop_distributionintVictory drop distribution method (0=Split equally / 1=Same value)1

Behavior While DEAD ​

KeyTypeMeaningDefault
dead_clear_other_statesboolClear other States while DEAD (auto-recovery on revive)false
dead_allow_state_addboolAllow applying States to DEAD targets (effective only when dead_clear_other_states=false)false

Auto Re-targeting ​

KeyTypeMeaningDefault
bi_auto_retarget_enemyboolRe-pick survivor when the enemy's target ally is wiped outtrue
bi_auto_retarget_allyboolRe-pick survivor when the ally's target enemy is wiped outtrue

Battle Effect ​

KeyTypeMeaningDefault
battle_dead_effectstringEffect played on DEAD (key in effect.json)"DISAPPEAR"

See Battle System Reference for the full specification of battle-related settings.

Transitions (Screen Direction) ​

KeyTypeMeaningDefault
bi_transition_battle_startstringBattle start transition (key in transition.json)Default
bi_transition_battle_endstringBattle end transitionDefault
bi_transition_map_changestringMap switch transitionDefault
bi_transition_reset_gamestringGame reset (return to title) transitionDefault
transition_max_secfloatTransition timeout seconds (forcibly resume input if exceeded)10.0

Setting transition_max_sec to 0 disables it (always waits for fade completion).

Translation ​

Translation-related settings are not included in this file. See Translation Tab and Translation / Multilingual Support for details.

Settings Separated into Different Files ​

The following are saved in files other than setting.json.

Minimap Basic Settings ​

  • addons/rpg_wizard/data/settings/minimap_settings.json: Atlas image, chip size, exploration-check patterns, etc.
  • addons/rpg_wizard/data/settings/minimap_categories.json: event_object.minimap_category → chip index correspondence

Details: Editor Minimap

3D Dungeon Defaults ​

  • addons/rpg_wizard/data/settings/dungeon_3d_settings.json: Wall / floor / ceiling textures, view distance, etc.

Details: Editor 3D Mode Settings

Input Assignment ​

  • addons/rpg_wizard/data/settings/input.json: Key / gamepad assignments for each action

Details: Editor Input

Runtime-Side Settings Files (Different) ​

The setting.json discussed on this page is the settings defined by the game creator. Volume, text speed, language, etc., that players change on the options screen are saved on the runtime side in user://config.json, and are different from setting.json.

FileContentEditor
data/settings/setting.jsonBasic game-wide settings (start info / battle settings / BGM etc.)Game creator (edited in the editor)
user://config.jsonPlayer's environment settings (volume / text speed / language)Player (changed in the in-game settings screen)

Common Properties ​

note (Development Memo) ​

setting.json does not have a note property (because it is Flat Dictionary Type). If a development memo is needed, manage it in the project's version control commit log or as a separate document.

Origin of Default Values ​

Default values for all properties are generated by setting_data() in addons/rpg_wizard/editor/editor_lib/default_data.gd at editor startup. When an existing project is opened, if there are missing keys in setting.json, default values are automatically supplemented (WARNING log appears).

Frequently Asked Questions (FAQ) ​

Q1: I want to add new setting keys ​

Because the structure of this file is tied to the tool's implementation, adding your own keys will not have them referenced. "Values that change during gameplay" use Variables provided by the tool; "permanent game-wide settings" must await feature additions in version upgrades of this tool.

Q2: I see old keys like start_pos_x / start_pos_y ​

These are from an old specification (coordinates in pixel units). Since 2026-08-24, they have been unified to cell units (start_pos_cell_x/y). Old keys may be read as a temporary fallback, but new projects use start_pos_cell_x/y.

Q3: Are there array or dictionary keys too? ​

Some exist:

  • start_member (string[]): Array of character IDs of starting members
  • level_up_full_heal_params (string[]): Array of Parameters subject to full heal

Because these have order, they are saved as JSON arrays.

Q4: I see a function name _setting_data_from_setting_data ​

This is the name of the internal runtime process that reads setting.json content into Global.setting_data. Creators do not need to be particularly aware of it.

Q5: What is the bi_ prefix? ​

An abbreviation for Basic Interface, meaning "a preset unified across the tool". bi_window / bi_button / bi_transition_* etc. apply, and they are designed to produce a unified look across all screens.

Q6: What is the difference between encounter_victory_event and the post-victory event? ​

  • encounter_victory_event: An event common to all maps that fires immediately after returning to the field after an encounter victory
  • The victory event property of Start Battle: A victory event dedicated to that battle

Since the two have different purposes, they can also be used together.