游戏王残局简化版

Annotation For 残局文料/残局改名.lua
Login

Annotation For 残局文料/残局改名.lua

Origin for each line in 残局文料/残局改名.lua from check-in 4d150d683b:

490477db61 2024-02-03  顽雨沉风: package.path = [[.\lua_lib\?.lua;]] .. package.path
490477db61 2024-02-03  顽雨沉风: package.cpath = [[.\lua_lib\?.dll;]] .. package.cpath
490477db61 2024-02-03  顽雨沉风: local 字集码互转库 = require("u8_to_a")
490477db61 2024-02-03  顽雨沉风: local u8 = 字集码互转库.u8_to_a
490477db61 2024-02-03  顽雨沉风: local f = require(u8("常用库"))
13cd0daf30 2024-02-03  顽雨沉风: local 简文件库 = require("lfs")
490477db61 2024-02-03  顽雨沉风: local d_5 = {}
13cd0daf30 2024-02-03  顽雨沉风: --~ 目对
13cd0daf30 2024-02-03  顽雨沉风: function d_5.残局改名(o1)
4d150d683b 2024-02-03  顽雨沉风:   local k1_9, k2_9
3a58d8f06c 2024-02-03  顽雨沉风:   --~ 文件排
13cd0daf30 2024-02-03  顽雨沉风:   k1_9 = f.历文(o1.文件目, 简文件库.dir)
3a58d8f06c 2024-02-03  顽雨沉风:   k1_9 = f.历排(k1_9, f.全筛文, "%.lua$")
4d150d683b 2024-02-03  顽雨沉风:   for o2 = 1, #k1_9 do
4d150d683b 2024-02-03  顽雨沉风:     k1_9[o2] = f.加前缀(k1_9, o1.文件目)
4d150d683b 2024-02-03  顽雨沉风:     k1_9[o2] = f.读文件(k1_9)
4d150d683b 2024-02-03  顽雨沉风:     end
4d150d683b 2024-02-03  顽雨沉风:   --~ 则数排
4d150d683b 2024-02-03  顽雨沉风:   k2_9 = f.历排(k1_9, d_5.局筛则数)
13cd0daf30 2024-02-03  顽雨沉风:   end
9cdbbb717e 2024-02-03  顽雨沉风: d_5.目对 = {
13cd0daf30 2024-02-03  顽雨沉风:   ["文件目"] = "../single/"
13cd0daf30 2024-02-03  顽雨沉风:   , ["数据库路"] = [[D:\install\YGOPro\cards.cdb]]
9cdbbb717e 2024-02-03  顽雨沉风:   }
3a58d8f06c 2024-02-03  顽雨沉风: for o1, o2 in pairs(d_5.目对) do
3a58d8f06c 2024-02-03  顽雨沉风:   d_5.目对[o1] = f.操类(o2, "string", u8)
13cd0daf30 2024-02-03  顽雨沉风:   end
13cd0daf30 2024-02-03  顽雨沉风: d_5.残局改名(d_5.目对)