119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
|
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
|
-
+
|
else
写文件库.写文件(o3, k1)
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")
h2_0 = 历排库.历排(h2_0, 前缀库.加前缀, o1_0.文件目)
h2_0 = 历排库.历排(h2_0, 读文件库.读文件)
|
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
|
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
|
-
+
-
+
-
+
|
--~ 血排
k11_0 = 历排库.历排(h2_0, d.局筛血)
--~ 荐名排
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")
else
h9_0[o1] = 文库.连(h9_0[o1], "_", h8_0[o1], ".", "lua")
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.目对)
|