ToaHartor / GI-cutscenes

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

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

Open RealNath opened 1 year ago

RealNath commented 1 year 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 1 year ago

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

RealNath commented 1 year 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?)