《永恒之柱2》游戏统一管理工具使用说明 统一管理工具怎么用
各位玩家是否还为《永恒之柱2》配置文件修改而感到麻烦么?是否会因忘记开修改器而烦心呢?那么下面就为大家分享一篇《永恒之柱2》游戏统一管理工具使用说明,希望大家喜欢。
下载地址:
一、此工具的作用
1、可以参数化配置每个游戏的可执行文件相关的参数信息,比如确保某些对CPU敏感的游戏进程以高优先级运行等;
2、在游戏执行之前或游戏执行之后需要做一些其他操作,比如在运行永恒之柱2之前先运行个修改器,再运行个酷狗音乐播放器等;
3、可以对同一个游戏配置多个不同功能的版本,比如配置一个永恒之柱2无修改版本,再配置一个永恒之柱2修改版本等;
4、可以对游戏进程进行监控,在退出游戏后可自动关闭在游戏执行前或执行后自定义运行的与游戏相关的程序等。
二、使用方法
1、使用前先确保已安装了最新的64位JRE8;
2、解包文件run.zip到任意目录,打开命令提示符窗口,输入cd命令定位到文件解压的目录,再输入run会显示详细的命令行参数帮助信息。
参数说明
run -c|-a|-d|-v|-x|-l id path exe name [comment]
id 游戏标识,在./run.xml文件中唯一标识一个游戏配置节点。
path 游戏可执行文件路径。
exe 游戏可执行文件名称(不包含扩展名.exe)。
name 游戏中文名称。
comment 游戏快捷方式说明。
-c id path exe name [comment] 新建游戏配置文件./run.xml,并生成一个游戏配置节点。
-a id path exe name [comment] 添加一个游戏配置节点到游戏配置文件./run.xml中。
-d id 根据id删除游戏配置文件./run.xml中对应的一个游戏配置节点。
-v 显示游戏配置文件./run.xml中所有的游戏配置节点的id列表,显示格式为:id comment。
-x [id] 根据id执行游戏配置文件./run.xml中对应的游戏;如果不指定id程序则会先显示id列表(同-v),再提示输入一个id,根据id执行对应的游戏。
-l [id] 根据id获得./run.xml中对应的游戏,并创建游戏快捷方式到桌面;如果不指定id程序则会先显示id列表(同-v),再提示输入一个id,根据id创建游戏快捷方式 。
示例
run -c ew "F:/games/The Evil Within" EvilWithin 恶灵附身:开发者模式
run -a poe2 "F:/games/Pillars of Eternity II" PillarsOfEternityII 永恒之柱2
run -a poe2-d "F:/games/Pillars of Eternity II" PillarsOfEternityII 永恒之柱2:开发者模式
run -a skse "F:/games/Skyrim Special Edition" SkyrimSE 上古卷轴5:开发者模式
run -d ew
run -v
run -x
run -x ew
run -l
run -l ew
| 《永恒之柱2》精华文章推荐 | |||
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:\games\Pillars of Eternity II\修改\PillarsOfEternityII_Data" "F:\games\Pillars 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:\games\Pillars of Eternity II\备份\PillarsOfEternityII_Data" "F:\games\Pillars 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:\tools\EditPlus\editplus.exe" "F:\games\The Evil Within\修改\控制台命令.txt"
::在执行游戏前先启动游戏视野调整工具软件
start F:\tools\flawlesswidescreen_x64\FlawlessWidescreen.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>
run.xml文件命令
run.xml文件中使用了file命令,建议使用之前先设置下系统环境变量,以便能像使用win10的内置DOS命令一样便捷;下载中的file.zip为此命令的最新版本。建议把env.bat、run.exe、file.exe这三个文件放在同一个目录中,比如:d:\tools ;以系统管理员身份运行命令提示符,输入:cd /d d:\tools
env.bat "d:\tools"
命令提示符会提示命令已执行完成,关闭并再次以系统管理员身份运行命令提示符然后分别输入:
run
file
可以看到这两个命令的帮助信息说明系统环境变量已正确设置。
下面特别说明下run.xml文件中使用到的两条file命令:
file -c (?i)\AAssembly-CSharp\.dll$ "F:\games\Pillars of Eternity II\修改\PillarsOfEternityII_Data" "F:\games\Pillars of Eternity II"
file -c (?i)\AAssembly-CSharp\.dll$ "F:\games\Pillars of Eternity II\备份\PillarsOfEternityII_Data" "F:\games\Pillars of Eternity II"
假设永恒之柱2的实际目录是F:\games\Pillars of Eternity II,那么游戏原版Assembly-CSharp.dll文件的备份文件的绝对路径名是
F:\games\Pillars of Eternity II\备份\PillarsOfEternityII_Data\Managed\Assembly-CSharp.dll
而已修改好的Assembly-CSharp.dll文件的绝对路径名是
F:\games\Pillars of Eternity II\修改\PillarsOfEternityII_Data\Managed\Assembly-CSharp.dll
PC
PS4
XboxOne