Genshin_Datasets icon indicating copy to clipboard operation
Genshin_Datasets copied to clipboard

How to get w4123 scripts working?

Open ClostroOffi opened this issue 1 year ago • 7 comments

ClostroOffi avatar Oct 12 '23 21:10 ClostroOffi

If you want to know the format of result.json, this repo may help you: https://github.com/w4123/GenshinVoice

Sieroy avatar Oct 13 '23 13:10 Sieroy

I am actually looking for a way to generate a similar "result.json" but updated with 4.1 hashes since w4123 repo isn't updated. I am currently creating a French dub mod for Genshin Impact, which is why I need these hashes. Apparently, the scripts provided in "Index & Script -> w4123 version" are supposed to generate a file similar to the one found in the w4123 repository. However, I can't seem to get these scripts to work no matter what I do. It always return an error or simply do not work, no matter what I do.

If there is a guide or any other resource available, I would appreciate it! image image

ClostroOffi avatar Oct 13 '23 13:10 ClostroOffi

Sorry but I have not tried this script, You can wait for replies from others:)

By the way, I noticed a Permission denied printed in your terminal. Maybe launching cmd or powershell as an administer before run the script can help.

Sieroy avatar Oct 13 '23 13:10 Sieroy

cmd was launched as admin when this error was displayed. It seems like there is really nothing we can do to deal with it

ClostroOffi avatar Oct 13 '23 13:10 ClostroOffi

I tried many times just now, but sadly, still had no idea how it works. If you dont need the labels, just choose other way. For example, you can find the mapping from hash to filename here: https://github.com/Escartem/AnimeWwise/tree/dev/mapping

Sieroy avatar Oct 13 '23 17:10 Sieroy

I really need the mapping to be organized just as w4123 json due to automation scripts that I use to extract efficiently the audio files

ClostroOffi avatar Oct 13 '23 17:10 ClostroOffi

If what you want is just to organize the mapping in a better format to use the automation scripts, maybe coding a preprocessing script by yourself is a more efficient method. It's not a hard work if you know regular expression and json well.

Sieroy avatar Oct 13 '23 18:10 Sieroy