DereTore icon indicating copy to clipboard operation
DereTore copied to clipboard

HCACC.exe

Open Lakoyo opened this issue 6 years ago • 5 comments

I want to encrypt .hca file with custom key 14121473. how to write command correctly? hcacc.exe in.hca out.hca -ot 56 -i1 00d77a01 -i2 ??? -o1 ??? -o2 ??? Please help?

Lakoyo avatar Apr 08 '19 13:04 Lakoyo

Since the questions asked are very similar, you can take a look at #51.

hozuki avatar Apr 08 '19 21:04 hozuki

Yes but still I don't know how to write command line correctly works for it. Please help me for typing :)

Lakoyo avatar Apr 08 '19 23:04 Lakoyo

Help please

Lakoyo avatar Apr 10 '19 04:04 Lakoyo

@Lakoyo: in my case, it worked by drag and dropping HCACC.exe to the CMD window. I made sure to leave a space after ".exe" though. And then drag and drop your HCA file, this should specify exactly to where the input HCA file is. And if you want to save it next to your input HCA, then copy-paste the path of your input HCA and change the HCA's file name. So it should look like this

C:\Users\CURRENT USER>D:\More\DereTore-master\Apps\Hcacc\bin\Release\hcacc.exe "D:\more\custom_song\input hca.hca" "D:\more\custom_song\output hca.hca" -ot 0 and just hit enter.

And actually, I want to point out that @hozuki 's answer on #51 raised another question for me. Which 16-hex halves go to where? I got a bit confused when they considered the second half of the key to be 00000000. Now, my problem would be, what if the custom key's hex value was longer? I'll make my own custom key for this example: 91280410300 = 1540BC86BC so is key no. 1 00000015? or 40BC86BC? or is key no. 2 40BC86BC? or 00000015? thanks for any future clarification!

MiniatureHusk avatar Feb 20 '21 19:02 MiniatureHusk

@Lakoyo: in my case, it worked by drag and dropping HCACC.exe to the CMD window. I made sure to leave a space after ".exe" though. And then drag and drop your HCA file, this should specify exactly to where the input HCA file is. And if you want to save it next to your input HCA, then copy-paste the path of your input HCA and change the HCA's file name. So it should look like this

C:\Users\CURRENT USER>D:\More\DereTore-master\Apps\Hcacc\bin\Release\hcacc.exe "D:\more\custom_song\input hca.hca" "D:\more\custom_song\output hca.hca" -ot 0 and just hit enter.

And actually, I want to point out that @hozuki 's answer on #51 raised another question for me. Which 16-hex halves go to where? I got a bit confused when they considered the second half of the key to be 00000000. Now, my problem would be, what if the custom key's hex value was longer? I'll make my own custom key for this example: 91280410300 = 1540BC86BC so is key no. 1 00000015? or 40BC86BC? or is key no. 2 40BC86BC? or 00000015? thanks for any future clarification!

Key 1 is the lower 32 bits (40bc86bc) and key 2 is the higher 32 bits (00000015).

hozuki avatar Feb 28 '21 09:02 hozuki