Jump to content

resolution is messed up


Recommended Posts


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

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

@echo off&setlocal enableextensions

REM put the sharename and the application directory into variables
set 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 drvlet
for %%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 drvlet
net use %drvlet% %share%

REM Write the app-path to the regsitry
REG ADD HKCU\SOFTWARE\WPI /v SWPATH /t REG_EXPAND_SZ /d "%drvlet%" /f

REM Determine the WPI startup path.
set wpipath=%~dp0

REM Font installation - the smooth and customizable way.
start /wait %wpipath%\Tools\fonts\fontinstaller.exe

REM Force resolution to needed size for wpi interface.
REM start %wpipath%\Tools\VideoChanger.exe 1024x768x32@85 -q

REM 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 end
start /wait WPI.hta

REM Display completed message
echo Display WPI completed message
notepad.exe "%drvlet%\WPI_4.3.5\Misc\WPI_Completed.txt"

REM Delete the Key from the registry
REG DELETE HKCU\Software\WPI /f

REM Disconnect the network drive
NET USE /DELETE %drvlet%

endlocal&goto :eof
:check
if not defined drvlet set drvlet=%1&goto :eof

As you can see ive commented out the video changer line.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...