Saiska紋理Scaler Batch

作者 Saiska·版本 v1.1·更新於 2019-07-17

一個簡單的命令行可執行文件,用於一次調整所有mods紋理的大小。 用於不確定測試的可選備份/恢復備份選項。 兼容直接天際數據目錄和MO2 mods目錄。 包括來源(c#)。

截圖 共 1 張

模組介紹 作者原文

一個簡單的命令行可執行文件,用於一次調整所有mods紋理的大小。 用於不確定測試的可選備份/恢復備份選項。 兼容直接天際數據目錄和MO2 mods目錄。 包括來源(c#)。

Saiska紋理Scaler批次1.0又名“備份和縮小一切,而我正在做一些不那麼無聊”

各位大家好,我製作了這個小程序來縮小每個mods的每個紋理,因爲我的2個VRAM很低,以適應我的200多個mod。此外,有時很棒的mods帶有4096²紋理,沒有1k / 2k選項。

它確實:

它將每個紋理(使用DDS格式)縮減到您想要的大小;縮小mipmap(它不會破壞它)

在縮小之前自動備份或恢復備份,允許您測試不同的大小

備份可以定位到skyrim的DATA目錄,或任何包含“textures”目錄的子目錄。因此,它可以將它指向MO2“mods”目錄,允許您備份每個mods紋理,如果所述mod具有“textures”目錄。

我已經爲SSE做了這個,但它適用於任何使用DDS的東西。任何貝塞斯達遊戲都應該沒問題。 F4,FNV,F3,OB,......

它沒有:

自動解壓縮BSA文件以縮小這些紋理。如果您需要它,您必須自己打開包裝。

這些文件包含源代碼(C#),因此如果您有所瞭解,很容易適應您的需求。你可以使用/重用/修改/任何你想要的;一個簡單的引用或鏈接到這個頁面是完全正常的。

如果您有興趣添加建議,請隨時在帖子部分詢問。不能做任何承諾,但我會看。

如何使用它:

-source“c:\ whatever \ skyrim \”

設置進行縮放的紋理目錄。對於mo2用戶,請定位“c:\ XXX \ mo2dirs \ mods \”;你可以在mo2設置頁面看到它。

如果你把skyrim目錄,它將備份/處理數據/紋理目錄;在備份中你會找到數據/紋理/ [所有紋理文件]

對於mo2,在備份中你會找到一個帶有紋理dir的每個mod的目錄。只有紋理dir在備份中。

-backup“c:\ whatever \ backupdirectory \”

設置將備份所有紋理或將從中恢復的目錄。

-size 1024或-s 1024

要求調整具有優越寬度或高度的所有紋理以調整大小到此大小。

2048 * 2048將調整爲1024 * 1024

512 * 512紋理將保持不變

2048 * 1024紋理將調整爲1024 * 512

-div 4或-d 4

將每個紋理大小除以4.(我在256px處設置了“安全性”.256 * 256紋理或更低的紋理將保持不變。無論你的電腦怎麼樣,你當然不想讓它低於那個?)

  • 結果或-r

將顯示調整大小之前和之後的目錄(s)大小。

-pattern ABcDe或-p ABcDe

將僅處理其名稱中包含文本ABcDe的紋理。可以多次使用。如果輸入了多個模式,則認爲任何匹配都可以。它僅適用於調整大小,而不適用於備份。

-exclude ABcDe或-e ABcDe

不會只處理其名稱中包含文本ABcDe的紋理。可以多次使用。如果輸入了多個排除項,則認爲任何匹配都不正常。它僅適用於調整大小,而不適用於備份。

-refreshbackup或-rb

將每個新紋理(並且只有新紋理,它不會擦除已經備份的紋理)複製到備份中。每次添加想要縮放的mod時都這樣做。

-refreshsource或-rs

將恢復備份路徑中的每個紋理。如果你也進行了一次刷新,它將在refreshbackup之後刷新源。僅當備份紋理的大小不同時(即,已經減少或以某種方式更改),它纔會刷新紋理

更新日誌

1.1

模式可以多次使用並添加排除項

在正常地圖上糾正了一個奇怪的alpha問題

沒有找到紋理目錄時顯示一條消息

添加了更簡單的替代代碼

1.0

初始上傳

————————————————————————————————————————————————

Saiska Texture Scaler Batch 1.0 aka "Backup and Downscale Everything While I'm Away Doing Something Less Boring"

Hello everyone, i made this little program to downscale every textures of every mods i have, because my 2 VRAM were to low to accommodate my 200+ mods. Also, sometimes great mods comes with 4096² textures and no 1k/2k options.

That it does:

It downscale every textures (with DDS format) to the size you want; downscale mipmap too (it does not destroy it)

Automatically backup or restore backup before downscaling, allow you to test different sizes

Backup can target the DATA directory of skyrim, or any sub directory containing a "textures" directory. Ergo, it does work pointing it to the MO2 "mods" directory, allowing you to backup every mods textures, if said mod has a "textures" directory.

I've done that for SSE but it should work for anything which uses DDS. Any bethesda games should be fine so. F4, FNV, F3, OB,...

That it does NOT:

Automatically unpack your BSA files to downscale these textures too. If you need it, you have to unpack it yourself.

The files include the source (C#) so it's easy to adapt to your need if you have the knowledge. You can use/reuse/modify/whatever you want; a simple citation or link to this page is totally fine.

If you have interesting addition to propose, feel free to ask in the posts section. Can't do any promises but i'll look.

How to use it:

-source "c:\whatever\skyrim\"

Set the textures directory where the scale is made. For mo2 user, target "c:\XXX\mo2dirs\mods\"; you can see it in mo2 settings page.

If you put the skyrim dir, it will backup/process the data/textures directory; in the backup you'll find data/textures/[all your textures files]

For mo2, in the backup you'll find a directory for every mod with a textures dir. only the textures dir is in the backup.

-backup "c:\whatever\backupdirectory\"

Set the directory where all the textures will be backuped or from which there will be restored.

-size 1024 or -s 1024

Ask to resize all texture with superior Width or Height to be resize to this size.

A 2048*2048 will be resized to 1024*1024

A 512*512 texture will stay untouched

A 2048*1024 texture will be resized to 1024*512

-div 4 or -d 4

Will divide every texture size by 4. (i made a "security" at 256px. 256*256 texture or lower will stay untouched. no matter how potat …

安裝與使用 安裝:按包內說明操作

  1. 解壓本站下載的壓縮包,先讀包內的 readme / 說明檔案。
  2. 這類遊戲沒有通用的模組管理器:有的模組直接替換遊戲檔案、有的放進遊戲專屬的 Mods 資料夾、有的要先裝遊戲對應的社群載入器或工具,以包內說明為準。
  3. 嚴格按說明放置檔案;標註「前置依賴」的模組需要把依賴一併裝好。
  4. 啟動遊戲確認載入成功;部分遊戲需要在設定或模組選單裡手動啟用。

不同遊戲、不同模組的安裝位置差異很大,包內說明是最可靠的依據。

檔案與校驗

檔案名稱
Saiska纹理Scaler Batch
檔案大小
306.0 KiB