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