[Script Info] Title: Default Aegisub file ScriptType: v4.00+ WrapStyle: 0 ScaledBorderAndShadow: yes YCbCr Matrix: TV.None PlayResX: 1920 PlayResY: 1080 LayoutResX: 1920 LayoutResY: 1080 [Aegisub Project Garbage] Last Style Storage: 乱世千金 Audio File: E:/111111111111anime/Kyouran Reijou Nia Liston/Nia Liston The Merciless Maiden S01E02 SUBFRENCH 1080p ADN WEB-DL AAC2.0 x264-Tsundere-Raws.mkv Video File: E:/111111111111anime/Kyouran Reijou Nia Liston/Nia Liston The Merciless Maiden S01E02 SUBFRENCH 1080p ADN WEB-DL AAC2.0 x264-Tsundere-Raws.mkv Keyframes File: E:/111111111111anime/Kyouran Reijou Nia Liston/Nia Liston The Merciless Maiden S01E02 SUBFRENCH 1080p ADN WEB-DL AAC2.0 x264-Tsundere-Raws.mkv.kf.txt Video AR Mode: 4 Video AR Value: 1.777778 Video Zoom Percent: 1.000000 Scroll Position: 639 Active Line: 647 Video Position: 30694 [V4+ Styles] Format: Name, Fontname, Fontsize, PrimaryColour, SecondaryColour, OutlineColour, BackColour, Bold, Italic, Underline, StrikeOut, ScaleX, ScaleY, Spacing, Angle, BorderStyle, Outline, Shadow, Alignment, MarginL, MarginR, MarginV, Encoding Style: Text JP,Dream Han Sans JP W20,70,&H00FBFBFB,&H000000FF,&H003A3A3A,&H000E0E0E,0,0,0,0,100,100,0,0,1,3,0,2,20,20,40,1 Style: Text JP Top,Dream Han Sans JP W20,70,&H00FBFBFB,&H000000FF,&H003A3A3A,&H000E0E0E,0,0,0,0,100,100,0,0,1,3,0,8,20,20,20,1 Style: OPJP,FOT-TsukuAOldMin Pr6 B,76,&H00010101,&H5AFFFFFF,&H00F7F7F7,&H0007050D,0,0,0,0,100,100,0,0,1,2.8,0,8,25,25,0,1 Style: EDJP,FOT-Seurat Pro B,60,&H00F7F0F0,&H000000FF,&H008868D8,&H003B3B3B,0,0,0,0,100,100,0,0,1,2.8,0,8,20,20,10,1 [Events] Format: Layer, Start, End, Style, Name, MarginL, MarginR, MarginV, Effect, Text Comment: 0,0:00:00.00,0:00:00.00,Text JP,,0,0,0,,——————————本字幕由\N「三明治摆烂组」制作—————————— Comment: 0,0:00:00.00,0:00:00.00,Text JP,,0,0,0,,——————————请遵循「CC BY-NC\N-ND 4.0」协议—————————— Comment: 5,0:00:00.00,0:00:00.00,Text JP,,0,0,0,,————————正文JP———————— Comment: 0,0:22:20.07,0:22:20.07,EDJP,,0,0,0,,———————————— ED ———————————— Comment: 0,0:01:27.98,0:01:27.98,OPJP,,0,0,0,,———————————— OP ———————————— 缺繁不繁化 ———————————— Comment: 0,0:02:43.14,0:02:46.40,OPJP,,0,0,0,,{\an7\pos(603.43,885.71)\p1\bord0\blur30\c&HAAAAAD&\1a&H51&\fad(0,160)}m 0 0 l 413.71 0 413.71 138.29 0 138.29 Comment: 0,0:01:27.98,0:01:27.98,OPJP,,0,0,0,,{=1}> OP特效 Comment: 0,0:01:27.98,0:01:27.98,OPJP,,0,0,0,code once,NIA={cache={},version='1.0'} NIA.fmt=string.format function NIA.col(h) return '&H'..h:sub(5,6)..h:sub(3,4)..h:sub(1,2)..'&' end function NIA.mix(a,b,t) local s='';for i=1,5,2 do local x=_G.tonumber(a:sub(i,i+1),16);local y=_G.tonumber(b:sub(i,i+1),16);s=s..string.format('%02X',math.floor(x+(y-x)*t+.5))end;return s end function NIA.chars(s)local o={};for c in _G.unicode.chars(s)do o[#o+1]=c end;return o end function NIA.width(s,font,em,space) local w=0;local cs=NIA.chars(s);for _,c in _G.ipairs(cs)do w=w+(NIA.adv[font][c] or 1)*em+space end;return math.max(0,w-space) end function NIA.path(pts) local s='';for i,p in _G.ipairs(pts)do s=s..(i==1 and 'm ' or ' l ')..NIA.fmt('%.2f %.2f',p[1],p[2])end;return s end function NIA.build(src) local id=_G.tonumber(src.actor:match('%d+'));local jp=src.style=='OPJP';local cfg=NIA.shots[id] local mode=cfg[1];local x=cfg[2];local y=cfg[3]+(jp and 0 or cfg[4]);local maxw=cfg[5] local em=jp and cfg[6] or cfg[7];local space=jp and 2.0 or 1.7 local font=jp and (src.text_stripped:match('^[%w%s%p]+$') and 'latin' or 'jp') or 'cn' local cs=NIA.chars(src.text_stripped);local text=src.text_stripped local width=NIA.width(text,font,em,space) if width>maxw then em=em*maxw/width;space=space*maxw/width;width=NIA.width(text,font,em,space)end local left=x-width/2;local right=x+width/2 local pal=NIA.pal[cfg[8]];local ink=pal[1];local outline=pal[2];local accent=pal[3];local low=pal[4] local fs=em*NIA.metrics[font][1];local gy=y+em*NIA.metrics[font][2] local fn=NIA.metrics[font][3];local duration=src.end_time-src.start_time local out={} local function add(a,b,layer,t,s) a=math.max(0,math.floor(a/10+.5)*10);b=math.min(duration,math.floor(b/10+.5)*10) if b>a then out[#out+1]={a=a,b=b,layer=layer,text='{'..t..'}'..s}end end local function draw(a,b,layer,px,py,c,al,extra,path) add(a,b,layer,NIA.fmt('\\an7\\pos(%.2f,%.2f)\\p1\\bord0\\shad0\\1c%s\\alpha&H%02X&',px,py,NIA.col(c),al)..extra,path) end local function jewel(a,b,px,py,c,r,al) draw(a,b,4,px,py,c,al,'\\blur0.35\\fad(160,140)',NIA.path({{0,-r},{r*.5,0},{0,r},{-r*.5,0},{0,-r}})) end local flourish_y=cfg[3]+cfg[4]/2 if jp then local ww=math.min(width*.78,520);local h=mode=='blood' and 2.2 or 1.25 local path=NIA.path({{-ww/2,-h/2},{-12,-h/2},{-12,h/2},{-ww/2,h/2}})..' '..NIA.path({{12,-h/2},{ww/2,-h/2},{ww/2,h/2},{12,h/2}}) draw(0,duration,3,x,flourish_y,accent,48,NIA.fmt('\\clip(%.1f,%.1f,%.1f,%.1f)\\t(0,430,\\clip(%.1f,%.1f,%.1f,%.1f))\\fad(100,180)',x,flourish_y-8,x,flourish_y+9,x-ww/2-4,flourish_y-8,x+ww/2+4,flourish_y+9),path) jewel(60,duration,x,flourish_y,accent,5,15) if mode=='frame' then for side=-1,1,2 do local fx=x+side*(width/2+24) draw(0,duration,3,fx,y,accent,48,'\\blur0.35\\fad(160,180)',NIA.path({{0,-24},{side*7,-24},{side*7,-17},{side*3,-17},{side*3,17},{side*7,17},{side*7,24},{0,24},{0,22},{side*5,22},{side*5,19},{side*1,19},{side*1,-19},{side*5,-19},{side*5,-22},{0,-22}})) end end end local cursor=left;local n=#cs;local seq=mode=='hook' and 120 or 210 local accent_terms=cfg[9] or '' for i,c in _G.ipairs(cs)do local w=(NIA.adv[font][c] or 1)*em;local cx=cursor+w/2;cursor=cursor+w+space if c~=' ' and c~=' ' then local ent=math.floor((i-1)/math.max(1,n-1)*seq/10)*10 local dy=mode=='hook' and 10 or (mode=='blood' and 13 or 8) local hot=accent_terms:find(c,1,true) and c~='!' and c~='!' local color=hot and accent or ink if mode=='lily' then color=NIA.mix('FFFFFF','E6F7F1',(i-1)/math.max(1,n-1))end local bwidth=jp and 1.15 or 1.35 local edge=hot and cfg[8]=='sky' and 'FFF8E7' or outline local base=NIA.fmt('\\an5\\fn%s\\fs%.3f\\b%d\\fsp0\\fscx100\\fscy100\\bord%.2f\\3c%s\\shad0\\q2',fn,fs,font=='latin' and 1 or 0,bwidth,NIA.col(edge)) local motion=NIA.fmt('\\move(%.2f,%.2f,%.2f,%.2f,0,210)\\fad(90,160)',cx,gy+dy,cx,gy) add(ent,duration,8,base..motion..NIA.fmt('\\1a&HFF&\\3c%s\\3a&H%s&\\bord2.8\\blur2.2',NIA.col(outline),cfg[8]=='dark' and '48' or '78'),c) add(ent,duration,10,base..motion..NIA.fmt('\\1c%s\\blur1.9\\t(0,210,\\blur0.35)\\fscx96\\fscy104\\t(0,240,\\fscx100\\fscy100)',NIA.col(color)),c) if jp then add(ent+40,math.min(duration,ent+510),11,base..NIA.fmt('\\pos(%.2f,%.2f)\\bord0\\1c%s\\1a&H55&\\blur0.45\\clip(%.2f,%.2f,%.2f,%.2f)\\fad(120,250)',cx,gy,NIA.col(accent),cx-w/2-3,y+em*.13,cx+w/2+3,y+em*.53),c) end if mode=='blood' then local yy=y+em*.06 add(330,duration,12,base..NIA.fmt('\\pos(%.2f,%.2f)\\bord0.4\\3c%s\\1c%s\\blur0.3\\clip(%.1f,%.1f,%.1f,%.1f)\\t(0,700,\\clip(%.1f,%.1f,%.1f,%.1f))\\fad(70,160)',cx,gy,NIA.col(ink),NIA.col('EF5A85'),left-10,yy,left-10,y+em*.65,left-10,yy,right+10,y+em*.65),c) end if mode=='heart' and hot then for beat=0,2 do local a=310+beat*640 add(a,math.min(duration,a+330),12,base..NIA.fmt('\\pos(%.2f,%.2f)\\bord1.8\\3c%s\\1c%s\\alpha&H70&\\blur1.8\\fscx110\\fscy110\\t(0,330,\\fscx100\\fscy100\\alpha&HFF&)\\fad(30,160)',cx,gy,NIA.col(accent),NIA.col(ink)),c) end end if jp and NIA.beats[id] then for _,beat in _G.ipairs(NIA.beats[id])do local a=beat-src.start_time if a>=0 and a+80=0 and a+807FE)DIC-D&E-W5Y.49N:7*E:#UU.W9T,4AU:4-N:D.E/4:E.$=U/4)V)CQC8)Q,D2=8'*P=G1Q8&RD*EAV2$5W.4!G8&RG=HIN-3YS.&R=:G&Y,4!O-4:=8("P=SAZ.DAO-4EM.$1U,DAX+8XFH;$FB;8HC,(GML0HGI4FJ<0EOLIC@1 Data: 3,a-mo,u?S*V>7FE)DIC.$FF/':F9G%N/$.G93UU:4*B,7*E.TAN/$2E-DAX9T.C-76G)CQC8)Q,D2=8'*P=G1Q8&RD*EAV2$5S.$AG8&RG=HIN-3YS.&R=:G&Y,4!O-4:=8("P=SAR-$!Q,D9M-D5W,D9Y+8XFBL$GN)(IF,@IFI@FC;@FG[)C@1