1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
package.path = [[.\lua_lib\?.lua;]] .. package.path
package.cpath = [[.\lua_lib\?.dll;]] .. package.cpath
local 字集码互转库 = require("u8_to_a")
local u8 = 字集码互转库.u8_to_a
local f = require(u8("常用库"))
local 简文件库 = require("lfs")
local d_5 = {}
--~ 目对
function d_5.残局改名(o1)
local k1_9
--~ 文件排
k1_9 = f.历文(o1.文件目, 简文件库.dir)
k1_9 = f.历排(k1_9, f.全筛文, "%.lua$")
k1_9 = f.历排(k1_9, f.读文件)
end
d_5.目对 = {
["文件目"] = "../single/"
, ["数据库路"] = [[D:\install\YGOPro\cards.cdb]]
}
|
>
>
>
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
package.path = [[.\lua_lib\?.lua;]] .. package.path
package.cpath = [[.\lua_lib\?.dll;]] .. package.cpath
local 字集码互转库 = require("u8_to_a")
local u8 = 字集码互转库.u8_to_a
local f = require(u8("常用库"))
local 简文件库 = require("lfs")
local d_5 = {}
--~ 目对
function d_5.残局改名(o1)
local k1_9
--~ 文件排
k1_9 = f.历文(o1.文件目, 简文件库.dir)
k1_9 = f.历排(k1_9, f.全筛文, "%.lua$")
--~ k1_9 = f.历排(k1_9, f.文件名转文件路, o1.文件目)
k1_9 = f.历排(k1_9, f.加前缀, o1.文件目)
--~ print(k1_9[2])
k1_9 = f.历排(k1_9, f.读文件)
end
d_5.目对 = {
["文件目"] = "../single/"
, ["数据库路"] = [[D:\install\YGOPro\cards.cdb]]
}
|