function nate_statid_d1(run,string statid1,string statid2,string statid3, int audio_commentary) {
ImageSource("ntsc_d1.png",end=4,fps=1)
Subtitle(statid1,font="Verdana",size=36,text_color=$FFFFFF,align=5)
Subtitle(statid2,font="Verdana",size=36,text_color=$FFFFFF,align=2,y=360)
Subtitle(statid3,font="Verdana",size=36,text_color=$FFFFFF,align=2,y=400)
(audio_commentary == 1) ? Subtitle("Audio commentary on track 2",font="Verdana",size=28,text_color=$E1CE8B,align=2) : last
converttoyv12
changefps(run)
audiodub(wavsource("silence_stereo_48000.wav"))
(pal==true) ? addborders(32,0,32,96) : addborders(0,0,0,0)
return ResampleAudio(run.audiorate)
}
function nate_statid_gba(run,string statid1,string statid2,string statid3, int audio_commentary) {
ImageSource("ntsc_d1.PNG",end=4,fps=1)
crop(48,0,-32,0)
lanczos4resize(480,last.height-60)
Subtitle(statid1,font="Verdana",size=28,text_color=$FFFFFF,align=2,y=220)
Subtitle(statid2,font="Verdana",size=26,text_color=$FFFFFF,align=2,y=270)
Subtitle(statid3,font="Verdana",size=26,text_color=$FFFFFF,align=2,y=310)
(audio_commentary == 1) ? Subtitle("Audio commentary on track 2",font="Verdana",size=28,text_color=$E1CE8B,align=2) : last
crop(0,0,0,-100)
converttoyv12
changefps(run)
audiodub(wavsource("silence_stereo_48000.wav"))
return ResampleAudio(run.audiorate)
}
function nate_statid_gb(run,string statid1,string statid2,string statid3, int audio_commentary) {
ImageSource("ntsc_d1.PNG",end=4,fps=1)
Subtitle(statid1,font="Verdana",size=36,text_color=$FFFFFF,align=5)
Subtitle(statid2,font="Verdana",size=36,text_color=$FFFFFF,align=2,y=360)
Subtitle(statid3,font="Verdana",size=36,text_color=$FFFFFF,align=2,y=400)
(audio_commentary == 1) ? Subtitle("Audio commentary on track 2",font="Verdana",size=28,text_color=$E1CE8B,align=2) : last
bilinearresize(160,144)
converttoyv12
changefps(run)
audiodub(wavsource("silence_stereo_48000.wav"))
return ResampleAudio(run.audiorate)
}
function nate_vhs_head_change_erase(last) {
croppy=10
Crop(0,0,0,last.height-croppy).AddBorders(0,0,0,croppy)
}
function nate_1_pixel_bob_fix(last) {
converttorgb32
clip1=SelectEven.Crop(0,0,0,last.height).AddBorders(0,0,0,0)
clip2=SelectOdd.Crop(0,0,0,last.height-1).AddBorders(0,1,0,0)
Interleave(clip1,clip2)
nate_2d_sonic
converttoyv12
}
function nate_2d_sonic(last) {
croppy=10
Crop(0,0,0,last.height-croppy).AddBorders(0,0,0,croppy)
croppy=4
Crop(0,croppy,0,0).AddBorders(0,croppy,0,0)
}
function nate_retard_bob_2(last) {
converttorgb32
field1=SelectEven.PointResize(last.width,last.height*4).crop(0,1,0,0).addborders(0,0,0,1).bilinearresize(d1,last.height)
field2=SelectOdd.PointResize(last.width,last.height*4).crop(0,0,0,-1).addborders(0,1,0,0).bilinearresize(d1,last.height)
interleave(field1,field2)
sharpen(0.31)
converttoyv12
}
function nate_nes(last) {
converttomono
mergechannels(last,last)
converttorgb32
crop(4,0,0,0)
addborders(4,0,0,0)
}
function nate_gba(last) {
converttorgb
lanczos4resize(320,240)
crop(43,39,-44,-41)
lanczos4resize(240,160)
converttoyv12
}
function nate_gb(last) {
lanczos4resize(320,240)
Crop(80,48,-80,-48) #thanks Quijo
}
function nate_flv(last) {
ssrc(44100)
convertaudioto16bit()
lanczos4resize(320,240)
flipvertical()
}