Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

Screen Resolution during GUI-setup [SOLVED]

- - - - -

  • Please log in to reply
1 reply to this topic

#1
fred_gaou

fred_gaou

    Newbie

  • Member
  • 13 posts
  • Joined 17-January 07
Hi,

I use nLite to build my XP SP3 and I test my setup with VirtualBox (Sun).

I have tested 1365VidChng.exe (I renamed it VidChng.exe in my batch). I made an add-on that run at T13.

Here is my batch:
@echo off
				
				CD /D %systemdrive%\temp\ScrRes
				: Virtual Machine Resolutions, No Driver
				VidChng.exe 800X600X32@1 -q
				VidChng.exe 1024X768X32@1 -q
				
				: Laptop Resolution
				VidChng.exe 1024X768X32@60 -q
				VidChng.exe 1200X800X32@60 -q
				VidChng.exe 1400X1050X32@60 -q
				VidChng.exe 1600X1200X32@60 -q
				
				: Desktop resolutions
				VidChng.exe 800X600X32@75 -q
				VidChng.exe 1024X768X32@75 -q
				VidChng.exe 1200X900X32@75 -q
				VidChng.exe 1600X1200X32@75 -q
				
				EXIT

It does the work ! :yes:

Before batch, the resolution is 640x480
Posted Image



After batch, the resolution is 1024x768:
Posted Image

But with this result... :(

The all screen enlarged to 1024x768 but you can notice that the part of the 640x480 previous screen didn't enlarge but moved to upper left corner.

Then, display is normal during OOBE process and I don't have to confirm screen resolution :thumbup

I don't slipstream Video Driver or other drivers.

Somebody have a solution to enlarge the setup screen since VituaBox and most of system support at less 800x600? Set 800x600 in nLite options don't work for me. I think nLite use the winnt.sif tweak

Or this is happen only with VirtualBox?

Edited by fred_gaou, 02 April 2009 - 06:07 AM.

- XP SP3
- nLite 1.4.9.1
- FF 3.5.* ^_^
- IE8 -_-


How to remove advertisement from MSFN

#2
fred_gaou

fred_gaou

    Newbie

  • Member
  • 13 posts
  • Joined 17-January 07
I solved my problem using an add-on (updated download link) that patches hivesys.inf adding these lines:

HKLM,"SYSTEM\CurrentControlSet\Services\VgaSave\Device0","InstalledDisplayDrivers",0x00010000,"vga", "framebuf", "vga256", "vga64k"
   HKLM,"SYSTEM\CurrentControlSet\Services\VgaSave\Device0","VgaCompatible",0x00010001,1
   HKLM,"SYSTEM\CurrentControlSet\Services\VgaSave\Device0","InstalledDisplayDrivers",0x00010000,"vga", "framebuf", "vga256", "vga64k"
   HKLM,"SYSTEM\CurrentControlSet\Services\VgaSave\Device0","VgaCompatible",0x00010001,1
   HKLM,"SYSTEM\CurrentControlSet\Services\VgaSave\Device0","DefaultSettings.BitsPerPel",0x00010001,32
   HKLM,"SYSTEM\CurrentControlSet\Services\VgaSave\Device0","DefaultSettings.XResolution",0x00010001,1024
   HKLM,"SYSTEM\CurrentControlSet\Services\VgaSave\Device0","DefaultSettings.YResolution",0x00010001,768
   HKLM,"SYSTEM\CurrentControlSet\Control\Video\{23A77BF7-ED96-40EC-AF06-9B1F4867732A}\Video","Service",0x00000000,"VgaSave"
   HKLM,"SYSTEM\CurrentControlSet\Control\Video\{23A77BF7-ED96-40EC-AF06-9B1F4867732A}\0000","InstalledDisplayDrivers",0x00010000,"vga", "framebuf", "vga256", "vga64k"
   HKLM,"SYSTEM\CurrentControlSet\Control\Video\{23A77BF7-ED96-40EC-AF06-9B1F4867732A}\0000","VgaCompatible",0x00010001,1
   HKLM,"SYSTEM\CurrentControlSet\Control\Video\{23A77BF7-ED96-40EC-AF06-9B1F4867732A}\Video","Service",0x00000000,"VgaSave"
   HKLM,"SYSTEM\CurrentControlSet\Control\Video\{23A77BF7-ED96-40EC-AF06-9B1F4867732A}\0000","InstalledDisplayDrivers",0x00010000,"vga", "framebuf", "vga256", "vga64k"
   HKLM,"SYSTEM\CurrentControlSet\Control\Video\{23A77BF7-ED96-40EC-AF06-9B1F4867732A}\0000","VgaCompatible",0x00010001,1
   HKLM,"SYSTEM\CurrentControlSet\Control\Video\{23A77BF7-ED96-40EC-AF06-9B1F4867732A}\0000","DefaultSettings.BitsPerPel",0x00010001,32
   HKLM,"SYSTEM\CurrentControlSet\Control\Video\{23A77BF7-ED96-40EC-AF06-9B1F4867732A}\0000","DefaultSettings.XResolution",0x00010001,1024
   HKLM,"SYSTEM\CurrentControlSet\Control\Video\{23A77BF7-ED96-40EC-AF06-9B1F4867732A}\0000","DefaultSettings.YResolution",0x00010001,768

You can do it manually adding these lines in hivesys.inf just after [AddReg] entrie:

HKLM,"SYSTEM\CurrentControlSet\Services\VgaSave\Device0","DefaultSettings.BitsPerPel",0x00010001,32
   HKLM,"SYSTEM\CurrentControlSet\Services\VgaSave\Device0","DefaultSettings.XResolution",0x00010001,1024
   HKLM,"SYSTEM\CurrentControlSet\Services\VgaSave\Device0","DefaultSettings.YResolution",0x00010001,768
   HKLM,"SYSTEM\CurrentControlSet\Control\Video\<i class="spip">23A77BF7-ED96-40EC-AF06-9B1F4867732A</i>\0000","DefaultSettings.BitsPerPel",0x00010001,32
   HKLM,"SYSTEM\CurrentControlSet\Control\Video\<i class="spip">23A77BF7-ED96-40EC-AF06-9B1F4867732A</i>\0000","DefaultSettings.XResolution",0x00010001,1024
   HKLM,"SYSTEM\CurrentControlSet\Control\Video\<i class="spip">23A77BF7-ED96-40EC-AF06-9B1F4867732A</i>\0000","DefaultSettings.YResolution",0x00010001,768

So, GUI-setup is now set to 1024x768 (you can modify this values).
I use 1365VidChng.exe later in GuiRunOnce so that it sets the best display resolution for each computer.

:thumbup

Edited by fred_gaou, 02 April 2009 - 06:05 AM.

- XP SP3
- nLite 1.4.9.1
- FF 3.5.* ^_^
- IE8 -_-




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users