承接 mistralys/x4-data-extractor 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

mistralys/x4-data-extractor

最新稳定版本:1.0.0

Composer 安装命令:

composer require mistralys/x4-data-extractor

包简介

Generate batch files to extract X4 data with XRCatTool.

README 文档

README

X4 helper: Batch file generator to extract X4 game files with the XRCatTool.

Analyzes a local X4 installation to detect all .cat files for the base game and installed DLCs, and generates batch files to extract them to the configured output folder.

Requirements

Extracting Game Files

  1. Clone this repository.
  2. Copy dev-config.php.dist to dev-config.php.
  3. Edit dev-config.php to set the required paths.
  4. Run composer install to install the dependencies.
  5. Run composer build-batches to generate the batch files.
  6. Open the batches folder in the repository root.
  7. Run any of the generated batch files to extract the game files.

Use the unpack-all.bat file to extract all files at once.

Accessing Extracted Files

Structure

To be able to recognize whether files belong to the base game or a DLC, a folder is created for the base game and each DLC separately. This is important for modding, as changing files belonging to a DLC requires using a matching folder structure in mods.

Information Files

An info.json file is generated in each folder, which provides some basic information on the source of the files. The helper class DataFolders can be used to access this information.

This is the JSON generated for the Boron DLC, for example:

{
  "id": "ego_dlc_boron",
  "label": "Kingdom End",
  "isExtension": true
}

统计信息

  • 总下载量: 14
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-06-06