batson0974 Posted May 14, 2006 Posted May 14, 2006 I was just wanting to know if anyone knows of a way to edit CDShell where it will provide the optionto bootup in Dos text mode or GUI mode. I know this can be done with other self booting programs.Thank you for any response.
HJW Posted May 16, 2006 Posted May 16, 2006 (edited) Yep It is possible, I have used that option also a litte time, but then decided i didnt needed anyfurther because all my pc's supported the CDShell graphical menu..There are 2 ways you could do this, 1. asking the user for txt-mode or graphic-mode2. automatically check if the computer supports graphic-mode 2.a yes= graphical mode2.b no = txt modeAnyway i will do some digging in my archive and will come back to this later-directly from the CDshell.ini downloaded from url below-set AskWhichMode = 1 set ForceModeTxt = 0 START:if $AskWhichMode == 0; then goto HOMEBOOT:clsSET TEXTCURSORX = 0; SET TEXTCURSORY = 23print " Press ENTER to launch boot menu... (you have 10s)"getkey 10 then boot 0x80if $lastKey == key[enter]; then cls; then goto HOMEif $lastKey == key[t]; then cls; then set ForceModeTxt = 1; then goto HOMEif $lastKey == key[T]; then cls; then set ForceModeTxt = 1; then goto HOMEgoto BOOTHOME:if $vga; then if $vesa; then set ModeGraphique = 1; else set ModeGraphique = 0if $ModeGraphique == 1 && $ForceModeTxt == 0; then goto GRPH; else goto TXTGRPH:<<your graphical bootmenu code..>>TXT:<<your txt bootmenu>>You also may wanna have a look here (French )http://severinterrier.free.fr/Forum/viewtopic.php?t=234Dont copy and paste the code directly, i just made this post in my lunchtime Edited May 16, 2006 by 5128
HJW Posted May 16, 2006 Posted May 16, 2006 (edited) # BOOT PARAMETERSset OpstartNotificatie = 1 # Set boot notification "press enter to boot from dvd...."set ForceModeTxt = 0 #Forces Text Mode set BootToujours = 0 # Specifie de booter meme si le support ne semble pas bootable# ScriptSTART:if $OpstartNotificatie == 0; then goto HOMEBOOT:clsSET TEXTCURSORX = 0; SET TEXTCURSORY = 21print " To load AIO MultiBoot by 5128: \n"print "\n"print c "\c06 T for TEXT-MODE....... \n"print c "\c06 ENTER for GRAPHIC-MODE...... \n"getkey 5 boot 0x80if $lastKey == key[enter]; then cls; then goto HOMEif $lastKey == key[t]; then cls; then set ForceModeTxt = 1; then goto HOMEif $lastKey == key[T]; then cls; then set ForceModeTxt = 1; then goto HOMEgoto BOOTHOME:if $vga; then if $vesa; then set ModeGraphique = 1; else set ModeGraphique = 0if $ModeGraphique == 1 && $ForceModeTxt == 0; then goto GRPH; else goto TXT# SCRIPT GRAPHIC MENU...# SCRIPT TEXT-MENU...CDSHELL.ini Edited May 19, 2006 by 5128
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