Elektrine lite

← Feed

@alice@mk.nyaa.place

Post #3434487

2026-06-01 00:03 UTC

Finally finished the libmirage optimization PR - https://github.com/cdemu/cdemu/pull/75 (well, now it needs to be reviewed ofc, and it probably won't be insta-merged like the leak fixes were ^^) It's as fast as my custom code was, much more concise on the app side, and also more correct as it handles subchannels too (not really relevant for games, but still).

Replies (1)

  • @alice@mk.nyaa.place 2026-06-02 01:58

    Making decent progress on landing it, and meanwhile I've been thinking about switching to RetroAchievements hashes for CDs. For most games I already just use MD5, but for CDs I currently use a CRC32 hash of the entire disc - specifically main data from each sector of each track. While I managed to make it decently fast (that PR above helps, yes), it's still not great for compressed CHDs, and ultimately it's gonna be worse for DVDs. So... maybe I should just give up on 100% precise hashes and just use retroachievements ones. They are decent enough most of the time and for mods we're gonna have softpatching in future anyway, so...

    Open ##3434486