ToaHartor / GI-cutscenes

A command line program playing with the cutscenes files (USM) from Genshin Impact.
GNU General Public License v3.0
652 stars 73 forks source link

Star Rail keys are 17 digits, how does it work with this program? #129

Open RealNath opened 10 months ago

RealNath commented 10 months ago

I believe this should work for Honkai: Star Rail too. I managed to find the keys, the problem is that it contains 17 digits, instead of 16. How do I use this program for Star Rail? I tried separating the keys by 7-8 digits, doesn't work. 8-7 digits don't work too.

BUnipendix commented 10 months ago

I have written the code in my repo you can review from here

RealNath commented 10 months ago

I have written the code in my repo you can review from here

That's the script for finding keys, right? I do have the keys already, from cri_usm_demuxer/keys.json, but I can't put it in this repo's program because it's 17 digits.

I actually tried to use your repository instead of this for demuxing the USM. I moved the decrypt file to cri_usm_demuxer folder, but I'm not sure where to run the program.

I also wanted to try Iridium-SR, but not sure where to get the packetIds.json and proto folder in the first place. (Do I make my own folder and name it proto? or does it contain files inside?)