MantisBT - Zandronum
View Issue Details
0000246Zandronum[All Projects] Suggestionpublic2010-12-27 19:122018-09-30 23:09
Blox 
Torr Samaho 
normalfeaturealways
closedfixed 
MicrosoftWindowsXP/Vista/7
98d 
2.0 
0000246: Add support for (most) 7-Zip compression modes
Support for most, if not all of the 7-Zip compression modes would be appreciated.
The ones targeted are the .7z compression modes that aren't supported, namely LZMA2 and PPMd.
... No information required.
The real reason for this is, that it would make the use of something like the "Ultra7z (Optimizer)" program much more reliable.

As it tends to use PPMd when it's the best choice, and that (almost) breaks compatibility with Skulltag.

Long story short, it would make the use of Ultra7z very reliable; which would mean that it could be used safely for reducing the size of Skulltag projects/wads/whatever (even further).
No tags attached.
child of 0001490closed Torr Samaho Backport ZDoom 2.5.0 
? test_compress.pk7 (152) 2013-10-09 23:18
/tracker/file_download.php?file_id=1078&type=bug
zip pk7-tests.zip (1,939) 2015-01-05 20:45
/tracker/file_download.php?file_id=1369&type=bug
Issue History
2010-12-27 19:12BloxNew Issue
2013-09-18 16:07WatermelonRelationship addedchild of 0001490
2013-09-18 16:07WatermelonNote Added: 0007213
2013-09-18 16:07WatermelonStatusnew => needs testing
2013-10-09 23:18QentFile Added: test_compress.pk7
2013-10-09 23:20QentNote Added: 0007363
2013-10-09 23:21QentNote Edited: 0007363bug_revision_view_page.php?bugnote_id=7363#r4110
2013-10-09 23:42QentStatusneeds testing => new
2013-10-10 04:09ArcoNote Added: 0007364
2013-10-10 10:37skyrimguyNote Added: 0007365
2013-10-10 10:43skyrimguyNote Edited: 0007365bug_revision_view_page.php?bugnote_id=7365#r4115
2013-10-10 11:12skyrimguyNote Edited: 0007365bug_revision_view_page.php?bugnote_id=7365#r4116
2013-10-10 11:56skyrimguyNote Edited: 0007365bug_revision_view_page.php?bugnote_id=7365#r4117
2013-10-13 21:10QentStatusnew => confirmed
2014-04-30 04:07skyrimguyNote Added: 0008654
2015-01-05 20:30DuskNote Added: 0011297
2015-01-05 20:30DuskAssigned To => Dusk
2015-01-05 20:30DuskStatusconfirmed => needs testing
2015-01-05 20:30DuskAssigned ToDusk => Torr Samaho
2015-01-05 20:45DuskFile Added: pk7-tests.zip
2015-01-05 20:46DuskNote Edited: 0011297bug_revision_view_page.php?bugnote_id=11297#r6329
2015-01-05 20:53DuskNote Edited: 0011297bug_revision_view_page.php?bugnote_id=11297#r6332
2015-01-05 20:53DuskStatusneeds testing => resolved
2015-01-05 20:53DuskFixed in Version => 2.0
2015-01-05 20:53DuskResolutionopen => fixed
2015-01-05 21:11DuskNote Edited: 0011297bug_revision_view_page.php?bugnote_id=11297#r6333
2018-09-30 23:09Blzut3Statusresolved => closed

Notes
(0007213)
Watermelon   
2013-09-18 16:07   
Backported with the latest ZDoom 2.4.1 upgrade. Please check with the newest version to see if it works.
(0007363)
Qent   
2013-10-09 23:20   
(edited on: 2013-10-09 23:21)
Using the attached test_compress.pk7 (using PPMd compression in a 7z archive), Zandronum 2.0-131005-1914 errors out with
Script error, "test_compress.pk7:decorate.txt" line 1:
Unexpected character:


(0007364)
Arco   
2013-10-10 04:09   
I've managed to get ultra-compressed LMZA .7z files to work with the latest version...anything besides that will not work.
(0007365)
skyrimguy   
2013-10-10 10:37   
(edited on: 2013-10-10 11:56)
Zandronum is using LZMA SDK 4.65, LZMA2 support was added in LZMA SDK 9.04 and PPMd support was added in LZMA SDK 9.11; therefore, upgrading Zandronum's LZMA SDK to 9.20 or any later version should add support for most 7-Zip compression modes.

'http://www.7-zip.org/sdk.html [^]'

This is also true for latest versions of ZDoom and GZDoom.

(0008654)
skyrimguy   
2014-04-30 04:07   
Added support for LZMA2 compression method in .7z archives
Updated LZMA SDK to version 9.20
'https://github.com/rheit/zdoom/commit/3af7d8a245a3d8c310fb8077a14ecaec36df1714 [^]'
(0011297)
Dusk   
2015-01-05 20:30   
(edited on: 2015-01-05 21:11)
Can anyone check whether the pk7 files that don't work with Zandronum also do not work with GZDoom 880?

EDIT: Attached some test wads. Of these, test-lzma.pk7, test-lzma-ultra.pk7, test-lzma2.pk7 and test-ppmd-ultra.pk7 work with Zandronum 2.0.

EDIT 2: These and only these pk7 also work in GZDoom r880 and WaTaKiD confirms this (also in r900 for what it's worth). We're good here.