#!/bin/sh -e
# coding: utf-8
# created by Careone <emacslocale@126.com>, 2017.10.6
# original filename: shiqingyaqu.gtk
## 
APP="xiangqi-shiqingyaqu"

VERSION='1.1'
STDOUT=`mktemp`

GMCHESS='gmchess' #call special command to open Xiangqi book

BOOK_DIR="/usr/share/gmchess/book/适情雅趣550xqf"
#  卷一 到 卷六，共550例


## 提示：如果某些格式的棋谱未转换成 PGN 格式(如时间太短来不及)，
# 可能导致 Gmchess 程序无法启动．需要特别注意．
#PGN="`mktemp`.pgn"
PGN="`mktemp -u`.pgn"

### ---todo: optional module -----------
## ShiQingYaQu book dir for current user
SQYQ_UDIR="$HOME/.gmchess/book/适情雅趣"

SAVE_BOOK_PGN=0
if [ "$SAVE_BOOK_PGN" = 1 ]; then
if [ ! -d "$SQYQ_UDIR" ]; then
  mkdir -p "$SQYQ_UDIR/卷一"
  mkdir -p "$SQYQ_UDIR/卷二"
  mkdir -p "$SQYQ_UDIR/卷三"
  mkdir -p "$SQYQ_UDIR/卷四"
  mkdir -p "$SQYQ_UDIR/卷五"
  mkdir -p "$SQYQ_UDIR/卷六"
fi
fi
### =================

#PIC_DIR="/usr/local/share/xiangqi/games/pictures"


#WLOGO='/usr/share/pixmaps/gmchess.xpm'
WLOGO='/usr/share/gmchess/pixmaps/shiqingyaqu.png'

WIDTH="800"
HEIGHT="600"


## about Xiangqi format converting

# 1. gmchess temp pgn file: /tmp/gmchess.pgn 
#
# 2. cmd: convert_pgn 
# === PGN Convertor ===
# Usage: pgnconvert File [PGN-File]
# It support [.ccm|.che|.chn|.mxq|.xqf] 
#


### ---------------------
# 111: 001-092局
# 222: 093-188局
# 333: 189-285局
# 444: 286-376局
# 555: 377-466局
#
# 666: 467-550局(和局谱)
### ======================

#killall -u `whoami` $GMCHESS 

###
zenity --list --width=$WIDTH --height=$HEIGHT --window-icon=${WLOGO} --title="$APP $VERSION" --text="请选择: 中国象棋经典古谱----适情雅趣 (残局谱，卷一到卷六，共550局)\n       说明：\n  1* 棋谱文件保存在 /usr/share/gmchess/book/适情雅趣550xqf/ 目录 ；\n  2* 本程序使用 gmchess（天书棋谈）程序来读取象棋棋谱文件；\n  3* 目前只支持残局棋谱的＂打谱＂和＂演示＂，暂不支持残局对战；\n
  !!! 打开棋谱前，请先关闭已打开的 gmchess（天书棋谈）程序! 否则无法打开指定的棋谱文件 !!!" \
 --radiolist \
 --column ""\
 --column "序号"\
 --column "棋局名"\
 --column "实用价值"\
 --column "难度"\
 --column "杀法类型"\
 --column "技巧提示"\
 --column "相关棋局"\
  TRUE "第001局" "气呑关右" "" "" "" "" ""\
 FALSE "第002局" "马蹀阏氏" "" "" "" "" ""\
 FALSE "第003局" "羝羊触藩" "" "" "" "" ""\
 FALSE "第004局" "良将安边" "☆☆☆☆" "★★★★" "防守带攻" "" ""\
 FALSE "第005局" "淮阴遇汉" "" "" "" "" ""\
 FALSE "第006局" "蝇垂骥尾" "" "" "" "" ""\
 FALSE "第007局" "春雷惊蛰" "" "" "" "" ""\
 FALSE "第008局" "珠藏韫柜" "" "" "" "" ""\
 FALSE "第009局" "神龟出洛" "" "" "" "" ""\
 FALSE "第010局" "鸳鸯戏水" "" "" "" "" ""\
 FALSE "第011局" "群鼠争穴" "" "" "" "" ""\
 FALSE "第012局" "颠猿饮涧" "" "" "" "" ""\
 FALSE "第013局" "目视横流" "" "" "" "" ""\
 FALSE "第014局" "独鹿鸣泽" "" "" "" "" ""\
 FALSE "第015局" "妙振兵铃" "" "" "" "" ""\
 FALSE "第016局" "退思补过" "" "" "" "" ""\
 FALSE "第017局" "退闲式步" "" "" "" "" ""\
 FALSE "第018局" "播弄造化" "" "" "" "" ""\
 FALSE "第019局" "遁世不见" "" "" "" "" ""\
 FALSE "第020局" "推强扶弱" "" "" "" "" ""\
 FALSE "第021局" "尽善克终" "" "" "" "" ""\
 FALSE "第022局" "及第思乡" "☆☆☆☆" "★★★★" "脱子杀" "" "见：第107,291局　丹山起凤"\
 FALSE "第023局" "沧海遗珠" "" "" "" "" ""\
 FALSE "第024局" "垂缰救主" "" "" "" "" ""\
 FALSE "第025局" "患在几席" "" "" "" "" ""\
 FALSE "第026局" "结草衔环" "" "" "" "" ""\
 FALSE "第027局" "藕断丝牵" "" "" "" "" ""\
 FALSE "第028局" "计罗并照" "" "" "" "" ""\
 FALSE "第029局" "四面楚歌" "" "" "" "" ""\
 FALSE "第030局" "国庶兵强" "" "" "" "" ""\
 FALSE "第031局" "兵贵拙速" "" "" "" "" ""\
 FALSE "第032局" "士马如云" "" "" "" "" ""\
 FALSE "第033局" "计定千里" "" "" "" "" ""\
 FALSE "第034局" "忙里偷闲" "" "" "" "" ""\
 FALSE "第035局" "龙翻潭底" "" "" "" "" ""\
 FALSE "第036局" "鹤鸣九皋" "" "" "" "" ""\
 FALSE "第037局" "损人安己" "" "" "" "" ""\
 FALSE "第038局" "百计无由" "" "" "" "" ""\
 FALSE "第039局" "博望烧屯" "" "" "" "" ""\
 FALSE "第040局" "决策九重" "" "" "" "" ""\
 FALSE "第041局" "镇压远庭" "" "" "" "" ""\
 FALSE "第042局" "参辰卯酉" "☆☆☆☆" "★★★★" "困子杀" "" ""\
 FALSE "第043局" "精忠报国" "" "" "" "" ""\
 FALSE "第044局" "近悦远来" "" "" "" "" ""\
 FALSE "第045局" "遇水叠桥" "" "" "" "" ""\
 FALSE "第046局" "远交近攻" "" "" "" "" ""\
 FALSE "第047局" "守边告归" "" "" "" "" ""\
 FALSE "第048局" "卧薪尝胆" "" "" "" "" ""\
 FALSE "第049局" "独步出营" "" "" "" "" ""\
 FALSE "第050局" "秦鹿方走" "" "" "" "" ""\
 FALSE "第051局" "下车伏谒" "" "" "" "" ""\
 FALSE "第052局" "担雪填井" "" "" "" "" ""\
 FALSE "第053局" "开窗邀月" "" "" "" "" ""\
 FALSE "第054局" "五虎靠山" "" "" "" "" ""\
 FALSE "第055局" "背水战胜" "" "" "" "" ""\
 FALSE "第056局" "百川汇海" "" "" "" "" ""\
 FALSE "第057局" "放弥六合" "" "" "" "" ""\
 FALSE "第058局" "中外二圣" "" "" "" "" ""\
 FALSE "第059局" "变现出没" "" "" "" "" ""\
 FALSE "第060局" "虎兕出匣" "" "" "" "" ""\
 FALSE "第061局" "群虎争餐" "" "" "" "" ""\
 FALSE "第062局" "控告无门" "" "" "" "" ""\
 FALSE "第063局" "头辆舆轮" "" "" "" "" ""\
 FALSE "第064局" "倒转干戈" "" "" "" "" ""\
 FALSE "第065局" "推窗望月" "" "" "" "" ""\
 FALSE "第066局" "见危致命" "" "" "" "" ""\
 FALSE "第067局" "凫罗鱼网" "" "" "" "" ""\
 FALSE "第068局" "鸿门碎斗" "" "" "" "" ""\
 FALSE "第069局" "举趾触罝" "" "" "" "" ""\
 FALSE "第070局" "鸢飞泪天" "" "" "" "" ""\
 FALSE "第071局" "触目惊心" "" "" "" "" ""\
 FALSE "第072局" "骏骑追风" "" "" "" "" ""\
 FALSE "第073局" "鱼跃于渊" "" "" "" "" ""\
 FALSE "第074局" "登高履险" "" "" "" "" ""\
 FALSE "第075局" "豪帅心服" "" "" "" "" ""\
 FALSE "第076局" "莺慵蝶懒" "" "" "" "" ""\
 FALSE "第077局" "双蝶翻风" "" "" "" "" ""\
 FALSE "第078局" "翻江搅海" "" "" "" "" ""\
 FALSE "第079局" "四七并列" "" "" "" "" ""\
 FALSE "第080局" "士卒星散" "" "" "" "" ""\
 FALSE "第081局" "寻踪觅迹" "" "" "" "" ""\
 FALSE "第082局" "祸不单行" "" "" "" "" ""\
 FALSE "第083局" "沉鱼落雁" "" "" "" "" ""\
 FALSE "第084局" "双蜓点水" "" "" "" "" ""\
 FALSE "第085局" "骥不称力" "" "" "" "" ""\
 FALSE "第086局" "运筹决胜" "" "" "" "" ""\
 FALSE "第087局" "开渠引水" "" "" "" "" ""\
 FALSE "第088局" "边卒成功" "" "" "" "" ""\
 FALSE "第089局" "七雄争霸" "" "" "" "" ""\
 FALSE "第090局" "骅骝争先" "" "" "" "" ""\
 FALSE "第091局" "六国抗秦" "" "" "" "" ""\
 FALSE "第092局" "五丁凿路" "" "" "" "" ""\
 FALSE "第093局" "鱼骇月钩" "" "" "" "" ""\
 FALSE "第094局" "负笈追师" "" "" "" "" ""\
 FALSE "第095局" "英雄贯斗" "" "" "" "" ""\
 FALSE "第096局" "勇退急流" "" "" "" "" ""\
 FALSE "第097局" "敌居万人" "" "" "" "" ""\
 FALSE "第098局" "姜公钓渭" "" "" "" "" ""\
 FALSE "第099局" "偷营劫寨" "" "" "" "" ""\
 FALSE "第100局" "飞黄结路" "" "" "" "" ""\
 FALSE "第101局" "震惊百里" "" "" "" "" ""\
 FALSE "第102局" "金门待漏" "" "" "" "" ""\
 FALSE "第103局" "双鹭窥鱼" "" "" "" "" ""\
 FALSE "第104局" "径行自遂" "" "" "" "" ""\
 FALSE "第105局" "战如烈火" "" "" "" "" ""\
 FALSE "第106局" "兵马出塞" "" "" "" "" ""\
 FALSE "第107局" "丹山起凤" "☆☆☆☆" "★★★★" "脱子，炮马联杀" "" "见：第291局　丹山起凤"\
 FALSE "第108局" "争舟走渡" "" "" "" "" ""\
 FALSE "第109局" "欲罢不能" "" "" "" "" ""\
 FALSE "第110局" "料事多中" "" "" "" "" ""\
 FALSE "第111局" "兴戎出好" "" "" "" "" ""\
 FALSE "第112局" "飞鲸吞钓" "" "" "" "" ""\
 FALSE "第113局" "威镇四海" "" "" "" "" ""\
 FALSE "第114局" "践履笃实" "" "" "" "" ""\
 FALSE "第115局" "耕莘待聘" "" "" "" "" ""\
 FALSE "第116局" "明皇游宫" "" "" "" "" ""\
 FALSE "第117局" "曲突徙薪" "" "" "" "" ""\
 FALSE "第118局" "多士莫及" "" "" "" "" ""\
 FALSE "第119局" "力敌万人" "" "" "" "" ""\
 FALSE "第120局" "龟玉毁椟" "" "" "" "" ""\
 FALSE "第121局" "柳营射猎" "" "" "" "" ""\
 FALSE "第122局" "地富兵强" "" "" "" "" ""\
 FALSE "第123局" "逢山开路" "" "" "" "" ""\
 FALSE "第124局" "王俭坠车" "" "" "" "" ""\
 FALSE "第125局" "五虎下川" "" "" "" "" ""\
 FALSE "第126局" "叶落归秋" "" "" "" "" ""\
 FALSE "第127局" "雪夜访戴" "" "" "" "" ""\
 FALSE "第128局" "耿恭拜井" "" "" "" "" ""\
 FALSE "第129局" "凿壁偷光" "" "" "" "" ""\
 FALSE "第130局" "鸦鹊争巢" "" "" "" "" ""\
 FALSE "第131局" "入幕之宾" "" "" "" "" ""\
 FALSE "第132局" "五霸争雄" "" "" "" "" ""\
 FALSE "第133局" "六国争雄" "" "" "" "" ""\
 FALSE "第134局" "沧海腾蛟" "" "" "" "" ""\
 FALSE "第135局" "竹马迎拜" "" "" "" "" ""\
 FALSE "第136局" "惊鸿整羽" "" "" "" "" ""\
 FALSE "第137局" "匹马平胡" "" "" "" "" ""\
 FALSE "第138局" "群雄割据" "" "" "" "" ""\
 FALSE "第139局" "并驾连驱" "" "" "" "" ""\
 FALSE "第140局" "引龙出水" "" "" "" "" ""\
 FALSE "第141局" "细柳屯兵" "" "" "" "" ""\
 FALSE "第142局" "七国连衡" "" "" "" "" ""\
 FALSE "第143局" "见害必避" "" "" "" "" ""\
 FALSE "第144局" "清门缵戎" "" "" "" "" ""\
 FALSE "第145局" "开门待战" "" "" "" "" ""\
 FALSE "第146局" "远猎山林" "" "" "" "" ""\
 FALSE "第147局" "烧牛凿城" "" "" "" "" ""\
 FALSE "第148局" "拨乱反正" "" "" "" "" ""\
 FALSE "第149局" "腾蛟起凤" "" "" "" "" ""\
 FALSE "第150局" "吕帅鹰扬" "" "" "" "" ""\
 FALSE "第151局" "虏马饮江" "" "" "" "" ""\
 FALSE "第152局" "江心下钓" "☆☆☆☆☆" "★★★★" "" "三楼，车助马后炮；两次宫心献杀" ""\
 FALSE "第153局" "死敌为忠" "" "" "" "" ""\
 FALSE "第154局" "外攘四夷" "☆☆☆☆" "★★★★" "马炮双车联杀" "底线，车助马后炮" ""\
 FALSE "第155局" "足蹑天窟" "☆☆☆☆" "★★★★" "" "二楼，车助马后炮" ""\
 FALSE "第156局" "三献刖足" "☆☆☆☆☆" "★★★★" "" "引离士象，侧推兵" ""\
 FALSE "第157局" "指鹿道马" "" "" "" "" ""\
 FALSE "第158局" "暴虎凭河" "☆☆☆☆" "★★★★" "双马双炮联杀" "献炮引马出" ""\
 FALSE "第159局" "前后绝伦" "" "" "" "" ""\
 FALSE "第160局" "倚闾望子" "" "" "" "" ""\
 FALSE "第161局" "远害全身" "" "" "" "" ""\
 FALSE "第162局" "朱云折槛" "☆☆☆☆" "★★★" "天地炮" "" ""\
 FALSE "第163局" "选将练兵" "" "" "" "" ""\
 FALSE "第164局" "凿壁偷光" "" "" "" "" ""\
 FALSE "第165局" "遇水叠桥" "" "" "" "" ""\
 FALSE "第166局" "立倾敌国" "" "" "" "" ""\
 FALSE "第167局" "功成略地" "" "" "" "" ""\
 FALSE "第168局" "疾如激电" "" "" "" "" ""\
 FALSE "第169局" "阴陵失道" "" "" "" "" ""\
 FALSE "第170局" "面缚自首" "" "" "" "" ""\
 FALSE "第171局" "赢缩无常" "" "" "" "" ""\
 FALSE "第172局" "动行网罗" "" "" "" "" ""\
 FALSE "第173局" "水枯见鱼" "" "" "" "" ""\
 FALSE "第174局" "三气周瑜" "" "" "" "" ""\
 FALSE "第175局" "四面旋绕" "" "" "" "" ""\
 FALSE "第176局" "送往迎来" "" "" "" "" ""\
 FALSE "第177局" "声势相倚" "" "" "" "" ""\
 FALSE "第178局" "黾勉同心" "" "" "" "" ""\
 FALSE "第179局" "边烽惊虏" "" "" "" "" ""\
 FALSE "第180局" "暮鸟投林" "" "" "" "" ""\
 FALSE "第181局" "海底诛龙" "" "" "" "" ""\
 FALSE "第182局" "投肉馁虎" "" "" "" "" ""\
 FALSE "第183局" "远遁边境" "" "" "" "" ""\
 FALSE "第184局" "蛇龙混海" "" "" "" "" ""\
 FALSE "第185局" "酸毒道路" "" "" "" "" ""\
 FALSE "第186局" "宿鸟惊弹" "" "" "" "" ""\
 FALSE "第187局" "萤惑退舍" "" "" "" "" ""\
 FALSE "第188局" "载沉载浮" "" "" "" "" ""\
 FALSE "第189局" "闭门扫轨" "" "" "" "" ""\
 FALSE "第190局" "乘风吹火" "" "" "" "" ""\
 FALSE "第191局" "劳问将士" "" "" "" "" ""\
 FALSE "第192局" "两地关心" "" "" "" "" ""\
 FALSE "第193局" "同功并位" "" "" "" "" ""\
 FALSE "第194局" "步设陷阱" "" "" "" "" ""\
 FALSE "第195局" "盐车困骥" "" "" "" "" ""\
 FALSE "第196局" "雪拥蓝关" "" "" "" "" ""\
 FALSE "第197局" "投命仇门" "" "" "" "" ""\
 FALSE "第198局" "惊鸟藏枝" "" "" "" "" ""\
 FALSE "第199局" "雕鹰捉兔" "" "" "" "" ""\
 FALSE "第200局" "落花流水" "" "" "" "" ""\
 FALSE "第201局" "三请诸葛" "" "" "" "" ""\
 FALSE "第202局" "行监坐守" "" "" "" "" ""\
 FALSE "第203局" "远近惊骇" "" "" "" "" ""\
 FALSE "第204局" "雷震八荒" "☆☆☆☆" "★★★★" "借炮架" "" ""\
 FALSE "第205局" "四畏廉名" "" "" "" "" ""\
 FALSE "第206局" "孤星坠地" "" "" "" "" ""\
 FALSE "第207局" "菱叶穿萍" "" "" "" "" ""\
 FALSE "第208局" "用兵最精" "" "" "" "" ""\
 FALSE "第209局" "叁参见佛" "" "" "" "" ""\
 FALSE "第210局" "士马如云" "" "" "" "" ""\
 FALSE "第211局" "晚鸟争枝" "" "" "" "" ""\
 FALSE "第212局" "雁惊云网" "" "" "" "" ""\
 FALSE "第213局" "投石入水" "" "" "" "" ""\
 FALSE "第214局" "阻住行程" "" "" "" "" ""\
 FALSE "第215局" "猛虎出林" "" "" "" "" ""\
 FALSE "第216局" "载沉载浮" "" "" "" "" ""\
 FALSE "第217局" "勇退急流" "" "" "" "" ""\
 FALSE "第218局" "路隔星河" "" "" "" "" ""\
 FALSE "第219局" "屈突徒薪" "" "" "" "" ""\
 FALSE "第220局" "攀辕卧辙" "" "" "" "" ""\
 FALSE "第221局" "野马舞风" "" "" "" "" ""\
 FALSE "第222局" "鱼游浅濑" "" "" "" "" ""\
 FALSE "第223局" "军中烈士" "" "" "" "" ""\
 FALSE "第224局" "随形助胜" "" "" "" "" ""\
 FALSE "第225局" "循序渐进" "" "" "" "" ""\
 FALSE "第226局" "脱网逢钩" "" "" "" "" ""\
 FALSE "第227局" "流星赶月" "" "" "" "" ""\
 FALSE "第228局" "游鱼吞钩" "" "" "" "" ""\
 FALSE "第229局" "猛虎入山" "☆☆☆☆" "★★★★" "马炮双车，借中帅" "" ""\
 FALSE "第230局" "胡骑迫背" "☆☆☆☆" "★★★★" "马双车" "卧槽马推车" ""\
 FALSE "第231局" "用舍相碍" "☆☆☆☆" "★★★★" "山顶杀" "" ""\
 FALSE "第232局" "望尘遮道" "☆☆☆☆" "★★★★" "车马炮联杀" "炮镇中路" ""\
 FALSE "第233局" "停车绊马" "☆☆☆☆" "★★★★" "车马炮联杀" "" ""\
 FALSE "第234局" "居中反祸" "☆☆☆☆" "★★★★" "炮双车联杀" "炮压死象" ""\
 FALSE "第235局" "勒马停骖" "☆☆☆☆" "★★★★" "车马炮，八角马" "" ""\
 FALSE "第236局" "怀春育孕" "☆☆☆☆" "★★★★" "炮双车，宫心献杀" "" ""\
 FALSE "第237局" "长鲸授首" "☆☆☆☆" "★★★★" "车马炮联杀" "" ""\
 FALSE "第238局" "子胥过关" "☆☆☆☆" "★★★★" "" "二楼飞车，助两头炮" ""\
 FALSE "第239局" "弃短取长" "" "" "" "" ""\
 FALSE "第240局" "凭马渡江" "☆☆☆☆" "★★★★" "借路" "弃车借路出马" ""\
 FALSE "第241局" "鱼游釜甑" "" "" "" "" ""\
 FALSE "第242局" "明修栈道" "☆☆☆☆" "★★★★" "" "献车助十字炮" ""\
 FALSE "第243局" "祸生肘腋" "☆☆☆☆" "★★★★" "宫心献杀" "车炮闷" ""\
 FALSE "第244局" "苍舒称象" "☆☆☆" "★★★★" "" "飞高相露帅" ""\
 FALSE "第245局" "困魏掣燕" "☆☆☆☆" "★★★★" "兵破中士，车抽车" "" ""\
 FALSE "第246局" "伏虎降龙" "☆☆☆☆" "★★★★" "马炮兵肋线定车定将" "" ""\
 FALSE "第247局" "同心赞政" "☆☆☆☆" "★★★★" "双车抢宫心" "" ""\
 FALSE "第248局" "开拓心胸" "☆☆☆" "★★★★" "落相，解杀还杀" "" ""\
 FALSE "第249局" "雁阵排空" "☆☆☆☆" "★★★★" "弃子借步出连杀" "" ""\
 FALSE "第250局" "惊心破胆" "" "" "" "" ""\
 FALSE "第251局" "诱虎吞钩" "" "" "" "" ""\
 FALSE "第252局" "二龙绕室" "☆☆☆☆" "★★★★" "炮双马联杀" "" ""\
 FALSE "第253局" "毙马仆途" "☆☆☆" "★★★★" "车马双炮，借炮架" "" ""\
 FALSE "第254局" "历诛四寇" "☆☆☆" "★★★★" "双车破四卒联" "" ""\
 FALSE "第255局" "车行同轨" "☆☆☆☆" "★★★★" "拉车借炮架" "" ""\
 FALSE "第256局" "挡住英雄" "☆☆☆☆" "★★★★" "车炮兵，遮将借步" "" ""\
 FALSE "第257局" "独夫当关" "☆☆☆☆" "★★★★" "车兵，底兵封将门" "" ""\
 FALSE "第258局" "阴持两端" "☆☆☆☆" "★★★★" "双车，飞相解杀还杀" "" ""\
 FALSE "第259局" "直造竹所" "" "" "炮双车联杀" "" ""\
 FALSE "第260局" "金创满身" "" "" "" "" ""\
 FALSE "第261局" "不服自老" "" "" "" "" ""\
 FALSE "第262局" "增补隘口" "" "" "" "" ""\
 FALSE "第263局" "跃鲤吞饵" "" "" "" "" ""\
 FALSE "第264局" "巅峰得路" "" "" "" "" ""\
 FALSE "第265局" "入穴取虎" "" "" "" "" ""\
 FALSE "第266局" "脱网逢钩" "" "" "" "" ""\
 FALSE "第267局" "直穷到底" "" "" "" "" ""\
 FALSE "第268局" "投躯帝廷" "" "" "" "" ""\
 FALSE "第269局" "杨香跨虎" "" "" "" "" ""\
 FALSE "第270局" "吐胆倾心" "" "" "" "" ""\
 FALSE "第271局" "赤心报国" "" "" "" "" ""\
 FALSE "第272局" "舍命如归" "" "" "" "" ""\
 FALSE "第273局" "辎重塞途" "" "" "" "" ""\
 FALSE "第274局" "打草惊蛇" "" "" "" "" ""\
 FALSE "第275局" "路车乘马" "" "" "" "" ""\
 FALSE "第276局" "双骑追敌" "" "" "" "" ""\
 FALSE "第277局" "异地同心" "" "" "" "" ""\
 FALSE "第278局" "火炎昆岗" "" "" "" "" ""\
 FALSE "第279局" "将机就机" "" "" "" "" ""\
 FALSE "第280局" "诳楚救主" "" "" "" "" ""\
 FALSE "第281局" "前后一辙" "" "" "" "" ""\
 FALSE "第282局" "一举而定" "" "" "" "" ""\
 FALSE "第283局" "肉钽负荆" "" "" "" "" ""\
 FALSE "第284局" "一骑困魏" "" "" "" "" ""\
 FALSE "第285局" "野马诱虎" "" "" "" "" ""\
 FALSE "第286局" "夺马驱敌" "" "" "" "" ""\
 FALSE "第287局" "敛手削地" "" "" "" "" ""\
 FALSE "第288局" "汗马功劳" "" "" "" "" ""\
 FALSE "第289局" "莘野邀汤" "" "" "" "" ""\
 FALSE "第290局" "城门失火" "" "" "" "" ""\
 FALSE "第291局" "丹山起凤" "☆☆☆☆" "★★★★" "脱子，马炮联杀" "" "见：第107局　丹山起凤"\
 FALSE "第292局" "两虎共斗" "" "" "" "" ""\
 FALSE "第293局" "勤劳一纪" "" "" "" "" ""\
 FALSE "第294局" "济弱扶倾" "" "" "" "" ""\
 FALSE "第295局" "绕江撒网" "" "" "" "" ""\
 FALSE "第296局" "鸮立中天" "" "" "" "" ""\
 FALSE "第297局" "虎帐谈兵" "" "" "" "" ""\
 FALSE "第298局" "参前倚衡" "" "" "" "" ""\
 FALSE "第299局" "陈桥兵变" "" "" "" "" ""\
 FALSE "第300局" "手探月窟" "" "" "" "" ""\
 FALSE "第301局" "蹇驽卧道" "" "" "" "" ""\
 FALSE "第302局" "板筑隐贤" "" "" "" "" ""\
 FALSE "第303局" "雌鸡化雄" "" "" "" "" ""\
 FALSE "第304局" "众星拱月" "" "" "" "" ""\
 FALSE "第305局" "轻兵锐卒" "" "" "" "" ""\
 FALSE "第306局" "拔去病根" "" "" "" "" ""\
 FALSE "第307局" "宽一步胜" "☆☆☆☆" "★★★★" "车马炮联杀" "二楼飞车" ""\
 FALSE "第308局" "三军联位" "☆☆☆☆" "★★★★" "马炮联杀" "守炮二楼" ""\
 FALSE "第309局" "有家难奔" "☆☆☆☆" "★★★★" "车马强破士" "" ""\
 FALSE "第310局" "金鸡抱卵" "" "" "宫心献杀" "" ""\
 FALSE "第311局" "深入远岛" "☆☆☆☆" "★★★★" "" "车别马腿沉底炮" ""\
 FALSE "第312局" "马跳澶溪" "☆☆☆☆" "★★★★" "马助车" "" ""\
 FALSE "第313局" "堵塞要路" "☆☆☆☆" "★★★★" "车马炮联杀" "二楼飞炮堵象眼" ""\
 FALSE "第314局" "三将夺关" "" "" "" "" ""\
 FALSE "第315局" "渴骥饮泉" "" "" "" "" ""\
 FALSE "第316局" "移星换斗" "" "" "" "" ""\
 FALSE "第317局" "赤壁鏖战" "" "" "" "" ""\
 FALSE "第318局" "匿影避形" "" "" "" "" ""\
 FALSE "第319局" "右相安刘" "" "" "" "借步，飞相" ""\
 FALSE "第320局" "好勇不矜" "" "" "" "" ""\
 FALSE "第321局" "跨海东征" "" "" "" "" ""\
 FALSE "第322局" "过眼成虚" "☆☆☆☆" "★★★★" "" "炮将散象，借路过车马" ""\
 FALSE "第323局" "临难忘躯" "" "" "" "" ""\
 FALSE "第324局" "夜过昭关" "☆☆☆☆" "★★★★" "" "二楼穿车；强插炮架" ""\
 FALSE "第325局" "退思补过" "☆☆☆☆" "★★★★" "" "引炮架，宫心献杀作闭宫" ""\
 FALSE "第326局" "奇妙文武" "☆☆☆☆" "★★★★" "车马冷着" "" ""\
 FALSE "第327局" "忠孝两全" "☆☆☆☆" "★★★★★" "车双炮错位" "" ""\
 FALSE "第328局" "虹霓贯日" "" "" "" "" ""\
 FALSE "第329局" "远交近攻" "" "" "" "" ""\
 FALSE "第330局" "殒命宁亲" "" "" "" "" ""\
 FALSE "第331局" "车马盈门" "" "" "" "" ""\
 FALSE "第332局" "截趾适履" "" "" "" "" ""\
 FALSE "第333局" "策马入城" "" "" "" "" ""\
 FALSE "第334局" "蝶恋花心" "" "" "" "" ""\
 FALSE "第335局" "殃及池鱼" "" "" "" "" ""\
 FALSE "第336局" "伍相奔吴" "" "" "" "" ""\
 FALSE "第337局" "大车无輗" "☆☆☆☆" "★★★★" "兵马笑双车" "单车八角马定双车" ""\
 FALSE "第338局" "英略盖世" "☆☆☆☆" "★★★★" "压马借炮架" "" ""\
 FALSE "第339局" "星坠日升" "" "" "" "" ""\
 FALSE "第340局" "兵马侵境" "" "" "" "" ""\
 FALSE "第341局" "抱火积薪" "" "" "" "" ""\
 FALSE "第342局" "闭窟捉虎" "" "" "" "" ""\
 FALSE "第343局" "深入敌境" "" "" "" "" ""\
 FALSE "第344局" "爱身待时" "" "" "" "" ""\
 FALSE "第345局" "石燕拂云" "" "" "" "" ""\
 FALSE "第346局" "朝野从容" "" "" "" "" ""\
 FALSE "第347局" "绝长补短" "☆☆☆☆" "★★★★" "双炮双兵抢宫" "" ""\
 FALSE "第348局" "夷齐扣马" "☆☆☆☆☆" "★★★★★" "车马联杀" "车马三变阵" ""\
 FALSE "第349局" "力小任大" "" "" "" "" ""\
 FALSE "第350局" "管仲随马" "☆☆☆☆" "★★★★" "车马炮联杀" "拔簧马多次抽吃" ""\
 FALSE "第351局" "老而不倦" "☆☆☆" "" "炮双兵抢宫心" "" ""\
 FALSE "第352局" "徐母回车" "" "" "" "" ""\
 FALSE "第353局" "虎守三穴" "" "" "" "" ""\
 FALSE "第354局" "一虎下山" "☆☆☆☆" "★★★★" "马双兵进宫" "" ""\
 FALSE "第355局" "猛虎驱羊" "☆☆☆" "★★★★" "车双兵胜五卒" "" ""\
 FALSE "第356局" "首动尾应" "" "" "" "" ""\
 FALSE "第357局" "引雏入巢" "" "" "" "" ""\
 FALSE "第358局" "四海一家" "" "" "炮双兵抢宫" "" ""\
 FALSE "第359局" "涂廪浚井" "☆☆☆☆" "★★★★" "车四兵胜四卒" "" ""\
 FALSE "第360局" "弘羊心计" "☆☆☆☆" "" "马炮兵抢宫" "" ""\
 FALSE "第361局" "视死如归" "☆☆☆" "" "车马兵联杀" "赶象别将" ""\
 FALSE "第362局" "拔本塞源" "" "" "炮兵双车" "宫心献车" ""\
 FALSE "第363局" "从容中道" "☆☆☆" "" "宫心献杀" "" ""\
 FALSE "第364局" "举直错枉" "☆☆☆" "" "宫心献杀" "" ""\
 FALSE "第365局" "以恩塞责" "☆☆☆" "" "山顶杀" "" ""\
 FALSE "第366局" "少见相拘" "☆☆☆☆" "" "" "兵定将，帅底运车" ""\
 FALSE "第367局" "四门斗底" "" "" "" "" ""\
 FALSE "第368局" "兔游月窟" "" "" "" "" ""\
 FALSE "第369局" "时堪乘便" "" "" "" "" ""\
 FALSE "第370局" "五老降庭" "☆☆☆" "★★★★" "双车胜五卒" "" ""\
 FALSE "第371局" "兵入其腹" "☆☆☆☆" "★★★★" "车帅兵三杀" "" ""\
 FALSE "第372局" "兵势无常" "" "" "" "" ""\
 FALSE "第373局" "四面设网" "" "" "" "" ""\
 FALSE "第374局" "托孤寄命" "" "" "" "" ""\
 FALSE "第375局" "勒兵为备" "" "" "" "" ""\
 FALSE "第376局" "伏兵要路" "" "" "" "" ""\
 FALSE "第377局" "筑坛拜帅" "" "" "" "" ""\
 FALSE "第378局" "诸葛出庐" "" "" "车兵仕联杀" "九宫内困车借步" ""\
 FALSE "第379局" "二马追风" "" "" "兵双马联杀" "" "见：第400局　双马饮泉"\
 FALSE "第380局" "退无所归" "☆☆☆☆" "★★★★" "" "马兵堵象眼" ""\
 FALSE "第381局" "举鼎争功" "" "" "" "" ""\
 FALSE "第382局" "胡爽扣马" "" "" "" "" ""\
 FALSE "第383局" "剪棘开径" "" "" "" "" ""\
 FALSE "第384局" "投肉饲虎" "" "" "" "" ""\
 FALSE "第385局" "海底觅针" "" "" "" "" ""\
 FALSE "第386局" "戮力一心" "" "" "" "" ""\
 FALSE "第387局" "运筹帷幄" "" "" "" "" ""\
 FALSE "第388局" "身无所措" "" "" "" "" ""\
 FALSE "第389局" "羸羊触角" "" "" "" "" ""\
 FALSE "第390局" "以兵服人" "" "" "车兵和兵卒" "" ""\
 FALSE "第391局" "驱虎离山" "☆☆☆☆" "★★★★" "三卒巧和单车" "" ""\
 FALSE "第392局" "倾身下士" "☆☆☆☆" "★★★★" "车仕巧和车炮" "" ""\
 FALSE "第393局" "兵势尚强" "" "" "" "" ""\
 FALSE "第394局" "地险兵强" "" "" "" "" ""\
 FALSE "第395局" "引兵渡河" "" "" "" "" ""\
 FALSE "第396局" "一兵取功" "" "" "" "" ""\
 FALSE "第397局" "将帅不忠" "" "" "" "" ""\
 FALSE "第398局" "王母蟠桃" "" "" "" "" ""\
 FALSE "第399局" "避难而行" "" "" "" "" ""\
 FALSE "第400局" "双马饮泉" "" "" "兵双马，马挂士角" "" "见：第379局　二马追风"\
 FALSE "第401局" "幽鸟攒阶" "" "" "" "" ""\
 FALSE "第402局" "踏雪寻梅" "☆☆☆☆" "★★★★" "" "四楼'三头马'：卧槽马,挂角马双变" "见: 第408局 得失有变"\
 FALSE "第403局" "二郎搜山" "☆☆☆☆" "★★★★" "" "困子欠行, 扫荡吃子" ""\
 FALSE "第404局" "转祸为福" "" "" "" "" ""\
 FALSE "第405局" "双鹊投林" "" "" "" "" ""\
 FALSE "第406局" "入穴取虎" "" "" "" "" ""\
 FALSE "第407局" "追风赶月" "" "" "" "" ""\
 FALSE "第408局" "得失有变" "☆☆☆☆" "★★★★" "" "三头马,防不胜防" "见: 第402局 踏雪寻梅"\
 FALSE "第409局" "家无安堵" "☆☆☆☆" "★★★★" "单车巧胜士象全" "二楼车定住中士, 防将逃脱" "见: 第430局 能为必胜 ---- 第437局 斗柄回寅"\
 FALSE "第410局" "威震华夷" "☆☆☆☆" "★★★★" "车捉四卒" "" ""\
 FALSE "第411局" "痛断根除" "" "" "" "" ""\
 FALSE "第412局" "残虏投降" "" "" "底兵封将门" "" "见: 第415局 私下三关"\
 FALSE "第413局" "宁静待时" "☆☆☆☆" "★★★" "兵换双士" "" ""\
 FALSE "第414局" "私渡关津" "☆☆☆☆" "★★★★" "" "相挡车不杀(车来不及杀相)" ""\
 FALSE "第415局" "私下三关" "☆☆☆☆" "★★★★" "" "底兵封将门, 三头炮" "见: 第412局 残虏投降"\
 FALSE "第416局" "动中有静" "☆☆☆☆" "★★★★" "两头炮(炮看两家)" "" ""\
 FALSE "第417局" "蹇驽困厩" "" "" "" "" ""\
 FALSE "第418局" "厩焚伤马" "" "" "" "" ""\
 FALSE "第419局" "一虎下山" "" "" "双兵定将" "" ""\
 FALSE "第420局" "失左右手" "" "" "" "" ""\
 FALSE "第421局" "内攻外御" "" "" "" "" ""\
 FALSE "第422局" "抹马潜戈" "☆☆☆" "★★★★" "帅底过马" "" ""\
 FALSE "第423局" "遐迩归心" "" "" "" "" ""\
 FALSE "第424局" "怯勇自服" "☆☆☆☆☆" "★★★★" "车守卒过河" "" ""\
 FALSE "第425局" "驱将擒胡" "" "" "车抢卒捉炮" "" ""\
 FALSE "第426局" "马灵兵胜" "" "" "" "" ""\
 FALSE "第427局" "踊跃用兵" "☆☆☆☆" "★★★★" "炮兵胜士象全" "禁子欠行" "见: 第428局 一心向火"\
 FALSE "第428局" "一心向火" "☆☆☆☆☆" "★★★★" "炮兵胜士象全" "空头炮变二垫炮" "见: 第427局 踊跃用兵"\
 FALSE "第429局" "上陵下替" "" "" "" "" ""\
 FALSE "第430局" "能为必胜" "" "" "单车巧胜士象全" "" "见: 第409局 家无安堵；第430局 能为必胜 ---- 第437局 斗柄回寅"\
 FALSE "第431局" "功成则退" "" "" "单车巧胜士象全" "" "见: 第409局 家无安堵；第430局 能为必胜 ---- 第437局 斗柄回寅"\
 FALSE "第432局" "钳塞士口" "" "" "单车巧胜士象全" "" "见: 第409局 家无安堵；第430局 能为必胜 ---- 第437局 斗柄回寅"\
 FALSE "第433局" "束手就系" "" "" "单车巧胜士象全" "" "见: 第409局 家无安堵；第430局 能为必胜 ---- 第437局 斗柄回寅"\
 FALSE "第434局" "上下离心" "" "" "单车巧胜士象全" "" "见: 第409局 家无安堵；第430局 能为必胜 ---- 第437局 斗柄回寅"\
 FALSE "第435局" "独行千里" "" "" "单车巧胜士象全" "" "见: 第409局 家无安堵；第430局 能为必胜 ---- 第437局 斗柄回寅"\
 FALSE "第436局" "上下失望" "☆☆☆" "★★★" "单车巧胜士象全" "先出帅粘住并抢吃羊角士" "见: 第409局 家无安堵；第430局 能为必胜 ---- 第437局 斗柄回寅"\
 FALSE "第437局" "斗柄回寅" "☆☆☆" "★★★" "单车巧胜士象全" "先出帅粘住并抢吃羊角士" "见: 第409局 家无安堵；第430局 能为必胜 ---- 第437局 斗柄回寅"\
 FALSE "第438局" "左右并攻" "" "" "" "" ""\
 FALSE "第439局" "士卒威服" "" "" "" "" ""\
 FALSE "第440局" "三军夺帅" "" "" "" "" ""\
 FALSE "第441局" "国富兵强" "" "" "" "" ""\
 FALSE "第442局" "济济多士" "" "" "" "" ""\
 FALSE "第443局" "日月交蚀" "" "" "炮兵巧胜炮" "帅牵中士,兵守宫腰" ""\
 FALSE "第444局" "地网天罗" "" "" "炮双兵胜双象" "" ""\
 FALSE "第445局" "双孙扶老" "" "" "双兵巧胜单缺象" "" ""\
 FALSE "第446局" "锐兵健步" "" "" "双兵必胜双象" "" ""\
 FALSE "第447局" "茕茕孑立" "" "" "双兵胜双士" "" ""\
 FALSE "第448局" "游丝系虎" "" "" "车巧胜炮双象" "车禁将象, 再牵制炮" ""\
 FALSE "第449局" "只马归命" "" "" "车巧胜马双象" "" "见: 第451局 华衣怒马"\
 FALSE "第450局" "驽驹失厩" "" "" "车巧胜马双士" "" "见: 第452局 野马踅田"\
 FALSE "第451局" "华衣怒马" "" "" "车巧胜马双象" "" "见: 第449局 只马归命"\
 FALSE "第452局" "野马踅田" "" "" "车巧胜马双士" "" "见: 第450局 驽驹失厩"\
 FALSE "第453局" "变生肘腋" "" "" "炮低兵胜双士" "" ""\
 FALSE "第454局" "计罗并照" "" "" "双炮必胜双士" "帅占中, 两炮各守一条肋线" ""\
 FALSE "第455局" "孤生无倚" "" "" "炮兵相胜象" "" ""\
 FALSE "第456局" "国士无双" "★★★" "" "炮仕必胜双士" "" ""\
 FALSE "第457局" "送往迎来" "★★★★" "☆☆☆☆" "炮兵追两步卒" "" ""\
 FALSE "第458局" "顾彼失此" "" "" "" "" ""\
 FALSE "第459局" "单驹随牝" "" "" "马兵胜单马" "" ""\
 FALSE "第460局" "赶虎出穴" "" "" "" "" ""\
 FALSE "第461局" "三辰不轨" "" "" "" "" ""\
 FALSE "第462局" "一恸而绝" "" "" "炮兵打单象" "" ""\
 FALSE "第463局" "填塞道路" "" "" "炮兵堵单象" "" ""\
 FALSE "第464局" "侵害边卒" "★★★★" "☆☆☆" "炮兵守卒过河" "" ""\
 FALSE "第465局" "一木难支" "★★★★" "☆☆☆" "兵仕胜单士" "" ""\
 FALSE "第466局" "士孤将寡" "★★★★★" "☆☆☆☆" "马杀单士" "" ""\
 FALSE "第467局" "七擒七纵" "" "" "" "" ""\
 FALSE "第468局" "单马独还" "" "" "" "" ""\
 FALSE "第469局" "匹马平戎" "" "" "" "" ""\
 FALSE "第470局" "公私安堵" "" "" "" "" ""\
 FALSE "第471局" "藏锋敛锷" "" "" "" "" ""\
 FALSE "第472局" "中外义安" "" "" "" "" ""\
 FALSE "第473局" "盘石固守" "" "" "" "" ""\
 FALSE "第474局" "保卫一方" "" "" "" "" ""\
 FALSE "第475局" "四方清晏" "" "" "" "" ""\
 FALSE "第476局" "一兵解危" "" "" "" "" ""\
 FALSE "第477局" "三仙炼丹" "" "" "" "" ""\
 FALSE "第478局" "虎溪三笑" "" "" "" "" ""\
 FALSE "第479局" "三军劫寨" "" "" "" "" ""\
 FALSE "第480局" "三顾草庐" "" "" "" "" ""\
 FALSE "第481局" "众寡不敌" "" "" "" "" ""\
 FALSE "第482局" "保障若石" "" "" "" "" ""\
 FALSE "第483局" "保障坚牢" "" "" "" "" ""\
 FALSE "第484局" "化蛇当道" "" "" "" "" ""\
 FALSE "第485局" "三家鼎立" "" "" "" "" ""\
 FALSE "第486局" "扣马苦谏" "" "" "" "" ""\
 FALSE "第487局" "平定中原" "" "" "" "" ""\
 FALSE "第488局" "全师保安" "" "" "" "" ""\
 FALSE "第489局" "本固邦宁" "" "" "" "" ""\
 FALSE "第490局" "保国宁家" "" "" "" "" ""\
 FALSE "第491局" "凭险自固" "" "" "" "" ""\
 FALSE "第492局" "仗剑鞭马" "" "" "" "马后炮借中帅" ""\
 FALSE "第493局" "控马避敌" "" "" "" "" ""\
 FALSE "第494局" "三出祁山" "" "" "" "" ""\
 FALSE "第495局" "士而怀居" "" "" "" "" ""\
 FALSE "第496局" "士马疲劳" "" "" "" "" ""\
 FALSE "第497局" "三镇连兵" "" "" "" "" ""\
 FALSE "第498局" "努力固守" "" "" "" "" ""\
 FALSE "第499局" "固兵保全" "" "" "" "" ""\
 FALSE "第500局" "士兵连结" "" "" "" "" ""\
 FALSE "第501局" "边城隔虏" "" "" "" "" ""\
 FALSE "第502局" "兵马徒劳" "" "" "" "" ""\
 FALSE "第503局" "只马当士" "" "" "" "" ""\
 FALSE "第504局" "只马当象" "" "" "" "" ""\
 FALSE "第505局" "士卒离心" "" "" "" "" ""\
 FALSE "第506局" "休士息马" "" "" "" "" ""\
 FALSE "第507局" "影不离形" "" "" "" "" ""\
 FALSE "第508局" "驽马困厩" "" "" "" "" ""\
 FALSE "第509局" "守正嫉邪" "" "" "" "" ""\
 FALSE "第510局" "内外俱安" "" "" "" "" ""\
 FALSE "第511局" "单车肘士" "" "" "" "" ""\
 FALSE "第512局" "收兵罢战" "" "" "" "" ""\
 FALSE "第513局" "攻围难克" "" "" "" "" ""\
 FALSE "第514局" "轻财爱士" "" "" "" "" ""\
 FALSE "第515局" "将士离心" "" "" "" "" ""\
 FALSE "第516局" "匹马嘶风" "" "" "" "" ""\
 FALSE "第517局" "三寇连兵" "" "" "" "" ""\
 FALSE "第518局" "长生不老" "" "" "" "" ""\
 FALSE "第519局" "三灵不昧" "" "" "" "" ""\
 FALSE "第520局" "腹背无患" "" "" "" "" ""\
 FALSE "第521局" "易马隐树" "" "" "" "" ""\
 FALSE "第522局" "勒兵固守" "" "" "" "" ""\
 FALSE "第523局" "一鸣惊人" "" "" "" "" ""\
 FALSE "第524局" "鼎足三立" "" "" "" "" ""\
 FALSE "第525局" "不敷自保" "" "" "" "" ""\
 FALSE "第526局" "守株待兔" "" "" "" "" ""\
 FALSE "第527局" "孤军四战" "" "" "" "" ""\
 FALSE "第528局" "固守无虞" "" "" "" "" ""\
 FALSE "第529局" "朽索御马" "" "" "" "" ""\
 FALSE "第530局" "固守邦基" "" "" "" "" ""\
 FALSE "第531局" "水中摸月" "" "" "" "" ""\
 FALSE "第532局" "三教皈一" "" "" "" "" ""\
 FALSE "第533局" "一马化龙" "" "" "" "" ""\
 FALSE "第534局" "华山隐士" "" "" "" "" ""\
 FALSE "第535局" "息马论道" "" "" "" "" ""\
 FALSE "第536局" "子不离母" "" "" "" "" ""\
 FALSE "第537局" "二相扶国" "" "" "" "" ""\
 FALSE "第538局" "独占中原" "" "" "" "" ""\
 FALSE "第539局" "一心定国" "" "" "" "" ""\
 FALSE "第540局" "鸳鸯交颈" "" "" "" "" ""\
 FALSE "第541局" "野马脱绊" "" "" "" "" ""\
 FALSE "第542局" "固前遮后" "" "" "" "" ""\
 FALSE "第543局" "狐假虎威" "" "" "" "" ""\
 FALSE "第544局" "居中秉权" "" "" "" "" ""\
 FALSE "第545局" "懒散无拘" "" "" "" "" ""\
 FALSE "第546局" "孤犊望月" "" "" "" "" ""\
 FALSE "第547局" "彼此无碍" "" "" "" "" ""\
 FALSE "第548局" "两不得济" "" "" "" "" ""\
 FALSE "第549局" "孤雁折群" "" "" "" "" ""\
 FALSE "第550局" "势不两大" "" "" "" "" ""\
 > $STDOUT 


### Notice:
## only one 'gmchess' can run at same time for current user.
##  so need to close another 'gmchess' before opening a new one.

#killall -u `whoami` $GMCHESS 
#pkill $GMCHESS
#sleep 1


###
  if grep "第001局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第001局_气吞关右.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第002局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第002局_马蹀阏氏.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第003局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第003局_羝羊触藩.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第004局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第004局_良将安边.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第005局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第005局_淮阴遇汉.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第006局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第006局_蝇垂骥尾.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第007局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第007局_春雷惊蛰.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第008局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第008局_珠藏韫柜.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第009局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第009局_神龟出洛.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第010局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第010局_鸳鸯戏水.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第011局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第011局_群鼠争穴.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第012局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第012局_颠猿饮涧.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第013局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第013局_目视横流.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第014局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第014局_独鹿鸣泽.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第015局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第015局_妙振兵铃.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第016局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第016局_退思补过.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第017局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第017局_退闲式步.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第018局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第018局_播弄造化.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第019局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第019局_遁世不见.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第020局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第020局_推强扶弱.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第021局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第021局_尽善克终.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第022局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第022局_及第思乡.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第023局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第023局_沧海遗珠.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第024局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第024局_垂缰救主.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第025局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第025局_患在几席.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第026局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第026局_结草衔环.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第027局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第027局_藕断丝牵.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第028局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第028局_计罗并照.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第029局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第029局_四面楚歌.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第030局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第030局_国庶兵强.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第031局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第031局_兵贵拙速.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第032局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第032局_士马如云.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第033局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第033局_计定千里.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第034局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第034局_忙里偷闲.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第035局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第035局_龙翻潭底.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第036局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第036局_鹤鸣九皋.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第037局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第037局_损人安己.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第038局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第038局_百计无由.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第039局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第039局_博望烧屯.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第040局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第040局_决策九重.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第041局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第041局_镇压远庭.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第042局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第042局_参辰卯酉.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第043局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第043局_精忠报国.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第044局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第044局_近悦远来.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第045局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第045局_遇水叠桥.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第046局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第046局_远交近攻.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第047局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第047局_守边告归.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第048局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第048局_卧薪尝胆.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第049局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第049局_独步出营.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第050局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第050局_秦鹿方走.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第051局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第051局_下车伏谒.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第052局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第052局_担雪填井.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第053局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第053局_开窗邀月.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第054局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第054局_五虎靠山.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第055局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第055局_背水战胜.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第056局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第056局_百川汇海.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第057局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第057局_放弥六合.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第058局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第058局_中外二圣.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第059局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第059局_变现出没.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第060局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第060局_虎兕出匣.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第061局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第061局_群虎争餐.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第062局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第062局_控告无门.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第063局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第063局_头辆舆轮.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第064局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第064局_倒转干戈.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第065局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第065局_推窗望月.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第066局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第066局_见危致命.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第067局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第067局_凫罗鱼网.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第068局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第068局_鸿门碎斗.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第069局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第069局_举趾触罝.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第070局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第070局_鸢飞泪天.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第071局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第071局_触目惊心.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第072局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第072局_骏骑追风.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第073局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第073局_鱼跃于渊.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第074局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第074局_登高履险.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第075局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第075局_豪帅心服.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第076局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第076局_莺慵蝶懒.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第077局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第077局_双蝶翻风.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第078局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第078局_翻江搅海.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第079局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第079局_四七并列.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第080局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第080局_士卒星散.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第081局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第081局_寻踪觅迹.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第082局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第082局_祸不单行.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第083局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第083局_沉鱼落雁.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第084局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第084局_双蜓点水.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第085局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第085局_骥不称力.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第086局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第086局_运筹决胜.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第087局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第087局_开渠引水.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第088局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第088局_边卒成功.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第089局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第089局_七雄争霸.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第090局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第090局_骅骝争先.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第091局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第091局_六国抗秦.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第092局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷一/第092局_五丁凿路.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第093局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第093局_鱼骇月钩.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第094局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第094局_负笈追师.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第095局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第095局_英雄贯斗.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第096局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第096局_勇退急流.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第097局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第097局_敌居万人.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第098局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第098局_姜公钓渭.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第099局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第099局_偷营劫寨.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第100局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第100局_飞黄结路.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第101局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第101局_震惊百里.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第102局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第102局_金门待漏.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第103局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第103局_双鹭窥鱼.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第104局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第104局_径行自遂.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第105局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第105局_战如烈火.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第106局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第106局_兵马出塞.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第107局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第107局_丹山起凤.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第108局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第108局_争舟走渡.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第109局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第109局_欲罢不能.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第110局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第110局_料事多中.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第111局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第111局_兴戎出好.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第112局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第112局_飞鲸吞钓.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第113局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第113局_威镇四海.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第114局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第114局_践履笃实.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第115局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第115局_耕莘待聘.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第116局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第116局_明皇游宫.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第117局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第117局_曲突徙薪.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第118局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第118局_多士莫及.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第119局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第119局_力敌万人.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第120局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第120局_龟玉毁椟.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第121局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第121局_柳营射猎.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第122局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第122局_地富兵强.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第123局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第123局_逢山开路.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第124局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第124局_王俭坠车.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第125局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第125局_五虎下川.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第126局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第126局_叶落归秋.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第127局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第127局_雪夜访戴.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第128局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第128局_耿恭拜井.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第129局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第129局_凿壁偷光.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第130局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第130局_鸦鹊争巢.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第131局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第131局_入幕之宾.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第132局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第132局_五霸争雄.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第133局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第133局_六国争雄.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第134局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第134局_沧海腾蛟.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第135局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第135局_竹马迎拜.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第136局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第136局_惊鸿整羽.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第137局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第137局_匹马平胡.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第138局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第138局_群雄割据.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第139局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第139局_并驾连驱.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第140局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第140局_引龙出水.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第141局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第141局_细柳屯兵.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第142局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第142局_七国连衡.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第143局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第143局_见害必避.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第144局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第144局_清门缵戎.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第145局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第145局_开门待战.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第146局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第146局_远猎山林.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第147局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第147局_烧牛凿城.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第148局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第148局_拨乱反正.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第149局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第149局_腾蛟起凤.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第150局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第150局_吕帅鹰扬.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第151局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第151局_虏马饮江.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第152局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第152局_江心下钓.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第153局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第153局_死敌为忠.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第154局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第154局_外攘四夷.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第155局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第155局_足蹑天窟.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第156局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第156局_三献刖足.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第157局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第157局_指鹿道马.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第158局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第158局_暴虎凭河.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第159局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第159局_前后绝伦.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第160局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第160局_倚闾望子.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第161局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第161局_远害全身.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第162局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第162局_朱云折槛.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第163局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第163局_选将练兵.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第164局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第164局_凿壁偷光.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第165局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第165局_遇水叠桥.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第166局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第166局_立倾敌国.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第167局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第167局_功成略地.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第168局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第168局_疾如激电.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第169局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第169局_阴陵失道.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第170局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第170局_面缚自首.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第171局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第171局_赢缩无常.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第172局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第172局_动行网罗.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第173局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第173局_水枯见鱼.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第174局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第174局_三气周瑜.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第175局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第175局_四面旋绕.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第176局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第176局_送往迎来.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第177局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第177局_声势相倚.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第178局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第178局_黾勉同心.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第179局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第179局_边烽惊虏.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第180局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第180局_暮鸟投林.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第181局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第181局_海底诛龙.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第182局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第182局_投肉馁虎.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第183局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第183局_远遁边境.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第184局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第184局_蛇龙混海.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第185局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第185局_酸毒道路.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第186局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第186局_宿鸟惊弹.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第187局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第187局_萤惑退舍.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第188局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷二/第188局_载沉载浮.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第189局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第189局_闭门扫轨.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第190局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第190局_乘风吹火.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第191局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第191局_劳问将士.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第192局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第192局_两地关心.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第193局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第193局_同功并位.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第194局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第194局_步设陷阱.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第195局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第195局_盐车困骥.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第196局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第196局_雪拥蓝关.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第197局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第197局_投命仇门.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第198局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第198局_惊鸟藏枝.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第199局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第199局_雕鹰捉兔.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第200局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第200局_落花流水.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第201局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第201局_三请诸葛.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第202局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第202局_行监坐守.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第203局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第203局_远近惊骇.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第204局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第204局_雷震八荒.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第205局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第205局_四畏廉名.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第206局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第206局_孤星坠地.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第207局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第207局_菱叶穿萍.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第208局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第208局_用兵最精.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第209局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第209局_叁参见佛.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第210局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第210局_士马如云.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第211局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第211局_晚鸟争枝.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第212局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第212局_雁惊云网.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第213局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第213局_投石入水.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第214局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第214局_阻住行程.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第215局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第215局_猛虎出林.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第216局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第216局_载沉载浮.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第217局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第217局_勇退急流.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第218局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第218局_路隔星河.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第219局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第219局_屈突徒薪.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第220局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第220局_攀辕卧辙.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第221局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第221局_野马舞风.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第222局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第222局_鱼游浅濑.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第223局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第223局_军中烈士.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第224局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第224局_随形助胜.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第225局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第225局_循序渐进.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第226局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第226局_脱网逢钩.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第227局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第227局_流星赶月.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第228局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第228局_游鱼吞钩.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第229局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第229局_猛虎入山.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第230局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第230局_胡骑迫背.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第231局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第231局_用舍相碍.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第232局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第232局_望尘遮道.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第233局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第233局_停车绊马.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第234局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第234局_居中反祸.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第235局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第235局_勒马停骖.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第236局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第236局_怀春育孕.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第237局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第237局_长鲸授首.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第238局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第238局_子胥过关.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第239局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第239局_弃短取长.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第240局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第240局_凭马渡江.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第241局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第241局_鱼游釜甑.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第242局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第242局_明修栈道.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第243局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第243局_祸生肘腋.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第244局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第244局_苍舒称象.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第245局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第245局_困魏掣燕.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第246局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第246局_伏虎降龙.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第247局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第247局_同心赞政.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第248局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第248局_开拓心胸.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第249局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第249局_雁阵排空.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第250局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第250局_惊心破胆.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第251局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第251局_诱虎吞钩.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第252局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第252局_二龙绕室.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第253局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第253局_毙马仆途.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第254局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第254局_历诛四寇.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第255局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第255局_车行同轨.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第256局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第256局_挡住英雄.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第257局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第257局_独夫当关.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第258局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第258局_阴持两端.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第259局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第259局_直造竹所.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第260局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第260局_金创满身.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第261局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第261局_不服自老.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第262局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第262局_增补隘口.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第263局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第263局_跃鲤吞饵.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第264局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第264局_巅峰得路.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第265局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第265局_入穴取虎.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第266局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第266局_脱网逢钩.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第267局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第267局_直穷到底.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第268局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第268局_投躯帝廷.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第269局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第269局_杨香跨虎.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第270局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第270局_吐胆倾心.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第271局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第271局_赤心报国.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第272局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第272局_舍命如归.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第273局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第273局_辎重塞途.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第274局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第274局_打草惊蛇.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第275局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第275局_路车乘马.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第276局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第276局_双骑追敌.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第277局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第277局_异地同心.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第278局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第278局_火炎昆岗.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第279局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第279局_将机就机.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第280局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第280局_诳楚救主.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第281局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第281局_前后一辙.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第282局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第282局_一举而定.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第283局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第283局_肉钽负荆.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第284局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第284局_一骑困魏.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第285局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷三/第285局_野马诱虎.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第286局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第286局_夺马驱敌.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第287局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第287局_敛手削地.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第288局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第288局_汗马功劳.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第289局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第289局_莘野邀汤.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第290局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第290局_城门失火.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第291局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第291局_丹山起凤.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第292局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第292局_两虎共斗.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第293局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第293局_勤劳一纪.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第294局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第294局_济弱扶倾.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第295局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第295局_绕江撒网.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第296局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第296局_鸮立中天.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第297局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第297局_虎帐谈兵.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第298局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第298局_参前倚衡.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第299局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第299局_陈桥兵变.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第300局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第300局_手探月窟.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第301局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第301局_蹇驽卧道.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第302局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第302局_板筑隐贤.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第303局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第303局_雌鸡化雄.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第304局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第304局_众星拱月.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第305局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第305局_轻兵锐卒.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第306局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第306局_拔去病根.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第307局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第307局_宽一步胜.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第308局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第308局_三军联位.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第309局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第309局_有家难奔.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第310局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第310局_金鸡抱卵.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第311局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第311局_深入远岛.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第312局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第312局_马跳澶溪.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第313局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第313局_堵塞要路.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第314局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第314局_三将夺关.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第315局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第315局_渴骥饮泉.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第316局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第316局_移星换斗.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第317局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第317局_赤壁鏖战.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第318局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第318局_匿影避形.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第319局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第319局_右相安刘.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第320局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第320局_好勇不矜.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第321局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第321局_跨海东征.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第322局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第322局_过眼成虚.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第323局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第323局_临难忘躯.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第324局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第324局_夜过昭关.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第325局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第325局_退思补过.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第326局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第326局_奇妙文武.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第327局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第327局_忠孝两全.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第328局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第328局_虹霓贯日.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第329局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第329局_远交近攻.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第330局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第330局_殒命宁亲.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第331局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第331局_车马盈门.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第332局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第332局_截趾适履.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第333局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第333局_策马入城.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第334局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第334局_蝶恋花心.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第335局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第335局_殃及池鱼.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第336局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第336局_伍相奔吴.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第337局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第337局_大车无輗.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第338局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第338局_英略盖世.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第339局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第339局_星坠日升.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第340局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第340局_兵马侵境.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第341局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第341局_抱火积薪.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第342局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第342局_闭窟捉虎.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第343局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第343局_深入敌境.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第344局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第344局_爱身待时.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第345局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第345局_石燕拂云.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第346局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第346局_朝野从容.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第347局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第347局_绝长补短.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第348局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第348局_夷齐扣马.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第349局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第349局_力小任大.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第350局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第350局_管仲随马.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第351局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第351局_老而不倦.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第352局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第352局_徐母回车.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第353局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第353局_虎守三穴.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第354局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第354局_一虎下山.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第355局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第355局_猛虎驱羊.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第356局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第356局_首动尾应.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第357局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第357局_引雏入巢.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第358局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第358局_四海一家.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第359局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第359局_涂廪浚井.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第360局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第360局_弘羊心计.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第361局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第361局_视死如归.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第362局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第362局_拔本塞源.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第363局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第363局_从容中道.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第364局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第364局_举直错枉.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第365局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第365局_以恩塞责.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第366局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第366局_少见相拘.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第367局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第367局_四门斗底.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第368局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第368局_兔游月窟.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第369局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第369局_时堪乘便.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第370局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第370局_五老降庭.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第371局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第371局_兵入其腹.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第372局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第372局_兵势无常.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第373局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第373局_四面设网.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第374局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第374局_托孤寄命.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第375局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第375局_勒兵为备.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第376局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷四/第376局_伏兵要路.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第377局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第377局_筑坛拜帅.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第378局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第378局_诸葛出庐.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第379局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第379局_二马追风.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第380局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第380局_退无所归.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第381局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第381局_举鼎争功.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第382局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第382局_胡爽扣马.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第383局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第383局_剪棘开径.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第384局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第384局_投肉饲虎.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第385局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第385局_海底觅针.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第386局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第386局_戮力一心.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第387局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第387局_运筹帷幄.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第388局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第388局_身无所措.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第389局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第389局_羸羊触角.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第390局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第390局_以兵服人.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第391局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第391局_驱虎离山.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第392局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第392局_倾身下士.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第393局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第393局_兵势尚强.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第394局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第394局_地险兵强.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第395局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第395局_引兵渡河.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第396局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第396局_一兵取功.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第397局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第397局_将帅不忠.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第398局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第398局_王母蟠桃.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第399局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第399局_避难而行.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第400局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第400局_双马饮泉.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第401局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第401局_幽鸟攒阶.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第402局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第402局_踏雪寻梅.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第403局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第403局_二郎搜山.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第404局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第404局_转祸为福.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第405局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第405局_双鹊投林.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第406局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第406局_入穴取虎.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第407局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第407局_追风赶月.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第408局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第408局_得失有变.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第409局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第409局_家无安堵.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第410局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第410局_威震华夷.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第411局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第411局_痛断根除.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第412局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第412局_残虏投降.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第413局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第413局_宁静待时.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第414局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第414局_私渡关津.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第415局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第415局_私下三关.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第416局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第416局_动中有静.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第417局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第417局_蹇驽困厩.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第418局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第418局_厩焚伤马.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第419局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第419局_一虎下山.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第420局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第420局_失左右手.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第421局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第421局_内攻外御.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第422局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第422局_抹马潜戈.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第423局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第423局_遐迩归心.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第424局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第424局_怯勇自服.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第425局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第425局_驱将擒胡.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第426局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第426局_马灵兵胜.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第427局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第427局_踊跃用兵.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第428局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第428局_一心向火.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第429局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第429局_上陵下替.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第430局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第430局_能为必胜.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第431局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第431局_功成则退.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第432局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第432局_钳塞士口.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第433局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第433局_束手就系.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第434局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第434局_上下离心.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第435局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第435局_独行千里.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第436局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第436局_上下失望.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第437局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第437局_斗柄回寅.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第438局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第438局_左右并攻.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第439局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第439局_士卒威服.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第440局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第440局_三军夺帅.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第441局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第441局_国富兵强.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第442局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第442局_济济多士.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第443局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第443局_日月交蚀.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第444局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第444局_地网天罗.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第445局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第445局_双孙扶老.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第446局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第446局_锐兵健步.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第447局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第447局_茕茕孑立.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第448局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第448局_游丝系虎.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第449局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第449局_只马归命.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第450局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第450局_驽驹失厩.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第451局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第451局_华衣怒马.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第452局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第452局_野马踅田.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第453局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第453局_变生肘腋.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第454局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第454局_计罗并照.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第455局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第455局_孤生无倚.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第456局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第456局_国士无双.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第457局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第457局_送往迎来.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第458局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第458局_顾彼失此.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第459局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第459局_单驹随牝.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第460局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第460局_赶虎出穴.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第461局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第461局_三辰不轨.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第462局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第462局_一恸而绝.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第463局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第463局_填塞道路.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第464局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第464局_侵害边卒.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第465局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第465局_一木难支.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第466局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷五/第466局_士孤将寡.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第467局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第467局_七擒七纵.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第468局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第468局_单马独还.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第469局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第469局_匹马平戎.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第470局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第470局_公私安堵.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第471局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第471局_藏锋敛锷.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第472局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第472局_中外义安.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第473局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第473局_盘石固守.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第474局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第474局_保卫一方.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第475局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第475局_四方清晏.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第476局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第476局_一兵解危.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第477局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第477局_三仙炼丹.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第478局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第478局_虎溪三笑.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第479局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第479局_三军劫寨.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第480局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第480局_三顾草庐.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第481局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第481局_众寡不敌.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第482局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第482局_保障若石.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第483局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第483局_保障坚牢.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第484局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第484局_化蛇当道.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第485局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第485局_三家鼎立.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第486局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第486局_扣马苦谏.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第487局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第487局_平定中原.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第488局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第488局_全师保安.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第489局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第489局_本固邦宁.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第490局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第490局_保国宁家.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第491局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第491局_凭险自固.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第492局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第492局_仗剑鞭马.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第493局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第493局_控马避敌.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第494局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第494局_三出祁山.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第495局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第495局_士而怀居.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第496局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第496局_士马疲劳.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第497局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第497局_三镇连兵.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第498局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第498局_努力固守.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第499局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第499局_固兵保全.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第500局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第500局_士兵连结.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第501局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第501局_边城隔虏.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第502局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第502局_兵马徒劳.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第503局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第503局_只马当士.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第504局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第504局_只马当象.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第505局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第505局_士卒离心.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第506局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第506局_休士息马.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第507局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第507局_影不离形.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第508局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第508局_驽马困厩.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第509局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第509局_守正嫉邪.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第510局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第510局_内外俱安.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第511局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第511局_单车肘士.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第512局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第512局_收兵罢战.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第513局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第513局_攻围难克.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第514局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第514局_轻财爱士.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第515局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第515局_将士离心.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第516局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第516局_匹马嘶风.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第517局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第517局_三寇连兵.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第518局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第518局_长生不老.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第519局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第519局_三灵不昧.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第520局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第520局_腹背无患.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第521局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第521局_易马隐树.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第522局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第522局_勒兵固守.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第523局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第523局_一鸣惊人.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第524局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第524局_鼎足三立.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第525局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第525局_不敷自保.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第526局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第526局_守株待兔.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第527局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第527局_孤军四战.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第528局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第528局_固守无虞.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第529局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第529局_朽索御马.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第530局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第530局_固守邦基.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第531局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第531局_水中摸月.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第532局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第532局_三教皈一.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第533局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第533局_一马化龙.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第534局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第534局_华山隐士.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第535局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第535局_息马论道.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第536局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第536局_子不离母.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第537局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第537局_二相扶国.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第538局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第538局_独占中原.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第539局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第539局_一心定国.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第540局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第540局_鸳鸯交颈.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第541局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第541局_野马脱绊.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第542局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第542局_固前遮后.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第543局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第543局_狐假虎威.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第544局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第544局_居中秉权.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第545局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第545局_懒散无拘.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第546局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第546局_孤犊望月.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第547局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第547局_彼此无碍.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第548局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第548局_两不得济.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第549局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第549局_孤雁折群.XQF" "$PGN" && $GMCHESS "$PGN"
  fi

  if grep "第550局" $STDOUT > /dev/null ; then
 	convert_pgn "$BOOK_DIR/卷六/第550局_势不两大.XQF" "$PGN" && $GMCHESS "$PGN"
  fi


#
exit 0;
#pkill zenity
exit 0;;

