暗暗V5 发表于 2022-6-4 16:49

怎么从steam下载MODS和使用它们

本帖最后由 暗暗V5 于 2022-6-4 17:14 编辑

本文从 https://www.nexusmods.com/x4foundations/mods/902?tab=description 复制粘贴而来,请支持原作者。
NOTE: Actions (rename, etc.) on quoted filenames ('') assume you are NOT including the quotes in the action.

1. Download a DAT (usually zipped) mod from Steam

    * Use an addon for firefox
    * Or paste the URL for the steam workshop mod here: https://www.steamworkshopdownloader.io/

2. Extract and rename the DAT file

    * The file MUST start with: extensions_
    * The file MUST have the steam version number (eg: 2042914964)
    * See example

    Example:

      * You download '2042914964_remove_dock_symbol.zip' from Steam
      * Extract the DAT file: 'sn_remove_dock_symbol.dat'

            * Make note of this name, you will need it later

      * Rename the DAT file: 'extensions_2042914964_sn_remove_dock_symbol.dat'
      * Go to step 3

3. Drop the renamed DAT file on the xrwsunpack.exe

    * This will create a folder with the same name as the DAT file if none is specified

4. Rename the folder

    * This is IMPORTANT, you MUST rename the resulting folder back to the original name of the DAT file you noted in step 2
    * If you don't, scripts in the mod will fail because they will look for a path that does not exist

    Example:

      * The folder '2042914964_sn_remove_dock_symbol' is created
      * The name we noted from step 2 is: sn_remove_dock_symbol.dat
      * We rename the folder to: sn_remove_dock_symbol

5. Move the folder to your x4 Extensions folder as you normally would

    * If the mod is not a CAT/DAT pair and you're on Windows 7, you will need to place the folder in the Extensions folder
      in your user documents path (see google / forums for location) if the game won't start

6. IMPORTANT

    * Open 'content.xml' and make sure the following fields are filled in. If any of them are empty, put something in them:

      * id, name, description

            * id must be unique. If two mods become disabled or enabled when you disable or enable a different mod, they
            have the same id and one must be changed. This may break existing games, depending how the mod was written

    * Also add all the following LANGUAGE tags between the CONTENT tags and fill them in as well or the game may not load

      <text language="7" name="" description="" author=""/>
      <text language="33" name="" description="" author=""/>
      <text language="34" name="" description="" author=""/>
      <text language="39" name="" description="" author=""/>
      <text language="44" name="" description="" author=""/>
      <text language="49" name="" description="" author=""/>
      <text language="86" name="" description="" author=""/>
      <text language="88" name="" description="" author=""/>

暗暗V5 发表于 2022-6-4 17:21

本帖最后由 暗暗V5 于 2022-6-4 17:29 编辑

简单翻译:
用firfox的插件或去https://www.steamworkshopdownloader.io/下载你中意的MOD文件
下载回来的ZIP文件解压得到.DAT文件,将这个.DAT文件重命名,最前面加上 extensions_ 这个前辍,
如 extensions_2042914964_sn_remove_dock_symbol.dat(其中那个2042914964_ 这个序列号,可以不加)
将重命名好的.dat文件拖动到 附件里 xrwsunpack-v1.0.0.rar解压出来的 xrwsunpack.exe 上,
将生成一个 MOD的文件夹,拷贝这个文件夹到游戏目录里的extensions目录里,
就可以了
建议全程英文名和英文文件夹名


页: [1]
查看完整版本: 怎么从steam下载MODS和使用它们