-
Notifications
You must be signed in to change notification settings - Fork 28
HCA Cipher Converter
George Wu edited this page Dec 14, 2017
·
1 revision
It is used to convert among 3 cipher types of HCA files.
hcacc.exe <input HCA> <output HCA> [-ot <output cipher type>] [-i1 <input key 1>] [-i2 <input key 2>] [-o1 <output key 1>] [-o2 <output key 2>]
- Input HCA: Input HCA file.
- Output HCA: Output HCA file.
- Output cipher type: The cipher type of output HCA file. Valid values are 0 (no cipher), 1 (static keys), and 56 (custom keys). If not specified the type will be 0 (no cipher).
- Input key 1, Input key 2: Custom keys of input HCA file. They are only used when the cipher type of the input HCA file is 56. Their values must be correct to decode the input HCA file in this case.
- Output key 1, Output key 2: Custom keys of output HCA file. They are only used when the cipher type of the output HCA file is 56.
Each of the key part is a 8-hex-digit number.
hcacc.exe in.hca out.hca -ot 0
hcacc.exe in.hca out.hca -ot 1 -i1 abcdef90 -i2 87654321
hcacc.exe in.hca out.hca -ot 56 -i1 98765432 -i2 01abcdef -o1 1a2b3c4d -o2 5e6f7890