Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] doesn't compressed headers usually include a few bytes to describe it ?

[DiscordArchive] doesn't compressed headers usually include a few bytes to describe it ?

[DiscordArchive] doesn't compressed headers usually include a few bytes to describe it ?

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
02-14-2025, 11:29 PM
#1
Archived author: Titi • Posted: 2025-02-14T23:29:16.251000+00:00
Original source

doesn't compressed headers usually include a few bytes to describe it ?
rektbyfaith
02-14-2025, 11:29 PM #1

Archived author: Titi • Posted: 2025-02-14T23:29:16.251000+00:00
Original source

doesn't compressed headers usually include a few bytes to describe it ?

rektbyfaith
Administrator
0
02-14-2025, 11:31 PM
#2
Archived author: Titi • Posted: 2025-02-14T23:31:01.442000+00:00
Original source

I remember that from BLS files
[Image: image.png?ex=690c86f5&is=690b3575&hm=84c...195215990&]
rektbyfaith
02-14-2025, 11:31 PM #2

Archived author: Titi • Posted: 2025-02-14T23:31:01.442000+00:00
Original source

I remember that from BLS files
[Image: image.png?ex=690c86f5&is=690b3575&hm=84c...195215990&]

rektbyfaith
Administrator
0
02-14-2025, 11:31 PM
#3
Archived author: Titi • Posted: 2025-02-14T23:31:24.699000+00:00
Original source

maybe there's extra info like mode, version etc if you're lucky
rektbyfaith
02-14-2025, 11:31 PM #3

Archived author: Titi • Posted: 2025-02-14T23:31:24.699000+00:00
Original source

maybe there's extra info like mode, version etc if you're lucky

rektbyfaith
Administrator
0
02-14-2025, 11:34 PM
#4
Archived author: 4bhorrent • Posted: 2025-02-14T23:34:59.991000+00:00
Original source


[Image: image.png?ex=690c87e3&is=690b3663&hm=d95...3f229518c&]
rektbyfaith
02-14-2025, 11:34 PM #4

Archived author: 4bhorrent • Posted: 2025-02-14T23:34:59.991000+00:00
Original source


[Image: image.png?ex=690c87e3&is=690b3663&hm=d95...3f229518c&]

rektbyfaith
Administrator
0
02-14-2025, 11:36 PM
#5
Archived author: 4bhorrent • Posted: 2025-02-14T23:36:08.386000+00:00
Original source

i am using `flate2` for it in Rust.
with the feature `zlib` it compiles a C library for linking against it, and with the compression setting 6 (default) it now produces a byte exact copy.
just if anyone else ever stumbles upon it, here you have it XD
rektbyfaith
02-14-2025, 11:36 PM #5

Archived author: 4bhorrent • Posted: 2025-02-14T23:36:08.386000+00:00
Original source

i am using `flate2` for it in Rust.
with the feature `zlib` it compiles a C library for linking against it, and with the compression setting 6 (default) it now produces a byte exact copy.
just if anyone else ever stumbles upon it, here you have it XD

rektbyfaith
Administrator
0
02-14-2025, 11:37 PM
#6
Archived author: 4bhorrent • Posted: 2025-02-14T23:37:28.166000+00:00
Original source

never knew that different implementations produced different output for the seemingly same settings (but on the other hand no wonder, compression setting is only a subset of settings of the algorithm... many might not be exposed in a library for usage).
rektbyfaith
02-14-2025, 11:37 PM #6

Archived author: 4bhorrent • Posted: 2025-02-14T23:37:28.166000+00:00
Original source

never knew that different implementations produced different output for the seemingly same settings (but on the other hand no wonder, compression setting is only a subset of settings of the algorithm... many might not be exposed in a library for usage).

rektbyfaith
Administrator
0
02-14-2025, 11:38 PM
#7
Archived author: 4bhorrent • Posted: 2025-02-14T23:38:47.992000+00:00
Original source

zlib itself seems to have a 2 byte header at the start... but i know too little to say anything concrete about it.
rektbyfaith
02-14-2025, 11:38 PM #7

Archived author: 4bhorrent • Posted: 2025-02-14T23:38:47.992000+00:00
Original source

zlib itself seems to have a 2 byte header at the start... but i know too little to say anything concrete about it.

rektbyfaith
Administrator
0
02-14-2025, 11:39 PM
#8
Archived author: stoneharry • Posted: 2025-02-14T23:39:53.974000+00:00
Original source

is compression even 100% determinstic? I'm not sure if you will get what you want
rektbyfaith
02-14-2025, 11:39 PM #8

Archived author: stoneharry • Posted: 2025-02-14T23:39:53.974000+00:00
Original source

is compression even 100% determinstic? I'm not sure if you will get what you want

rektbyfaith
Administrator
0
02-14-2025, 11:39 PM
#9
Archived author: Titi • Posted: 2025-02-14T23:39:57.834000+00:00
Original source

https://github.com/libyal/assorted/blob/...t.asciidoc maybe
rektbyfaith
02-14-2025, 11:39 PM #9

Archived author: Titi • Posted: 2025-02-14T23:39:57.834000+00:00
Original source

https://github.com/libyal/assorted/blob/...t.asciidoc maybe

rektbyfaith
Administrator
0
02-14-2025, 11:40 PM
#10
Archived author: 4bhorrent • Posted: 2025-02-14T23:40:11.174000+00:00
Original source

yes, at least most certainly for lossless compression
rektbyfaith
02-14-2025, 11:40 PM #10

Archived author: 4bhorrent • Posted: 2025-02-14T23:40:11.174000+00:00
Original source

yes, at least most certainly for lossless compression

Pages (2): 1 2 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)