Skip to content

Releases: AraragiHoozuki/EngageXml

EngageXml4

18 Apr 15:26
0ade72e
Compare
Choose a tag to compare

添加工程模式
不带参数启动程序,会读取程序目录下的 config.xml 文件, 文件示例如下:

<?xml version="1.0" encoding="utf-8"?>
<Patches>
    <FilePatches>
        <File source="D:\Modding\fe_engage\romfsMod\fe_assets_gamedata\skill.xml.xlsx" target="C:\Users\Zebit\AppData\Roaming\Ryujinx\mods\contents\0100a6301214e000\ModZebit\romfs\Data\StreamingAssets\aa\Switch\fe_assets_gamedata\skill.xml.bundle"/>
    </FilePatches>
    <ParamPatches>
        <Patch target_file="C:\Users\Zebit\AppData\Roaming\Ryujinx\mods\contents\0100a6301214e000\ModZebit\romfs\Data\StreamingAssets\aa\Switch\fe_assets_gamedata\skill.xml.bundle" target_path="/Book/Sheet[@Name='スキル']/Data" IDAttributes="Sid;">
                  <Param Out="" Sid="SID_ZB_天诛-回复" Name="" Help="XXXX" CommandName="" CommandHelp="" CommandWarning="" RootCommandSid="" IconKind="0" IconLabel="太陽" IconBmap="" Priority="0" Layer="0" Order="100" Cycle="0" Life="0" Timing="12" Target="0" Frequency="0" Stand="0" Action="1" Condition="" ActNames="回復;" ActOperations="+;" ActValues="相手のダメージ * 0.5;" AroundCenter="0" AroundTarget="0" AroundCondition="" AroundName="" AroundOperation="" AroundValue="" GiveTarget="0" GiveCondition="" GiveSids="" RemoveSids="" SyncConditions="" SyncSids="" RebirthSid="" EngageSid="" ChangeSids="" CooperationSkill="" HorseSkill="" CovertSkill="" HeavySkill="" FlySkill="" MagicSkill="" PranaSkill="" DragonSkill="" AttackRange="" OverlapRange="" OverlapTerrain="" ZocRange="" ZocType="0" Work="0" WorkOperation="" WorkValue="0" Power="0" Rewarp="0" Removable="0" VisionCount="0" Cost="0" MoveSelf="0" MoveTarget="0" RangeTarget="0" RangeI="0" RangeO="0" RangeAdd="0" RangeExtend="0" Flag="1" Efficacy="0" EfficacyValue="0" EfficacyIgnore="0" BadState="0" BadIgnore="0" WeaponProhibit="0" EnhanceLevel="0" EnhanceValue.Hp="0" EnhanceValue.Str="0" EnhanceValue.Tech="0" EnhanceValue.Quick="0" EnhanceValue.Luck="0" EnhanceValue.Def="0" EnhanceValue.Magic="0" EnhanceValue.Mdef="0" EnhanceValue.Phys="0" EnhanceValue.Move="0" WeaponLevel.None="0" WeaponLevel.Sword="0" WeaponLevel.Lance="0" WeaponLevel.Axe="0" WeaponLevel.Bow="0" WeaponLevel.Dagger="0" WeaponLevel.Magic="0" WeaponLevel.Rod="0" WeaponLevel.Fist="0" WeaponLevel.Special="0" EquipIids="" Effect="汎用スキル" InheritanceCost="0" InheritanceSort="0" />
        </Patch>
    </ParamPatches>
</Patches>

FilePatches/File: 表示将 source 文件(支持 xml, lua, txt, xlsx, csv)插入到 target bundle 文件中。
ParamPatches/Patch/Param: 将 Param 添加到 Patch 所表示的文件中的 XML 路径中。IDAttributes为重复判定依据

v3

21 Mar 15:54
61ffca0
Compare
Choose a tag to compare
v3

新增指令 update

EngageXml.exe -update [-o] *.xml|xlsx|bundle *.xml.bundle [ids...] 将指定的 xml、xlsx 或 bundle 更新到目标 bundle

参数说明:

  • -o 可选, 表示覆盖重复的条目,不写该参数则维持原样
  • ids, 条目判断依据,可以是一个或多个字符串,程序将根据该项判定你的条目和目标bundle中的条目是否为同一个

举例:

EngageXml.exe -update -o skill.xml.xlsx skill.xml.bundle Sid :
将 skill.xml.xlsx 中的条目全部写入 skill.xml.bundle, 如果遇到 Sid 相同的条目,则视为重复,覆盖原来的。

EngageXml.exe -update -o assettable.xml.xlsx assettable.xml.bundle Mode Conditions :
将 assettable.xml.xlsx 中的条目全部写入 assettable.xml.bundle, 如果遇到 Mode 和 Conditions 均相同的条目,则视为重复,覆盖原来的。

如果指定的 ids 中,有某项为空,则程序会视为继承之前的,如:

Ggid Level
GGID_マルス
1
2

则 Level 为 1,2的条目的 Ggid 也视为 GGID_マルス

BugFix

27 Feb 12:22
ea87320
Compare
Choose a tag to compare

Fix incorrect interpretation of "\n" in csv.

2.2 Release

19 Feb 07:00
c5a2c5a
Compare
Choose a tag to compare

快速 message 修改

EngageXml.exe -in *.csv *.bundle 可以将 csv 文件插入 message bundle 中。csv 文件应该如下书写:

KEY, VALUE

如果 bundle 中已经有 KEY 存在,会覆盖原条目。如果在 csv 中不输入 VALUE, 会删除 bundle 中的 KEY 条目。

分隔符号 , 前后的空格会被无视

MSBT 文件解析来自: https://github.com/IcySon55/3DLandMSBTeditor

v2.1

14 Feb 13:26
0f2bf1a
Compare
Choose a tag to compare
  • NEW EngageXml.exe *.bundle (或将文件拖动到程序上): 解包 bundle,支持 xml, txt, bytes(message).

2.0 release

30 Jan 11:49
b94aaa1
Compare
Choose a tag to compare
v2.0

Add files via upload

1.0 release

28 Jan 14:25
492ace6
Compare
Choose a tag to compare
v1.0

Update README.md