SmartVersion | Tools + Scripts

Discussion in 'Application Software' started by LostED, Apr 15, 2019.

  1. jim_p

    jim_p MDL Member

    Dec 11, 2013
    112
    29
    10
    The 24-hour-late question :p
    How can I check the compress options of an svf file before starting the patching procedure?
     
  2. Sajjo

    Sajjo MDL Expert

    Feb 6, 2018
    1,314
    1,651
    60
    We have had some discussion about this in convo, there is no feasible way to determine this atm but zstd adds a header.
    You can identify a *.svf file "if # is between 171 (faster) and 192 (smaller) : uses zstd engine" by it´s string: 28 B5 2F FD
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. jim_p

    jim_p MDL Member

    Dec 11, 2013
    112
    29
    10
    Oh, it's sooo simple :p
    Thank you though :)
     
  4. Ken Hardner

    Ken Hardner MDL Novice

    Oct 29, 2019
    15
    0
    0
    I used and not working
     
  5. LostED

    LostED SVF Patch Lover

    Jul 30, 2009
    5,720
    14,697
    180
    more infos about
     
  6. MonarchX

    MonarchX MDL Expert

    May 5, 2007
    1,714
    302
    60
    Very useful - thanks!
     
  7. LostED

    LostED SVF Patch Lover

    Jul 30, 2009
    5,720
    14,697
    180
  8. Boops

    Boops MDL Addicted

    Jan 5, 2008
    794
    881
    30
    This tool does not need to run as administrator.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. tigercheng

    tigercheng MDL Novice

    May 4, 2015
    43
    33
    0
    Ran the tool without as administrator also produced the same error result. Never mind, appreciate your response. Thank you :)
     
  10. Boops

    Boops MDL Addicted

    Jan 5, 2008
    794
    881
    30
    This version is ready to use .Net FrameWork 4.8
    If you could give me more information about the error, maybe I could help you.

    I continue to improve the tool and expand the functions of the tool,
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. wavemaster76

    wavemaster76 MDL Member

    Apr 25, 2019
    242
    111
    10
    What is the -nbhashbits option for and why do you all set it to 24? What’s the use of this?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. GezoeSloog

    GezoeSloog knows a guy, who knows another guy.

    Feb 10, 2012
    745
    4,430
    30
  13. vanelle

    vanelle MDL Expert

    Sep 22, 2014
    1,106
    897
    60
    it is usual a win 7 problem - damaged database for Data Execution Prevention (i see this behavioar also on other APP's)
    try system -> advanced settings
    tab advanved ->first settings Performance
    tab Data Execution Prevention
    - change the option and press Apply
    - change the option back and press Apply
    this repair / recreate the database for Data Execution Prevention
    then press OK

    hope this helps
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. wavemaster76

    wavemaster76 MDL Member

    Apr 25, 2019
    242
    111
    10
    Finished testing!

    Command: smv.exe BuildPatch "patch_hashbits_#.svf" "Windows_InsiderPreview_WDK_x86x64_en-us_18980.iso" "Windows_InsiderPreview_WDK_x86x64_en-us_18985.iso"
    Additional: -sha1 -nomd5 (-nbhashbits #)

    SVF file size should be 131.991 KB.

    In every test the amount of memory was between 91.400 KB and 91.464 KB.

    without: 00:01:03 (1 minute 3 seconds)

    with 8: > 00:05:00 (> 5 minutes) (CTRL+C at 385 KB)

    with 16: > 00:05:00 (> 5 minutes) (CTRL+C at 74.113 KB)

    with 24: 00:00:25 (25 seconds)

    with 32: 00:00:59 (59 seconds)

    Experimental:

    with 20: 00:00:59 (59 seconds)

    with 22: 00:00:30 (30 seconds)

    with 26: 00:00:27 (27 seconds)

    with 28: 00:00:30 (30 seconds)

    Command: smv.exe BuildPatch "patch_compressratio_#.svf" "Windows_InsiderPreview_WDK_x86x64_en-us_18980.iso" "Windows_InsiderPreview_WDK_x86x64_en-us_18985.iso"
    Additional: -sha1 -nomd5 -nbhashbits 24 (-compressratio #)

    without: 131.991 KB

    zlib (9): 131.991 KB

    lz4 (119): 132.287 KB

    zstd (192): 114.332 KB

    lzham (259): 127.313 KB

    lzma (49): 118.251 KB

    zlib+lzma (59): 118.261 KB

    Experimental:

    store (160): 132.987 KB

    upload_2019-12-29_20-11-48.png

    Now it should be clear why everyone here uses -nbhashbits 24 and -compressratio 192. Thanks @GezoeSloog.

    Btw, does anyone see regularities in the -nbhashbits switch?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. Boops

    Boops MDL Addicted

    Jan 5, 2008
    794
    881
    30
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    25,844
    36,888
    390
    @3zero3

    About the multiple SVF files in one exe, iirc it should be possible to put in the source files too? So, one exe to share all SVF's inside > ISO without the need for the source iso itself?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. 3zero3

    3zero3 MDL Senior Member

    Apr 26, 2012
    292
    301
    10
    @Enthousiast

    Can You be more precise, please?

    There is just one SVF. Only one.

    So, if You mean(t) to add source file into selfextract 7zip archive, there is no problem. Anyone can add source file (ISO) inside SVFX archive to satisfy own needs. But then, in this case, file is big to me.

    My goal is to make smaller SVFX as possible. And I believe, everyone have W7 ultimate x64 ISO somewhere for reinstallation. So, in that case AiO SVF for W7 is useful. Just example.
     
  18. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    25,844
    36,888
    390
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. 3zero3

    3zero3 MDL Senior Member

    Apr 26, 2012
    292
    301
    10