#hash #cdragon #bin #wad #riot #legends #league

cdragon-hashes

Work with hashes used by Riot, and reversed by CDragon

2 unstable releases

0.2.0 Jan 7, 2024
0.1.0 Aug 16, 2023

#3 in #cdragon

Download history 5/week @ 2024-01-01 29/week @ 2024-02-19 18/week @ 2024-02-26 7/week @ 2024-03-11 8/week @ 2024-03-25 45/week @ 2024-04-01

60 downloads per month
Used in 4 crates

MIT/Apache

23KB
371 lines

CDragon library for hashes

Library to work with hashes used by League of Legends.

  • Hashes of paths from WAD files
  • Hashes used in BIN files

This library also handles files with reversed hashes provided by CDragon.


lib.rs:

Tools to work with hashes, as used by cdragon

Actual hash values are created with [crate::define_hash_type!()], which implements [HashDef] and conversions.

[HashMapper] manages a mapping to retrieve a string from a hash value. The type provides methods to load mapping files, check for known hashes, etc. update mapping files, etc.

Dependencies

~0.4–1MB
~21K SLoC