/cmdids-extraction

A Genshin cmdids Extraction Tool

Primary LanguageJavaScript

EN|中文

CMD IDs Extraction Tool

An extraction tool to extract CMD IDs/Packet IDs from Genshin.

Usage

Make sure Node.js is installed. If you haven't installed it, download it here: https://nodejs.org/

1. Download the tool

2.Put all proto files to ./proto

3. Launch start.bat

4. The files will be in ./Output folder

Update

v1.0.3

Sycamore0:

  • Changed the location of file generation.
  • No longer open file after file generation.
  • Edited console logs.

JuliusPtolemy:

  • When using the tool to extract the 2.7 protos from the Grasscutter repository, CMD ID will be null. This fixes this issue.
  • Included file format in the batch file.
  • Edited PacketOpcodes.java to match with the current Grasscutter's PacketOpcodes.java.
  • Edited console logs.

v1.0.2

Sycamore0:

  • This version fixed an issue where some of the grasscutter instructions were still executed after selecting pancake.
  • PacketIds.json is generated when pancake mode is selected.
  • Modified the file name generated by grasscutter mode.
  • Added some content to the generated file.
  • Added {} "13371337": "PacketHead", to packetids.json File.
  • You may still need to check packetids.json file to make some format changes.
  • Automatically add "13371337": "packethead", when using pancake format .