[DiscordArchive] that's so baffling lol, i guess that means there's a bug in this lookup3 implementation?
[DiscordArchive] that's so baffling lol, i guess that means there's a bug in this lookup3 implementation?
Archived author: badopsec • Posted: 2024-04-04T19:54:07.350000+00:00
Original source
that's so baffling lol, i guess that means there's a bug in this lookup3 implementation?
Archived author: badopsec • Posted: 2024-04-04T19:57:27.423000+00:00
Original source
sure enough, this works
```rust
let normalized = name.to_ascii_uppercase().replace('/', "\\");
let mut hash = hashers::jenkins::lookup3(&normalized.as_bytes());
let high = hash & 0xffffffff00000000;
let low = hash & 0x00000000ffffffff;
hash = high >> 32 | low << 32;
```
Archived author: badopsec • Posted: 2024-04-04T20:10:41.018000+00:00
Original source
it's not fully baked yet, but this is for a server i'm writing that'll package/serve all the files for a given wow version w/ a simple `GET /:fileid` or `GET /filename` interface https://github.com/wgreenberg/polymorph/
Archived author: badopsec • Posted: 2024-04-04T20:13:01.752000+00:00
Original source
it's kinda reinventing CASC but much much simpler, and fills the needs of the noclip renderer better. also i'm calling the file format `sheepfile` with `.baa` archives :3
Archived author: Titi • Posted: 2024-04-04T20:42:00.492000+00:00
Original source
Archived author: Supora • Posted: 2024-04-06T18:58:23.496000+00:00
Original source
the last byte (8 bit) is for flags