Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] did you look into the "official" https://crates.io/crates/mpq btw?

[DiscordArchive] did you look into the "official" https://crates.io/crates/mpq btw?

[DiscordArchive] did you look into the "official" https://crates.io/crates/mpq btw?

rektbyfaith
Administrator
0
01-17-2025, 12:52 AM
#1
Archived author: MeFisto94 • Posted: 2025-01-17T00:52:01.622000+00:00
Original source

did you look into the "official" https://crates.io/crates/mpq btw?
rektbyfaith
01-17-2025, 12:52 AM #1

Archived author: MeFisto94 • Posted: 2025-01-17T00:52:01.622000+00:00
Original source

did you look into the "official" https://crates.io/crates/mpq btw?

rektbyfaith
Administrator
0
01-17-2025, 12:53 AM
#2
Archived author: MeFisto94 • Posted: 2025-01-17T00:53:44.504000+00:00
Original source

It is flawed though, at least version 0.8.0 was so I did minor patches to it (<https://github.com/MeFisto94/Sargerust/tree/master/mpq-rust>), basically it pulls in CLI deps when you want to use it as library and it also reads the whole MPQ into memory before starting to process for no good reason, so when done on WoW, you had a few seconds delay until the whole few GiB were cached. So I changed ergonomics slightly I think
rektbyfaith
01-17-2025, 12:53 AM #2

Archived author: MeFisto94 • Posted: 2025-01-17T00:53:44.504000+00:00
Original source

It is flawed though, at least version 0.8.0 was so I did minor patches to it (<https://github.com/MeFisto94/Sargerust/tree/master/mpq-rust>), basically it pulls in CLI deps when you want to use it as library and it also reads the whole MPQ into memory before starting to process for no good reason, so when done on WoW, you had a few seconds delay until the whole few GiB were cached. So I changed ergonomics slightly I think

rektbyfaith
Administrator
0
01-17-2025, 07:20 AM
#3
Archived author: 4bhorrent • Posted: 2025-01-17T07:20:27.588000+00:00
Original source

i have a cached mode and a slim mode.
cached should be a lot faster when running on old hdd and extracting everything.
rektbyfaith
01-17-2025, 07:20 AM #3

Archived author: 4bhorrent • Posted: 2025-01-17T07:20:27.588000+00:00
Original source

i have a cached mode and a slim mode.
cached should be a lot faster when running on old hdd and extracting everything.

rektbyfaith
Administrator
0
01-17-2025, 07:21 AM
#4
Archived author: 4bhorrent • Posted: 2025-01-17T07:21:31.489000+00:00
Original source

right now i looked at stormlib and ceres-mpq, but i will also take a look at what you linked later today
rektbyfaith
01-17-2025, 07:21 AM #4

Archived author: 4bhorrent • Posted: 2025-01-17T07:21:31.489000+00:00
Original source

right now i looked at stormlib and ceres-mpq, but i will also take a look at what you linked later today

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)