游戏王残局简化版

Check-in [3a58d8f06c]
Login

Check-in [3a58d8f06c]

Overview
Comment:合并
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 3a58d8f06ccdfe0560f094982740650f618af45fe951e55e02beced6a2af17c0
User & Date: 顽雨沉风 on 2024-02-03 08:07:09
Other Links: manifest | tags
Context
2024-02-03
08:17
简化 check-in: 0893c58ef4 user: 顽雨沉风 tags: trunk
08:07
合并 check-in: 3a58d8f06c user: 顽雨沉风 tags: trunk
07:55
起步 check-in: 13cd0daf30 user: 顽雨沉风 tags: trunk
Changes

Modified 残局文料/lua_lib/常用库.lua from [b7a21a535a] to [21b0c627e3].

57
58
59
60
61
62
63







64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
  return o1 .. (o2 or "")
  end
--~ 令
function d_4.办令(o1)
  print(o1)
  os.execute(o1)
  end







--~ 目表
function d_4.用令行工具操文件(o1)
  local k1_9
  --~ 令行排
  k1_9 = d_4.历文(o1.文件目, 简文件库.dir)
  k1_9 = d_4.历排(k1_9, d_4.全筛文, o1.文件类, -#o1.文件类, true)
  for o2 = 1, #k1_9 do
    k1_9[o2] = d_4.加前缀(k1_9[o2], o1.文件目)
    k1_9[o2] = d_4.加前缀(k1_9[o2], [["]])
    k1_9[o2] = d_4.加后缀(k1_9[o2], [["]])
    k1_9[o2] = d_4.加前缀(k1_9[o2], o1.令行前缀)
    d_4.办令(k1_9[o2])
    end
  end
--~ 文件路
--~ 式
function d_4.读文件(o1, o2)







>
>
>
>
>
>
>







<
|
<







57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77

78

79
80
81
82
83
84
85
  return o1 .. (o2 or "")
  end
--~ 令
function d_4.办令(o1)
  print(o1)
  os.execute(o1)
  end
--~ 文件名
--~ 文件目
function d_4.文件名转文件路(o1, o2)
  o1 = d_4.加前缀(o1, o2)
  o1 = d_4.加前缀(o1, [["]])
  return d_4.加后缀(o1, [["]])
  end
--~ 目表
function d_4.用令行工具操文件(o1)
  local k1_9
  --~ 令行排
  k1_9 = d_4.历文(o1.文件目, 简文件库.dir)
  k1_9 = d_4.历排(k1_9, d_4.全筛文, o1.文件类, -#o1.文件类, true)
  for o2 = 1, #k1_9 do

    k1_9[o2] = d_4.文件名转文件路(k1_9[o2])

    k1_9[o2] = d_4.加前缀(k1_9[o2], o1.令行前缀)
    d_4.办令(k1_9[o2])
    end
  end
--~ 文件路
--~ 式
function d_4.读文件(o1, o2)

Modified 残局文料/残局改名.lua from [d542633e43] to [fee4686307].

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)



  end
d_5.目对 = {
  ["文件目"] = "../single/"
  , ["数据库路"] = [[D:\install\YGOPro\cards.cdb]]
  }
for o1, o2 in pairs(d_2.目对) do
  d_2.目对[o1] = f.操类(o2, "string", u8)
  end
d_5.残局改名(d_5.目对)










>

>
>
>





|
|


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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]]
  }
for o1, o2 in pairs(d_5.目对) do
  d_5.目对[o1] = f.操类(o2, "string", u8)
  end
d_5.残局改名(d_5.目对)