graphicsdeviceinterface/screendriver/tsrc/scripts/mnt.cmd
changeset 0 5d03bc08d59c
child 18 5e30ef2e26cb
equal deleted inserted replaced
-1:000000000000 0:5d03bc08d59c
       
     1 rem Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 rem All rights reserved.
       
     3 rem This component and the accompanying materials are made available
       
     4 rem under the terms of "Eclipse Public License v1.0"
       
     5 rem which accompanies this distribution, and is available
       
     6 rem at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 rem
       
     8 rem Initial Contributors:
       
     9 rem Nokia Corporation - initial contribution.
       
    10 rem
       
    11 rem Contributors:
       
    12 rem
       
    13 rem Description:
       
    14 rem 
       
    15 rem 
       
    16 rem
       
    17 
       
    18 @echo off
       
    19 set _main_ver=00490
       
    20 set _main_ver_sub=114869
       
    21 set _ver=151
       
    22 set _prefix=GT
       
    23 set _prefixN=%_prefix%_%_main_ver%
       
    24 set ZipPrefix=%_prefix%
       
    25 set _ve32toolp=113
       
    26 set _ve32tools=123
       
    27 set _ve32utl=035
       
    28 set _vgditools=052
       
    29 set _vsdk=014
       
    30 
       
    31 set _ve32=189
       
    32 set _vf32=148
       
    33 set _vstore=062
       
    34 set _vgdi=071
       
    35 set _vfntstore=060
       
    36 set _vfbserv=093
       
    37 set _vbitgdi=097
       
    38 if "%1"=="?" goto help
       
    39 if "%1"=="" goto help
       
    40 if "%EPOCROOT%"=="" echo error: Variable Epocroot must be defined
       
    41 if "%EPOCROOT%"=="" goto help
       
    42 goto %1
       
    43 goto help
       
    44 
       
    45 rem ================ Install ==============
       
    46 
       
    47 :install
       
    48 echo Backing up EPOC.INI.
       
    49 if not exist %EPOCROOT%epoc32\data\epoc.bak copy %EPOCROOT%epoc32\data\epoc.ini %EPOCROOT%epoc32\data\epoc.bak >nul
       
    50 
       
    51 rem add line to epoc.ini so that the system starter will start the emulator in the specified display mode
       
    52 echo SYMBIAN_GRAPHICS_USE_GCE ON >> %EPOCROOT%epoc32\data\epoc.ini
       
    53 echo SYMBIAN_BASE_USE_GCE ON >> %EPOCROOT%epoc32\data\epoc.ini
       
    54 echo ColorDepth Color16M >> %EPOCROOT%epoc32\data\epoc.ini
       
    55 
       
    56 echo === New EPOC.INI -- %EPOCROOT%epoc32\data\epoc.ini ===
       
    57 type %EPOCROOT%epoc32\data\epoc.ini
       
    58 echo ======================================================
       
    59 
       
    60 goto :EOF
       
    61 
       
    62 
       
    63 rem ================ Installonb ==============
       
    64 :installonb
       
    65 echo Backing up EPOC.INI.
       
    66 if not exist %EPOCROOT%epoc32\data\epoc.bak copy %EPOCROOT%epoc32\data\epoc.ini %EPOCROOT%epoc32\data\epoc.bak >nul
       
    67 
       
    68 rem For ONB system only add line to epoc.ini so that the system starter will start the emulator in the specified display mode
       
    69 echo. >> %EPOCROOT%epoc32\data\epoc.ini
       
    70 echo ColorDepth Color16M >> %EPOCROOT%epoc32\data\epoc.ini
       
    71 
       
    72 echo === New EPOC.INI -- %EPOCROOT%epoc32\data\epoc.ini ===
       
    73 type %EPOCROOT%epoc32\data\epoc.ini
       
    74 echo ======================================================
       
    75 
       
    76 goto :EOF
       
    77 
       
    78 rem ================ Uninstall ==============
       
    79 
       
    80 :uninstall
       
    81 echo Restoring EPOC.INI.
       
    82 if exist %EPOCROOT%epoc32\data\epoc.bak xcopy /r /y %EPOCROOT%epoc32\data\epoc.bak %EPOCROOT%epoc32\data\epoc.ini >nul
       
    83 goto :EOF
       
    84 
       
    85 
       
    86 
       
    87 
       
    88 rem ================ HELP! =================
       
    89 
       
    90 :help
       
    91 echo Parameters are:
       
    92 echo BACKUP    to backup to U:\wserv
       
    93 echo GETZIP    to get the zip files for the current baseline
       
    94 echo GETLINE   to extract all the components we depend on
       
    95 echo GETSRC {comp}  to get the source of another component
       
    96 rem echo -----------------------------------------------------------------------
       
    97 echo DELBLD    to delete all work files for the current build
       
    98 echo CHECK     to check that all the files in the group are in a .PRJ file
       
    99 echo ARMUDEB   to build unicode debug code for ARM debug
       
   100 goto end
       
   101 
       
   102 :endgroup
       
   103 call cont wserv group
       
   104 :end
       
   105 set _main_ver=
       
   106 set _main_ver_sub=
       
   107 set _prefix=
       
   108 set _prefixN=
       
   109 set _ver=
       
   110 set _ve32tools=
       
   111 set _ve32toolp=
       
   112 set _ve32utl=
       
   113 set _vgditools=
       
   114 set _ve32=
       
   115 set _vf32=
       
   116 set _vgdi=
       
   117 set _vfntstore=
       
   118 set _vfbserv=
       
   119 set _vbitgdi=
       
   120 set _vstore=
       
   121 set _vsdk=
       
   122 set _par1=
       
   123 set _par2=