// jsonעͣļ˵jsonʹvscode鿴༭
// ¼datеĸбӣԶ÷ӣʽIP:˿  :˿ڣԭʽ
// ޸Config.jsonʵʱЧԶ·µãPatchֶβʵʱЧΪ¼ŻõϢ

{
  "DebugLog": false,				// ־Ĭfalse
  "KeepAlive": true,				// ֵ¼һֱӷͣĬϿĳЩߵ޻ӣʵϿͻҲԶ÷
  "PushUpdates": true,				// ñԶ͸¼
  "ListenPort": 9200,				// ˿
  "WriteBlockSize": 32768,			// ·СĬ32768Ĭϼ
  "Password": "һǿ",	// ͨѶ룬¼Ҫܻͬȡ

  "Launcher": [						// 汾ĵ¼
    {
      "Version": 1,					// ¼õİ汾¼˶Ӧİ汾ԻȡϢ
      "Desc": "ĳ¼汾1...",				// ʶ
      "PayUrl": "https://pay.xxxxx.com",		// ֧
      "MainUrl": "https://www.xxxxx.com",		// ҳ
      "LinkUrl": "http://127.0.0.1/link.htm",	// ¼ϵĿLinkҳ
      "HelpUrl": "https://help.xxxxx.com",		// ͷ
      "ForumUrl": "https://bbs.xxxxx.com",		// ̳
      "NewIDUrl": "https://reg.xxxxx.com",			// ע˺
      "ChgPwdUrl": "https://password.xxxxx.com",	// ޸

      "ServerList": [		// б
        {
          "ItemFilterID": 1,					// ƷID1ʱlsDefaultItemFilter.txt>1ʱlsDefaultItemFilterX.txt
          "VersionStr": "ϻ汾",				// 汾
          "FontSize": 10,						// СĬ10Ŀñһ£ѡ
          "FontName": "",					// ʹõ壬Ĭ壬Ŀñһ£ѡ
          "FontColor": "clLime",				// ɫĬ#004BBBF1ʽclXXXX#̺죨ѡ
          "ImageIndex": 0,						// Ŀ̬µͼ꣬ȡϷĿ¼\Images\0.ico-1ʹͼ֧꣬0~99ȡ\Images\0~99.icoԶ£ѡ
          "SelectedIndex": 0,					// Ŀѡʱͼ꣬ȡϷĿ¼\Images\0.ico-1ʹͼ꣨ѡ
          "GameAreas": [			// 汾µĸϷ
            {
              "Caption": "Ѫ1",			// Ϸ
              "FontSize": 10,					// ͬϣѡ
              "FontName": "",				// ͬϣѡ
              "FontColor": "#0AFF7F",			// ͬϣѡ
              "ImageIndex": 0,					// ͬϣѡ
              "SelectedIndex": 0,				// ͬϣѡ
              "Host": "127.0.0.1",				// ¼صַ֧ʽ磺www.website.com
              "Port": 7000,						// ¼ض˿
              "Client": "bluem2_client.dat",	// ʼϷִеĿͻ
              "UIConfigFile": "cui.cfg",		// ָԶUIļ
              "PatchServerAddr": "127.0.0.1:8201"	// ΢ã֧ʽ磺www.website.com:8201
            },
            {						// һĶ壬ͬ
              "Caption": "Ѫ1-",
              "FontSize": 10,
              "FontName": "",
              "FontColor": "#0AFF7F",
              "ImageIndex": 0,
              "SelectedIndex": 0,
              "Host": "127.0.0.1",
              "Port": 7000,
              "Client": "bluem2_client.dat",
              "UIConfigFile": "cui.cfg",
              "PatchServerAddr": "127.0.0.1:8201"
            }
          ]
        },
        {
          "ItemFilterID": 2,
          "VersionStr": "汾",
          "FontSize": 10,
          "FontName": "",
          "FontColor": "#FFFF00",
          "ImageIndex": 1,
          "SelectedIndex": 1,
          "GameAreas": [
            {
              "Caption": "Ѫ2",
              "FontSize": 10,
              "FontName": "",
              "FontColor": "#7FFF7F",
              "ImageIndex": 1,
              "SelectedIndex": 1,
              "Host": "127.0.0.1",
              "Port": 7000,
              "Client": "bluem2_client2.dat",
              "UIConfigFile": "cui2.cfg",
              "PatchServerAddr": "127.0.0.1:8202"
            },
            {
              "Caption": "Ѫ2-",
              "FontSize": 10,
              "FontName": "",
              "FontColor": "#7FFF7F",
              "ImageIndex": 1,
              "SelectedIndex": 1,
              "Host": "127.0.0.1",
              "Port": 7000,
              "Client": "bluem2_client2.dat",
              "UIConfigFile": "cui2.cfg",
              "PatchServerAddr": "127.0.0.1:8202"
            }
          ]
        },
        {
          "ItemFilterID": 3,
          "VersionStr": "Ű汾",
          "FontSize": 10,
          "FontName": "",
          "FontColor": "clSkyBlue",
          "ImageIndex": 2,
          "SelectedIndex": 2,
          "GameAreas": [
            {
              "Caption": "Ѫ3",
              "FontSize": 10,
              "FontName": "",
              "FontColor": "#FF00FF",
              "ImageIndex": 2,
              "SelectedIndex": 2,
              "Host": "127.0.0.1",
              "Port": 7000,
              "Client": "bluem2_client3.dat",
              "UIConfigFile": "cui3.cfg",
              "PatchServerAddr": "127.0.0.1:8203"
            },
            {
              "Caption": "Ѫ3-",
              "FontSize": 10,
              "FontName": "",
              "FontColor": "#FF00FF",
              "ImageIndex": 2,
              "SelectedIndex": 2,
              "Host": "127.0.0.1",
              "Port": 7000,
              "Client": "bluem2_client3.dat",
              "UIConfigFile": "cui3.cfg",
              "PatchServerAddr": "127.0.0.1:8203"
            }
          ]
        }
      ],
      "Patch": [		// 
        {
          "valid": false,					// ЧtrueЧfalse
          "launcher": true,					// Ŀǵ¼
          "relaunch": true,					// ǷԶ¼truefalse
          "file": "logintool.exe",			// ļlauncher=trueʱԴ˲
          "hash": "6658C3316069B621C595BCF426D50F03",		// MD5ֵ
          "link": "http://127.0.0.1/launcher/upgrade/BlueM2.exe"		// 
        },
        {
          "valid": false,
          "file": "datalui.pkg",
          "hash": "1EAD642FEE0C6FD80FBC303D4E449645",
          "link": "http://127.0.0.1/launcher/upgrade/lui.pkg"
        },
        {
          "valid": false,
          "file": "bluem2_client.dat",
          "hash": "34DA14BC2EB078500184F98D31A00D2A",
          "link": "http://127.0.0.1/launcher/upgrade/bluem2_client.dat"
        },
        {
          "valid": false,
          "file": "bluem2_client2.dat",
          "hash": "5C3007CCCC92663B606BEE6BDC960501",
          "link": "http://127.0.0.1/launcher/upgrade/bluem2_client2.dat"
        },
        {
          "valid": false,
          "file": "bluem2_client3.dat",
          "hash": "832F8BDAAEB172E41F8B3A65BCFA627C",
          "link": "http://127.0.0.1/launcher/upgrade/bluem2_client3.dat"
        },
        {
          "valid": false,
          "file": "speedtest_x64.msi",
          "hash": "B5AEE03A783665B9799E9C6A7B7D0D8C",
          "link": "https://install.speedtest.net/app/windows/latest/speedtestbyookla_x64.msi"		// ֧https
        },
        {
          "valid": true,
          "file": ".\\images\\0.ico",
          "hash": "CC7305FEB222B604DFF882FBFC755417",
          "link": "http://127.0.0.1/launcher/upgrade/0.ico"
        },
        {
          "valid": true,
          "file": ".\\images\\1.ico",
          "hash": "D3700F4244669024DD7A77520A6C4CA5",
          "link": "http://127.0.0.1/launcher/upgrade/1.ico"
        },
        {
          "valid": true,
          "file": ".\\images\\2.ico",
          "hash": "ACE1AE57C4EAEFA6DBFCAB6B11F2DC75",
          "link": "http://127.0.0.1/launcher/upgrade/2.ico"
        }
      ]
    },
    {		// һ¼汾2¼˶Ӧİ汾Իȡ{}еϢ
      "Version": 2,
      "Desc": "ĳ¼汾2...",
      "PayUrl": "https://pay.xxxxx.com",
      "MainUrl": "https://www.xxxxx.com",
      "LinkUrl": "http://127.0.0.1/link.htm",
      "HelpUrl": "https://help.xxxxx.com",
      "ForumUrl": "https://bbs.xxxxx.com",
      "NewIDUrl": "https://reg.xxxxx.com",
      "ChgPwdUrl": "https://password.xxxxx.com",

      "ServerList": [
        {
          "ItemFilterID": 1,
          "VersionStr": "ϻ汾",
          "FontSize": 10,
          "FontName": "",
          "FontColor": "clLime",
          "ImageIndex": 0,
          "SelectedIndex": 0,
          "GameAreas": [
            {
              "Caption": "Ѫ1",
              "FontSize": 10,
              "FontName": "",
              "FontColor": "#0AFF7F",
              "ImageIndex": 0,
              "SelectedIndex": 0,
              "Host": "127.0.0.1",
              "Port": 7000,
              "Client": "bluem2_client.dat",
              "UIConfigFile": "cui.cfg",
              "PatchServerAddr": "127.0.0.1:8201"
            },
            {
              "Caption": "Ѫ1-",
              "FontSize": 10,
              "FontName": "",
              "FontColor": "#0AFF7F",
              "ImageIndex": 0,
              "SelectedIndex": 0,
              "Host": "127.0.0.1",
              "Port": 7000,
              "Client": "bluem2_client.dat",
              "UIConfigFile": "cui.cfg",
              "PatchServerAddr": "127.0.0.1:8201"
            }
          ]
        },
        {
          "ItemFilterID": 2,
          "VersionStr": "汾",
          "FontSize": 10,
          "FontName": "",
          "FontColor": "#FFFF00",
          "ImageIndex": 1,
          "SelectedIndex": 1,
          "GameAreas": [
            {
              "Caption": "Ѫ2",
              "FontSize": 10,
              "FontName": "",
              "FontColor": "#7FFF7F",
              "ImageIndex": 1,
              "SelectedIndex": 1,
              "Host": "127.0.0.1",
              "Port": 7000,
              "Client": "bluem2_client2.dat",
              "UIConfigFile": "cui2.cfg",
              "PatchServerAddr": "127.0.0.1:8202"
            },
            {
              "Caption": "Ѫ2-",
              "FontSize": 10,
              "FontName": "",
              "FontColor": "#7FFF7F",
              "ImageIndex": 1,
              "SelectedIndex": 1,
              "Host": "127.0.0.1",
              "Port": 7000,
              "Client": "bluem2_client2.dat",
              "UIConfigFile": "cui2.cfg",
              "PatchServerAddr": "127.0.0.1:8202"
            }
          ]
        },
        {
          "ItemFilterID": 3,
          "VersionStr": "Ű汾",
          "FontSize": 10,
          "FontName": "",
          "FontColor": "clSkyBlue",
          "ImageIndex": 2,
          "SelectedIndex": 2,
          "GameAreas": [
            {
              "Caption": "Ѫ3",
              "FontSize": 10,
              "FontName": "",
              "FontColor": "#FF00FF",
              "ImageIndex": 2,
              "SelectedIndex": 2,
              "Host": "127.0.0.1",
              "Port": 7000,
              "Client": "bluem2_client3.dat",
              "UIConfigFile": "cui3.cfg",
              "PatchServerAddr": "127.0.0.1:8203"
            },
            {
              "Caption": "Ѫ3-",
              "FontSize": 10,
              "FontName": "",
              "FontColor": "#FF00FF",
              "ImageIndex": 2,
              "SelectedIndex": 2,
              "Host": "127.0.0.1",
              "Port": 7000,
              "Client": "bluem2_client3.dat",
              "UIConfigFile": "cui3.cfg",
              "PatchServerAddr": "127.0.0.1:8203"
            }
          ]
        }
      ],
      "Patch": [
        {
          "valid": false,
          "launcher": true,
          "relaunch": true,
          "file": "logintool.exe",
          "hash": "6658C3316069B621C595BCF426D50F03",
          "link": "http://127.0.0.1/logintool/upgrade/BlueM2.exe"
        },
        {
          "valid": false,
          "file": "datalui.pkg",
          "hash": "1EAD642FEE0C6FD80FBC303D4E449645",
          "link": "http://127.0.0.1/logintool/upgrade/lui.pkg"
        },
        {
          "valid": false,
          "file": "bluem2_client.dat",
          "hash": "34DA14BC2EB078500184F98D31A00D2A",
          "link": "http://127.0.0.1/logintool/upgrade/bluem2_client.dat"
        },
        {
          "valid": false,
          "file": "bluem2_client2.dat",
          "hash": "5C3007CCCC92663B606BEE6BDC960501",
          "link": "http://127.0.0.1/logintool/upgrade/bluem2_client2.dat"
        },
        {
          "valid": false,
          "file": "bluem2_client3.dat",
          "hash": "832F8BDAAEB172E41F8B3A65BCFA627C",
          "link": "http://127.0.0.1/logintool/upgrade/bluem2_client3.dat"
        },
        {
          "valid": false,
          "file": "speedtest_x64.msi",
          "hash": "B5AEE03A783665B9799E9C6A7B7D0D8C",
          "link": "https://install.speedtest.net/app/windows/latest/speedtestbyookla_x64.msi"
        },
        {
          "valid": true,
          "file": ".\\images\\0.ico",
          "hash": "CC7305FEB222B604DFF882FBFC755417",
          "link": "http://127.0.0.1/logintool/upgrade/0.ico"
        },
        {
          "valid": true,
          "file": ".\\images\\1.ico",
          "hash": "D3700F4244669024DD7A77520A6C4CA5",
          "link": "http://127.0.0.1/logintool/upgrade/1.ico"
        },
        {
          "valid": true,
          "file": ".\\images\\2.ico",
          "hash": "ACE1AE57C4EAEFA6DBFCAB6B11F2DC75",
          "link": "http://127.0.0.1/logintool/upgrade/2.ico"
        }
      ]
    }
  ]
}
