China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-06-19 21:57
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » [Original] Batch Writing Big Characters Effect - New Year Greeting Card View 3,492 Replies 14
Original Poster Posted 2008-12-27 17:31 ·  中国 广东 揭阳 电信
银牌会员
★★★★
SuperCleaner
Credits 2,362
Posts 1,133
Joined 2008-02-02 21:36
18-year member
UID 110072
Gender Male
Status Offline
Title: Batch Writing Large Character Effect - New Year Greeting Card
Code, text/523066680
blog: http://hi.baidu.com/523066680
First published at: http://www.cn-dos.net/forum/viewthread.php?tid=45411&fpage=1

Rambling:
It has been a long time since I wrote a special effect that I am satisfied with. Everyone advises me to learn something practical. In fact, I have written some application - related works, but I just don't want to post them because I don't think they are particularly special.

Production:
I wrote a batch processing tool for editing and writing large character effects. What has been completed is: For a straight line, input the coordinates of the two endpoints and the additional "parameters", and it can be directly drawn. Because some functions are still being modified... so I will post it next time (wait until the New Year, the final exam is fixed! I have to work hard!)

Work:

::made by 523066680@cn-dos.net 2008 - 12 - 25
::blog: hi.baidu.com/523066680
::First published at:
@set evern1= 35 4248x+ 53 64 57 66 7179x+ 9397x+ 75f5y+ f4 b3 c2 b7 c8 3e 4d 5c 5bcby+ db ea f9 7b7fx+ 7efey+
@set evern2= 2535y+ 44 5352x- 464dx+ 656cx+ 6595y+ a3adx+ 49g9y+
@set evern3= 62 71 24g4y+ 55 66 77 484ex+ 5e7ey+ 878gx+ 2bbby+ ca d9 e8 f7 cc dd ee ff fg
@set evern4= 2c 3b 4a49x- 5857x- 5655x- 6575y+ 84 93 939fx+ 6ahay+ h9 c6 d5 e4 cd de ef

@echo off&setLocal enabLedeLayedexpansion
title made by 523066680@cn-dos.net
mode con coLs=40 Lines=22
color 40
set end= cn-dos 523066680 祝 大 家
set "L0=" &set "str=■" &set "num=0123456789abcdefghi"
for /l %%a in (1,1,18) do (set L=!L!)
for /l %%a in (0,1,18) do (set n!num:~%%a,1!=%%a)

for /l %%n in (1,1,4) do (
for /l %%a in (1,1,18) do (set L%%a=%L%)
for %%a in (!evern%%n!) do (call :a %%a)
for /l %%a in (1,1,18) do (set "L%%n_%%a=!L%%a!")
ping -n 2 127.1>nul
)
color 4e
for /l %%a in (0,1,30) do (
set /p x=!end:~%%a,1!<nul
for /l %%b in (1,1,5) do (ping -n 1 127.0>nul)
)
mode con cols=75 lines=37
cls,
for /l %%a in (1,1,18) do (echo,!L1_%%a! !L2_%%a!)
for /l %%a in (1,1,18) do (echo,!L3_%%a! !L4_%%a!)
ping -n 5 127.1>nul
exit
:a
set n=%~1
if "%n:~3%"=="" (set "do=::") else (set "do=")
set /a ya=n%n:~0,1%,xa=n%n:~1,1%,xa2=xa+1
%do% set /a yb=n%n:~2,1%,xb=n%n:~3,1%,xb2=xb+1
%do% set "YorX=%n:~4,1%" &set "add=%n:~5,1%"
:a-1
set L%ya%=!L%ya%:~0,%xa%!%str%!L%ya%:~%xa2%!
call :echo call yes
%do% set /a %YorX%a%add%=1,xa2=xa+1
%do% if not !%YorX%a! equ !%YorX%b! (goto :a-1)
%do% set L%ya%=!L%ya%:~0,%xa%!%str%!L%ya%:~%xa2%!
:echo
if "%2"=="yes" (set for=3) else (set for=5)
for /l %%a in (1,1,%for%) do (ping -n 1 127.1>nul)
cLs
for /l %%a in (0,1,18) do (echo, !L%%a!)
goto :eof


Code content discussion
2 pings of 1 are not equal to 1 ping of 2
http://www.cn-dos.net/forum/viewthread.php?tid=45410&fpage=1

%var% instead of statement execution
http://www.cn-dos.net/forum/viewthread.php?tid=45240&fpage=1&highlight=%2B523066680

Still hesitating whether to modify the large character effect editor
Batch Processing Large Character Special Effect Editor
http://www.cn-dos.net/forum/viewthread.php?tid=45423&fpage=1

[ Last edited by 523066680 on 2008 - 12 - 28 at 14:18 ]
Recent Ratings for This Post ( 10 in total) Click for details
RaterScoreTime
slore +4 2008-12-27 17:44
pusofalse +13 2008-12-27 18:28
yishanju +15 2008-12-28 04:04
wxcute +4 2008-12-28 11:37
s11ss +15 2008-12-28 14:12
moniuming +15 2008-12-28 15:16
luxipeng +2 2008-12-28 19:04
hackate +4 2009-01-01 14:04
netbenton +1 2009-01-02 03:15
PPdos +6 2009-01-28 07:00
Floor 2 Posted 2008-12-27 18:21 ·  中国 山东 青岛 联通
初级用户
★★
Credits 107
Posts 60
Joined 2007-11-07 22:03
18-year member
UID 102010
Gender Male
Status Offline
So amazing, awesome person, learned it!
Floor 3 Posted 2008-12-27 19:36 ·  中国 浙江 嘉兴 嘉善县 电信
新手上路
Credits 13
Posts 7
Joined 2007-10-21 13:05
18-year member
UID 100339
Gender Male
Status Offline
Floor 4 Posted 2008-12-27 23:40 ·  中国 台湾 中华电信(HiNet)数据中心
初级用户
Credits 26
Posts 25
Joined 2008-11-07 16:06
17-year member
UID 130293
Gender Male
Status Offline
Hehe, this is more than just amazing. It's very powerful. May I ask the LZ, then happy new year, can it be modified by oneself?
Floor 5 Posted 2008-12-28 04:06 ·  中国 北京 联通
银牌会员
★★★★
[b]看你妹啊[/b]
Credits 1,488
Posts 1,357
Joined 2006-05-20 12:00
20-year member
UID 55770
Status Offline
Just from looking at the code you posted, it's really hard to tell how you implemented it. Tell me about it, please.

有问题请发论坛或者自行搜索,再短消息问我的统统是SB
Floor 6 Posted 2008-12-28 09:55 ·  中国 广东 江门 电信
中级用户
★★
Credits 338
Posts 175
Joined 2007-10-21 15:30
18-year member
UID 100351
Gender Male
Status Offline
It seems to be implemented with dots?

How to create a large character and then get its coordinates?
Floor 7 Posted 2008-12-28 13:43 ·  中国 广东 揭阳 电信
银牌会员
★★★★
SuperCleaner
Credits 2,362
Posts 1,133
Joined 2008-02-02 21:36
18-year member
UID 110072
Gender Male
Status Offline
Coming soon, making a batch script with typing effect. Wait....
Recent Ratings for This Post ( 1 in total) Click for details
RaterScoreTime
yishanju -2 2009-01-26 01:13
Floor 8 Posted 2008-12-28 13:54 ·  中国 台湾 中华电信(HiNet)数据中心
初级用户
Credits 26
Posts 25
Joined 2008-11-07 16:06
17-year member
UID 130293
Gender Male
Status Offline
Oh, that's great, looking forward to it!
Floor 9 Posted 2009-01-01 10:57 ·  中国 广东 揭阳 电信
银牌会员
★★★★
SuperCleaner
Credits 2,362
Posts 1,133
Joined 2008-02-02 21:36
18-year member
UID 110072
Gender Male
Status Offline
Happy New Year, top it up!
Floor 10 Posted 2009-01-01 13:42 ·  中国 辽宁 盘锦 电信
新手上路
炽天使
Credits 14
Posts 8
Joined 2008-07-13 11:33
17-year member
UID 121444
Gender Male
Status Offline
Very powerful. Give it a thumbs up.
Floor 11 Posted 2009-01-01 15:35 ·  中国 江西 宜春 宜丰县 电信
新手上路
Credits 3
Posts 3
Joined 2007-10-20 19:40
18-year member
UID 100283
Gender Male
Status Offline
Give a thumbs up, but the color scheme could be improved.
Floor 12 Posted 2009-01-25 22:28 ·  中国 广东 广州 电信
银牌会员
★★★★
SuperCleaner
Credits 2,362
Posts 1,133
Joined 2008-02-02 21:36
18-year member
UID 110072
Gender Male
Status Offline
Happy New Year! Definitely need to bump it myself!

[ Last edited by 523066680 on 2009-1-25 at 22:31 ]
Floor 13 Posted 2009-01-26 01:15 ·  中国 北京 联通
银牌会员
★★★★
[b]看你妹啊[/b]
Credits 1,488
Posts 1,357
Joined 2006-05-20 12:00
20-year member
UID 55770
Status Offline
Originally posted by 523066680 at 2008-12-28 13:43:
About to be released Making a batch file for typing effect wait....


Time has passed like this
But your article is not seen to be published

The points deducted are too few, I'll deduct more later

有问题请发论坛或者自行搜索,再短消息问我的统统是SB
Floor 14 Posted 2009-01-27 14:25 ·  中国 陕西 咸阳 电信
新手上路
Credits 10
Posts 7
Joined 2008-08-08 01:48
17-year member
UID 122946
Gender Male
Status Offline
Great person, learned!
Floor 15 Posted 2011-01-04 12:05 ·  中国 江苏 徐州 电信
初级用户
Credits 43
Posts 29
Joined 2008-03-31 15:01
18-year member
UID 114543
Gender Male
Status Offline
It's a bit slow to appear in XP...
Forum Jump: