初始化内容
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
-- 你的资源根目录
|
||||
local rootPath = "D:/work/base_actor/image/ani/"
|
||||
|
||||
-- 所有需要压缩的文件夹列表
|
||||
local folders = {
|
||||
"刀盾兵重甲",
|
||||
"双刀兵",
|
||||
"大刀兵中甲",
|
||||
"大锤兵",
|
||||
"女琴师",
|
||||
"弓箭手",
|
||||
"弓箭手中甲",
|
||||
"弓箭手轻甲",
|
||||
"弓船",
|
||||
"搬运工",
|
||||
"标枪",
|
||||
"树木倒塌",
|
||||
"武将",
|
||||
"祭司",
|
||||
"蛮族侦察兵",
|
||||
"蛮族步兵",
|
||||
"酒者",
|
||||
"黑骑士"
|
||||
}
|
||||
|
||||
-- 遍历并压缩
|
||||
for _, folder in ipairs(folders) do
|
||||
local fullPath = rootPath .. folder
|
||||
g_factory:CompressMir2Res(fullPath)
|
||||
print("已压缩: " .. folder)
|
||||
end
|
||||
Reference in New Issue
Block a user