Skip to content

Repository containing the data for the game Honkai: Star Rail.

Notifications You must be signed in to change notification settings

Hiro420/StarRailData

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StarRailData

Repository containing the data for the game Honkai: Star Rail.

How do I find the missing text map entries?

public static int GetStableHash(string str) {
    unchecked {
        int hash1 = 5381;
        int hash2 = hash1;

        for (int i = 0; i < str.Length && str[i] != '\0'; i += 2) {
            hash1 = ((hash1 << 5) + hash1) ^ str[i];
            if (i == str.Length - 1 || str[i + 1] == '\0')
                break;
            hash2 = ((hash2 << 5) + hash2) ^ str[i + 1];
        }

        return (hash1 + (hash2 * 1566083941));
    }
}

About

Repository containing the data for the game Honkai: Star Rail.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published