SmartVersion | Tools + Scripts

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

  1. jim_p

    jim_p MDL Senior Member

    Dec 11, 2013
    435
    165
    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 Member

    Feb 6, 2018
    2,245
    3,258
    90
    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
     
  3. jim_p

    jim_p MDL Senior Member

    Dec 11, 2013
    435
    165
    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
    7,154
    21,094
    240
    more infos about
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. MonarchX

    MonarchX MDL Expert

    May 5, 2007
    1,732
    313
    60
    Very useful - thanks!
     
  7. LostED

    LostED SVF Patch Lover

    Jul 30, 2009
    7,154
    21,094
    240
    #147 LostED, Dec 18, 2019
    Last edited: Dec 21, 2019
    (OP)
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. Boops

    Boops MDL Addicted

    Jan 5, 2008
    912
    1,203
    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 Member

    May 4, 2015
    145
    184
    10
    Ran the tool without as administrator also produced the same error result. Never mind, appreciate your response. Thank you :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. Boops

    Boops MDL Addicted

    Jan 5, 2008
    912
    1,203
    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. What is the -nbhashbits option for and why do you all set it to 24? What’s the use of this?
     
  12. GezoeSloog

    GezoeSloog knows a guy, who knows another guy.

    Feb 10, 2012
    864
    8,150
    30
  13. vanelle

    vanelle MDL Expert

    Sep 22, 2014
    1,502
    1,418
    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
     
  14. 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?
     
  15. Boops

    Boops MDL Addicted

    Jan 5, 2008
    912
    1,203
    30
    #156 Boops, Jan 4, 2020
    Last edited: Aug 4, 2020
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    47,254
    94,654
    450
    @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?
     
  17. 3zero3

    3zero3 MDL Senior Member

    Apr 26, 2012
    421
    685
    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. 3zero3

    3zero3 MDL Senior Member

    Apr 26, 2012
    421
    685
    10