A shared effort to maintain FFXIV opcode mappings
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Mordred 0a1433d0e9
Merge pull request #1 from NotAdam/master
wip automated opcode correction stuff
2019-12-24 14:51:16 +01:00
jsonParser.py Minimalistic json parser to create a mapping file from sapphire sourcecode 2019-11-27 09:34:01 +01:00
opcodes.json initial opcode mapping file 2019-11-27 09:32:43 +01:00
README.md fix headings 2019-12-24 22:32:32 +11:00
requirements.txt wip automated opcode correction stuff 2019-12-24 22:30:08 +11:00
schema-diff.py wip automated opcode correction stuff 2019-12-24 22:30:08 +11:00
xiv-opcode-parser.py wip automated opcode correction stuff 2019-12-24 22:30:08 +11:00

FFXIV Opcodes

A shared effort to maintain FFXIV opcode mappings

Automated Opcode Correction

This repo contains some (wip) tooling to automate the opcode updating process. How it works and more detailed instructions can be found on the blog post.

Relevant files:

  • xiv-opcode-parser.py - IDA script to output a schema generated from the client exe
  • schema-diff.py - Python script which takes 2 schemas and attempts to resolve opcode changes automagically.

Proposed Format for Opcode Lists

[
  {
    "clientChannelName": 
      [
        { "someName": {  "opCode": 64, "version": 5110 } },
        { "someOtherName": { "opCode": 65, "version": 5110 } }
      ]
  },
  {
    "serverChannelName": 
      [
        { "someName": { "opCode": 64, "version": 5110 } },
        { "someOtherName": { "opCode": 65, "version": 5110 } }
      ]
  }
]