SmartVersion | Tools + Scripts

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

  1. KicsiBocs

    KicsiBocs MDL Junior Member

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

    Sajjo MDL Member

    Feb 6, 2018
    2,232
    3,244
    90
  3. TECHNOMAN

    TECHNOMAN MDL Senior Member

    Jan 19, 2009
    313
    225
    10
  4. coleoptere2007

    coleoptere2007 MDL Guru

    Apr 8, 2008
    3,313
    1,938
    120
  5. qwesta

    qwesta MDL Senior Member

    Jul 22, 2011
    312
    110
    10
    well done
     
  6. TECHNOMAN

    TECHNOMAN MDL Senior Member

    Jan 19, 2009
    313
    225
    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. Yorel

    Yorel MDL Novice

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

    Enthousiast MDL Tester

    Oct 30, 2009
    47,016
    93,813
    450
    Not with the provided svf patches at gezoesloog's repo.
     
  9. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    47,016
    93,813
    450
    What script exactly?
     
  10. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    47,016
    93,813
    450
    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
    
     
  11. Enthousiast

    Enthousiast MDL Tester

    Oct 30, 2009
    47,016
    93,813
    450
    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.
     
  12. Sajjo

    Sajjo MDL Member

    Feb 6, 2018
    2,232
    3,244
    90
    #37 Sajjo, Apr 26, 2019
    Last edited: Apr 30, 2019
    @Nostalgic

    Open script with notepad
    Change -compressratio 192 to -compressratio 49
     
  13. Sajjo

    Sajjo MDL Member

    Feb 6, 2018
    2,232
    3,244
    90
    #38 Sajjo, Apr 26, 2019
    Last edited: Apr 30, 2019
    For usage on x86 yes
     
  14. GezoeSloog

    GezoeSloog knows a guy, who knows another guy.

    Feb 10, 2012
    863
    8,120
    30
    Do not use -compressratio at all (maybe -nbhashbits too)
     
  15. AeonX

    AeonX MDL Addicted

    May 24, 2013
    793
    719
    30
    Did you use the same script for both?
    Without specifying the switch -compressratio smv will use the default compression level.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...