Skyrim
0 of 0

File information

Last updated

Original upload

Created by

DovahShu

Uploaded by

DovahShu

Virus scan

Safe to use

About this mod

A script for TES5Edit that prefixes some items and make patches that make it easier to distinguish when sorted by name sort.

Requirements
Permissions and credits
一部のアイテムに接頭辞を付け、名前ソートで並べた時に区別しやすくするパッチを作るTES5Edit用スクリプトです。
TES5Editで読み込んだMOD環境に合わせてパッチを作るようになっているので、複数のMODで効果が変わっているアイテムにも対応可能です。

例えばAというMODとそれの調整用MODのBとCが入ってる場合にA用の名前変更パッチを入れるとBとCでの調整内容がパッチで上書きされて戻ってしまう場合がありますが、
このスクリプトでは「AをBとCで調整したアイテムの名前を変更する」パッチを作成するためBとCによる変更も反映されるようになります。
現在のバージョンでは

  • ボルト
  • 魂石
  • 宝石
  • 鉱石
  • インゴット
  • 飲料
  • 食料
  • 食材
  • ポーション


といったアイテムに対応しており、

  • パラゴン
  • 建材

も一応接頭辞が付けられます。

また、アイテム名に「[」と「:」を含む場合、すでに何らかの接頭辞が付いていると判断し処理をスキップしパッチには含めないようになっています。
細かいカテゴリの判別方法がわからない物はひとまとめにしています。
例えば肉や野菜、魚の区別をする方法が不明なため、これらはまとめて「食材」として判定されます。

---- 準備 ----

まず準備として、

  • MXPF - Mator's xEdit Patching Frameworkをダウンロードしアーカイブ内のEdit Scriptsの中身をTES5EditのEdit Scriptsフォルダにコピー
  • このMODのアーカイブ内のpasファイルをすべてTES5EditのEdit Scriptsフォルダにコピー

として必要なスクリプトをTES5Editにインストールしてください。

---- 使用方法 ----

  • 現在入れているMODを全部TES5Editで読み込む
  • どれでもいいのでMODを右クリック、Apply scriptでPrefix Patcher.pas(日本語の接頭辞をつける場合はPrefix Patcher JP.pas)を選択してApplyボタンをクリック
  • 次に出てきたダイアログのテキストボックスに出力するパッチ用espファイルの名前を入れる。デフォでは「PrefixPatch」を推奨
  • これにより接頭辞をつけるパッチのespが出力されるのでそのままTES5Editでチェックして編集する。
  • 必要に応じて各種翻訳ツールで細かい翻訳の修正を行う

---- 現状の仕様・問題点 ----

・接頭辞判定

現在は単に「[」と「:」を含む場合に接頭辞が付いていると判断するので、例えば「炎の矢 : LV5」「オリジナルカクテル [ドゥーマーブレンド]」と言った名前の場合は接頭辞を付けないようになっています。

また、すでに別のフォーマットで接頭辞が付いている場合は接頭辞無しと判断されてこのスクリプトでの接頭辞がさらにつけられます。
例えば元々「矢 - 鉄」という名前がついている場合、このスクリプトを使うと「矢: 矢 - 鉄」という名前になってしまいます。

・種類の判別

判定方法がキーワードやフラグ、EditorIDなどを元に判断していますので、完全ではありません。
例えば、

  • お酒なのに「VendorItemFoodRaw」と言うキーワードが付いているアイテムの場合は食材と判定
  • EditorIDに「Ore」の含まない鉱石はインゴットと判定
  • 薬と毒は効果に関係なくキーワードで判別しているので、効果は体力回復なのに毒を示すキーワードが付いている場合、毒と判定

という具合に、あくまでフラグやEditorIDなどを元に判定をしているので、判定基準と異なるアイテムに関しては完全に判定できません。

---- ロードオーダーについて ----

このスクリプトで作ったパッチは基本的になるべくロードオーダーを後ろの方にしてください。
Bashed Patchがある場合はそれの直前にしてください。
なお、Wrye BashでBashed Patchにマージ可能ですが、その場合魂石など一部のアイテムがマージされずに名前が変わらなくなります。


---------------------------------------------------------------------------------------------------------------------------------------------
(This text is machine translated)

A script for TES5Edit that prefixes some items and make patches that make it easier to distinguish when sorted by name sort.

Since it is designed to make patches according to the MOD environment loaded with TES5Edit, it is possible to correspond to items whose effects have changed with more than one MOD.
For example, if there is a MOD of A and B and C of the adjustment MOD for it, if you insert a name change patch for A, the adjustment content of B and C may be overwritten with a patch and return,
In this script, "Changing the name of items adjusted with A and B and C" will be created, so changes made by B and C will also be reflected.

In the current version

  • Arrow
  • Bolt
  • SoulGem
  • Gem
  • Leather
  • Ore
  • Ingot
  • Drink
  • Food
  • Ingredient
  • Portion
  • Poison

It corresponds to an item such as,

  • Paragon
  • House(Construction materials)

Even prefix is attached once.

Also, when "[" and ":" are included in the item name, it is determined that some prefix is attached, skipping processing and not including it in the patch.

We do collect things that do not know how to determine the detailed category.
For example, since it is unknown how to distinguish meat, vegetables, fish, these are collectively judged as "Ingredient".

---- Preparation ----

First of all,

  • Download MXPF - Mator's xEdit Patching Framework and copy the contents of Edit Scripts in the archive to the TES5Edit Edit Scripts folder
  • Copy all pas files in this MOD archive to the TES5Edit Edit Scripts folder

Please install the necessary script to TES5Edit as.

---- how to use ----

  • Load all MODs currently loaded with TES5Edit
  • Right click on MOD, select Prefix Patcher.pas (Prefix Patcher JP.pas to add Japanese prefix) with Apply script and click Apply button
  • Enter the name of the esp file for patch output in the text box of the next dialog. By default, "PrefixPatch" is recommended
  • Since the esp of the patch to which the prefix is attached is outputted, check it with TES5Edit and edit it as it is.
  • Correct fine translation with various translation tools as necessary

---- Current specifications / problems ----

・ Prefix decision

Currently it is judged that a prefix is attached only when it includes "[" and ":", so for example in the case of the name of "Flame Arrow: LV 5" "Original Cocktail [Doumer Blend]" I do not add a prefix.

Also, if you already have a prefix in another format it will be prefixed and will be prefixed with this script.
For example, if you originally had the name "Arrow - Iron", using this script will be named "Arrow: Arrow - Iron".

・ Type discrimination

It is not complete as the judgment method is based on keywords, flags, EditorID, etc.

For example,
  • In the case of items with keyword "VendorItemFoodRaw" though it is alcoholic, it is judged as Ingredient
  • Ore that does not include "Ore" in EditorID is judged as an Ingot
  • Since drugs and poisons are discriminated by keywords irrespective of their effects, the effect is poison when judged to be poisoned with a keyword indicating poison though physical fitness is restored

In other words, because we are making judgments based on flags, EditorID, etc., we can not completely judge items different from judgment criteria.

---- About load order ----

Basically, please make load order as backward as possible for patches made with this script.
If you have a Bashed Patch please do it just before it.
In addition, Wrye Bash can merge to Bashed Patch, but in that case some items such as Soulstone will not be merged and the name will not change.