Dexesttp / hkxpack

HKXPack is a tool to pack and unpack HKX files from and to the TagXML format.
https://dexesttp.github.io/hkxpack
MIT License
58 stars 13 forks source link

[Question] Extracting XML class definitions from the game #24

Open matthiasvogelaar opened 2 years ago

matthiasvogelaar commented 2 years ago

Currently working on writing a HKX tool myself, aimed at FO4. I am currently able to create identical files after a read/write cycle, something hkxpack is not able to do with all files. However, that is just raw data, containing references and class name data.

To provide any meaning to the data being read, I took a look at the XML class definition files included in the release of the tool. As I am aware I can not just extract them and use them myself, I'm curious to how you extracted these class definitions in the first place. Could you provide any pointers?

digitalutopia1 commented 1 year ago
  1. download the release of hkxpack-core
  2. use jar.exe (from the JDK) to unpack hkxpack-core.jar
  3. the necessary files are in the folders 'classxml' and 'properties'
  4. To successfully build/run hkxpack from source in eclipse, copy those two folders into hkxpack-main/core/src/main/resources in the Project Explorerl
matthiasvogelaar commented 1 year ago

@digitalutopia1 I know where I can find the XML class definitions, that is not the problem. I want to know how to create/determine these XML class definitions by extracting them directly from the game or the game exectuable.