中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-26 09:43
47,812 topics / 349,910 posts / today 0 new / 48,264 members
DOS汉化世界 & 中文系统 (中文化室) » Newcomer is learning to use ConMenu.sys, and has questions to ask
Printable Version  2,893 / 7
Floor1 sgmjh Posted 2008-04-27 19:37
新手上路 Posts 6 Credits 16
I use "Generate Chinese CONFIG.SYS.BAT", and the commands inside are:
VTMAGIC.COM -m8 -c2 /t CONFIG.txt
rem Delay for 1 second to wait for processing
.\dos\CHOICE /N /C:12 /T:1,02 ..........
copy CONFIG.NEW CONFIG.SYS
del CONFIG.NEW

The content of the config.txt I wrote is:
device=config.exe
device=ConMenu.sys
rem color=1e
rem default=A,10
rem caption= System Maintenance Tool USB Flash Drive
rem caption====================
rem endnote=Press ↑↓ or corresponding letters to select menu items
rem endnote=
rem cm0=[A. NF Network Boot
rem cm0=]A
rem cm0=[B. Intel Network Boot
rem cm0=]B
rem cm0=[end]

After running that batch file, the content of config.sys is:

device=config.exe
device=ConMenu.sys
rem color=1e
rem default=A,10
rem caption= ‚ÃĄŅƆLJ
rem caption=ȈȈȈȈȈȈȈȈȈȈȈȈȈȈȈȈȈȈȈ
rem endnote=ɉʊˋ͍̌ΎϏАёҒӓԔՕ
rem endnote=
rem cm0=[A. NF֖ח
rem cm0=]A
rem cm0=[B. Intel֖ח
rem cm0=]B
rem cm0=[end]
The text inside becomes unrecognizable.

I copied someone else's config.txt and modified it (can't change all), and the content is:

device=config.exe
device=ConMenu.sys
rem color=1e
rem default=A,10
rem caption= System Maintenance Tool USB Flash Drive
rem caption====================
rem endnote=Press ↑↓ or corresponding letters to select menu items
rem endnote=
rem cm0=[A. GRUB Mode, Load MENU.LST Menu, Boot WIN PE and Other System Maintenance Tool Images
rem cm0=]A
rem cm0=[B. Intel Network Boot
rem cm0=]B
rem cm0=[end]

After running the batch file, the content of config.sys is:
device=config.exe
device=ConMenu.sys
rem color=1e
rem default=A,10
rem caption= 纮羴聜脙膭艆茊菄
rem caption=葓葓葓葓葓葓葓葓葓葓葓葓葓葓葓葓葓葓葓
rem endnote=蓧蕣藡虒蛵螏蠌袗褢覓訐詳諘
rem endnote=
rem cm0=[A. GRUB謻讞,貥贆MENU.LST訐詳,跉蹧WIN PE軠轁逓纮羴聜脙膭艆邿酄
rem cm0=]A
rem cm0=[B. Intel帷猗
rem cm0=]B
rem cm0=[end]
This is normal. Why does it not work as long as I change the text in
rem cm0=[A. GRUB Mode, Load MENU.LST Menu, Boot WIN PE and Other System Maintenance Tool Images
here?
Floor2 本是 Posted 2008-05-04 19:37
银牌会员 Posts 790 Credits 2,227
After I saved your config.txt, .exe and .new were generated, which is normal; adding or modifying characters is also normal. Do you mean there is a problem with generating .exe/.new? Or is it that when loaded as config.sys, Chinese characters are not displayed?
Floor3 sgmjh Posted 2008-05-10 12:49
新手上路 Posts 6 Credits 16
I made a video of an error here. Please take a look at what's going on
ftp://user:user@sgmjh.vicp.net/录像1.exe
Thanks
Floor4 本是 Posted 2008-05-13 16:01
银牌会员 Posts 790 Credits 2,227
I watched the video and want to remind one thing: absolutely never copy and paste .NEW new code page files in a WINDOWS environment! Because the editor under the window will arbitrarily change the adjacent single-byte English extended ASCII code characters to "ensure" that they become "standard" Chinese double-byte code characters! And this point cannot happen for the Chinese characters formed by two English characters on the VGA character screen! ! !

If this is not the reason, please send the floppy disk .IMG you made to the email born2be@126.com, and I will "visit" and check.
Floor5 sgmjh Posted 2008-05-14 14:50
新手上路 Posts 6 Credits 16
It shouldn't be this problem. I did it in the same way. It's not okay that I don't open the.new file.

The sentence

rem cm0=[A. GRUB mode, load MENU.LST menu, boot WIN PE and other system maintenance tool images

I can't change (the first few words can be removed, the latter can't be moved). As long as this sentence is changed, the.new file I generated can't boot.

I previously downloaded the temp.img of fastslz, and there are two sentences in its config.txt that I can't change

REM CM0=[C. Return to virtual floppy drive
REM INCLUDE0=1
REM CM0=]C

REM CM0=[E. Restart the computer
REM INCLUDE0=1
REM CM0=]E

As long as these two sentences are changed, there is such a problem.

I find it very strange that I must use someone else's menu file (at least one sentence must be used), otherwise my own written menu will definitely not be used.

device=config.exe
device=ConMenu.sys
rem cm0=[A. NF network imaging
rem cm0=]A
rem cm0=[B. Intel network imaging
rem cm0=]B
rem cm0=[end]

This is my simple config.txt. After generation, it just doesn't work. I didn't generate the IMG. I downloaded the temp.img of fastslz, and I used the tools in it to generate config.exe and config.sys. I used the virtual machine hard drive boot (self-made boot, only those three boot files).
Then I tried to make the menu by myself, and this strange problem occurred.
Floor6 本是 Posted 2008-05-14 20:51
银牌会员 Posts 790 Credits 2,227
I suspect - this should be that CONMENU.SYS has certain requirements for the string after "REM CM0=[": for example, cannot have some English punctuation?

Go ask the expert YAYA! That's the software he developed.
Floor7 yaya Posted 2008-05-15 09:23
银牌会员 Posts 353 Credits 1,009
Changing it over and over is bound to cause problems. Make a config.sys yourself, then generate .exe and .new files, and change .new to .sys.
Floor8 ieujj Posted 2018-12-24 23:13
新手上路 Posts 3 Credits 6
I also don't understand, let's see how to do it
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023