public bool MakeZoneDialogCache(ushort zoneID)
 {
     if (FFXIHelper.FFXI_FTable.Count <= 0)
     {
         return(false);
     }
     return(FFXIHelper.FFXI_LoadDialogsFromDats(ref dialogsCache, zoneID));
 }
        private void LoadSettingsIntoForm()
        {
            // Manual loading
            btnBackIN.BackColor          = Properties.Settings.Default.ColBackIN;
            btnBackOUT.BackColor         = Properties.Settings.Default.ColBackOUT;
            btnBackUNK.BackColor         = Properties.Settings.Default.ColBackUNK;
            btnBarIN.BackColor           = Properties.Settings.Default.ColBarIN;
            btnBarOUT.BackColor          = Properties.Settings.Default.ColBarOUT;
            btnBarUNK.BackColor          = Properties.Settings.Default.ColBarUNK;
            btnFontIN.BackColor          = Properties.Settings.Default.ColFontIN;
            btnFontOUT.BackColor         = Properties.Settings.Default.ColFontOUT;
            btnFontUNK.BackColor         = Properties.Settings.Default.ColFontUNK;
            btnSelectedFontIN.BackColor  = Properties.Settings.Default.ColSelectedFontIN;
            btnSelectedFontOUT.BackColor = Properties.Settings.Default.ColSelectedFontOUT;
            btnSelectedFontUNK.BackColor = Properties.Settings.Default.ColSelectedFontUNK;
            btnSelectIN.BackColor        = Properties.Settings.Default.ColSelectIN;
            btnSelectOUT.BackColor       = Properties.Settings.Default.ColSelectOUT;
            btnSelectUNK.BackColor       = Properties.Settings.Default.ColSelectUNK;
            btnSyncIN.BackColor          = Properties.Settings.Default.ColSyncIN;
            btnSyncOUT.BackColor         = Properties.Settings.Default.ColSyncOUT;
            btnSyncUNK.BackColor         = Properties.Settings.Default.ColSyncUNK;

            localFieldColors.Clear();
            localFieldColors.Add(SystemColors.ControlText);
            localFieldColors.Add(Properties.Settings.Default.ColField1);
            localFieldColors.Add(Properties.Settings.Default.ColField2);
            localFieldColors.Add(Properties.Settings.Default.ColField3);
            localFieldColors.Add(Properties.Settings.Default.ColField4);
            localFieldColors.Add(Properties.Settings.Default.ColField5);
            localFieldColors.Add(Properties.Settings.Default.ColField6);
            localFieldColors.Add(Properties.Settings.Default.ColField7);
            localFieldColors.Add(Properties.Settings.Default.ColField8);
            localFieldColors.Add(Properties.Settings.Default.ColField9);
            localFieldColors.Add(Properties.Settings.Default.ColField10);
            localFieldColors.Add(Properties.Settings.Default.ColField11);
            localFieldColors.Add(Properties.Settings.Default.ColField12);
            localFieldColors.Add(Properties.Settings.Default.ColField13);
            localFieldColors.Add(Properties.Settings.Default.ColField14);
            localFieldColors.Add(Properties.Settings.Default.ColField15);

            tbFieldColorCount.Value = Properties.Settings.Default.ColFieldCount;
            UpdateFieldColorGrid();

            cbUseExternalEditor.Checked      = Properties.Settings.Default.ExternalParseEditor;
            cbAutoOpenVideoForm.Checked      = Properties.Settings.Default.AutoOpenVideoForm;
            rbAutoLoadVideoLocalOnly.Checked = (Properties.Settings.Default.AutoLoadVideo == 1);
            rbAutoLoadVideoYoutube.Checked   = (Properties.Settings.Default.AutoLoadVideo == 2);
            rbAutoLoadVideoNever.Checked     = (!rbAutoLoadVideoLocalOnly.Checked && !rbAutoLoadVideoYoutube.Checked);
            rbListStyleText.Checked          = (Properties.Settings.Default.PacketListStyle == 0);
            rbListStyleSolid.Checked         = (Properties.Settings.Default.PacketListStyle == 1);
            rbListStyleTransparent.Checked   = (Properties.Settings.Default.PacketListStyle == 2);
            cbPreParseData.Checked           = Properties.Settings.Default.PreParseData;
            cbShowHexStringData.Checked      = Properties.Settings.Default.ShowStringHexData;
            cbAskNewProject.Checked          = Properties.Settings.Default.AskCreateNewProjectFile;
            eParserDataUpdateZipURL.Text     = Properties.Settings.Default.ParserDataUpdateZipURL;

            if (FFXIHelper.FindPaths())
            {
                eFFXIPath.Text      = FFXIHelper.FFXI_InstallationPath;
                lFFXIFileCount.Text = FFXIHelper.FFXI_FTable.Count.ToString() + " / " + FFXIHelper.FFXI_FTable.Count.ToString();
            }
            else
            {
                eFFXIPath.Text      = "<not installed>";
                lFFXIFileCount.Text = "no files";
            }
            cbUseGameClientData.Checked = Properties.Settings.Default.UseGameClientData;
        }