Help - Search - Members - Calendar
Full Version: Oops, one more - BCDW menu problem
The CD Forum > Bart's PE Builder > UBCD4WIN
PBear
I thought I'd figured this out, but I'm still getting the highlight bar showing over the wrong item in the boot menu when the disc loads. Thought I'd messed it up the first time because I hadn't realised the menu index was zero-based but, even after I adjusted the bcdw_base.ini file to compensate, the menu still comes up with the highlight bar over the second item in the list (when I want the third).

Isn't the MenuDefault value the one I want to set for this option? And shouldn't the third item on the menu be highlighted if I set MenuDefault to 2? (I've set this value to 1, 2 and 3 now and the second item in the menu is still the one that's always highlighted - and will, I assume, activate when the timer counts down.)

Very frustrating. dry.gif

BTW: Here's my UBCD4Win desktop inside a virtual machine running in Vista.

hilander999
Post \BARTPE\BCDW\BCDW.INI

By default the third item is to reboot the pc, which is an internal switch so I do not know for sure if it gets counted in the grand scheme of things.
The menu is zero based, so it should not be that hard to fidure out.

Have you tried setting it to 4?
PBear
QUOTE (hilander999 @ Mar 24 2008, 11:03 PM) *
Post \BARTPE\BCDW\BCDW.INI

Here's the ini file from the output folder:
CODE
[InitOptions]
PasswordMD5Hash
logo=\BCDW\Logo.gif
PasswordMD5Hash=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
logo

[MenuOptions]
Blink = 0
BGColors = 00, 80, 80, 80
BGSymbol = 32
TopText = ~ ; Top line text
------------------ Welcome to the Ultimate Boot CD! ------------------
~
BottomText = ~ ; Bottom line text
------- Please visit the forums at <A href="http://www.ubcd4win.com/forum/">http://www.ubcd4win.com/forum/</A> -------
~
MenuPosition = 02, 05, 76, 13
MenuPositionA = 02, 05, 76, 13
MenuColors = f9, 9f, 1f, f0, 0f, fd, f9
MenuBorderStyle = 5
MenuShadowStyle = 2
MenuTitle = Options
MenuDefault = 1
MenuTimerLabel = Time remaining:
MenuTimer = 30</P> <P>HelpPosition = 02, 19, 76, 05
HelpPositionA = 02, 19, 76, 05
HelpColors = e0, 9f, 1f, e0, 0f, e0
HelpBorderStyle = 5
HelpShadowStyle = 2
HelpTabSkip = 0
HelpTitle = Help</P> <P>AboutPosition = 02, 01, 76, 03
AboutPositionA = 02, 01, 76, 03
AboutColors = e0, 9f, 1f, e0, 0f, e0
AboutBorderStyle = 5
AboutShadowStyle = 2
AboutTabSkip = 0
AboutTitle = About
AboutText = ~ ; Window content
see <A href="http://www.ubcd4win.com/">http://www.ubcd4win.com</A> for latest updates & Downloads
~
ScrollPosition = 79, 00, 01, 01
ScrollPositionA = 79, 00, 01, 01
ScrollColors = 87, 87, 87, 87, 0f, 87
ScrollBorderStyle = 0
ScrollShadowStyle = 0
ScrollTabSkip = 1
ScrollMode = 0
ScrollTitle =
ScrollText = ~ ; Window content
/-\|/-\
\-/|\-/
~

[MenuItems]
:reboot ; REBOOT ; ^ Restart your computer
C:\ ; Boot from Drive C:
\i386\setupldr.bin; Ultimate Boot CD for Windows; ^ Runs a pre-installed Windows environment (WinPE) loaded with tools
: ; ... Additional options ...
;\BCDW\dos4bcdw.ima; Volkov Commander ; ^ Example of DOS programs using; \VC\vc.com
;/isolinux/isolinux.bin; Partition Image (isolinux); ^ Example of isolinux using; /partimg/vmlinuz ramdisk_size=16384 initrd=/partimg/initrd.img root=/dev/ram0 rw
;/isolinux/isolinux.bin; Memtest86 (memdisk) ; ^ Example of memdisk using; /isolinux/memdisk initrd=/Images/memtest.img
;\Images\memtest.img; Memtest86 (BCDW) ; ^ Example of floppy images using
\images\dban.ima; Darik's Boot and Nuke ; ^ DBAN will completely delete the contents of any hard disk it can detect
\IMAGES\goback.ima;GoBack Removal Tool; ^ Allows access to GoBack protected drives
\Images\memtest.iso; Memtest86 ; ^ Tests system memory for errors
\images\ntfs4dos.img; NTFS for DOS ; ^ Accesses NTFS partitions from DOS
/isolinux/isolinux.bin; Offline NT Password & Registry Editor; ^ Petter Nordahl's Offline NT Password & Registry Editor; pnordahl rw vga=1 init=/linuxrc initrd=pnordahl.cgz,scsi.cgz
\boot\bootmgr ;Windows™ Vista Recovery Disk; ^ Launches Windows™ Vista Recovery Disk
\cmdc\setupldr.bin;Windows™ Recovery Console ; ^ Launches the Windows Recovery Console

and here's the ouput of the original bcdw_base.ini file:

CODE
[InitOptions]

[MenuOptions]
Blink = 1 ; Blinking: 0 - disable, 1 - enable
BGColors = 10, 10, 30, 30; Background colors: border, background, top line, bottom line
BGSymbol = 32 ; Decimal code of background filler: 32, 176, 177, 178
TopText = ~ ; Top line text
------------------ Welcome to the Ultimate Boot CD! ------------------
~
BottomText = ~ ; Bottom line text
------- Please visit the forums at <A href="http://www.ubcd4win.com/forum/">http://www.ubcd4win.com/forum/</A> -------
~
MenuPosition = 01, 05, 78, 13; Window Position: X, Y, width, height
MenuPositionA = 01, 05, 78, 13; Window Position: X, Y, width, height
MenuColors = 1b, 30, 1b, 1b, 0f, 1e, 1b; Window colors: border, title on got focus, title on lost focus, window content, current line on got focus, current line on lost focus, unacceptable lines
MenuBorderStyle = 1 ; Border style: 0, 1, 2, 3, 4, 5
MenuShadowStyle = 0 ; Shadow style: 0, 1, 2
MenuTitle = Options ; Window title
MenuDefault = 2 ; Index of default boot image
MenuTimerLabel = Time remaining:; Timer label
MenuTimer = 30 ; Timer delay in seconds</P> <P>HelpPosition = 01, 18, 78, 05; Window position: X, Y, width, height
HelpPositionA = 01, 18, 78, 05; Window position: X, Y, width, height
HelpColors = 1b, 30, 1b, 1b, 0f, 1b; Window colors: border, title on got focus, title on lost focus, window content, current line on got focus, current line on lost focus
HelpBorderStyle = 1 ; Border style: 0, 1, 2, 3, 4, 5
HelpShadowStyle = 0 ; Shadow style: 0, 1, 2
HelpTabSkip = 0 ; Skip window while switching by Tab key: 0 - off, 1 - on
HelpTitle = Help ; Window title</P> <P>AboutPosition = 01, 02, 78, 03; Window position: X, Y, width, height
AboutPositionA = 01, 02, 78, 03; Window position: X, Y, width, height
AboutColors = 1b, 30, 1b, 1b, 0f, 1b; Window colors: border, title on got focus, title on lost focus, window content, current line on got focus, current line on lost focus
AboutBorderStyle = 1 ; Border style: 0, 1, 2, 3, 4, 5
AboutShadowStyle = 0 ; Shadow style: 0, 1, 2
AboutTabSkip = 0 ; Skip window while switching by Tab key: 0 - off, 1 - on
AboutTitle = About ; Window title
AboutText = ~ ; Window content
see <A href="http://www.ubcd4win.com/">http://www.ubcd4win.com</A> for latest updates & Downloads
~
ScrollPosition = 79, 00, 01, 01; Window position: X, Y, width, height
ScrollPositionA = 79, 00, 01, 01; Window position: X, Y, width, height
ScrollColors = 30, 30, 30, 30, 0f, 30; Window colors: border, title on got focus, title on lost focus, window content, current line on got focus, current line on lost focus
ScrollBorderStyle = 0 ; Border style: 0, 1, 2, 3, 4, 5
ScrollShadowStyle = 0 ; Shadow style: 0, 1, 2
ScrollTabSkip = 1 ; Skip window while switching by Tab key: 0 - off, 1 - on
ScrollMode = 0 ; Window mode: 0 - scroll line, 1 - text window (such as "About CD" window)
ScrollTitle =; Window title
ScrollText = ~ ; Window content
/-\|/-\
\-/|\-/
~

[MenuItems]
:reboot ; REBOOT ; ^ Restart your computer
C:\ ; Boot from Drive C:
\i386\setupldr.bin; Ultimate Boot CD for Windows; ^ Runs a pre-installed Windows environment (WinPE) loaded with tools
: ; ... Additional options ...
;\BCDW\dos4bcdw.ima; Volkov Commander ; ^ Example of DOS programs using; \VC\vc.com
;/isolinux/isolinux.bin; Partition Image (isolinux); ^ Example of isolinux using; /partimg/vmlinuz ramdisk_size=16384 initrd=/partimg/initrd.img root=/dev/ram0 rw
;/isolinux/isolinux.bin; Memtest86 (memdisk) ; ^ Example of memdisk using; /isolinux/memdisk initrd=/Images/memtest.img
;\Images\memtest.img; Memtest86 (BCDW) ; ^ Example of floppy images using

You can see the problem: No matter what value I set for the MenuDefault setting, it is being replaced by "1" during post processing (nothing much else seems to get altered, except for the addition of the commands from the other ini files at the bottom). Although I'd prefer the menu items to be in the order I choose, I suppose I can just make sure that the Ultimate Boot CD for Windows entry is always on the second line. sad.gif
rdsok
Make the changes to the MenuDefault setting in the template that you have enabled and not in the bcdw_base.ini since the template file over rides the settings in the bcdw_base.ini .
PBear
QUOTE (rdsok @ Mar 25 2008, 09:26 AM) *
Make the changes to the MenuDefault setting in the template that you have enabled and not in the bcdw_base.ini since the template file over rides the settings in the bcdw_base.ini .

I didn't even notice the .inf files for templates (thought the construction was all in the .ini files). How do I know which template I'm using (where is that choice enabled)?

Edit: Never mind; it's the appearance templates you're talking about, the four choices in the Plugins windows. Get it now.
Rootman
BTW fonz, don't put your MD5hash in your post unless you want someone to know it.
PBear
QUOTE (Rootman @ Mar 25 2008, 12:05 PM) *
BTW fonz, don't put your MD5hash in your post unless you want someone to know it.

Oh, thanks. I didn't even look at that section of the file from the output folder before I posted it (that InitOptions section is blank in the pre-build file or I would have noticed it before), was just doing what hilander999 told me to do.

No biggie, though ... fortunately! (I don't use that password anywhere online.) smile.gif

Edit: What the hell, I wiped it out - for neatness' sake, even though it can be reconstructed from your message.
PBear
QUOTE (rdsok @ Mar 25 2008, 09:26 AM) *
Make the changes to the MenuDefault setting in the template that you have enabled and not in the bcdw_base.ini since the template file over rides the settings in the bcdw_base.ini .

That did it: Working as wanted now. Thanks.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.