Skip to content
This repository has been archived by the owner on Apr 25, 2022. It is now read-only.

Game request: [Type-Moon]Fate/Hollow Ataraxia #1

Closed
rr- opened this issue Dec 5, 2014 · 1 comment
Closed

Game request: [Type-Moon]Fate/Hollow Ataraxia #1

rr- opened this issue Dec 5, 2014 · 1 comment
Assignees

Comments

@rr-
Copy link
Member

rr- commented Dec 5, 2014

My discoveries so far:

  • FHA is protected with CXDEC algorithm.
  • CXDEC uses following:
    • LSFR-based randomization
    • complex key derivation that uses ADLR chunk.
    • the decryption process is mostly linear and simple - just xor input in a few predictable ranges with values derived from the key.
  • Each game using CXDEC protection uses very little customization. These are as follows:
    • Substitution table - used to derive the key. It lies unencrypted in cxdec.tpm file.
    • Configurable order of code blocks used in key derivation algorithm.
    • 32-bit private key.

In the case of FHA the 32-bit private key seems to be 008F0313.

The main difficulty lies in reversing the key derivation algorithm.

@rr- rr- added the enhancement label Dec 5, 2014
@rr-
Copy link
Member Author

rr- commented Dec 5, 2014

After this is done, this repository can be renamed to xp3_unpacker, and other games can be added.

@rr- rr- closed this as completed in 2027f16 Dec 6, 2014
@rr- rr- changed the title Add Fate/Hollow Ataraxia unpacking Game request: [Type-Moon]Fate/Hollow Ataraxia Jul 10, 2016
@rr- rr- self-assigned this Jul 10, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant