ToaHartor / GI-cutscenes

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

How do I find the version key for a cutscene file? #106

Open iconiczz opened 12 months ago

iconiczz commented 12 months ago

for example like in here

        {
            "encAudio": true,
            "version": "3.7",
            "videoGroups": [
                {
                    "key": 7542491622499622,
                    "version": "40110",
                    "videos": [
                        "Cs_Sumeru_EQ401101101_KP"
                    ]
                },
                {
                    "key": 1413854736885483,
                    "version": "13032",
                    "videos": [
                        "Cs_Sumeru_LQ1303208_KLX_Boy",
                        "Cs_Sumeru_LQ1303208_KLX_Girl"
                    ]
                }
            ]
        }

How would you find like the "version": "40110", or the "version": "13032",? Would I have to read the hex dumps of the files or anything?

BUnipendix commented 12 months ago

the original version.json is in 26236578.blk. #8 is about getting the key.