You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ZNixian edited this page Oct 23, 2017
·
2 revisions
The asset databaes seems to be some kind of map between IDStrings and assets. Rather than storing a assetname->asset relationship, assets are stored as a hash(assetname)->asset relationship, IDString representing the hash function.
Using the PAYDAY 2 bundle tool, you can extract the contents of PAYDAY 2's assets, and view the hashed names of each asset. Additionally, see the unofficial hashlist file, which contains a valid set of mappings between strings and hashes: BB:Frankelstner/pd2-hashlist.
A decompiled and cleaned-up implementation of the hashing function: Gist.
Internally, hashes are represented by dsl::IDString objects.