无忧启动论坛

 找回密码
 注册
搜索
系统gho:最纯净好用系统下载站投放广告、加入VIP会员,请联系 微信:wuyouceo
查看: 2247|回复: 2
打印 上一主题 下一主题

给 bradyzhu Beta2.0 文字显示问题

[复制链接]
跳转到指定楼层
#
发表于 2002-12-18 22:40:41 | 只看该作者 回帖奖励 |正序浏览 |阅读模式
我制作了一个启动目录,在11行和22行文字显示有问题。
下面是我的脚本文件,没有采用图片菜单,图片和文字混合使用,在11行 [Windows] 最后的 显示跳行。22行那几个 ]]] 显示不完整,请 bradyzhu 看看。
===========================================
:entrypoint
delay 100ms
;显示启动画面,等待5秒。
:nologo
;设置背景模式
transparent on
;清屏
cls 0
;设置背景
backgroundimage pixel backlogo.bmp 0 0
setresolution 640 480 32
;设置调色板
;黑色
setdac   0 0x00 0x00 0x00
;红色
setdac 100 0xff 0x51 0x52
;深蓝
setdac 101 0x00 0x00 0xad
;蓝
setdac 103 0x00 0x00 0x66
setdac 255 0xff 0xff 0xff
forecolor 255
backcolor   0
;进度条显示参数
timerpos 20 27
timercolor 255 101
setdefault mainkey1
:start
cls 255
;绘制背景
repaint
drawimage pixel LOGO1.bmp 495 338
;设置进度条
processparam pixel 100 101 310 430 570 440
colorblock pixel 101 0 92 280 480
colorblock pixel 103 0 132 280 134
colorblock pixel 103 0 164 280 166
colorblock pixel 103 0 196 280 198
colorblock pixel 103 0 228 280 230
colorblock pixel 103 0 260 280 262
colorblock pixel 103 0 292 280 294
;显示主菜单
colorblock pixel 103 5 320 275 380
drawtext 2 21 255  "从第一硬盘启动[ESC] 退出[Q]]]]]
drawtext 2 22 255  "磁盘实用工具[B] 重起电脑[R]]]]]
drawtext 1 7 255   "[1] 安装Windows 2000 专业版
drawtext 1 9 255   "[2] 安装Windows 2000 专业版 SP2
drawtext 1 11 255  "[3] 安装Windows 2000 专业版 SP3
drawtext 1 13 255  "[4] 安装Windows 2000 服务器版
drawtext 1 15 255  "[5] 安装Windows 2000 服务器版 SP2
drawtext 1 17 255  "[6] 安装Windows 2000 服务器版 SP3
drawtext 1 27 255 "  等待60秒    还剩    秒
goto ~
:mainkey
onkey b goto wuyou
onkey r reboot
onkey q goto prompt
onkey B goto wuyou
onkey R reboot
onkey Q goto prompt
onkey esc boot 80
onkey 1 run W2PFSECT.DAT
onkey 2 run W2PASECT.DAT
onkey 3 run W2P3SECT.DAT
onkey 4 run A2SFSECT.DAT
onkey 5 run A2SASECT.DAT
onkey 6 run W2S3SECT.DAT
;检测到的按键不是所需的,继续等待
goto ~
;
:mainkey1
colorblock pixel 255 0 103 280 131
drawtext 1 7 101   "[1] 安装Windows 2000 专业版
;drawtext 1 11 255  "[3] 安装Windows 2000 专业版 SP3
drawtext 1 13 255  "[4] 安装Windows 2000 服务器版
drawtext 1 15 255  "[5] 安装Windows 2000 服务器版 SP2
colorblock pixel 101 0 135 280 163
drawtext 1 9 255   "[2] 安装Windows 2000 专业版 SP2
colorblock pixel 101 0 263 280 291
drawtext 1 17 255  "[6] 安装Windows 2000 服务器版 SP3
colorblock 255 39 16 79 20
drawtext 40 16 1   "安装Windows 2000 专业版
drawtext 40 18 100   "Enter 键开始安装, 等待20秒自动启动硬盘
getkey showtime showprocess 20 esc
onkey entr setkey 1
onkey up goto mainkey6
onkey down goto mainkey2
setdefault mainkey1
goto mainkey
;
:mainkey2
colorblock pixel 101 0 103 280 131
drawtext 1 7 255   "[1] 安装Windows 2000 专业版
colorblock pixel 255 0 135 280 163
drawtext 1 9 101   "[2] 安装Windows 2000 专业版 SP2
colorblock pixel 101 0 167 280 195
drawtext 1 11 255  "[3] 安装Windows 2000 专业版 SP3
colorblock 255 39 16 79 20
drawtext 40 16 1   "安装Windows 2000 专业版 集成SP2
drawtext 40 18 100   "Enter 键开始安装, 等待20秒自动启动硬盘
getkey showtime showprocess 20 esc
onkey entr setkey 2
onkey up goto mainkey1
onkey down goto mainkey3
setdefault mainkey2
goto mainkey
;
:mainkey3
colorblock pixel 101 0 135 280 163
drawtext 1 9 255   "[2] 安装Windows 2000 专业版 SP2
colorblock pixel 255 0 167 280 195
drawtext 1 11 101  "[3] 安装Windows 2000 专业版 SP3
colorblock pixel 101 0 199 280 227
drawtext 1 13 255  "[4] 安装Windows 2000 服务器版
colorblock 255 39 16 79 20
drawtext 40 16 1   "安装Windows 2000 专业版集成SP3
drawtext 40 18 100   "Enter 键开始安装, 等待20秒自动启动硬盘
getkey showtime showprocess 20 esc
onkey entr setkey 3
onkey up goto mainkey2
onkey down goto mainkey4
setdefault mainkey3
goto mainkey
;
:mainkey4
colorblock pixel 101 0 167 280 195
drawtext 1 11 255  "[3] 安装Windows 2000 专业版 SP3
colorblock pixel 255 0 199 280 227
drawtext 1 13 101  "[4] 安装Windows 2000 服务器版
colorblock pixel 101 0 231 280 259
drawtext 1 15 255  "[5] 安装Windows 2000 服务器版 SP2
colorblock 255 39 16 79 20
drawtext 40 16 1   "安装Windows 2000 服务器版
;drawtext 40 17 1   "需要输入联想的序列号
drawtext 40 18 100   "Enter 键开始安装, 等待20秒自动启动硬盘
getkey showtime showprocess 20 esc
onkey entr setkey 4
onkey up goto mainkey3
onkey down goto mainkey5
setdefault mainkey4
goto mainkey
;
:mainkey5
colorblock pixel 101 0 199 280 227
drawtext 1 13 255  "[4] 安装Windows 2000 服务器版
colorblock pixel 255 0 231 280 259
drawtext 1 15 101  "[5] 安装Windows 2000 服务器版 SP2
colorblock pixel 101 0 263 280 291
drawtext 1 17 255  "[6] 安装Windows 2000 服务器版 SP3
colorblock 255 39 16 79 20
drawtext 40 16 1   "安装Windows 2000 服务器版集成 SP2
drawtext 40 18 100   "Enter 键开始安装, 等待20秒自动启动硬盘
getkey showtime showprocess 20 esc
onkey entr setkey 5
onkey up goto mainkey4
onkey down goto mainkey6
setdefault mainkey5
goto mainkey
;
:mainkey6
colorblock pixel 101 0 231 280 259
drawtext 1 15 255  "[5] 安装Windows 2000 服务器版 SP2
colorblock pixel 255 0 263 280 291
drawtext 1 17 101  "[6] 安装Windows 2000 服务器版 SP3
colorblock pixel 101 0 103 280 131
drawtext 1 7 255   "[1] 安装Windows 2000 专业版
colorblock 255 39 16 79 20
drawtext 40 16 1   "安装Windows 2000 服务器版集成SP3
drawtext 40 18 100   "Enter 键开始安装, 等待20秒自动启动硬盘
getkey showtime showprocess 20 esc
onkey entr setkey 6
onkey up goto mainkey5
onkey down goto mainkey1
setdefault mainkey6
goto mainkey
;
:wuyou
cls
batch wytools.cmd nologo
;
:prompt
forecolor 255
backcolor 0
cd /
cls
quit
;
2#
 楼主| 发表于 2002-12-19 12:53:10 | 只看该作者

给 bradyzhu Beta2.0 文字显示问题

谢谢!
回复

使用道具 举报

1#
 楼主| 发表于 2002-12-18 22:51:10 | 只看该作者

给 bradyzhu Beta2.0 文字显示问题

说明一下:
backlogo.bmp  文件尺寸为 640 x 92 24位图
logo1.bmp  为 145 x 142 24位图
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|捐助支持|无忧启动 ( 闽ICP备05002490号-1 )

闽公网安备 35020302032614号

GMT+8, 2025-9-18 20:12

Powered by Discuz! X3.3

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表