Re: running proEngineer with wine?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



@echo off



if NOT "%PTC_BMODE%" == "" goto skipifbmode



@echo off



set MC=unset

if "%PROCESSOR%" == "INTEL_64" set MC=ia64_nt

if "%PROCESSOR%" == "INTEL_486" set MC=i486_nt

if "%PROCESSOR%" == "MIPS_R4000" set MC=r4000_nt

if "%PROCESSOR%" == "Alpha_AXP" set MC=alpha_nt

if "%PROCESSOR_ARCHITECTURE%" == "IA64" set MC=ia64_nt

if "%PROCESSOR_ARCHITECTURE%" == "x86" set MC=i486_nt

if "%PROCESSOR_ARCHITECTURE%" == "MIPS" set MC=r4000_nt

if "%PROCESSOR_ARCHITECTURE%" == "ALPHA" set MC=alpha_nt

if not "%winbootdir%" == "" set mc=i486_win95

if not "%MC%" == "unset" goto mc_done

echo ERROR Cannot detect what machine type you have.

echo Please make one of the following settings:

echo.

echo set PROCESSOR=Alpha_AXP     - For Windows NT Alpha based machines.

echo.

echo set PROCESSOR=MIPS_R4000    - For Windows NT MIPS based machines.

echo.

echo set PROCESSOR=INTEL_486     - For Windows NT Intel based machines.

echo.

echo set PROCESSOR=INTEL_64      - For Windows Intel Itanium based machines.

echo.

echo set winbootdir=<boot dir>   - For Windows 95/98 machines.

echo.

exit

:mc_done



if NOT "%mc%" == "i486_win95" goto postenv4096

  if "%env4096%" == "true" goto postenv4096

    set env4096=true

    command.com /E:4096 /C %0 %1 %2 %3 %4 %5 %6 %7 %8 %9

    set env4096=

    goto ptc_end

:postenv4096



set PRO_MACHINE_TYPE=%MC%



if "%PROOBJ_START_DIRECTORY%" == "" set PRO_DIRECTORY=

if NOT "%PRO_DIRECTORY%" == "" "%PRO_DIRECTORY%\bin\%MC%_ptc_setvars" %0 "proe2001-stu" bat

if "%PRO_DIRECTORY%" == "" %MC%_ptc_setvars %0 "proe2001-stu" bat

call ptc_setvars.bat

del  ptc_setvars.bat



if NOT "%mc%" == "i486_win95" set start_cmd=start ""

if "%mc%" == "i486_win95" set start_cmd=start



set PRO_DIRECTORY=%PRODIR%

if NOT "%PTCPATH%" == "" goto ptcpathset



if NOT "%mc%" == "i486_win95" goto not95

set path="%PRO_DIRECTORY%\bin;%path%"

goto pathdone

:not95

set path=%PRO_DIRECTORY%\bin;%path%

:pathdone



set PTCPATH=true

:ptcpathset





REM ptc-cmdtype: proe



if NOT "%INTRALINK_DIR%" == "" goto ptidir

  set INTRALINK_DIR=__INTRALINK_DIR__

:ptidir





if NOT exist "%INTRALINK_DIR%\%MC%\illib\proilws.dll" goto ptcdefpathset

if NOT "%mc%" == "i486_win95" goto not95two

    set path="%INTRALINK_DIR%\%MC%\illib;%path%"

goto pdtwo

:not95two

    set path=%INTRALINK_DIR%\%MC%\illib;%path%

:pdtwo

  goto ptcilibpathset

:ptcdefpathset

if NOT "%mc%" == "i486_win95" goto not95thr

  set path="%path%;%PRO_DIRECTORY%\%MC%\deflib"

goto pdthree

:not95thr

  set path=%path%;%PRO_DIRECTORY%\%MC%\deflib

:pdthree

:ptcilibpathset



if NOT "%mc%" == "i486_win95" goto not95for

  set path="%path%;%PRO_DIRECTORY%\%MC%\lib"

goto pdfour

:not95for

  set path=%path%;%PRO_DIRECTORY%\%MC%\lib

:pdfour



set PRONCPOST_START=propostq



if "%PTCNMSPORT%" == "" set PTCNMSPORT=1239

"%prodir%\%mc%\nms\nmsq.exe" -quiet -ping

if "%NMSD_TIMEOUT%" == "" set NMSD_TIMEOUT=300

if ERRORLEVEL 1 %start_cmd% /min "%PRO_DIRECTORY%\%MC%\nms\nmsd.exe" -noservice -timeout %NMSD_TIMEOUT%



set PRO_COMM_MSG_EXE=%prodir%\%mc%\obj\pro_comm_msg.exe

set PROE_START=%prodir%\bin\proe2001-stu.bat



if "%CDRS_DATA%" == "" set CDRS_DATA=%prodir%

set PRO_IMAGE_CONVERTER=%prodir%\%mc%\obj\convert_image.exe

set PRO_PHOTORENDER=%prodir%\%mc%\obj\PhotoRender.exe



set GALAXYHOME=%prodir%\%mc%



set PROGUIDE_DIRECTORY=%prodir%\uifdoc

set SPG_DIRECTORY=%\prodir%

set PRO_USRMAIN=%prodir%\usrprog\umain\usrmain.c

set PROTABLE_DIRECTORY=%prodir%\protable

set PROTAB=%prodir%\%mc%\obj\protab.exe

set CLHOME=%prodir%\text\pcldata

set CV_ENV_HOME=%prodir%\%mc%\CV110



if NOT "%LM_LICENSE_FILE%" == "" set LM_LICENSE_FILE=;%LM_LICENSE_FILE%

if "%LM_LICENSE_FILE%" == "" set LM_LICENSE_FILE=

set PROE_FEATURE_NAME=PROE_NONE



if exist "%PRO_DIRECTORY%\install\nt\pro_mech_loc.bat" set PRO_MECH_COMMAND=%0

if exist "%PRO_DIRECTORY%\install\nt\pro_mech_loc.bat" call "%PRO_DIRECTORY%\install\nt\pro_mech_loc.bat"

if NOT exist "%PRO_DIRECTORY%\install\nt\pro_mech_loc.bat" goto nomechloc

	if exist "%MECH_LP%\install\nt\pro_mech_env.bat" call "%MECH_LP%\install\nt\pro_mech_env.bat"

:nomechloc



:skipifbmode



set slashb=

if %MC% == i486_nt    set slashb=/b

if %MC% == r4000_nt   set slashb=/b

if %MC% == alpha_nt   set slashb=/b



set slashw=

if "%1" == "pro_wait" set slashw=/w

if "%2" == "pro_wait" set slashw=/w

if "%3" == "pro_wait" set slashw=/w

if "%4" == "pro_wait" set slashw=/w

if "%5" == "pro_wait" set slashw=/w

if "%6" == "pro_wait" set slashw=/w



if "%1" == "-v" set slashw=/w

if "%2" == "-v" set slashw=/w

if "%3" == "-v" set slashw=/w

if "%4" == "-v" set slashw=/w

if "%5" == "-v" set slashw=/w

if "%6" == "-v" set slashw=/w



if exist "%PRO_DIRECTORY%\ptc_startup.bat" call "%PRO_DIRECTORY%\ptc_startup.bat"

if exist "%HOMEDRIVE%\%HOMEPATH%\ptc_startup.bat" call "%HOMEDRIVE%\%HOMEPATH%\ptc_startup.bat"

if exist ".\ptc_startup.bat" call ".\ptc_startup.bat"



REM %start_cmd% "%PRO_DIRECTORY%\%MC%\obj\portmap.exe" -noservice

%start_cmd% %slashb% %slashw% "%PRO_DIRECTORY%\%MC%\obj\xtop" %1 %2 %3 %4 %5 %6

:ptc_end







[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux