SmartVersion | Tools + Scripts

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

  1. KicsiBocs

    KicsiBocs MDL Novice

    Feb 23, 2019
    42
    20
    0
    Thank you very much to both of you!!! :D:D:D:D:D:D
     
  2. Sajjo

    Sajjo MDL Expert

    Feb 6, 2018
    1,314
    1,651
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. TECHNOMAN

    TECHNOMAN MDL Senior Member

    Jan 19, 2009
    257
    196
    10
  4. coleoptere2007

    coleoptere2007 MDL Guru

    Apr 8, 2008
    2,742
    1,424
    90
  5. qwesta

    qwesta MDL Member

    Jul 22, 2011
    153
    43
    10
    well done
     
  6. TECHNOMAN

    TECHNOMAN MDL Senior Member

    Jan 19, 2009
    257
    196
    10
    Thanks
    My Aim Was To Produce A Easy Guide For User`s That Require A Step By Step Guide With Images Too
    Glad You Found It Useful

    I May Produce Some More Guides For Other Tools (Time Permitted)
     
  7. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    25,850
    36,894
    390
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. Yorel

    Yorel MDL Novice

    Jan 3, 2014
    32
    8
    0
    Thanks for the explanation Enthousiast. Last question, can I create Business es-ES iso from Consumer EN iso directly?.
     
  9. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    25,850
    36,894
    390
    Not with the provided svf patches at gezoesloog's repo.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    25,850
    36,894
    390
    What script exactly?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    25,850
    36,894
    390
    Never tested that script, i just use this for dropping the source iso on the cmd (provided by @GezoeSloog, little edit for my purpose):
    Code:
    :: drag and drop a Source file onto this batch
    
    @echo off
    
    set SmvExec=C:\Program Files\SmartVersion\smv.exe
    
    set OutDir=.\EN2XX-SVF
    
    :: max number of SMVs to run simultaneously
    set RunInst=1
    
    
    
    
    cd /d "%~dp0"
    if not exist "%OutDir%" md "%OutDir%"
    
    if %RunInst% gtr 1 set _nowait=start "" /b
    
    call :_StrFind "%~n1" ISO
    
    for /f "usebackq delims=" %%i in (`dir "%~dp1*%_filter%*%~x1" /b /a:-d`) do (
      if "%%~i" neq "%~nx1" if not exist "%OutDir%\%%~ni.svf" (
        if %RunInst% gtr 1 call :_ProcWait smv.exe %RunInst%
        %_nowait% "%SmvExec%" BuildPatch "%OutDir%\%%~ni.svf" "%~1" "%~dp1%%~i" -nbhashbits 24 -compressratio 192 -sha1 -nomd5
        echo.
      )
    )
    
    exit
    
    :_StrFind
    echo %~1 | find /i "%~2" >nul
    if %ErrorLevel% neq 0 (
      shift /2
      if "%~2" neq "" goto _StrFind
    )
    set _filter=%~2
    exit /b
    
    :_ProcWait
    for /f %%i in ('tasklist /fi "ImageName eq %~1" ^| find /i /c "%~1"') do (
      if %%i geq %2 (
        timeout /t 1 /nobreak >nul
        goto _ProcWait
      )
    )
    exit /b
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    25,850
    36,894
    390
    You seem to be correct, i just happened to have a win 7 x86 running on my test system, and during the test i can already see the size is 1.45GB, same patch on my x64 main system is 218MB.

    But creating svf patches on a x86 windows would take ages, specially when running them in bulk.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. Sajjo

    Sajjo MDL Expert

    Feb 6, 2018
    1,314
    1,651
    60
    #37 Sajjo, Apr 26, 2019
    Last edited: Apr 30, 2019
    @Nostalgic

    Open script with notepad
    Change -compressratio 192 to -compressratio 49
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. Sajjo

    Sajjo MDL Expert

    Feb 6, 2018
    1,314
    1,651
    60
    #38 Sajjo, Apr 26, 2019
    Last edited: Apr 30, 2019
    For usage on x86 yes
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. GezoeSloog

    GezoeSloog knows a guy, who knows another guy.

    Feb 10, 2012
    745
    4,430
    30
    Do not use -compressratio at all (maybe -nbhashbits too)
     
  16. AeonX

    AeonX MDL Addicted

    May 24, 2013
    562
    383
    30
    Did you use the same script for both?
    Without specifying the switch -compressratio smv will use the default compression level.