PDA

View Full Version : [Q] Thay đổi màng hình Welcome trong WinXP??



Asus
22-03-2003, 10:20
Có cao thủ nào biết cách thay đổi màng hình welcome của WinXP không, làm ơn chỉ giùm với ...

Mang hình màu xanh, có phân quyền user đó. Xin đa tạ trước nha ...

dullard
22-03-2003, 12:23
chỉ tui với, tui cũng muốn biết, hé hé,

binhmos
22-03-2003, 14:25
Dùng ResHaker mà chuyển thành tiếng Việt.Tìm file Logonui.exe trong phần Windows mà sửa,no chinh là phần WelcomeXP của Win.

woodyvn
22-03-2003, 14:31
Mình mới chỉ biết thay đổi màn hình khởi động của win XP mà thôi. Còn màn hình welcome (logon) thì đang tìm hiểu. Nói chung chỉ cần có chương trình ResHacker cộng với một chút ít thời gian là bạn có thể thay được thôi mà. Dưới đây là bài viết của mình trên diễn đàn của www.themexp.org về cách thay đổi màn hình khởi động. Bạn chịu khó đọc bằng tiếng Anh nhé, bây giờ mình ngại dịch ra tiếng Việt quá.

Trên www.themexp.org có rất nhiều theme rất đẹp. Nếu bạn không muốn tự mình tạo ra thì có thể lên đấy mà down về. Nhưng đa số là rất lớn. Nói chung tự mình tạo ra thì mới thích phải không. Có rất nhiều chương trình có thể giúp bạn tạo ra các theme này và apply cho máy.

Sau đây là bài viết của mình, cũng dễ đọc thôi mà:

Make your own colorful Windows XP bootscreen

When I downloaded some bootscreens on this website and applied to my machine but most of them didn't
work. I only saw the screen and after a while the computer rebooted. Maybe these kernel are not
recognize by my machine. So I decided to create my own bootscreen.

In this article, I will tell you how to make a colorful bootscreen like other ones on this website.

At first I used a 640x480 bitmap image, reduced it to 4bpp (16 colors) and simply inserted it into the
ntoskrnl.exe using ResHacker and then restarted. But what I saw was a ugly screen with the colors like
the original. I wondered how other bootscreen makers create beautiful screens with only 16 colors other
than those of the original one. I didn't find answer for my question here or anywhere else so I had to
manage to find out for myself.

After a while I discovered that why my screen was ugly. It turned out that the default palette for
bootscreen is placed somewhere in the ntoskrnl.exe and you can not change it using ResHacker. In order
to change it you must use a hex editor. I used HexWorkshop. You can use whatever hex editor you
like.

So how can you change the default palette? First you need the original palette of Microsoft bootscreen.
Here I will give you (it's in Jasc PaintShop pro format):

JASC-PAL
0100
16
0 0 0
32 26 21
70 70 70
45 62 210
83 101 1
178 53 5
126 126 126
137 146 0
94 127 252
247 107 32
141 166 255
142 220 4
243 188 27
188 188 188
252 252 252
255 255 255

16 lines after the 3rd line represent 16 colors in the 640x480 bootscreen image.
Now take a image that you want to make bootscreen. Open it with an image editor like PaintShop pro. I
used IfanView (it's a good image viewer and it's free - http://www.irfanview.com/). I don't use
Photoshop so don't ask me about it. Now resize it to 640x480 and decrease its colors to 16 colors. I
suggest you use PaintShop pro or Photoshop to do these works because they give better results than
IrfanView. Save your picture as a bitmap file (.bmp). Its size is exactly 150 kB. Open your bitmap
with IrfanView. Click on Image menu bar and choose Palette/Export palette. Give the palette a name and
save it. Now open the palette with a text editor and you will see it like the one I gave above. Here is
an example:

JASC-PAL
0100
16
242 242 242
0 0 0
255 255 255
238 238 238
230 230 230
209 209 211
34 73 149
51 92 162
32 52 85
72 111 172
98 133 183
71 151 229
160 165 170
120 177 232
146 200 244
175 222 248

And now you have to modify the default palette in ntoskrnl.exe to your palette of your image. How can
you find it? First look at the default palette. Each line after the 3rd line represent a color in the
image. It has 3 numbers according with the Red value, the Green value and the Blue value of the
color. For example "32 26 21" means the color has Red value 32, Green value 26 and Blue value 21. "0 0
0" is black and "255 255 255" is white. It's easy yet? Now convert 3 numbers in each line to hex
numbers. For example 32 26 21 are converted to 20 1A 15 in hex numbers. You can use your pocket
calculator or the calculator of Windows (Start -> All Programs -> Accessories -> Calculator and change
it to Scientific mode). After converting each line you reverse these numbers and add 00 after it, that
is 20 1A 15 become 15 1A 20 00. After completing you will have the result like this:

00000000151A200046464600D23E2D00016553000535B2007E 7E7E0000928900FC7F5E00206BF700FFA68D0004DC8E001BBC F300BC
BCBC00FCFCFC00FFFFFF

It is the hex representative in the ntoskrnl.exe. Hope you will understand. Now do the same with your
palette. Here is my result for my palette:

F2F2F20000000000FFFFFF00EEEEEE00E6E6E600D3D1D10095 492200A25C330055342000AC6F4800B7856200E5974700AAA5 A000E8
B17800F4C89200F8DEAF

Open your ntoskrnl.exe with your hex editor and find the hex string: 151A2000464646.

You will find 4 locations where the palette resides. But only the first result define the whole 16
colors, 3 last ones dont have the last color (FFFFFF). But it's only my suggestion. So you only
change the last color at the first location not at 3 last. Remember it. They are (in my file):

1 - 0x69D14
2 - 0x1D7148
3 - 0x1D7380
4 - 0x1D7868

Before changing these values I highly recommend you backup your file. It's very important because you
don't know what will happend with your system. Now you can change these hex values with your hex
editor. With Hexworkshop you only type in the new value, the program will automatically overwrite the
old value. Remember only modify the last color (FFFFFF) at the first location. After changing and
saving your file, using ResHacker to open the modified ntoskrnl.exe and replace the bitmap 01 with
your bitmap. Save it and rename to such as newkrnl.exe. Copy it to windows\system32 folder.

Now open boot.ini with notepad. How can you open it. First go to Control Panel -> Folder Options, choose
View tab and uncheck 'Hide protectd operating system files' and choose 'Show hidden files and folders'.
Click OK. Now you can see it in C:\. Remove the 'Read only' attribute of boot.ini so that you
can modify it. You will see a line like this after [operating systems] line:

multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP
Professional" /KERNEL=NTOSKRNL.EXE /fastdetect

Create the same line after this, and modify 'NTOSKRNL.EXE' to the name of your modified
ntoskrnl.exe (such as NEWKRNL.EXE). You can also change "Microsoft Windows XP Professional" to
another name so that you can recognize it at the boot menu. Save it and restart. At the boot menu you
can select your new kernel and see your result. Is is easy? And is your screen colorful? If it is
please tell me :-)

FAQs:

Q - How can I boot in Safe Mode?
A - Just press F8 at the boot time and select Safe Mode.

Q - How can I make the "Professional" dissapear?
A - Replace it with a 1x1 bitmap using ResHacker.

Q - How can I place the progress bar anywhere I like?
A - Sorry I don't know. And If anyone of you know please post here.

Q - It's boring to make a bootscreen that is converting, modifying, replacing, ... is not
interesting works. Is there any program that automatically do these job for me.
A - I don't know. But maybe I will write a program that can help you change the default color of the
ntoskrnl.exe. The rest is easy for you.

Well, If you have any question you can contact me at hungother@gmx.net. I will answer if I can and if I
have time.

To other bootscreen makers: I think you should only upload the bitmaps (01, 08, 09, 10) not the whole
kernel. It's very big and it takes a lot of time for many people to download and maybe they don't work
with their machines.

-------------------------------------
Nếu có gì không hiểu thì cứ liên hệ với mình theo địa chỉ trên.

330
30-03-2003, 19:08
troi dat ai biet gi dau troi

330
30-03-2003, 19:12
co ban nào biêet cach danh tieng viet trong ResHaker ,cái menu ấy mà,có ai biet mã nguon nó không

Maxx
31-03-2003, 01:58
Phải xài font hệ thống support unicode mới type được
còn việc thay logo thì chỉ việc xài stypexp thôi
nhanh lẹ đơn giản

Terry
31-03-2003, 09:40
Nếu đang xài XP thì hãy dùng XP Visual Tools, tôi đang xài và thấy cũng OK lắm.

Asus
31-03-2003, 13:20
Dùng Style XP là tốt rồi. Download tại: www.wincustomize.com khoảng chừng 5.6M. Trong trang web này cũng có một số themes khá đẹp đấy.