running proEngineer with wine?
-
- Level 1
- Posts: 8
- Joined: Tue Oct 26, 2010 5:51 pm
running proEngineer with wine?
Hi guys. My name is Chris, I am a complete newbie to Linux and Wine. I searched around but really do not know yet what i am looking for so it makes the search tool not completely useful.
I was able to get proEngineer to install from the cd rom using a technique found on a post someone had regarding Diablo. I had to go through a terminal window and make some calls in which it finally went through. Now my issue is that when i attempt to open the program, I see a terminal window pop up for a second that displays a message then it goes away and nothing happens. I have been able to snap a screen shot and if all goes well it will be attached.
ps here is what is listed in the exe file properties under command:
env WINEPREFIX="/home/chris/.wine" wine C:\\windows\\command\\start.exe \"C:\\proe2001\\bin\\proe2001-stu.bat\"
maybe someone could lead me in the right direction as i am still a newb.
Thanks for your time
[/img]
I was able to get proEngineer to install from the cd rom using a technique found on a post someone had regarding Diablo. I had to go through a terminal window and make some calls in which it finally went through. Now my issue is that when i attempt to open the program, I see a terminal window pop up for a second that displays a message then it goes away and nothing happens. I have been able to snap a screen shot and if all goes well it will be attached.
ps here is what is listed in the exe file properties under command:
env WINEPREFIX="/home/chris/.wine" wine C:\\windows\\command\\start.exe \"C:\\proe2001\\bin\\proe2001-stu.bat\"
maybe someone could lead me in the right direction as i am still a newb.
Thanks for your time
[/img]
Re: running proEngineer with wine?
Try using this command instead:Notion D&D wrote:env WINEPREFIX="/home/chris/.wine" wine C:\\windows\\command\\start.exe
Code: Select all
wine cmd /c 'C:\proe2001\bin\proe2001-stu.bat'
-
- Level 1
- Posts: 8
- Joined: Tue Oct 26, 2010 5:51 pm
this is what i get when i type as directed. sorry for my virginity with this. I am still new to linux and wine. good with other sorts of programing though.
i am running Ubuntu 10.10 64 bit for what its worth. sole installation on 1 partition. wine version 1.2.1.
To me its almost like the batch file is trying to start something or call another batch or something thats not there. or maybe im speculating in saying that maybe the batch files need to be modified to use wine in their calls to start other files... just thinking out loud. if anyone wants to open the batch file and take a look around let me know i will email it to you as i dont think its ethical to post... unless an admin says its ok.
thanks for your help.
-
- Level 1
- Posts: 8
- Joined: Tue Oct 26, 2010 5:51 pm
I thought I had the latest version. Are there different versions for 64bit? Also are you saying to log the terminal output with the command shown in the FAQ? Because if so I was not successfl in getting it to work. When I tried to run cmd wine.... With the subtext for the log file it just skipped to a new prompt line with no output just a blinking cursor.
Sorry for the newb questions just trying to figure this out
Sorry for the newb questions just trying to figure this out
No, you don't have latest. I told you what the latest is. Read instructions for your distro: http://www.winehq.org/downloadNotion D&D wrote:I thought I had the latest version.
No, copying and pasting plain text would be enough. I know that you can't redirect output from Wine's cmd into a file.Notion D&D wrote:Also are you saying to log the terminal output with the command shown in the FAQ?
-
- Level 1
- Posts: 8
- Joined: Tue Oct 26, 2010 5:51 pm
the startup batch file
@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
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
-
- Level 1
- Posts: 8
- Joined: Tue Oct 26, 2010 5:51 pm
I don't see why you're trying to run it under wine when pro-engineer works natively in linux.
how-to install pro-engineer in linux (2006 article)
how-to install pro-engineer in linux (2006 article)
Probably because the company discontinued its Linux version in 2006.lite1979 wrote:I don't see why you're trying to run it under wine when pro-engineer works natively in linux.
http://www.mcadcentral.com/proe/forum/f ... PN=7&TPN=1
Re: the startup batch file
Check what the "xtop" program is (if it's a batch file or executable) and rename it accordingly (to .bat or .exe).Notion D&D wrote:%start_cmd% %slashb% %slashw% "%PRO_DIRECTORY%\%MC%\obj\xtop" %1 %2 %3 %4 %5 %6
Oh, bummer! Thanks for the info.dimesio wrote: Probably because the company discontinued its Linux version in 2006.
http://www.mcadcentral.com/proe/forum/f ... PN=7&TPN=1
-
- Level 1
- Posts: 8
- Joined: Tue Oct 26, 2010 5:51 pm
dimesio wrote:Probably because the company discontinued its Linux version in 2006.lite1979 wrote:I don't see why you're trying to run it under wine when pro-engineer works natively in linux.
http://www.mcadcentral.com/proe/forum/f ... PN=7&TPN=1
Only if it's the Linux version. This is an old copy (2001) of the student version which is only offered for windows. I am building this Linux machine to use in the garage. I thought it would be handy for some personal projects that I could just work right there. I figured that pre wildfire version worked on my old laptop that was no power monster back when I was in college, and that this Linux machine is plenty capable... Hardware wise.
If anyone else has something to add please feel free. Thanks vitamin for your help so far. I haven't had a chance to try the last post. Ill let you know how I make out.
-
- Level 1
- Posts: 8
- Joined: Tue Oct 26, 2010 5:51 pm
Re: the startup batch file
the file is a .exe. rename it the same thing or change to bat?vitamin wrote:Check what the "xtop" program is (if it's a batch file or executable) and rename it accordingly (to .bat or .exe).Notion D&D wrote:%start_cmd% %slashb% %slashw% "%PRO_DIRECTORY%\%MC%\obj\xtop" %1 %2 %3 %4 %5 %6
Re: the startup batch file
If it's a binary .exe file then that's what you need to rename it to (or copy to xtop.exe). .bat files are plain text files.Notion D&D wrote:the file is a .exe. rename it the same thing or change to bat?
-
- Level 1
- Posts: 8
- Joined: Tue Oct 26, 2010 5:51 pm
-
- Newbie
- Posts: 1
- Joined: Thu Nov 18, 2010 1:27 am
Comments
Hopefully this information can help...
To launch proe, you don't need to execute that *.bat.
Yes, that bat helps build enviornment, however when trouble shooting work from a minimalist perspective. Start with a simple bat that calls for <loadpoint>/bin/proe1.exe and <loadpoint>/bin/proe1.psf - they need to be called in the same line within the bat file.
example
next, you'll want to ensure your *psf is setup correctly. Look within the file and locate:
You'll want to set this to the path of either your license server or your node locked license. If to the server, remember to add <severname<@port#
How can you tell if ProE is failing to launch due to not properly reading your PSF? If nothing happens, look at the resources. On a windows xp 32 bit machin, xtop resources will reach about 72k and then quit.
I hope this helps a little more.
To launch proe, you don't need to execute that *.bat.
Yes, that bat helps build enviornment, however when trouble shooting work from a minimalist perspective. Start with a simple bat that calls for <loadpoint>/bin/proe1.exe and <loadpoint>/bin/proe1.psf - they need to be called in the same line within the bat file.
example
Code: Select all
@echo off
"E:\Applications\proeWildfire 4.0\bin\proe.exe" "E:\Applications\proeWildfire 4.0\bin\proe1.psf" %*
Code: Select all
ENV=PTC_D_LICENSE_FILE-=
How can you tell if ProE is failing to launch due to not properly reading your PSF? If nothing happens, look at the resources. On a windows xp 32 bit machin, xtop resources will reach about 72k and then quit.
I hope this helps a little more.