code:
0_○アイテム増減.json
1000_[共]汎用ウィンドウ生成.json
1001_[移]宿泊SEのみ.json
1002_[移]水着判定コモン.json
1003_[移]店番ゲーム.json
1004_[移]店番時間経過処理.json
1005_[共]アイコンリスト.json
1006_[共]選択生成.json
1007_[移]存在判定.json
1008_[共]会話時サウンド（ウェイト対応）.json
1009_[移]アーカイブ.json
100_X[移]ミニウィンドウ表示.json
1010_[共]選択ウィンドウ.json
1011_[共]選択ウィンドウ（アーカイブ拡張）.json
1012_[共]汎用ウィンドウ生成+.json
1013_[移]アーカイブ描画.json
1014_[移]スキルリセット.json
1015_[共]アーカイブ取得.json
1016_[共]アーカイブ取得描画.json
1017_[移]パーティ向き変更.json
1018_[移]マップEv移動制御.json
1019_[共]パーティ管理.json
101_X[移]メニュー時文章表示.json
1020_[共]参加可能サイズ取得.json
1021_[移]顔グラ表示+.json
1022_[共]ニュートラルチェック.json
1023_[共]存在検索.json
1024_[共]ゲームオーバー.json
1025_[移]気づき自動入力.json
1026_[共]Oデバッグ実行.json
1027_[共]オーブ取得.json
1028_[共]Oデバッグ管理.json
1029_[共]クエスト条件比較.json
102_X[移]上部ステータス描画.json
1030_[戦]敵撃破クエスト処理.json
1031_[戦]技能使用可否判定.json
1032_[戦]技能検索.json
1033_[移]船上移動.json
1034_[移]バザー建造物処理.json
1035_[移]バザールーフ処理.json
1036_[移]紙ふぶきコモン.json
1037_[移]ワープ設定.json
1038_[共]数値入力.json
1039_[移]仲間会話.json
103_■■【メニュー内部処理】■■.json
1040_[移]チップロード.json
1041_[移]警報.json
1042_[移]チップ切替.json
1043_[移]そうだん.json
1044_[移]絆の試練.json
1045_[共]選択生成改.json
1046_[共]ポップアップ表示.json
1047_[戦]ダメージ調整.json
1048_[共]データ引継ぎ.json
1049_[移]技能追加.json
104_X[移]選択位置主人公ID設定.json
1050_[移]装備処理.json
1051_[移]娼館処理.json
1052_[移]ナカモン引取処理.json
1053_[廃][移]ラーミア改.json
1054_[共]ピクチャ幅調整.json
1055_[移]マップエフェクト.json
1056_[移]ラーミア_簡易.json
1057_[移]技能実行文字列取得.json
1058_[移]現在位置算出.json
1059_[移]ダメージ処理+.json
105_X[移]選択位置主人公ID取得.json
1060_[移]緊急事態カウント.json
1061_[移]緊急事態実行.json
1062_[共]Hメッセージ+.json
1063_[戦]jpgロード.json
1064_[共]ステータス取得i.json
1065_[共]ステータス取得t.json
1066_[戦]汎用処理.json
1067_[戦]グループ位置チェッカ.json
1068_[移]DB初期化.json
1069_[移]援護作戦.json
106_X[移]選択箇所装備コード取得.json
1070_[移]戦闘背景チェック.json
1071_[戦]対象者名入力.json
1072_[戦]戦闘メッセージ+.json
1073_[戦]情報参照.json
1074_[戦]装備変更.json
1075_[共]オーブ取得判定.json
1076_[共]オーブ取得回転描画.json
1077_[戦]状態値取得.json
1078_[共]会話呼び出し.json
1079_[移]落とし穴チェック.json
107_X[移]選択箇所装備コード設定.json
1080_[共]デバッグ並列.json
1081_[移]予約戦闘実行.json
1082_[戦]オーブ情報取得_状態値用.json
1083_[戦]オーブ情報取得_+用.json
1084_debug.json
1085_.json
1086_.json
1087_.json
1088_.json
1089_.json
108_X[移]ｷｬﾗｸﾀｰ欄_選択実行.json
1090_コモンテンプレート.json
1091_.json
1092_.json
1093_.json
1094_.json
1095_.json
1096_.json
1097_.json
1098_.json
1099_.json
109_X[移]装備欄_選択実行.json
10_○経験値・Lv増減.json
1100_m_はい_いいえ_.json
1101_.json
1102_.json
1103_.json
1104_.json
1105_.json
1106_.json
1107_.json
1108_.json
1109_.json
110_X[移]ｱｲﾃﾑ一覧算出.json
1110_.json
1111_.json
1112_.json
1113_.json
1114_.json
1115_.json
1116_.json
1117_.json
1118_.json
1119_.json
111_X[移]技能一覧算出.json
1120_.json
1121_.json
1122_.json
1123_.json
1124_.json
1125_.json
1126_.json
1127_.json
1128_.json
1129_.json
112_X[移]装備一覧算出.json
1130_.json
1131_.json
1132_.json
1133_.json
1134_.json
1135_.json
1136_.json
1137_.json
1138_.json
1139_.json
113_X[移]装備装着・解除.json
1140_.json
1141_.json
1142_.json
1143_.json
1144_.json
1145_.json
1146_.json
1147_.json
1148_.json
1149_.json
114_X[移]装備ﾊﾟﾗﾒｰﾀ差分算出.json
1150_.json
1151_.json
1152_.json
1153_.json
1154_.json
1155_.json
1156_.json
1157_.json
1158_.json
1159_.json
115_X[移]キーリピート設定.json
1160_.json
1161_.json
1162_.json
1163_.json
1164_.json
1165_.json
1166_.json
1167_.json
1168_.json
1169_.json
116_X[移]記憶キー位置取得.json
1170_.json
1171_.json
1172_.json
1173_.json
1174_.json
1175_.json
1176_.json
1177_.json
1178_.json
1179_.json
117_X[移]記憶キー位置設定.json
1180_.json
1181_.json
1182_.json
1183_.json
1184_.json
1185_.json
1186_.json
1187_.json
1188_.json
1189_.json
118_X[移]ｱｲﾃﾑ使用効果処理.json
1190_.json
1191_.json
1192_.json
1193_.json
1194_.json
1195_.json
1196_┏レイヤー１.json
1197_┏レイヤー2.json
1198_┏レイヤー3.json
1199_真エンディング.json
119_X[移]技能使用効果処理.json
11_○装備武器の変更.json
120_X[移]ｱｲﾃﾑ使用_消費処理.json
121_X[移]技能使用_消費処理.json
122_X[移]一時ｽﾃ計算_初期化_.json
123_X[移]一時ｽﾃ計算_装備補正_.json
124_X[移]一時ｽﾃ計算_状態補正_.json
125_■■【メニュー実行処理】■■.json
126_X[移]歩行時_並列キー処理.json
127_X[移]メニュー起動.json
128_X┣[移]アイテム欄実行.json
129_X┣[移]技能欄実行.json
12_○装備防具の変更.json
130_X┣[移]装備欄実行.json
131_X┣[移]セーブ欄実行.json
132_X┗[移]システム欄実行.json
133_■■■■■■■■■■■■■.json
134_■■【戦闘用・内部処理】■■.json
135_X[戦]パラメータ増減.json
136_X[戦]パラメータ取得.json
137_X[戦]状態付与_消去.json
138_X[戦]┗状態変化ﾒｯｾｰｼﾞ.json
139_X[戦]状態更新.json
13_○戦闘コマンドの変更.json
140_X[戦]戦闘変数初期化.json
141_X[戦]ｽﾛｯﾄから主人公ID取得.json
142_X[戦]指定主人公更新処理.json
143_X[戦]主人公DB→戦闘DBコピー.json
144_X[戦]敵DB→戦闘DBコピー.json
145_X[戦]選択箇所装備コード取得.json
146_X[戦]一時ｽﾃ計算_初期化_.json
147_X[戦]一時ｽﾃ計算_装備補正_.json
148_X[戦]一時ｽﾃ計算_状態補正_.json
149_X[戦]戦闘DB→主人公DBへ戻す.json
14_○各種メニュー呼出.json
150_X[戦]戦闘コマンド取得.json
151_X[戦]戦闘コマンド設定.json
152_X[戦]戦闘ｺﾏﾝﾄﾞ一覧算出.json
153_X[戦]ｱｲﾃﾑ一覧算出.json
154_X[戦]技能一覧算出.json
155_X[戦]記憶キー位置取得.json
156_X[戦]記憶キー位置設定.json
157_X[戦]コマンド登録.json
158_X[戦]ｱｲﾃﾑ選択実行.json
159_X[戦]技能選択実行.json
15_○セーブ許可・禁止設定.json
160_X[戦]AI実行.json
161_X[戦]味方対象選択実行.json
162_X[戦]敵対象選択実行.json
163_X[戦]敵･味方行動対象算出.json
164_X[戦]行動実行結果算出.json
165_X[戦]┗単体処理.json
166_X[戦]　　┗ｶｳﾝﾀｰ判定.json
167_X[戦]ｶｳﾝﾀｰ実行結果算出.json
168_X[戦]変身判定.json
169_X[戦]ｱｲﾃﾑ使用_消費処理.json
16_デバッグ統括.json
170_X[戦]技能使用_消費処理.json
171_X[戦]敵撃破処理.json
172_X[戦]敵_味方・勝敗判定.json
173_X[戦]┗ 残りターン数表示.json
174_X[戦]味方欄_座標算出.json
175_X[戦]敵キャラ_座標算出.json
176_X[戦]基本状態取得.json
177_■■【戦闘用・画面処理】■■.json
178_X[戦]味方欄_単体描画.json
179_X[戦]敵キャラ_単体描画.json
17_▲アイテム所持数取得.json
180_X[戦]バックグラウンド描画.json
181_X[戦]ﾀﾞﾒｰｼﾞ・回復ﾎﾟｯﾌﾟｱｯﾌﾟ.json
182_X[戦]戦闘メッセージ表示.json
183_X[戦]技能エフェクト描画.json
184_X[戦]警告文章表示.json
185_X[戦]上部ステータス描画.json
186_X[戦]戦利品獲得画面.json
187_■■【戦闘用・実行処理】■■.json
188_X◆戦闘処理.json
189_X┣◆戦闘初期化.json
18_▲武器所持数取得.json
190_X┣◆戦闘キャラ配置.json
191_X┣◆行動内容のセット.json
192_X┃┣◆味方コマンド選択.json
193_X┃┗◆敵・味方AI計算.json
194_X┣◆行動順の計算.json
195_X┣◆１ターンの処理を実行.json
196_X┃┣◆行動可能判定.json
197_X┃┗◆１行動ループ.json
198_X┣◆ターン終了処理.json
199_X┣◆主人公ＤＢ復元.json
19_▲防具所持数取得.json
1_○武器増減.json
200_X┣◆戦利品獲得処理.json
201_X┗◆戦闘終了処理.json
202_■■■■■■■■■■■■■.json
203_○[変更可]戦闘開始時処理.json
204_○[変更可]1ﾀｰﾝ開始時処理.json
205_○[変更可]1ﾀｰﾝ終了時処理.json
206_○[変更可]戦闘終了後処理.json
207_■■■■■■■■■■■■■.json
208_【基本ｼｽﾃﾑVer2.01説明書】.json
209_■■■■■■■■■■■■■.json
20_▲所持金取得.json
210_■以下､自由に使用可■■.json
211_■■■■■■■■■■■■■.json
212_H特：仲間入れ替え+.json
213_H黒い霧.json
214_H┏雪ストップ.json
215_H♪舞う雪２.json
216_H謎ドーン！.json
217_H┏気づき呼び出し.json
218_H気づき.json
219_Hﾒｯｾｰｼﾞｽｷｯﾌﾟﾁｪｯｸ.json
21_▲装備取得.json
220_H移動時足踏み速度増.json
221_H┏マップIN初期処理.json
222_H━ルーフ.json
223_H┗マップIN最終処理.json
224_HマップOUT前処理.json
225_H引っかかり回避オリジナル.json
226_Hドア開くコモン.json
227_H顔グラ表示.json
228_H顔グラ消去.json
229_Hメッセージ.json
22_▲メンバー情報取得[数値].json
230_H┗話しかけ横向かせる.json
231_Hロープモードオン時.json
232_Hロープモードオフ.json
233_Hデバッグ用.json
234_Hアーカイブ読み物.json
235_Hしらべる.json
236_Hしらべた結果.json
237_H会話時ｻｳﾝﾄﾞ.json
238_H_絵本_.json
239_Hﾎﾟｰｽﾞｶｰｿﾙ.json
23_▲メンバー情報取得[文字列].json
240_H動画再生.json
241_Hモンスターずもう.json
242_Hフィールド時間経過.json
243_Hﾊﾁﾊﾞﾄﾙ.json
244_H移動速度適正化.json
245_Hﾌﾗｸﾞ種ﾃﾞﾊﾞｸﾞｱｲﾃﾑ.json
246_H特：仲間入れ替え.json
247_m_ﾀｲﾄﾙﾎﾞｲｽ選出.json
248_m_文字列を表示点つき.json
249_m_文字列を画像で表示.json
24_▲状態異常の取得.json
250_[共]m_店用上下カーソル.json
251_m_お店起動.json
252_m_お店商品割り出し.json
253_m_お店金額割り出し.json
254_m_お店商品解説ウィンドウ.json
255_m_お店武器防具解説.json
256_m_お店武器防具購入.json
257_m_お店道具購入数決定.json
258_m_お店売る.json
259_m_お店売るﾘｽﾄ出力.json
25_▲特殊技能の有無取得.json
260_m_乱数.json
261_m_はい_いいえ.json
262_m_タイトル画面.json
263_m_ぼうけんの書をひらく.json
264_m_オープニング質問.json
265_m_名前入力.json
266_m_名前入力2.json
267_m_キャラ選択.json
268_m_ﾑｰﾝ・ｻﾏﾙ命名.json
269_m_OP時初期設定.json
26_▲戦闘コマンド有無の判定.json
270_m_進化ｽﾃﾎﾞｰﾅｽ算出.json
271_m_進化.json
272_m┣進化リスト作成.json
273_m┣進化個体判定.json
274_m┣結果表示.json
275_m┣合体特例.json
276_m┣呪文特技特性リスト.json
277_m┣スキル継承決定.json
278_m┣進化エフェクト.json
279_m_モンスターランド.json
27_---------------------------------.json
280_m_モンスター買い戻し.json
281_m┣買戻リスト作成.json
282_m┣買戻リスト出力.json
283_m_配合突然変異処理.json
284_m_所持金表示.json
285_m_装備可能_所持数あわせ.json
286_商品ｸｴ_文鎮ドロップ.json
287_商品ｸｴ_装備無し判定.json
288_.json
289_ひっさつチャージ演出.json
28_◆バトルの発生.json
290_D研_Dead.json
291_ルビス演出.json
292_┗並列パーティクル.json
293_m_娼舘客時.json
294_.json
295_m_パーティ人数カウント.json
296_m_ｱﾏｶﾗSP獲得.json
297_.json
298_m_演出.json
299_mﾗﾝﾀﾞﾑﾄﾚｼﾞｬｰ.json
29_◆[戦闘用]敵キャラの追加.json
2_○防具増減.json
300_m_マップ移動時処理.json
301_ｴﾝｶｳﾝﾄｴﾘｱ指定.json
302_m_日経過.json
303_m_月経過.json
304_m_月_娼婦引揚待機→復帰.json
305_.json
306_m_日_収益力算出+売上計算.json
307_m┗日_商品実績系処理.json
308_.json
309_m_仲間と話す.json
30_◆[戦闘用]メッセージ表示.json
310_m_絆の試練処理.json
311_m_絆の試練帰還.json
312_m_絆の試練開始.json
313_m_ロクサーヌの店.json
314_m_試練判定.json
315_m_娼館売るリスト作成.json
316_m_食事判定.json
317_m_食事ｲﾍﾞ1.json
318_m_食事ｲﾍﾞ2.json
319_m_食事ｲﾍﾞ3.json
31_◆[戦闘用]ダメージ処理.json
320_m┏仲間を売る真.json
321_m_娼館NPC真.json
322_m┗娼婦リスト作成_出力.json
323_m┗身請け処理.json
324_m┗入館可不可判定.json
325_m┗入館処理.json
326_m┗娼婦数値加算処理.json
327_mdbg娼館関連.json
328_m_強くてﾘﾌﾟﾚｲ.json
329_m┗買い物IF.json
32_---------------------------------.json
330_m┗ﾃﾞｰﾀ引継ぎ実行.json
331_戦ｱﾆ_暗幕.json
332_戦ｱﾆ_つむじ風.json
333_m_データ引継ぎ.json
334_m_ｾｯｼｮﾝ判定.json
335_mﾇﾗｲﾑｴｷｽ系交換NPC.json
336_mﾇﾗｴｷｽ条件判定.json
337_m_奥義習得開放判定.json
338_m_ｱｲﾃﾑ交換文字出力.json
339_m_謎冒頭.json
33_【1】 お店 初期化.json
340_m_履歴系.json
341_m_正解msg.json
342_m_不正解msg.json
343_m_これでよろしいかmsg.json
344_m_謎モード.json
345_m_謎.json
346_┣1_奥様の調味料.json
347_┣2_ふとっちょトットの木箱並べ.json
348_┣3_イカサマ師は誰.json
349_┣4_ラーの鏡.json
34_【2】 お店 商品の追加.json
350_┣5_七人の聖職者.json
351_m_ﾇﾗﾊﾟﾗ敵設置.json
352_m_ﾇﾗﾊﾟﾗｴﾝｶｳﾝﾄ.json
353_m聖なる布交換NPC.json
354_mdbg_食事セリフチェッカー.json
355_m_交換C.json
356_m_交換Cﾘｽﾄ作成_出力.json
357_m_ｽﾁﾙﾁｹｯﾄNPC.json
358_m_ﾙｰﾚｯﾄ.json
359_m_ﾙｰﾚｯﾄ文字.json
35_【3】 お店処理 実行.json
360_m_ﾙｰﾚｯﾄ乱数生成.json
361_mdbg_可変DBいじり.json
362_mdbg_ｽﾃｰﾀｽﾁｪｯｶｰ.json
363_m_メタモンサイン.json
364_mdbgｱｰｶｲﾌﾞフル取得.json
365_mdbg_ｱｲﾃﾑﾌﾙ取得.json
366_m_メタモン.json
367_m_ｸｴｽﾄｻｲﾝ判定.json
368_m_ｱﾏｶﾗ称号判定.json
369_m_ｷｬﾗﾌﾟﾛﾌ判定.json
36_---------------------------------.json
370_m_各種図鑑.json
371_m_教会寄付イベント(独立.json
372_mdbg_ﾅｶﾓﾝ確認用.json
373_m_ﾃﾞﾊﾞｯｸﾞ用初期処理2.json
374_m_町2判定&ﾗﾝｸｱｯﾌﾟ.json
375_m_ﾌﾞﾗｲ加入_離脱.json
376_m_配合開放&通知.json
377_mdbg_PTメンバー選択肢.json
378_m_フォズ.json
379_m_スキルリセット.json
37_◇ランダムエンカウント処理 .json
380_.json
381_m_食材をわたす.json
382_m_リッカ.json
383_m_宿ﾒﾆｭｰ判定.json
384_.json
385_m_ブライ.json
386_m_ブライにわたす.json
387_mdbg_画像チェッカー.json
388_m_イラストギャラリー.json
389_m_死に戻り地点更新.json
38_---------------------------------.json
390_mdbg_ルーラフラグ監視.json
391_m_装備中主人公最適化.json
392_m_装備を外す.json
393_m_一時離脱処理.json
394_m_復帰処理(一時退避用).json
395_アイテム入手メッセージ.json
396_m_クリアフラグ読込.json
397_mdbg_流れ用.json
398_m_ﾃﾞﾊﾞｯｸﾞ用初期処理.json
399_m_数字指定3_DBG用.json
39_m_エンカウント判定.json
3_○お金の増減.json
400_m_dbg経験値_お金取得.json
401_mdbg_なかま加入_離脱.json
402_mdbg_お店.json
403_mdbg_シムタウン.json
404_mdbg_大・商・素・料.json
405_┗大商素料リスト作成.json
406_mdbg_町機能.json
407_mdbg_ML機能.json
408_mdbg_シーン回想オールオン.json
409_m_楽器構成判定.json
40_Hエンカウント呼ぶ.json
410_m_町演奏準備.json
411_m_413_415元.json
412_m_メダル王女.json
413_m_装備→だいじなもの.json
414_.json
415_だいじなもの→装備開発.json
416_m_ﾚｼﾋﾟ開放ｲﾍﾞﾝﾄ.json
417_m_シムタウン初期設定.json
418_m_仲間加入時初期装備.json
419_m_どうぐ開放処理.json
41_m_ｴﾝｶｳﾝﾀ初期化.json
420_m_消耗品補充.json
421_m┣消耗品補充リスト作成.json
422_m┗消耗品補充開放.json
423_m_変数いじり.json
424_m_そうだん.json
425_m┣そうだん_店.json
426_m┣そうだん_宿.json
427_m┣そうだん_ML.json
428_m┣そうだん_娼館.json
429_m┣そうだん_全体.json
42_ｴﾝｶｳﾝﾄ直前設定.json
430_m_DBG戦闘テスト用.json
431_m_┗エリア表示.json
432_m_DBGｱｲｺﾝ全表示.json
433_mdbg_自動EXP_SP取得.json
434_m_アイテム入手演出.json
435_mdbg_SP取得.json
436_m_まさおデバグ用.json
437_m_まさおデバグ用2.json
438_m_まさおデバグ用3.json
439_m_まさおﾃﾞﾊﾞｸﾞ用4.json
43_---------------------------------.json
440_m_らなるーた.json
441_m_人望増減.json
442_m_教会.json
443_m_宿泊(宿屋).json
444_m_宿泊エフェクト.json
445_m_HPMP全快.json
446_m_セーブ.json
447_m_初回起動時の設定.json
448_m_ゲーム設定.json
449_┗mゲーム設定_文字.json
44_■■■■■■■■■■■■.json
450_m_サウンドモード.json
451_m_BGM_SE_BGS再生.json
452_m_ボイス再生.json
453_┗mﾎﾞｲｽﾙｰﾌﾟ回避.json
454_m_可変式選択肢.json
455_m_数字指定1.json
456_m_数字指定2.json
457_m_数字指定3_7桁用.json
458_mdbg_変数操作.json
459_m_SEフェードアウト.json
45_■以下､変更･呼出不可■■.json
460_mdbg_ｷﾞｬﾗﾘｰ作成支援.json
461_m_シーン通過処理.json
462_m_月更新_バイシュン.json
463_m_月の更新真.json
464_m_看板.json
465_売上レポート閲覧0918.json
466_m_在庫自動更新.json
467_m_商品ｼﾞｬﾝﾙﾚﾍﾞﾙ判定.json
468_m_売上レポート.json
469_m_月の更新.json
46_■----------------- ■■.json
470_┣月【先月の売上】.json
471_┣月【町の評判】.json
472_┗月【町の雰囲気】.json
473_m_借金返済.json
474_m┏武器入手.json
475_m┣防具入手.json
476_m┣どうぐ入手.json
477_m┣武器_防具量産化.json
478_m┣素材入手.json
479_m┣だいじなもの入手.json
47_■■【共通・内部処理】 ■■.json
480_m_装備開発.json
481_┣開発可能リスト作成.json
482_┣ｱｲﾃﾑﾘｽﾄ出力.json
483_┗詳細・必要素材出力.json
484_┗ﾚｼﾋﾟ開放_アバン.json
485_┗ﾚｼﾋﾟ開放_イベント.json
486_m_教会寄付イベント.json
487_m_町神父.json
488_m_ADV.json
489_m┣ADVﾌｫﾙﾀﾞ判定.json
48_X[共]基本ｼｽﾃﾑ自動初期化.json
490_m┣ADVログ.json
491_m　　┗ﾘﾛｸﾞﾎﾞｲｽ再生.json
492_m┣ADVｽｷｯﾌﾟ監視.json
493_m┣ADVｺﾝﾌｨｸﾞ.json
494_m┗ADVｷｰｺｰﾄﾞ判別.json
495_m_ADV_BGM判定.json
496_m_仕入れ.json
497_m┣在庫ﾘｽﾄ作成.json
498_m┣ｱｲﾃﾑ選択時.json
499_m　　┣商品補充.json
49_X[共]システムSE再生.json
4_○回復・ダメージ処理.json
500_m　　┗販売価格変更.json
501_m┗新商品.json
502_m　　┣仕入れリスト作成.json
503_m　　┣仕入れﾘｽﾄ出力.json
504_m_傾向レベルチェッカー.json
505_m_施設ランクアップ.json
506_m_おしゃれショップ判定.json
507_m_施設ランクアップ時処理.json
508_m_仕入れ入手.json
509_m_おしゃれショップ.json
50_X[共]アイテム増減.json
510_m┣おしゃれショップリスト作成.json
511_m_BGM音量変化.json
512_[戦]敵一覧描画.json
513_[戦]味方予定コマンド表示.json
514_[戦]さくせんウィンドウ描画.json
515_[戦]味方コマンド表示.json
516_[戦]じゅもんorとくぎウィンドウ表示.json
517_[戦]道具ウィンドウ表示.json
518_[戦]装備ウィンドウ表示.json
519_[戦]味方選択ウィンドウ.json
51_X[共]武器増減.json
520_[戦]使用予定道具表示.json
521_[戦]枠サイズ取得.json
522_[戦]上部味方枠表示.json
523_[戦]ユニットサイズ取得.json
524_[戦]開始時コマンド表示.json
525_[戦]敵一覧_行取得.json
526_[戦]敵グループ処理.json
527_[戦]敵単体キャラ名取得.json
528_[戦]いれかえウィンドウ表示.json
529_[共]いれかえ処理.json
52_X[共]防具増減.json
530_[戦]戦闘DB→戦闘DBコピー.json
531_[戦]戦闘DB初期化.json
532_[戦]主人公DB→戦闘DB展開.json
533_[戦]エフェクト用ランダム処理.json
534_[戦]色設定.json
535_[戦]全味方欄表示.json
536_[戦]味方ダメージエフェクト.json
537_[戦]味方シェイク.json
538_[戦]総合すばやさ計算.json
539_[戦]X座標整列.json
53_X[共]所持金増減.json
540_[戦]RGB取得.json
541_[戦]いれかえ表示+.json
542_[戦]いれかえ選択中チェック.json
543_[戦]いれかえ処理+.json
544_[戦]対象選択.json
545_[戦]耐性計算.json
546_[戦]ダメージor回復表示.json
547_[戦]全味方名取得.json
548_[戦]ランダム選択.json
549_[戦]ウェイト処理.json
54_X[共]ｱｲﾃﾑ所持数取得.json
550_[戦]オーブ戦闘回数取得.json
551_[戦]DB位置取得(ForOrb).json
552_[戦]主人公DB→主人公DBコピー.json
553_[戦]仲間モンスター空き検索.json
554_[戦]メッセージスピード：8 キー入力.json
555_[戦]オーブ収束_分散対象種類取得.json
556_[戦]オーブ情報取得.json
557_[戦]オーブ入替対象検索.json
558_[共]仲間増減.json
559_[戦]敵ランダム取得.json
55_X[共]武器所持数取得.json
560_[戦]技能割り込み処理.json
561_[戦]技能対象ランダム取得.json
562_[戦]オーブ誘発効果登録.json
563_[戦]クリティカル判定.json
564_[戦]特性情報取得.json
565_[戦]誘発効果登録_特性.json
566_[戦]特性_常時xx状態追加.json
567_[戦]オーブ情報取得+.json
568_[戦]オーブ情報取得+（デメリット解除用）.json
569_[移]技能使用制限解除.json
56_X[共]防具所持数取得.json
570_[戦]マスター追加削除.json
571_[共]ステータス取得.json
572_[共]全状態解除.json
573_[戦]Hメッセージ途中表示.json
574_[戦]特殊状態検索.json
575_[戦]生存判定.json
576_[戦]状態耐性.json
577_[戦]馬車メンバ展開.json
578_[戦]パルプンテ技能取得.json
579_[戦]パルプンテエクストラマップ処理.json
57_X[共]所持金取得.json
580_[戦]死者ランダム取得.json
581_[戦]敵追加処理.json
582_[戦]敵追加希望位置判定.json
583_[戦]空きスロット検索.json
584_[戦]敵アニメ処理.json
585_[戦]敵アニメ合体処理.json
586_[戦]ニフラム判定.json
587_[戦]誘発効果登録_防具.json
588_[戦]バシルーラ処理.json
589_[戦]味方最後のひとり判定.json
58_X[共]技能の習得・消去.json
590_[戦]戦場設定.json
591_[戦]戦場検索.json
592_[戦]戦場設定+.json
593_[戦]特性取得+.json
594_[戦]道具使用可否判定.json
595_[戦]全体シェイク.json
596_[戦]用途別顔ｸﾞﾗ取得.json
597_[戦]AI2.json
598_[戦]AI対象検索.json
599_[戦]威力算出.json
59_X[共]ウェイト(キー押しで中断).json
5_○メンバーの増減.json
600_[戦]状態検索.json
601_[戦]闘技場開始.json
602_[戦]敵ｷｬﾗ個体ﾃﾞｰﾀ→主人公ステータス展開.json
603_[共]仲間追加or削除.json
604_[共]いれかえ処理.json
605_[移]経験値取得処理.json
606_[共]状態値パーセンテージ取得.json
607_[戦]状態検索（特殊効果）.json
608_[戦]状態解除.json
609_[戦]ランダム技能取得.json
60_X[共]ウェイト2(キー押しで加速).json
610_[戦]常時状態比較.json
611_[戦]常時状態追加.json
612_[戦]状態検索（一般）.json
613_[戦]デバッグ用データ出力.json
614_[戦]デバッグ用データコピー.json
615_[戦]対象死亡時再抽選.json
616_[戦]デバッグ用データ出力2.json
617_[戦]デバッグ用データ出力3.json
618_[戦]デバッグ用データ出力4.json
619_[戦]経過時間取得.json
61_X[共]キー押し加速ｳｪｲﾄ計算.json
620_[戦]デバッグ用セーブ機能.json
621_[戦]デバッグ用データ出力5.json
622_[共]音量補正.json
623_[戦]技能一斉更新.json
624_[戦]技能距離取得.json
625_[戦]瀕死判定.json
626_[廃][共]ラーミア処理.json
627_[共]ラーミア画像読込.json
628_[戦]常時状態初期化.json
629_[共]エリー技能位置修正.json
62_■■【共通・画面処理】■■.json
630_[移]モンスター図鑑.json
631_[移]タイルギミック.json
632_[移]Hメッセージ拡張PID指定.json
633_[移]旅の扉.json
634_[移]全員集合.json
635_[移]移動座標記録.json
636_[移]さくせん変更.json
637_[移]ゲーム設定.json
638_[移]キーコンフィグ.json
639_[移]キー文字列判別.json
63_X[共]メッセージウィンドウ.json
640_■Write&GetINIFile.json
641_┃┗ INIFileStrSave.json
642_┗ CommentStrSwitch.json
643_[共]累計and次Lv経験値算出.json
644_[移]システム初期化.json
645_[共]キー入力受付.json
646_[共]アイテム取得.json
647_[共]ポーズカーソル拡張.json
648_[戦]主人公データ展開.json
649_[共]アイテム取得可否判定.json
64_X[共]万能ｳｨﾝﾄﾞｳ描画処理.json
650_[共]m_はい_いいえ拡張.json
651_[戦]技能効果対象取得.json
652_[移]つり実行.json
653_[移]つりチェック.json
654_[移]ルーラ処理.json
655_[移]つり出現位置生成.json
656_[移]つり魚影生成.json
657_[移]つり移動パターン初期化.json
658_[移]つり透明and不透明処理.json
659_[移]魚図鑑.json
65_X[共]万能ｳｨﾝﾄﾞｳ選択実行.json
660_【数字】半角→全角変換ｺﾓﾝ.json
661_[移]ルーラ描画処理.json
662_[移]馬車画像読込処理.json
663_[移]回転床処理.json
664_[移]LR主人公ID検索.json
665_[な]カーソル座標取得.json
666_[な]パーティ処理.json
667_[な]パーティ表示.json
668_[移]移動処理.json
669_[移]移動実行.json
66_X[共]万能ｳｨﾝﾄﾞｳ説明欄変更.json
670_[移]ルーフ生成.json
671_[移]移動可否判定.json
672_[移]気づきチェック.json
673_[移]ルーフ生成（画像から）.json
674_[移]マップ位置処理.json
675_[戦]モンスター闘技場開始.json
676_[戦]敵DB→主人公DBコピー.json
677_[戦]モンスター闘技場敵ID取得.json
678_[共]メンバ数算出.json
679_[共]モンスター用名前候補処理.json
67_X[共]全体エフェクト実行.json
680_[移]キャラクタプロフィール.json
681_[移]カラーバランサ.json
682_[な]表示用計算.json
683_[な]表示用全体処理.json
684_[な]表示用全体並列処理.json
685_[共]おまけモード.json
686_.json
687_.json
688_T[共]常時実行.json
689_T[共]1歩ごとに処理.json
68_■■■■■■■■■■■■■.json
690_■■■【まんたん処理】■■■.json
691_T[ま]回復対象者数取得.json
692_T[ま]指定技能取得者検索.json
693_T[ま]技能使用者検索.json
694_T[ま]┗全体効果参照.json
695_T[ま]┗単体効果参照.json
696_O[ま]技能実行者検索.json
697_O[共]技能検索.json
698_.json
699_.json
69_■■【移動時・内部処理】■■.json
6_○主人公情報の変更.json
700_文字列_カンマ区切り.json
701_月表示用フォントサイズ＋幅調整.json
702_.json
703_X┣[移]はなす実行.json
704_X┣[移]なかま実行.json
705_X┣[移]しらべる実行.json
706_X┣[移]まんたん実行.json
707_.json
708_X┣[移]そうだん実行.json
709_X┣[移]さくせん実行.json
70_X[移]パラメータ増減.json
710_.json
711_.json
712_「つかう」選択実行.json
713_X┣[移]つかう実行.json
714_「つかう」コマンド用技能算出.json
715_.json
716_T「つかう」ｺﾏﾝﾄﾞ用技能選択_実行.json
717_T「つかう」コマンド用技能選択画面.json
718_.json
719_T[移]技能実行_選択処理.json
71_X[移]パラメータ取得.json
720_T[移]技能実行_選択画面.json
721_T[移]技能実行_選択者詳細画面.json
722_T[つ]ｱﾏｶﾗｱｲﾃﾑ使用処理.json
723_T[つ]ｱﾏｶﾗｱｲﾃﾑ使用_画面処理.json
724_T[つ]ｱﾏｶﾗｱｲﾃﾑ対象選択処理.json
725_T[つ]ｱﾏｶﾗｱｲﾃﾑ対象選択_画面処理.json
726_T[つ]ｱﾏｶﾗｱｲﾃﾑ対象選択_選択者詳細画面.json
727_T[つ]ｱｲﾃﾑ効果時文言生成.json
728_T[つ]技能効果時文言生成.json
729_T[移]回復ｱｲﾃﾑ使用時、対象に効果があるか.json
72_X[移]パラメータ変更(文字列).json
730_X[移]ｱｲﾃﾑ使用効果処理.json
731_X[移]ｱｲﾃﾑ使用_消費処理.json
732_T[移]回復特技使用時、対象に効果があるか.json
733_X[移]技能使用効果処理.json
734_X[移]技能使用_消費処理.json
735_■■■【なかま処理】■■■.json
736_T[な]初回仲間選択処理.json
737_T[な]初回仲間選択画面.json
738_T[な]初回仲間選択画面_詳細ウィンドウ処理.json
739_T[な]ﾆﾝｹﾞﾝ選択後処理.json
73_X[移]パラメータ取得(文字列).json
740_T[な]ﾆﾝｹﾞﾝ選択後処理_画面処理.json
741_T[な]そうび選択.json
742_T[な]そうび選択_画面処理.json
743_T[な]ｵｰﾌﾞ選択.json
744_T[な]ｵｰﾌﾞ選択_画面処理.json
745_T[な]ｵｰﾌﾞ装着処理.json
746_T[な]ｵｰﾌﾞ装着_画面処理.json
747_.json
748_T[ｽ]ｽｷﾙ習得時ﾒｯｾｰｼﾞ生成.json
749_T[な]ｽｷﾙ選択.json
74_X[移]レベルアップ処理.json
750_T[な]┗左右ｷｰ処理.json
751_T[な]ｽｷﾙ選択_画面処理.json
752_T[な]┗説明文.json
753_T[な]ｱﾏｶﾗ選択後処理.json
754_T[な]ｱﾏｶﾗ選択後_画面処理.json
755_T[な]ｱﾏｶﾗそうび処理.json
756_T[な]ｱﾏｶﾗそうび_画面処理.json
757_T[な]ｱﾏｶﾗｽｷﾙ処理.json
758_T[な]ｱﾏｶﾗｽｷﾙ_画面処理.json
759_.json
75_X[移]状態付与_消去.json
760_T[な]主人公装備装着・解除.json
761_T[な]ｱﾏｶﾗ装備装着・解除.json
762_T[つ]ｶｰｿﾙ位置から主人公ID取得.json
763_T[な]ｶｰｿﾙ位置から文言取得.json
764_T[な]ｶｰｿﾙ位置から情報取得.json
765_T[な]馬車情報格納.json
766_T[な]初回仲間選択位置設定.json
767_T[共]Lv表記部状態異常文言.json
768_T[共]状態異常アイコン取得.json
769_T[共]HP_最大HPから色取得.json
76_X[移]状態更新.json
770_T[共]用途別顔ｸﾞﾗ取得.json
771_T[共]数値から対応文を取得.json
772_T[共]通常文字列を_img形式に変換.json
773_T[共]数値を所持金文字列に変換.json
774_T[共]前線メンバー数設定.json
775_T[共]星画像取得.json
776_.json
777_X[移]装備一覧算出.json
778_X[移]馬車情報計算.json
779_X[移]馬車画像再設定.json
77_X[移]戦闘コマンド変更.json
780_T[移]主IDから使用可能特技算出.json
781_T[移]ｱﾏｶﾗ使用可能ｱｲﾃﾑ算出.json
782_T[Hメッセージ]の拡張.json
783_[共]右向き三角カーソル.json
784_.json
785_T[な]ｱﾏｶﾗ装備一欄DB登録.json
786_T[な]主人公装備一欄DB登録.json
787_T[装]装備ﾀｲﾌﾟから装備番号取得.json
788_T[装]装備ｱｲｺﾝ変換.json
789_T[装]ﾆﾝｹﾞﾝ_ｿｰﾄ切替処理.json
78_X[移]戦闘コマンド取得.json
790_T[装]新装備入手処理.json
791_T[装]装備種類判定.json
792_T[ｽ]ｱﾏｶﾗ用ｽｷﾙ習得処理.json
793_T[ｽ]ｱﾏｶﾗ習得済みｽｷﾙ登録.json
794_T[装]装備参考用処理.json
795_T[装]newﾌﾗｸﾞ処理.json
796_T[装]ｿｰﾄｶｰｿﾙ位置設定.json
797_T[ｽ]ﾆﾝｹﾞﾝ用ｽｷﾙ習得処理.json
798_T[ｽ]┗登録ﾃﾞｰﾀｿｰﾄ処理.json
799_T[ｽ]ﾆﾝｹﾞﾝ習得済みｽｷﾙ登録.json
79_X[移]パーティー情報計算.json
7_○能力値増減.json
800_T[ｽ]┗remove処理ﾆﾝｹﾞﾝ習得済み.json
801_T[ｽ]技能習得処理.json
802_T[ｽ]ﾆﾝｹﾞﾝ表示用習得済み特性算出.json
803_.json
804_T[ｽ]ｱﾏｶﾗｽｷﾙ習得時ｱﾆﾒ情報算出.json
805_T[ｽ]ｱﾏｶﾗｱﾆﾒ描画処理.json
806_.json
807_T[ｽ]ﾆﾝｹﾞﾝｽｷﾙ習得時ｱﾆﾒ情報算出.json
808_T[ｽ]ﾆﾝｹﾞﾝｱﾆﾒ描画処理.json
809_.json
80_X[移]パーティー画像再設定.json
810_T[ｽ]習得済みｽｷﾙからｽﾃ計算.json
811_.json
812_T[ｵ]選択ｽﾛｯﾄから各種flag設定.json
813_T[ｵ]ｵｰﾌﾞ表示用ﾘｽﾄ登録.json
814_T[ｵ]用途別ｵｰﾌﾞ画像取得.json
815_T[な]ｱﾏｶﾗ人望ｱｲｺﾝ処理.json
816_.json
817_.json
818_T[も]目録選択実行.json
819_T[も]目録選択_画面処理.json
81_■■【お店関連処理】■■.json
820_■■■【もちもの】■■■.json
821_Tもちもの実行.json
822_Tもちもの画面処理.json
823_T[も]どうぐ選択実行.json
824_T[も]どうぐ_画面処理.json
825_T[も]どうぐ_どうする処理.json
826_T[も]どうぐ_どうする画面処理.json
827_T[も]どうぐ_選択ｱｲﾃﾑすてる処理.json
828_T[も]素材選択実行.json
829_T[も]素材選択_画面処理.json
82_X[移]お店商品初期化.json
830_.json
831_.json
832_[廃止]T[も]その他選択実行.json
833_[廃止]T[も]その他選択_画面処理.json
834_T[も]武器選択実行.json
835_T[も]武器選択_画面処理.json
836_T[も]武器詳細選択実行.json
837_T[も]武器詳細選択_画面処理.json
838_T[も]防具選択実行.json
839_T[も]防具選択_画面処理.json
83_X[移]お店商品追加.json
840_T[も]防具詳細選択実行.json
841_T[も]防具詳細選択_画面処理.json
842_T[も]ｵｰﾌﾞ選択実行.json
843_T[も]ｵｰﾌﾞ選択_画面処理.json
844_T[も]その他選択実行.json
845_T[も]その他選択_画面処理.json
846_.json
847_T[も]ｼｰﾝ別ｱｲﾃﾑ使用可能判別.json
848_T[も]ｵｰﾌﾞ表示用ﾘｽﾄ登録.json
849_T[も]選択時所持リスト作成.json
84_X[移]お店実行.json
850_T[も]そうびできる人ﾘｽﾄ作成.json
851_T[も]武器特殊効果ﾘｽﾄ登録.json
852_T[も]防具特殊効果ﾘｽﾄ登録.json
853_T[も]装備ｱｲｺﾝ変換.json
854_T[も]武器選択ﾘｽﾄ取得.json
855_T[も]防具選択ﾘｽﾄ取得.json
856_.json
857_■■■【さくせん処理】■■■.json
858_T[さ]初期選択処理.json
859_T[さ]初期選択画面.json
85_X[移]┣ お店　描画.json
860_T[さ]地図を見る処理.json
861_T[さ]並び替え処理.json
862_T[さ]さくせん変更処理.json
863_T[さ]ゲーム設定処理.json
864_T[さ]操作設定処理.json
865_T[さ]冒険の記録処理.json
866_.json
867_■■■【地図処理】■■■.json
868_T[地]地図描画処理.json
869_T[地]未開拓塗りつぶし描画処理.json
86_X[移]┗ お店内部情報更新.json
870_T[地]地図表示座標取得.json
871_[廃]T[地]主人公座標からMAP開拓処理.json
872_.json
873_.json
874_.json
875_.json
876_.json
877_T[つ]使用可能アイテム数取得.json
878_一時保存T[な]ｱﾏｶﾗｽｷﾙ_画面処理.json
879_.json
87_■■【メニュー画面処理】■■.json
880_文字列操作＋.json
881_┣先頭のＮ文字切り出し.json
882_┣終端のＮ文字切り出し.json
883_┣Ｎ行抜き取り.json
884_┣文字列抜き取り.json
885_┣文字列Ｘカウント.json
886_┣文字列行数カウント.json
887_┣文字数カウント.json
888_┣文字列Ｙ-文字列Ｘ.json
889_┣文字列Ｘ探索.json
88_X[移]メニュー描画.json
890_┣Ｎ行目挿入.json
891_┣文字列挿入.json
892_┣数値文字列変換.json
893_┗文字列数値変換.json
894_T画面処理テンプレート.json
895_固定小数点演算.json
896_┣固定小数点演算.json
897_.json
898_.json
899_.json
89_X┗[移]メニューコマンド算出.json
8_○特殊技能増減.json
900_■■■イベント呼び出し■■■.json
901_T[特]くちぶえコモン.json
902_.json
903_.json
904_.json
905_T[自]並列自動メニュー.json
906_.json
907_.json
908_■■■馬車処理■■■.json
909_T[馬]ﾌｨｰﾙﾄﾞ用並列処理.json
90_X[移]キャラクター欄描画.json
910_T[馬]ﾀﾞﾝｼﾞｮﾝ用並列処理.json
911_T[馬]座標から移動方向取得.json
912_.json
913_.json
914_T[馬]主人公の位置を見る_最前面処理.json
915_T[馬]前の位置を見る_最前面処理.json
916_■■■船処理■■■.json
917_T[船]乗り込む処理.json
918_T[船]乗物制御1ﾍﾟｰｼﾞ目.json
919_T[船]乗物制御2ﾍﾟｰｼﾞ目.json
91_X[移]ｷｬﾗｸﾀｰ欄_座標算出.json
920_T[船]乗物位置復元.json
921_T[共]ﾌｨｰﾙﾄﾞﾀﾞﾝｼﾞｮﾝ用ｱﾏｶﾗ向き制御.json
922_O[船]船移動へ戻る.json
923_.json
924_■■■D用船処理■■■.json
925_T[D用船]乗り込む処理.json
926_T[D用船]乗物制御1ﾍﾟｰｼﾞ目.json
927_T[D用船]乗物制御2ﾍﾟｰｼﾞ目.json
928_T[D用船]乗物位置復元.json
929_.json
92_X[移]キャラ欄_全員描画.json
930_T[D用船]ﾏｯﾌﾟﾁｯﾌﾟ変更.json
931_.json
932_.json
933_.json
934_■■■ﾗｰﾐｱ処理■■■.json
935_T[ﾗ]乗り降り処理.json
936_.json
937_.json
938_Iデバッグ.json
939_.json
93_X[移]装備画面描画.json
940_[移]ダメージ描画.json
941_[移]クエスト処理.json
942_[移]戦歴表示.json
943_[戦]状態記憶処理.json
944_[移]MGP登録処理.json
945_[移]MGP戦闘処理.json
946_[汎]パーティ人数計算処理.json
947_[移]1歩移動時更新.json
948_[戦]味方全滅判定.json
949_[戦]エフェクト：クエイク.json
94_X[移]セーブ・ロード画面描画.json
950_[戦]エフェクト：シェイク.json
951_[共]モンスター数取得.json
952_[戦]ボスorザコ判定.json
953_[移]岩Lv判定.json
954_[戦]チェッカー描画.json
955_[戦]チェッカーキー入力.json
956_[戦]チェッカキャンセル.json
957_[戦]チェッカ武器指定.json
958_[戦]エフェクト：背景.json
959_[戦]味方撃破処理.json
95_X[移]システム画面描画.json
960_[戦]エフェクト：敵前後.json
961_[戦]エフェクト：クエイク2.json
962_[戦]エフェクト：シェイク2.json
963_[移]リレミト処理.json
964_[移]音量設定.json
965_[移]パーティ情報取得.json
966_[移]パーティ画像ロード.json
967_[移]Ev場所移動.json
968_[移]パーティ編成.json
969_[移]待機メンバ選択処理.json
96_X[移]ﾀﾞﾒｰｼﾞ・回復ﾎﾟｯﾌﾟｱｯﾌﾟ.json
970_[移]パーティ画像描画.json
971_[移]パーティソート.json
972_[移]仲間増減+.json
973_[移]非モンスターメニュー表示.json
974_[移]カーソル位置取得.json
975_[移]パーティ編成キャンセル実行.json
976_[戦]BGM調整.json
977_[戦]技能効果対象算出.json
978_[戦]効果対象分類取得.json
979_[戦]アニメID取得.json
97_X[移]指定ｷｬﾗHP_SP回復表示.json
980_[戦]エフェクト：カメラ移動.json
981_[共]並列音量変更.json
982_[共]並列敵画像停止.json
983_[移]罠_状態異常.json
984_[移]必須自動実行.json
985_[移]必須並列実行.json
986_[移]罠_ダメージ.json
987_[移]画面効果.json
988_[共]タイトル時設定.json
989_[移]サウンドノベル.json
98_X[移]指定ｷｬﾗ状態付与表示.json
990_[移]歩行グラフィック取得.json
991_[移]ルーフ生成（1画像）.json
992_[共]マップEv用画面効果.json
993_[共]ピコーン描画.json
994_[移]仲間処理（SE有）.json
995_[移]アイテム使用処理.json
996_[移]強制復活.json
997_[移]マップEvアクション.json
998_[移]回復処理.json
999_[移]顔画像リスト描画.json
99_X[移]残りアイテム数表示.json
9_○状態異常変化.json


code:
@echo off
setlocal

REM Copy GAMEUPDATE.bat to a new file
copy patch.bat patch2.bat

REM Run the new file
call patch2.bat

REM Delete the new file
del patch2.bat

endlocal
@echo on

repo_name: onms/super

license: unknown


code:
#!/bin/bash

# Enable error handling
set -e

# Copy patch.bat to a new file
cp patch.sh patch2.sh

# Run the new file
bash patch2.sh

# Delete the new file
rm patch2.sh


code:
# Apply Patch
1. Click Code
2. Click Download ZIP
3. Extract to game folder and Replace All.

## Future Patching
1. Run GAMEUPDATE.bat to auto patch.

# Troubleshooting
**GAMEUPDATE.bat doesn't update and closes immediately**
1. Make sure your path doesn't contain any Japanese characters or lots of whitespace.
2. Make sure you actually have permissions in the folder

# Edit/Contribute
TLDR 3 steps.

    Fork the repository.
    Make the changes.
    Submit a pull request to the project owner.

If everything looks good and doesn't break things I'll merge it in.

Longer Version:

Things that are needed:
* [VSCode](https://code.visualstudio.com/) Make sure you check all the boxes for context menus. ![image](https://github.com/DazedMTL/Dungeon-With-Girl/assets/96628874/7a84b624-32fe-4845-a0f6-2b9f39795070)
* The Game
* [Git](https://git-scm.com/downloads) (Use the default for everything. Just keep clicking Next)
* Motivation to learn

Installation:
1. Fork the repo using the fork button at the top. Click Code > HTTPS > Copy URL.
2. Right click on the game folder and click 'Open with VSCode' (Shift+Right_Click if you are on Windows 11)
3. Click on the Source Control Button and click initialize repository.

![image](https://github.com/DazedMTL/Dungeon-With-Girl/assets/96628874/61e818e6-11f9-450d-9d7d-263d109dbf56)

4. At the top click on Terminal > New Terminal. Enter the following: `git clone [URL_YOU_COPIED_ABOVE]`.
5. Copy the contents of the new folder created with git clone into the game folder and replace all.
6. Your source control menu should be good to go and look like this.

![image](https://github.com/DazedMTL/Dungeon-With-Girl/assets/96628874/c19787a0-172d-4a08-a37a-e3b56e70e86a)

Now you are all setup, all you need to do is play the game and look for any changes that need to be made. Stuff like spelling errors, wrong names, inconsistencies, spacing issues, etc.

7. Use the FIND functionality to search for what you are trying to fix. For example if a character's name is wrong, type that into the search menu and start looking, then make the change. Try not to mess with any scripts or variables you might see.

![image](https://github.com/DazedMTL/Dungeon-With-Girl/assets/96628874/589eccaf-7f86-43f7-a917-7e6e477b381a)

8. After you are satisfied with your changes it's time to put in a PR. Go to source control to see all your changes. Add a message and click the `Commit` button to save them all.

![image](https://github.com/DazedMTL/Dungeon-With-Girl/assets/96628874/a9a8973b-bc01-4184-bea9-63a925d961a2)

8. Click Sync to push your changes to your fork. Now all that's left is to put in a pull request.
9. Go to Pull Requests > New Pull Requests. Look at the arrow, your fork should be pointing to the original repo (mine). Add in details on what you fixed and Submit. If everything looks good I'll merge it in and you would have successfully contributed.

Got questions? Just shoot me a message, more than happy to walk you through any of the tools.


code:
@echo off
setlocal EnableExtensions EnableDelayedExpansion

echo Checking for pwsh...
set _my_shell=pwsh

REM Check if pwsh.exe exists
where /q !_my_shell!
if !errorlevel! neq 0 (
  echo pwsh not found. Falling back to powershell...
  REM If pwsh is not found, set to powershell
  set _my_shell=powershell

  REM Check if powershell.exe exists
  echo Checking for powershell...
  where /q !_my_shell!
  if !errorlevel! neq 0 (
    echo.Error: Powershell not found!
    pause
    exit /B 1
  ) else (
    echo powershell found.
  )
) else (
  echo pwsh found.
)

echo Using !_my_shell! for script execution.

REM Check if patch-config.txt exists
if not exist patch-config.txt (
    echo "Config file (patch-config.txt) not found! Assuming no patching needed."
    pause
    exit /b
)

REM Read configuration from file
for /f "tokens=1,2 delims==" %%a in (patch-config.txt) do (
    if "%%a"=="username" set "username=%%b"
    if "%%a"=="repo" set "repo=%%b"
    if "%%a"=="branch" set "branch=%%b"
)

REM Get the latest hash
echo "Getting latest commit SHA hash"
!_my_shell! -Command "(Invoke-RestMethod -Uri 'https://gitgud.io/api/v4/projects/%username%%%2F%repo%/repository/branches/%branch%').commit.id" > latest_patch_sha.txt

REM Read the latest SHA from the file
set /p latest_patch_sha=<latest_patch_sha.txt

REM Check if previous_patch_sha.txt exists
if not exist previous_patch_sha.txt (
    echo "Previous SHA hash not found!"
    echo "Assuming first time patching..."
    goto download_extract
)

REM Read the stored SHA from previous check
set /p previous_patch_sha=<previous_patch_sha.txt

REM Trim whitespace from SHA strings
set "previous_patch_sha=%previous_patch_sha: =%"
set "latest_patch_sha=%latest_patch_sha: =%"

REM Compare trimmed SHAs
if "%latest_patch_sha%" neq "%previous_patch_sha%" (
    echo "Update found! Patching..."
    goto download_extract
) else (
    echo "Patch is up to date."
)

REM Delete latest_patch_sha.txt
del latest_patch_sha.txt

endlocal
pause
exit /b

:download_extract
REM Download zip file
echo "Downloading latest patch..."
!_my_shell! -Command "Invoke-WebRequest -Uri 'https://gitgud.io/%username%/%repo%/-/archive/%branch%/%repo%-%branch%.zip' -OutFile 'repo.zip'"
if !errorlevel! neq 0 (
    pause
    exit /b
)

REM Extract contents, overwriting conflicts
echo "Extracting..."
!_my_shell! -Command "Expand-Archive -Path '.\repo.zip' -DestinationPath '.' -Force"
echo "Applying patch..."
xcopy /s /e /y "%repo%-%branch%\*" "."

REM Clean up
echo "Cleaning up..."
del repo.zip
rmdir /s /q "%repo%-%branch%"
del latest_patch_sha.txt

REM Store latest SHA for next check
echo %latest_patch_sha% > previous_patch_sha.txt
endlocal

REM Create Whitespace Images
echo "Creating Whitespace Images"
copy "Data\FontImage\mb15px\space.png" "Data\FontImage\mb15px\ .png"
copy "Data\FontImage\mb15px\space.png" "Data\FontImage\mb18px\ .png"
pause
exit /b


code:
#!/bin/bash

check_dependency() {
  if ! command -v "$1" > /dev/null 2>&1; then
    echo "Error: '$1' is not installed. Please install it using 'pkg install $1'."
    exit 1
  fi
}

# Check for jq, unzip, and curl
check_dependency jq
check_dependency unzip
check_dependency curl

CONFIG_FILE="patch-config.txt"

# Check if CONFIG_FILE exists
if [ ! -f "$CONFIG_FILE" ]; then
    echo "Config file '$CONFIG_FILE' not found! Assuming no patching needed."
    exit 0
fi

# Convert line endings to Unix format
sed -i 's/\r$//' "$CONFIG_FILE"

# Debug information
echo "Current directory: $(pwd)"
echo "Config file path: $(pwd)/$CONFIG_FILE"

# Read configuration from file
. "$(pwd)/$CONFIG_FILE"

# Get the latest hash
echo "Getting latest commit SHA hash"
latest_patch_sha=$(curl -s "https://gitgud.io/api/v4/projects/$username%2F$repo/repository/branches/$branch" | jq -r '.commit.id')

download_extract() {
    # Download zip file
    echo "Downloading latest patch..."
    curl -sL "https://gitgud.io/$username/$repo/-/archive/$branch/$repo-$branch.zip" -o repo.zip

    # Extract contents, overwriting conflicts
    echo "Extracting..."
    unzip -qo repo.zip

    echo "Applying patch..."
    cp -r "$repo-$branch/"* .

    echo "Cleaning up..."
    rm repo.zip
    rm -rf "$repo-$branch"
    rm -f latest_patch_sha.txt

    # Store latest SHA for next check
    echo "$latest_patch_sha" > previous_patch_sha.txt
}

# Check if previous_patch_sha.txt exists
if [ ! -f previous_patch_sha.txt ]; then
    echo "Previous SHA hash not found!"
    echo "Assuming first time patching..."
    download_extract
else
    # Read the stored SHA from previous check
    previous_patch_sha=$(cat previous_patch_sha.txt)

    # Compare trimmed SHAs
    if [ "$latest_patch_sha" != "$previous_patch_sha" ]; then
        echo "Update found! Patching..."
        download_extract
    else
        echo "Patch is up to date."
    fi
fi


code:
TEX = tectonic --outfmt pdf -Z shell-escape

all : trog01-a4.pdf trog01-letter.pdf

trog01-a4.pdf : trog01-a4.tex cover.png common.tex content.tex
	$(TEX) trog01-a4.tex

trog01-letter.pdf : trog01-letter.tex common.tex content.tex cover.png
	$(TEX) trog01-letter.tex

repo_name: cognate/trog


code:
\usepackage{graphicx}
\usepackage{printlen}
\usepackage{hyperref}
\usepackage[usenames,hyperref,table]{xcolor}
\usepackage[nomicrotype]{pullquote}
\usepackage{multicol}
\usepackage{multirow}
%\usepackage{makecell}
\usepackage{dblfloatfix}
\usepackage{tabulary}
\usepackage{amsthm}
\usepackage{amssymb}
%\usepackage{myshowframe}
%\usepackage{multicol}

%%%
% Font config
%%%

\usepackage{fontspec}
\defaultfontfeatures{Numbers=Uppercase, Ligatures=Common}
\setmainfont{cmunss.otf}[
    %Path= ./fonts/ ,
    BoldFont= cmunsx.otf,
    ItalicFont= cmunsi.otf,
    BoldItalicFont= cmunso.otf,
]

% No page numbers for cover
\pagestyle{empty}

% Set up page block for cover
\setlrmarginsandblock{0.25in}{0.25in}{*}%
\setulmarginsandblock{0.25in}{0.25in}{*}%
\setheadfoot{0pt}{0pt}%
\checkandfixthelayout[nearest]%

\newcommand{\setregularlayout}{%
\newlength{\blockheight}%
\setlength{\blockheight}{10in}%
\addtolength{\blockheight}{-2\baselineskip}%
\settypeblocksize{\blockheight}{7.25in}{*}%
\setlrmargins{*}{0.5in}{*}%
\setulmargins{0.5in}{*}{*}%
\setheadfoot{0pt}{2\baselineskip}%
\checkandfixthelayout[nearest]%
\clearpage%
}

\setcolsepandrule{2em}{0pt}
\setlength\textcoldist\columnsep

%%%
% Custom tables
%%%

\definecolor{altbg}{rgb}{0.90,0.90,0.90}
\renewcommand{\tabcolsep}{1mm}
\renewcommand{\arraystretch}{1.25}

\newcolumntype{n}{%
	>{\bfseries\boldmath\hskip0.5em}r<{\hskip0.5em}%
}

%\newcommand{\thead}[1]{\multicolumn{1}{l}{\textbf{\color{thtext}#1}}}
\newcommand{\thead}[1]{\textbf{#1}}
%\renewcommand{\theadfont}{\bfseries}
\newcommand{\tn}{\tabularnewline}

\newcommand{\tabelle}[3]{
	\small
	\noindent
	\rowcolors[]{1}{white}{altbg}
    \begin{tabularx}{1.0\linewidth}{#1}
        #2 \\
		#3
		%\specialrule{1.5pt}{0pt}{0pt}
	\end{tabularx}
    \normalsize
}
\newcommand{\narrowtabelle}[3]{
	\small
	\noindent
	\rowcolors[]{1}{white}{altbg}
    \begin{tabular}{#1}
        #2 \\
		#3
		%\specialrule{1.5pt}{0pt}{0pt}
	\end{tabular}
    \normalsize
}

%%%
% Section and paragraph headings
%%%

\setbeforeparaskip{0pt}
\setaftersecskip{0pt}

\newcommand{\by}[1]{\par~\\ {\large\itshape by #1}\vspace{0.5\baselineskip}\noindent}

%\setbeforesubsecskip{0pt}

%\renewcommand*{\subsecheadstyle}{\large\itshape}

% Disable section numbering
\setsecnumdepth{none}

%%%
% Table of contents
%%%
\definecolor{darkgrey}{rgb}{0.3,0.3,0.3}
\newcommand*{\category}[1]{\hspace{0.5em}\bfseries\itshape\textcolor{darkgrey}{#1}}

\renewcommand*{\contentsname}{In this issue…}

\renewcommand{\cftdotsep}{\cftnodots}

%\setlength{\cftbeforesectionskip}{1ex}
\renewcommand*{\cftsectionfont}{\Large}
\renewcommand*{\cftsectionpagefont}{\Large\bfseries}
\renewcommand*{\tocheadstart}{\par\vskip 1.5\baselineskip}
\renewcommand*{\aftertoctitle}{\par\vskip 0.7\baselineskip}

\makeatletter
\newcommand\l@mysection[3]{%
  \vskip\cftbeforesectionskip%
  \par\noindent%
  \parbox{2.5em}{%
    \hfill{\cftsectionpagefont#2}%
  }\hspace*{1em}%
  \parbox[t]{\dimexpr\textwidth-3.5em-1in\relax}{%
    \raggedright\cftsectionfont#1\strut%
  }\par%
}

\renewcommand*\l@section[2]{%
  \l@mysection{#1}{#2}{\sectionname}%
}
\makeatother

\maxtocdepth{section}

%%%
% Lists config
%%%
\tightlists

%%%
% Endmark / tombstone
%%%
\newcommand{\tombstone}{\includegraphics[keepaspectratio,height=0.8em]{logo.png}}

%%%
% Flavour graphics with credit
%%%
\newsavebox{\picbox}
\newcommand{\flavourgraphic}[2]{%
    \sbox{\picbox}{#1}%
    \noindent\parbox{\linewidth}{%
        \centering%
        \begin{minipage}{\wd\picbox}%
            \usebox{\picbox}
            \raggedleft\small\itshape #2%
        \end{minipage}%
    }
}


code:
% Rolf Niepraschk -- Rolf.Niepraschk@gmx.de

% showframe.sty
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
% of this license or (at your option) any later version.
% The latest version of this license is in
%   http://www.latex-project.org/lppl.txt
% and version 1.3 or later is part of all distributions of LaTeX
% version 2003/12/01 or later.
%
% This work has the LPPL maintenance status "author-maintained".

% Draws visible frames for the text and margin area, and lines
% for the head and foot to check layout in detail. Using the package
% option "noframe" you can draw the frames later only for a single
% page with \AddToShipoutPicture*{\ShowFramePicture}. Another useful
% options maybe eso-pic's "colorgrid", "grid" and "texcoord".
%
% \ShowFrameColor and \ShowFrameLinethickness can be used to change
% the frames.

\ProvidesPackage{showframe}[2020/10/14 v0.1j showframe (new impl., RN)]

\newif\ifSF@frame\SF@frametrue

\DeclareOption{noframe}{\SF@framefalse}
\DeclareOption*{\PassOptionsToPackage{\CurrentOption}{eso-pic}}
\ProcessOptions\relax

\RequirePackage{eso-pic}[2002/10/30]

\newcommand*\ShowFrameColor{\normalcolor}
\newcommand*\ShowFrameLinethickness{.8pt}
\newdimen\SF@tempdima

\newcommand\ShowFramePicture{%
  \begingroup
    \ShowFrameColor\linethickness{\ShowFrameLinethickness}%
    \AtPageLowerLeft{%
      \framebox(\paperwidth,\paperheight){}}%
    \AtTextLowerLeft{%
      \framebox(\textwidth,\textheight){}}%
  \endgroup
}

\ifSF@frame\AddToShipoutPictureFG{\ShowFramePicture}\fi

\endinput


code:
%%
%% This is file `pullquote.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% pullquote.dtx  (with options: `package')
%% ----------------------------------------------------------------
%% pullquote --- make pullquotes with LaTeX
%% E-mail: Stephan.Lehmke@QuinScape.de
%% Web: www.docscape.de
%% Released under the LaTeX Project Public License v1.3c or later
%% See http://www.latex-project.org/lppl.txt
%% ----------------------------------------------------------------
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{pullquote}[2012/09/12 v2.0 EXPERIMENTAL package for typesetting pullquotes]
    \RequirePackage{etoolbox}
    \RequirePackage{environ}
    \RequirePackage{keyval}

    \newif\ifmicrotype@pq
    \microtype@pqtrue
    \DeclareOption{nomicrotype}{\microtype@pqfalse}

    \newif\ifimgshapes@pq
    \imgshapes@pqtrue
    \DeclareOption{noimageshapes}{\imgshapes@pqfalse}

    \ProcessOptions\relax

    \ifmicrotype@pq
      \RequirePackage[expansion=alltext]{microtype}
    \fi

    \ifimgshapes@pq
      \RequirePackage{graphicx}
    \fi
    \newdimen\textcoldist
    \textcoldist4mm\relax
    \newdimen\objdist
    \objdist4mm\relax

      \define@key{pq}{textcoldist}{\textcoldist=#1\relax}
      \define@key{pq}{objdist}{\objdist=#1\relax}
      \define@key{pq}{textcolwd}{\textcolwd=#1\relax}
      \define@key{pq}{objvalign}
      {%
        \ifcsname do@valign@#1@pq\endcsname
          \expandafter\let\expandafter\objvalign@pq\csname do@valign@#1@pq\endcsname
         \else
          \PackageError{pullquote}{Invalid valign}{Only the values
            `top', `bottom', `center', or `middle' are valid for key
            `valign'. The value you gave
              was ignored.}
        \fi
      }
      \define@key{pq}{objvoffset}{\def\objvoffset@pq{#1}}
      \define@key{pq}{object}{\def\obj@pq{#1}}
      \define@key{pq}{image}{\def\img@pq{#1}}
      \define@key{pq}{imageopts}{\def\imgopts@pq{#1}}
      \define@key{pq}{shape}{\def\shape@pq{#1}\expandafter\let\expandafter\shapefun@pq\csname#1shapefun\endcsname}
      \define@key{pq}{shapefunction}{\def\shape@pq{fun}\let\shapefun@pq#1}

      \def\constant@image@pq{image}
      \def\constant@pullquote@pq{pullquote}

      \newcommand\do@valign@middle@pq
      {\numexpr(\pqlines@pq-\objlines@pq)/\tw@\relax}
      \newcommand\do@valign@center@pq
      {\numexpr(\pqlines@pq-\objlines@pq)/\tw@\relax}
      \newcommand\do@valign@top@pq{\z@}
      \newcommand\do@valign@bottom@pq
      {\numexpr\pqlines@pq-\objlines@pq\relax}

    \NewEnviron{pullquote}[1]
    {%
      \ifx\@currenvir\constant@pullquote@pq
        \textcolwd\z@
        \let\objvalign@pq\do@valign@middle@pq%
        \let\objvoffset@pq\empty
        \let\obj@pq\empty
        \let\img@pq\empty
        \let\imgopts@pq\empty
        \let\shape@pq\empty
        \let\shapefun@pq\rectangularshapefun
        \setkeys{pq}{#1}%
        \ifdim\textcolwd=\z@
          \textcolwd\dimexpr.5\linewidth-.5\textcoldist\relax
        \fi
        \ifx\img@pq\empty
         \else
          \def\obj@pq
          {\expandafter\includegraphics\expandafter[\imgopts@pq]{\img@pq}}%
        \fi
        \ifx\shape@pq\constant@image@pq
          \ifimgshapes@pq
            \ifx\img@pq\empty
              \PackageError{pullquote}{No image given}{You need to
                specify an image with the key "image". Your command
                was ignored. No output will be generated.}
             \else
              \@pullquoteimgshape@pq
            \fi
           \else
            \PackageError{pullquote}{Image shapes disabled}{Your command
              was ignored. No output will be generated. Try again
              without package option "noimageshapes".}
          \fi
         \else
          \ifx\obj@pq\empty
            \PackageError{pullquote}{No object given}{You need to give one of
              the keys "object" or "image" to specify the object to
              insert between columns. Your command
              was ignored. No output will be generated.}
           \else
            \@pullquote@pq
          \fi
        \fi
       \else
        \PackageError{pullquote}{pullquote is an environment now}{The
          macro \string\pullquote\space does not exist any
          more. Please use
          \string\begin{pullquote}...\string\end{pullquote}. Your command
          was ignored. No output will be generated.}
      \fi
    }
    \newcommand\@pullquote@pq
    {%
        \clubpenalty=\z@
        \widowpenalty=\z@
        \splittopskip\dimexpr\baselineskip-\dp\strutbox\relax
        \vbadness\maxdimen
        \vfuzz\maxdimen
        \setbox\objbox@pq
        =\hbox{%
          \obj@pq%
        }%
        \typesettext@pq{\BODY}{}%
        \pqlines@pq
        =\numexpr
          \dimexpr\ht\textbox@pq+\dp\textbox@pq\relax
          /\baselineskip
          /\tw@
        \relax
        \objlines@pq
        =\numexpr
          \dimexpr\ht\objbox@pq+\dp\objbox@pq+2\objdist\relax
          /\baselineskip
        \relax
        \windowhextent=\dimexpr.5\wd\objbox@pq+\objdist\relax
        \windowvextent=\objlines@pq\baselineskip
        \windowqhextent=.5\windowvextent
        \ifdim\windowhextent>\windowqhextent
          \windowqhextent\windowhextent
        \fi
        \narrowhsize@pq
        =\dimexpr\textcolwd-\windowhextent+.5\textcoldist\relax
        \loop
          \typeout{trying \the\pqlines@pq\space lines.}%
          \objtopoffset@pq
          =%
          \ifx\empty\objvoffset@pq
            \objvalign@pq
           \else
            \objvoffset@pq\relax
          \fi
          \global\parshapelines@pq=\numexpr2*\pqlines@pq+\@ne\relax
          \xdef\parshape@pq
          {%
            \number\parshapelines@pq\space
            \iterate@mkps@pq{1}{1}%
            0pt\space\the\textcolwd\space
          }%
          \typesettext@pq{\BODY}
          {%
            \let\o@par@pq\par
            \let\par\par@pq
            \parshape\parshape@pq
          }%
          \setbox\columnabox@pq=\vsplit\textbox@pq to \pqlines@pq\baselineskip
          \setbox\columnbbox@pq=\vsplit\textbox@pq to \pqlines@pq\baselineskip
         \unless\ifvoid\textbox@pq
          \@tempcnta
          \numexpr
            \dimexpr\ht\textbox@pq+\dp\textbox@pq\relax
            /\baselineskip
            /\tw@
            -\@ne
          \relax
          \ifnum\@tempcnta<\@ne\@tempcnta\@ne\fi
          \advance\pqlines@pq\@tempcnta
        \repeat
        \hbox
        {%
          \rlap
          {%
            \hskip
            \dimexpr\narrowhsize@pq+\objdist\relax
            \raise
            \dimexpr
              \numexpr\pqlines@pq-\objlines@pq-\objtopoffset@pq\relax
              \baselineskip
              +.5\dimexpr\windowvextent-\ht\objbox@pq\relax
              +.5\dp\objbox@pq
            \relax
            \box\objbox@pq
          }%
          \rlap{\box\columnabox@pq}\hskip\textcolwd\hskip\textcoldist\box\columnbbox@pq%
        }%
    }
    \newbox\textbox@pq
    \newbox\columnabox@pq
    \newbox\columnbbox@pq
    \newbox\objbox@pq
    \newcount\pqlines@pq
    \newcount\parshapelines@pq
    \newcount\objlines@pq
    \newcount\objtopoffset@pq
    \newdimen\textcolwd
    \newdimen\windowhextent
    \newdimen\windowqhextent
    \newdimen\windowvextent
    \newdimen\narrowhsize@pq
    \newcommand*\parshape@pq{}
    \newcommand\typesettext@pq[2]%
    {%
      \setbox\textbox@pq
      =\vbox{%
        \hsize\textcolwd
        \tolerance9999\relax
        \lineskiplimit-\maxdimen
        \parskip\z@
        #2%
        \strut#1%
      }%
    }%
    \newcommand\iterate@mkps@pq[2]%
    {%
      \ifnumgreater{#1*#2}{2*\pqlines@pq}
      {}
      {%
        \ifnumgreater{#1}{\pqlines@pq}
        {\iterate@mkps@pq{1}{2}}
        {%
          \ifnumgreater{#1}{\objtopoffset@pq}
          {%
            \ifnumgreater{#1}{\objtopoffset@pq+\objlines@pq}
            {0pt\space\the\textcolwd\space}
            {%
              \ifnumequal{#2}{\@ne}
              {%
                0pt\space
                \the
                \dimexpr
                  \textcolwd+
                  .5\textcoldist-
                  \shapefun@pq\@ne
                  {%
                    \the\dimexpr
                      \numexpr#1-\objtopoffset@pq\relax\baselineskip-
                      \baselineskip
                    \relax
                  }
                  {\numexpr#1-\objtopoffset@pq\relax\baselineskip}%
                  {\number\numexpr#1-\objtopoffset@pq\relax}%
                \relax
                \space
              }
              {%
                \expandafter\right@psexpr@pq\expandafter
                {%
                  \the\dimexpr
                    \shapefun@pq\tw@
                    {%
                      \the\dimexpr
                        \numexpr#1-\objtopoffset@pq\relax\baselineskip-
                        \baselineskip
                      \relax
                    }
                    {\numexpr#1-\objtopoffset@pq\relax\baselineskip}%
                    {\number\numexpr#1-\objtopoffset@pq\relax}%
                    -.5\textcoldist
                  \relax
                }%
              }%
            }%
          }%
          {0pt\space\the\textcolwd\space}%
          \expandafter\iterate@mkps@pq\expandafter
          {\number\numexpr#1+\@ne\relax}{#2}%
        }%
      }%
    }
    \newcommand\right@psexpr@pq[1]
    {%
      #1\space
      \the\dimexpr\textcolwd-#1\relax\space
    }
    \def\par@pq
    {%
      \o@par@pq
      \ifnum\prevgraf<\parshapelines@pq
        \global\advance\parshapelines@pq-\prevgraf
        \xdef\parshape@pq{\expandafter\gobbleparshapeprefix@pq\parshape@pq}%
        \parshape\parshape@pq
       \else
        \global\parshapelines@pq\z@
      \fi
    }
    \def\gobbleparshapeprefix@pq#1 #2 #3 %
    {%
      \ifnumgreater{#1}{\parshapelines@pq}
      {\expandafter\gobbleparshapeprefix@pq\number\numexpr#1-\@ne\expandafter\relax\space}
      {#1 #2 #3 }%
    }

    \newcommand\rectangularshapefun[4]
    {%
      \the\windowhextent
    }%
    \newcommand\circularshapefun[4]
    {%
      \expandafter\dimmax@pq\expandafter
      {%
        \the\dimexpr
          \expandafter\@circshapefun\expandafter
          {%
            \the\dimexpr
              \ifdim #2>.5\windowvextent
                #2-.5\windowvextent
               \else
                .5\windowvextent-#2%
              \fi
            \relax
          }%
          \expandafter
        \relax
        \expandafter
      }%
      \expandafter
      {%
        \the\dimexpr
          \expandafter\@circshapefun\expandafter
          {%
            \the\dimexpr
              \ifdim #3>.5\windowvextent
                #3-.5\windowvextent
               \else
                .5\windowvextent-#3%
              \fi
            \relax
          }%
        \relax
      }%
    }
    \newcommand\@circshapefun[1]
    {%
      \the\dimexpr
        \windowqhextent-
        .5\dimexpr#1\relax*\dimexpr#1\relax/\windowqhextent-
        \dimexpr
          \dimexpr0.125\dimexpr#1\relax*\dimexpr#1\relax/\windowqhextent\relax*
          \dimexpr#1\relax/\windowqhextent
        \relax*
        \dimexpr#1\relax/\windowqhextent-
        \dimexpr
          \dimexpr
            \dimexpr
              \dimexpr0.0625\dimexpr#1\relax*\dimexpr#1\relax/\windowqhextent\relax*
              \dimexpr#1\relax/\windowqhextent
            \relax*
            \dimexpr#1\relax/\windowqhextent
          \relax*
          \dimexpr#1\relax/\windowqhextent
        \relax*
        \dimexpr#1\relax/\windowqhextent-
        \dimexpr
          \dimexpr
            \dimexpr
              \dimexpr
                \dimexpr
                  \dimexpr0.0390625\dimexpr#1\relax*\dimexpr#1\relax/\windowqhextent\relax*
                  \dimexpr#1\relax/\windowqhextent
                \relax*
                \dimexpr#1\relax/\windowqhextent
              \relax*
              \dimexpr#1\relax/\windowqhextent
            \relax*
            \dimexpr#1\relax/\windowqhextent
          \relax*
          \dimexpr#1\relax/\windowqhextent
        \relax*
        \dimexpr#1\relax/\windowqhextent
      \relax
    }%
    \newcommand\dimmax@pq[2]
    {%
      \ifdim#1>#2
        #1%
       \else
        #2%
      \fi
    }%
    \newcount\objrows@pq
    \newdimen\objrowwd@pq
    \newread\@inputfile@pq
    \def\white@pq{white}
    \def\black@pq{black}
    \newcommand\@pullquoteimgshape@pq
    {%
      \setbox\objbox@pq=\hbox{\obj@pq}%
      \objlines@pq
      =\numexpr
        \dimexpr\ht\objbox@pq+\dp\objbox@pq+2\objdist\relax
        /\baselineskip
      \relax
      \windowhextent=\dimexpr.5\wd\objbox@pq+\objdist\relax
      \windowvextent=\objlines@pq\baselineskip
      \@tempdima
      \dimexpr
        \p@*\wd\objbox@pq/\dimexpr.1\objdist\relax
      \relax
      \@tempdimb
      \dimexpr
        \p@*\ht\objbox@pq/\dimexpr(\windowvextent-\ht\objbox@pq)/20\relax
      \relax
      \objrows@pq\numexpr2*\objlines@pq\relax
      \objrowwd@pq\dimexpr2\windowhextent/\objrows@pq\relax
      \edef\@tmp
      {%
        convert \img@pq\space -resize \strip@pt\@tempdima x\strip@pt\@tempdimb! -bordercolor white -border 10x10 -morphology Erode Disk:10.3 -resize
        \number\objrows@pq x\number\objlines@pq! -black-threshold
        95\@percentchar\space-monochrome \img@pq.pqshape.txt
      }%
      \immediate\write18{\@tmp}%
      \typeout{\@tmp}%
      \begingroup
        \global\expandafter\let\csname pqshapemin:0@pq\endcsname\relax
        \global\expandafter\let\csname pqshapemax:0@pq\endcsname\relax
        \openin\@inputfile@pq \img@pq.pqshape.txt
        \loop
         \unless\ifeof\@inputfile@pq
          \read\@inputfile@pq to \@inputline@pq
          \expandafter\expandafter\expandafter\analyse@gridline@pq
          \expandafter\@inputline@pq\terminategridline@pq\@nil
        \repeat
        \closein\@inputfile@pq
      \endgroup
      \@pullquote@pq
    }
    \edef\terminategridline@pq{,:)\space\space\space}
    \long\def\analyse@gridline@pq#1,#2:#3) #4 #5 #6\@nil%
    {%
      \ifx\empty#4\empty%
       \else%
        \def\@tmp{#5}%
        \ifx\@tmp\white@pq
         \else
          \ifnum#1>\objlines@pq
            \expandafter\gdef\csname pqshapemax:#2@pq\endcsname{#1}%
           \else
            \expandafter\ifx\csname pqshapemin:#2@pq\endcsname\relax
              \expandafter\gdef\csname pqshapemin:#2@pq\endcsname{#1}%
            \fi
          \fi
        \fi
        \global\expandafter\let
        \csname pqshapemin:\number\numexpr#2+\@ne @pq\endcsname\relax
        \global\expandafter\let
        \csname pqshapemax:\number\numexpr#2+\@ne @pq\endcsname\relax
      \fi
    }%
    \newcommand\imageshapefun[4]
    {%
      \expandafter\@@imgshapefun\expandafter{\the\dimexpr\expandafter\@imgshapefun\expandafter{\number\numexpr#4-\@ne\relax}{#1}\relax}%
    }
    \newcommand\@imgshapefun[2]
    {%
      \ifnum#2=\@ne
        \expandafter\ifx\csname pqshapemin:#1@pq\endcsname\relax
          0pt
         \else
          \the\dimexpr
            \windowhextent-
            \csname pqshapemin:#1@pq\endcsname\objrowwd@pq
          \relax
        \fi
       \else
        \expandafter\ifx\csname pqshapemax:#1@pq\endcsname\relax
          0pt
         \else
          \the\dimexpr
            \numexpr\csname pqshapemax:#1@pq\endcsname+\@ne\relax\objrowwd@pq-
            \windowhextent
          \relax
        \fi
      \fi
    }
    \newcommand\@@imgshapefun[1]
    {%
      \ifdim#1<.5\textcoldist.5\textcoldist\else#1\fi
    }

%%
%% Copyright (C) 2012 by Stephan Lehmke <Stephan.Lehmke@QuinScape.de>
%%
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License (LPPL), either
%% version 1.3c of this license or (at your option) any later
%% version.  The latest version of this license is in the file:
%%
%% http://www.latex-project.org/lppl.txt
%%
%% This work is "maintained" (as per LPPL maintenance status) by
%% Stephan Lehmke.
%%
%% This work consists of the file  pullquote.dtx
%% and the derived files           pullquote.ins,
%%                                 pullquote.pdf, and
%%                                 pullquote.sty.
%%
%%
%% End of file `pullquote.sty'.


code:
\documentclass[a4paper,10pt,twoside]{memoir}

\input{common.tex}

\begin{document}%
\input{content.tex}
\end{document}


code:
\documentclass[letterpaper,10pt,twoside]{memoir}

\input{common.tex}

\begin{document}%
\input{content.tex}
\end{document}


code:
TEX = tectonic --outfmt pdf -Z shell-escape

all : trog02-a4.pdf trog02-letter.pdf

trog02-a4.pdf : trog02-a4.tex cover.png common.tex content.tex
	$(TEX) trog02-a4.tex

trog02-letter.pdf : trog02-letter.tex common.tex content.tex cover.png
	$(TEX) trog02-letter.tex


code:
\usepackage{graphicx}
\usepackage{printlen}
\usepackage{hyperref}
\usepackage[usenames,hyperref,table]{xcolor}
\usepackage[nomicrotype]{pullquote}
\usepackage{multicol}
\usepackage{multirow}
%\usepackage{makecell}
\usepackage{dblfloatfix}
\usepackage{tabulary}
\usepackage{amsthm}
\usepackage{amssymb}
\usepackage{mathtools}
\usepackage{soul} % strikeout text
\usepackage{cuted} % mix one- and two-column on the same page
\usepackage{adjustbox}
%\usepackage{myshowframe}
%\usepackage{multicol}

%%%
% Font config
%%%

\usepackage{fontspec}
\defaultfontfeatures{Numbers=Uppercase, Ligatures=Common}

\setmainfont{NewCMSans10-Regular}[
    BoldFont= NewCMSans10-Bold,
    ItalicFont= NewCMSans10-Oblique,
    BoldItalicFont= NewCMSans10-BoldOblique,
]

% No page numbers for cover
\pagestyle{empty}

% Set up page block for cover
\setlrmarginsandblock{0.25in}{0.25in}{*}%
\setulmarginsandblock{0.25in}{0.25in}{*}%
\setheadfoot{0pt}{0pt}%
\checkandfixthelayout[nearest]%

\newcommand{\setregularlayout}{%
\newlength{\blockheight}%
\setlength{\blockheight}{10in}%
\addtolength{\blockheight}{-2\baselineskip}%
\settypeblocksize{\blockheight}{7.25in}{*}%
\setlrmargins{*}{0.5in}{*}%
\setulmargins{0.5in}{*}{*}%
\setheadfoot{0pt}{2\baselineskip}%
\checkandfixthelayout[nearest]%
\clearpage%
}

\setcolsepandrule{2em}{0pt}
\setlength\textcoldist\columnsep

%%%
% Custom tables
%%%

\definecolor{altbg}{rgb}{0.90,0.90,0.90}
\renewcommand{\tabcolsep}{1mm}
\renewcommand{\arraystretch}{1.25}

\newcolumntype{n}{%
	>{\bfseries\boldmath\hskip0.5em}r<{\hskip0.5em}%
}

%\newcommand{\thead}[1]{\multicolumn{1}{l}{\textbf{\color{thtext}#1}}}
\newcommand{\thead}[1]{\textbf{#1}}
%\renewcommand{\theadfont}{\bfseries}
\newcommand{\tn}{\tabularnewline}

\newcommand{\tabelle}[3]{
	\small
	\noindent
	\rowcolors[]{1}{white}{altbg}
    \begin{tabularx}{1.0\linewidth}{#1}
        #2 \\
		#3
		%\specialrule{1.5pt}{0pt}{0pt}
	\end{tabularx}
    \normalsize
}
\newcommand{\narrowtabelle}[3]{
	\small
	\noindent
	\rowcolors[]{1}{white}{altbg}
    \begin{tabular}{#1}
        #2 \\
		#3
		%\specialrule{1.5pt}{0pt}{0pt}
	\end{tabular}
    \normalsize
}

%%%
% Section and paragraph headings
%%%

\setbeforeparaskip{0pt}
\setaftersecskip{0pt}

\newcommand{\by}[1]{\par~\\ {\large\itshape by #1}\vspace{0.5\baselineskip}\noindent}

%\setbeforesubsecskip{0pt}

%\renewcommand*{\subsecheadstyle}{\large\itshape}

% Disable section numbering
\setsecnumdepth{none}

%%%
% Table of contents
%%%
\definecolor{darkgrey}{rgb}{0.3,0.3,0.3}
\newcommand*{\category}[1]{\hspace{0.5em}\bfseries\itshape\textcolor{darkgrey}{#1}}

\renewcommand*{\contentsname}{In this issue…}

\renewcommand{\cftdotsep}{\cftnodots}

%\setlength{\cftbeforesectionskip}{1ex}
\renewcommand*{\cftsectionfont}{\Large}
\renewcommand*{\cftsectionpagefont}{\Large\bfseries}
\renewcommand*{\tocheadstart}{\par\vskip 1.5\baselineskip}
\renewcommand*{\aftertoctitle}{\par\vskip 0.7\baselineskip}

\makeatletter
\newcommand\l@mysection[3]{%
  \vskip\cftbeforesectionskip%
  \par\noindent%
  \parbox{2.5em}{%
    \hfill{\cftsectionpagefont#2}%
  }\hspace*{1em}%
  \parbox[t]{\dimexpr\textwidth-3.5em-1in\relax}{%
    \raggedright\cftsectionfont#1\strut%
  }\par%
}

\renewcommand*\l@section[2]{%
  \l@mysection{#1}{#2}{\sectionname}%
}
\makeatother

\maxtocdepth{section}

%%%
% Lists config
%%%
\tightlists

%%%
% Endmark / tombstone
%%%
\newcommand{\tombstone}{\includegraphics[keepaspectratio,height=0.8em]{logo.png}}

%%%
% Flavour graphics with credit
%%%
\newsavebox{\picbox}
\newcommand{\flavourgraphic}[2]{%
    \sbox{\picbox}{#1}%
    \noindent\parbox{\linewidth}{%
        \centering%
        \begin{minipage}{\wd\picbox}%
            \usebox{\picbox}
            \raggedleft\small\itshape #2%
        \end{minipage}%
    }
}

%%%
% Epigraphs
%%%

\setlength{\epigraphwidth}{0.62\linewidth}
\epigraphposition{flushright}
\setlength{\epigraphrule}{0pt}
\setlength{\beforeepigraphskip}{0.5\baselineskip}

%%%
% Cuted package config
%%%
\setlength{\stripsep}{0pt}
\postCutedStrip{\vspace{\baselineskip}}