PackItUp - BSA BA2 PowerShell存檔腳本
Powershell腳本,協助批量文件檔案的創建MODS。
截圖 共 2 張
模組介紹 作者原文
Powershell腳本,協助批量文件檔案的創建MODS。
來自自述文件
它有什麼作用?
此腳本旨在增強mod開發人員輕鬆批量打包其mod的能力。
最初的概念是使用一個臨時位置,並將腳本定位到該路徑,並使其生成適當的存檔,然後可以進行分發。它已被進一步開發以允許多種遊戲模式(目前是Skyrim,Skyrim SE和Fallout 4)以及腳本可定義和命令行指定的設置。
它是如何工作的?
您只需編輯腳本文件並更改標題中的默認參數即可運行它。然後它將生成文件的裝箱單,然後爲您指定的遊戲調用存檔工具。因此,創建腳本默認值中定義的目標BSA / BA2。
另一個選項是針對具有批處理腳本使用和需求的高級開發人員的更多目標。您可以使用相同的腳本並使用命令行參數調用以指定:遊戲類型,輸出路徑,輸出bsa文件,排除文件名列表,獨佔模式,mod數據文件夾(您希望它在哪裏),main的壓縮標誌和/或紋理文件,用於將紋理拆分爲單獨文件的選項。
什麼不做。
它不會以任何方式驗證紋理文件夾中的紋理文件。當打包分離紋理存檔時,如果存在任何無效文件,則會產生錯誤。如果文件排除變量屬於某些類型(如Thumbs.db)或替代版本(如*.tga),則可以使用文件排除變量來幫助處理。
它不處理轉換爲XBox兼容格式。您應該使用CreationKit存檔菜單選項來執行此操作。它具有許多不同的功能來處理XBox特定的更改。
————————————————————————————————————————————————————————————
From the README
What does it do?
This script is designed to enhance the ability for a mod developer to easily batch pack their mod.
The original conception was to use a staging location and target the script to that path and have it make the appropriate archive that can then be distributed. It has been further developed to allow for multiple game modes (Skyrim, Skyrim SE, and Fallout 4 currently) as well as script definable and command line specified settings.
How does it work?
You can simply edit the script file and change the default parameters in the header and run it. It will then generate a packing list of files and then call the archiver tool for the game you have specified. Thus creating the destination BSA/BA2 as defined in the script defaults.
The other option is targeting more for the advanced developer who has a use and need for batch scripting. You can use the same script and call with command line arguments to specify: the game type, output path, output bsa file, exclusion filename list, exclusive mod mode, mod data folder (anywhere you want it to be), compression flag for main and/or texture file, option to split textures to separate file.
What it doesn't do.
It will not validate the texture files that are in the texture folder in any way. When packing to separate texture archives if any invalid files are there it will produce an error. You can use the file exclusion variable to help deal with that if they are of certain types, such as Thumbs.db, or alternate versions like *.tga.
It does not handle conversion to XBox compatible formats. You should use the CreationKit archive menu option to do that. It has a multitude of different things that are done to handle XBox specific changes.
安裝與使用 安裝:按包內說明操作
- 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
- 這類遊戲沒有通用的模組管理器:有的模組直接替換遊戲檔案、有的放進遊戲專屬的 Mods 資料夾、有的要先裝遊戲對應的社群載入器或工具,以包內說明為準。
- 嚴格按說明放置檔案;標註「前置依賴」的模組需要把依賴一併裝好。
- 啟動遊戲確認載入成功;部分遊戲需要在設定或模組選單裡手動啟用。
不同遊戲、不同模組的安裝位置差異很大,包內說明是最可靠的依據。