add BZip2 support in 7z/pk7
Moderator: GZDoom Developers
- landfill baby
- Posts: 21
- Joined: Tue Jan 31, 2017 12:08 am
- Graphics Processor: nVidia with Vulkan support
- Contact:
add BZip2 support in 7z/pk7
self-explanatory.
Last edited by landfill baby on Thu May 24, 2018 2:45 pm, edited 1 time in total.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49067
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: update LZMA SDK to 18.05, add BZip2 support in 7z/pk7
LZMA is already at 18.05.
- landfill baby
- Posts: 21
- Joined: Tue Jan 31, 2017 12:08 am
- Graphics Processor: nVidia with Vulkan support
- Contact:
Re: add BZip2 support in 7z/pk7
yeah, oops, i was mistaken there, but i just checked with the latest dev build (b612e182b) and it still gives the error "unsupported 7z/LZMA file!" with a bzip2ed pk7
Re: add BZip2 support in 7z/pk7
BZip2 is not supported by LZMA library, it's implemented in 7-zip executable only.
For this reason GZDoom cannot handle such .7z files.
The question is why do you need BZip2 compression in pk7?
LZMA provides better compression ratio and difference in decompression speed isn't noticeable in most cases (as long as solid archives are not used).
For this reason GZDoom cannot handle such .7z files.
The question is why do you need BZip2 compression in pk7?
LZMA provides better compression ratio and difference in decompression speed isn't noticeable in most cases (as long as solid archives are not used).
- landfill baby
- Posts: 21
- Joined: Tue Jan 31, 2017 12:08 am
- Graphics Processor: nVidia with Vulkan support
- Contact:
Re: add BZip2 support in 7z/pk7
i've found that with a certain set of (very repetitive) files, bzip2 outperforms lzma by almost twofold when making a solid archive. i guess if i really have to, i could put all of the files into a wad and then bzip2 it via a zip.
Re: add BZip2 support in 7z/pk7
Solid archives are good for storage and transfer, but bad for use as a game data format, because it means the engine has to uncompress the entire file to access any lump in it.