Comments (1)
For question 1:
Yes. But be careful! vgmstream tries to decode HCA as plain text, or use known keys to decrypt it first, whichever works without error. So even if it outputs meaningful sound, that doesn't mean your file is correctly encrypted (e.g. the file can still be plain text). As far as I know, if you assign a decryption key to the official CRI HCA plugin, it decrypts all HCAs before decoding, ignoring its "cipher type" field. So the game would probably not accept plain text HCAs. To test whether the file is encrypted with the key you want, you must convert it back with exactly that key.
For question 2:
Please read the wiki more carefully. What is -im
and -om
?
hcacc automatically detects the cipher type of input file. So you don't need to provide the keys for decryption, unless the cipher type of the input file is 56. In your case the input file should be type 0 or type 1.
You should convert the key to its hexadecimal form and split it to two 8-hex-digit numbers. The calculator can do the job. 13121473=0xd77a01 so keys should be 00d77a01
and 00000000
.
Note: I should probably add an command line option to support using 16-hex-digit number directly to avoid the endianess mess. 🤔
from deretore.
Related Issues (20)
- [Question] hca2wav loop support HOT 9
- v0.7.3的若干问题 HOT 1
- 框选 右键 拖动 快捷键 自动offset 紫条 HOT 4
- bgm_system.acb entry reading HOT 1
- WAV to HCA, Sound Is Not Working In Game HOT 1
- The decryption key of .hca file HOT 1
- HCACC.exe HOT 5
- How do I make a hca file header that is a C8 C3 C1 file? HOT 2
- ACB+AWB encryption HOT 1
- pes mobile music
- Video encryptation
- How should generate acb+awb within AcbMaker
- Loop support - slight bursts, maybe still not aligned etc? HOT 2
- Output WAV still seems to have problems if there's loop header section HOT 5
- HcaAudioStream doesn't seem to be seekable HOT 5
- hca2wav: suspicious pattern in >21.6kHz band of frequency spectrum
- Unhandled exception error when typing out any cmd
- Wondering how to encrypt an HCA with header C8 C3 C1 00 HOT 1
- AcbMaker: low volume in SIF AS
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deretore.