第2页:run.xml配置文件说明
展开
run.xml配置文件说明
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Games>
<comment>
游戏配置集节点结构说明:
Games节点由一个唯一节点comment和多个Game节点按顺序组成,comment节点必须在最前面。
Games::comment 游戏配置集节点结构说明,对执行游戏无影响,仅此说明而已。
Games::Game 游戏配置节点,包括执行游戏的命令行参数配置及执行游戏前和执行游戏后的DOS脚本命令配置。
Game节点由comment、name、id、path、exe、args、priority、icon、agentExe、agentArgs、before、after、beforeWait、afterWait、watchWait、watch节点按顺序组成;comment节点必须在最前面,watch节点可以有多个。
Game::comment 游戏快捷方式说明,默认值同Game::name。
Game::name 游戏快捷方式的名称,一般使用游戏中文名称。
Game::id 游戏唯一标识。
Game::path 游戏可执行文件路径,也是Game::icon和Game::agentExe的路径。
Game::exe 游戏可执行文件名称,不包含文件扩展名.exe;若Game::agentExe非空,则优先使用Game::agentExe启动游戏。
Game::args Game::exe的命令行参数。
Game::priority 游戏进程的优先级,可选值为:32(标准),64(低),128(高),256(实时),16384(低于标准),32768(高于标准);若Game::agentExe非空且Game::agentArgs已指定优先级,则应把该节点值置空,否则优先使用该节点值。
Game::icon 游戏快捷方式的图标文件完整名称(包含文件扩展名);为空则使用游戏可执行文件中图标。
Game::agentExe Game::exe的代理可执行文件名称,不包含文件扩展名.exe;适用于使用游戏插件启动游戏的情况,例如:上古卷轴5的skse。
Game::agentArgs Game::agentExe的命令行参数。
Game::before 在游戏执行前需要执行的DOS脚本命令。
Game::after 在游戏执行后需要执行的DOS脚本命令。
Game::beforeWait before脚本命令执行完后等待beforeWait秒,再执行游戏;仅当Game::before不为空时生效,默认值为10。
Game::afterWait 执行游戏后等待afterWait秒,再执行after脚本命令;仅当Game::after不为空时生效,默认值为10。
Game::watchWait 游戏监控进程的等待时间,每隔watchWait秒后检测一次游戏进程是否存在;仅当Game::watch不为空时生效,默认值为10。
Game::watch 由Game::before或Game::after脚本启动的其他进程名称,在游戏进程结束后监控程序会自动关闭之。
</comment>
<Game>
<comment>永恒之柱2:开发者模式</comment>
<name>永恒之柱2:开发者模式</name>
<id>poe2-d</id>
<path>F:/games/Pillars of Eternity II</path>
<exe>PillarsOfEternityII</exe>
<args></args>
<priority>128</priority>
<icon></icon>
<agentExe></agentExe>
<agentArgs></agentArgs>
<before>
::先设置控制台编码为UTF-8,再复制补丁文件到游戏目录
chcp 65001
file -c (?i)AAssembly-CSharp.dll$ "F:gamesPillars of Eternity II修改PillarsOfEternityII_Data" "F:gamesPillars of Eternity II"
</before>
<after></after>
<beforeWait>3</beforeWait>
<afterWait>10</afterWait>
<watchWait>10</watchWait>
<watch></watch>
</Game>
<Game>
<comment>永恒之柱2</comment>
<name>永恒之柱2</name>
<id>poe2</id>
<path>F:/games/Pillars of Eternity II</path>
<exe>PillarsOfEternityII</exe>
<args></args>
<priority>128</priority>
<icon></icon>
<agentExe></agentExe>
<agentArgs></agentArgs>
<before>
::先设置控制台编码为UTF-8,再复制备份文件到游戏目录
chcp 65001
file -c (?i)AAssembly-CSharp.dll$ "F:gamesPillars of Eternity II备份PillarsOfEternityII_Data" "F:gamesPillars of Eternity II"
</before>
<after></after>
<beforeWait>3</beforeWait>
<afterWait>10</afterWait>
<watchWait>10</watchWait>
<watch></watch>
</Game>
<Game>
<comment>恶灵附身:开发者模式</comment>
<name>恶灵附身:开发者模式</name>
<id>ew</id>
<path>F:/games/The Evil Within</path>
<exe>EvilWithin</exe>
<args>+com_allowconsole 1 +com_skipIntroVideo 1</args>
<priority>128</priority>
<icon></icon>
<agentExe></agentExe>
<agentArgs></agentArgs>
<before>
::设置控制台编码为UTF-8
chcp 65001
start "" "F:toolsEditPluseditplus.exe" "F:gamesThe Evil Within修改控制台命令.txt"
::在执行游戏前先启动游戏视野调整工具软件
start F:toolsflawlesswidescreen_x64FlawlessWidescreen.exe
</before>
<after></after>
<beforeWait>5</beforeWait>
<afterWait>10</afterWait>
<watchWait>5</watchWait>
<watch>editplus.exe</watch>
<watch>FlawlessWidescreen.exe</watch>
</Game>
<Game>
<comment>上古卷轴5:开发者模式</comment>
<name>上古卷轴5:开发者模式</name>
<id>skse</id>
<path>F:/games/Skyrim Special Edition</path>
<exe>SkyrimSE</exe>
<args></args>
<priority></priority>
<icon></icon>
<agentExe>skse64_loader</agentExe>
<agentArgs>-priority high</agentArgs>
<before></before>
<after></after>
<beforeWait>10</beforeWait>
<afterWait>10</afterWait>
<watchWait>10</watchWait>
<watch></watch>
</Game>
</Games>
(编辑:二游网_173173游戏网)
【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!
|