ripken204 Posted October 15, 2005 Share Posted October 15, 2005 whenever i run wpi it will change my screen's resolution to 1280x768 no matter what. in options i told it to be 1024x800. well, wpi is now 1024x800 but it still changes the screens resolution to 1280x768. Link to comment Share on other sites More sharing options...
ripken204 Posted October 15, 2005 Author Share Posted October 15, 2005 fixed it, had to edit the wpi.cmd file. VideoChanger.exe is what was doing it. Link to comment Share on other sites More sharing options...
Krim Posted October 21, 2005 Share Posted October 21, 2005 Is there any way for WPI to use the resolution that is currently being used by the computer ?Ive taken out the videochanger line in the wpi.cmd but it still always defaults to 1024x768 even on computers that are 1280x1024. Annoying having to change the resolution back and organise all the icons properly. Link to comment Share on other sites More sharing options...
possy_99 Posted October 21, 2005 Share Posted October 21, 2005 have you tried going into the options and changing the resolution option to 'By System (default)' ? Link to comment Share on other sites More sharing options...
Krim Posted October 22, 2005 Share Posted October 22, 2005 hey,yep its set to 800x600 but it always defaults to 1024x768.So on a screen with 1024x768 resolution it doesnt run in a window mode.If i use WPI on a screen that is 1280x1024 is changes it to 1024x768.weird huh... Link to comment Share on other sites More sharing options...
Kelsenellenelvian Posted October 22, 2005 Share Posted October 22, 2005 Can i see the contents of your wpi.cmd file?? Open it with notepad. Link to comment Share on other sites More sharing options...
Krim Posted October 22, 2005 Share Posted October 22, 2005 @echo off&setlocal enableextensionsREM put the sharename and the application directory into variablesset share=\\CFOS\prai_software$set appdir=ECHO Server software share connecting to is: %share%\%appdir%REM detect the first free drive letter and set it to drvletfor %%a in (c d e f g h i j k l m n o p q r s t u v w x y z) do (fsutil fsinfo drivetype %%a:|find "No such Root Directory">nul 2>&1&&call :check %%a:)ECHO Mapped network drive letter is: %drvlet%ECHO Mapped application directory is: %Appdir%REM Connect the softwareshare to drvletnet use %drvlet% %share%REM Write the app-path to the regsitryREG ADD HKCU\SOFTWARE\WPI /v SWPATH /t REG_EXPAND_SZ /d "%drvlet%" /fREM Determine the WPI startup path.set wpipath=%~dp0REM Font installation - the smooth and customizable way.start /wait %wpipath%\Tools\fonts\fontinstaller.exeREM Force resolution to needed size for wpi interface.REM start %wpipath%\Tools\VideoChanger.exe 1024x768x32@85 -qREM Special registry tweak needed.regedit /s "%wpipath%\common\wpi.reg"REM Make WPI directory the current directory.for /f "delims=: tokens=1" %%i in ("%wpipath%") do %%i:cd "%wpipath%"ECHO Successfully connected! ECHO Starting WPI please wait ...REM Start WPI and wait for its endstart /wait WPI.htaREM Display completed messageecho Display WPI completed messagenotepad.exe "%drvlet%\WPI_4.3.5\Misc\WPI_Completed.txt"REM Delete the Key from the registryREG DELETE HKCU\Software\WPI /fREM Disconnect the network driveNET USE /DELETE %drvlet%endlocal&goto :eof:checkif not defined drvlet set drvlet=%1&goto :eofAs you can see ive commented out the video changer line. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now