jenanay Posted October 24, 2005 Share Posted October 24, 2005 I followed flyakites instructions for changing the cd shell boot image. My pic is a bmp 24 bit 640x480. I used the command and it gives me this errror.Invalid Parameter - -oany ideas?Thanks,Jen Link to comment Share on other sites More sharing options...
amd64lover Posted October 24, 2005 Share Posted October 24, 2005 did you include all the parameters? here is what the guide contains... double-check that you included the filename and '-bmp2csi'convert -bmp2csi -o splash.csi logo.bmpParameters ExplainedWhat this does is run the convert.exe program with the following options:-bmp2csiSays we are converting a bmp file to a csi file.-o splash.csiSays to call the new file splash.csilogo.bmpName of our 640x480 bmp file to convert. Link to comment Share on other sites More sharing options...
jenanay Posted October 24, 2005 Author Share Posted October 24, 2005 Ok its working now, i did the whole thing over again, and it worked. Now i am having problem with date and time showing up right. I am using this piece of code in my cdshell. boot:clsprint "\n"print "Press Enter to boot from DVD... \n"getkey 5 boot 0x80if $lastKey == key[enter]; then goto time# When no key found...goto boot# Function to display time of daytime:set hour = $timeHourset ampm = "am"if $timeHour > 12; then set hour = $timeHour - 12if $timeHour > 12; then set ampm = "pm"set time = "$hour:$timeMinute$ampm"# Function to display datedate:set month = "n/a"if $dateMonth == 1; then set month = "Jan."if $dateMonth == 2; then set month = "Feb."if $dateMonth == 3; then set month = "Mar."if $dateMonth == 4; then set month = "Apr."if $dateMonth == 5; then set month = "May."if $dateMonth == 6; then set month = "Jun."if $dateMonth == 7; then set month = "Jul."if $dateMonth == 8; then set month = "Aug."if $dateMonth == 9; then set month = "Sep."if $dateMonth == 10; then set month = "Oct."if $dateMonth == 11; then set month = "Nov."if $dateMonth == 12; then set month = "Dec."set date = "$month$dateDay,$dateYear"the date seems to work but only shows 23, 2005the time looks like this in the right corner 10:$timeMinutepm$month Link to comment Share on other sites More sharing options...
CptMurphy Posted October 24, 2005 Share Posted October 24, 2005 (edited) Ya, I had this prob. The issue resides in the set time = "$hour:$timeMinute$ampm" area. The prob is because the system doesn't know that the $ampm is a new command so it doesn't use it. What you should do is either put a space between the $timeMinute$ampm so it looks like $timeMinute $ampm, or use a non-printing character like a /. Mine looks like this: set time = "$hour:$timeMinute\$ampm"Same goes for the set date = "$month $dateDay,$dateYear" area. Finally, in the area that says:print c "\n\cXXÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ<\c0B$time $date\cXX>ÄÄ \n\n"I don't remember if it has a space where it has the $time $date thing but if it doesn't, add one. This'll fix the issue. Now, you might have a little dash above the title of your boot thing. If you do have one, add an extra /n and the end of the line which prints out the time and date. Or just copy what I got above. This'll clear it up. Post what happens dude.BTW, the above code will look wierd, just replace what looks like a bunch of numbers to what you got in ur cdshell file. Edited October 24, 2005 by m3n70r Link to comment Share on other sites More sharing options...
jenanay Posted October 24, 2005 Author Share Posted October 24, 2005 Thank you!! Works fine now, thats all it was was the spaces. Thank God for this forum!Ok I have another question (Im full of them hehe)I have got XP, Server 2003, Adv Server 2000. and ERD Commander added to my cd as of now and seems to be working just fine. But now I am adding Win98 SE and I guess Im lost. Im to this point in flyakites instructions but I dont really understand it. Here is what he says.Alrighty then. Pick a file at the root of your CD. I chose WIN51 as my CD also has Windows XP on it. If you had a CD.TXT file you could use that. Or you could create your own, so that each disk is unique like AIO1.txt if you have different version of the disk.Click over to the text side of the window. just after the %c: type \WIN51 and substitute WIN51 with your file, and be sure to include the file extension if there is one. Win51 doesn't have one, so I didn't. Also make sure that it's in ALL CAPS. I don't know if it really matters, but better safe then sorryI dont really understand what file I am supposed to be using here at all.Help!?Thanks again,Jen Link to comment Share on other sites More sharing options...
amd64lover Posted October 24, 2005 Share Posted October 24, 2005 yeah, thats kinda confusing... well if you want to add windows 98, download the boot image file (98SE.zip) from his guide and edit the autoexec.bat file as follows (just delete everything already there and copy/paste this info in there)... @ECHO OFFset EXPAND=YESSET DIRCMD=/O:Nclsset temp=c:\set tmp=c:\path=a:\IF "%config%"=="NOCD" GOTO QUITLH MSCDEX.EXE /D:oemcd001 /L:Decho.IF "%config%"=="SETUP_CD" goto AUTOSETUPGOTO QUIT:AUTOSETUPset CDROM=FOO23FINDCD.EXEif "%CDROM%"=="FOO23" goto NOCDROMpath=a:\;%CDROM%\%CDROM%cd \WIN98\WIN98echo.OEMSETUP.EXE /K "/IE /NF"goto QUIT:NOCDROMecho.echo The Windows 98 Setup files were not found.echo.:QUITsave it. and download the findcd.zip file attached to this post and inject both the edited autoexec.bat file and the findcd.exe file back into the 98SE.IMA file (you will need to download winimage to do this)... Put the 98SE.IMA file in the root of your directory and also create a folder called WIN98 (create it in the root). copy the entire windows 98 cd to this folder.Lastly, edit the cdshell.ini file to show windows 98 (something like this ... if $lastKey == key[1]; then memdisk /98SE.IMA)Let me know how that works.findcd.zip Link to comment Share on other sites More sharing options...
CptMurphy Posted October 24, 2005 Share Posted October 24, 2005 Well, it's pretty self-explanatory. You need to download the FINDCD.EXE file from his site. Open the file up in a Hex editor. From there it tells you to find where it says %c:\WIN98\SETUP.EXE. Click on the \ in %c:\ and this'll highlight some HEX lettering. Click on the hex numbers and start typing in zeroes. When you're done the part where there was %c:\WIN98\SETUP.EXE should now look like "%c:..............." w/o the quotes. Now, to simplify things, just put type in \WIN51 so it looks like %c:\WIN51 And that's it. Link to comment Share on other sites More sharing options...
jenanay Posted October 24, 2005 Author Share Posted October 24, 2005 Well I did what you said. I havent had time to test it as I am at school now but I will post my results tonite. Thanks you are very helpful.Jen Link to comment Share on other sites More sharing options...
chriskoivu Posted October 29, 2005 Share Posted October 29, 2005 did you include all the parameters? here is what the guide contains... double-check that you included the filename and '-bmp2csi'convert -bmp2csi -o splash.csi logo.bmpParameters ExplainedWhat this does is run the convert.exe program with the following options:-bmp2csiSays we are converting a bmp file to a csi file.-o splash.csiSays to call the new file splash.csilogo.bmpName of our 640x480 bmp file to convert.Yeah, it doesnt work, I typed everything verbatim in the guide... Link to comment Share on other sites More sharing options...
amd64lover Posted October 29, 2005 Share Posted October 29, 2005 was it a 24-bit 640 x 480 BMP file you tried to convert? please explain more on what went wrong... 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