Index: 残局文料/游戏王_则拟器_原版_残局_局名_改名.lua ================================================================== --- 残局文料/游戏王_则拟器_原版_残局_局名_改名.lua +++ 残局文料/游戏王_则拟器_原版_残局_局名_改名.lua @@ -121,11 +121,11 @@ end end --~ 目对 function d.残局改名(o1_0) local h1_0, h2_0, h3_0, h4_0, h5_0, h6_0, h7_0, h8_0, h9_0 - local k10_0, k11_0, k12_0 + local h10_0, k11_0, k12_0 --~ 文件名排 h1_0 = 历文库.历文(o1_0.文件目, 文件系库.dir) h1_0 = 历排库.历排(h1_0, 后缀库.全筛后缀, ".lua") --~ 文件排 h2_0 = 历排库.历排(h1_0, 后缀库.全筛后缀, ".lua") @@ -147,11 +147,11 @@ --~ 荐名排 h8_0 = 历排库.历二排(h6_0, k11_0, d.荐名) --~ 新名排 h9_0 = 历排库.历排(h1_0, string.gsub, 字集库.u8_to_a(文库.连(" ", ".+")), "") --~ 编号排 - k10_0 = 历排库.历排(h1_0, string.gsub, 字集库.u8_to_a(文库.连(" ", ".+")), "") + h10_0 = 历排库.历排(h1_0, string.gsub, 字集库.u8_to_a(文库.连(" ", ".+")), "") h9_0 = 历排库.历排(h9_0, string.gsub, 文库.连("%.", "lua", "$"), "") for o1 = 1, #h1_0 do h9_0[o1] = 文库.连(字集库.a_to_u8(o1_0.文件目), 字集库.a_to_u8(h9_0[o1]), " ", h3_0[o1], "_", 数库.几位整数(h7_0[o1], 2)) if h8_0[o1] == 0 then h9_0[o1] = 文库.连(h9_0[o1], ".", "lua") @@ -160,17 +160,17 @@ end end h1_0 = 历排库.历排(h1_0, 前缀库.加前缀, o1_0.文件目) h9_0 = 历排库.历排(h9_0, 字集库.u8_to_a) 历排库.历二排(h1_0, h9_0, os.rename) - k10_0 = 历排库.历排(k10_0, 字集库.a_to_u8) + h10_0 = 历排库.历排(h10_0, 字集库.a_to_u8) --~ 文排 k12_0 = 历排库.历排(h9_0, 读文件库.读文件) - 历排库.历三排(k12_0, k10_0, h9_0, d.察编号) + 历排库.历三排(k12_0, h10_0, h9_0, d.察编号) end d.目对 = { ["文件目"] = "../single/" , ["卡档路"] = [[D:\install\YGOPro\cards.cdb]] } d.目对 = 历对库.历值(d.目对, 基类库.操类, "string", 字集库.u8_to_a) 卡档库.启卡档(d.目对.卡档路) d.残局改名(d.目对)