Post subject: DS mutiscreen layout, how to change the left screen?
Player (59)
Joined: 9/2/2008
Posts: 289
Location: United Kingdom
Hey encoders, I am trying to figure out an .avs script that does real time like screen changes as seen on this movie
http://www.youtube.com/watch?v=v0_GIuWHnyQ
Feos sent me a link to a thread on how that movie was done. I managed to work out how to add a black border inbetween the 2 screens, pretty good. But now I want to figure out how to get the real time screen change effect (on the left half the screen where it displays Screen A then jumps to Screen B and vice versa). http://www.gamefront.com/files/20890897/GlinkNSMB.mp4 Basically I recently got myself a modded DS that enables video output via USB, and I want to figure out how to add this effect on runs that changes the screen for main gameplay like New Super Mario Bros, Contra 4, Sonic DS games, you know what I mean. my buggy incomplete avs script, the vertical images don't match or the horizontal image don't match (basically copying pasting the script Feos used doesn't exactly work).
a1 = Directshowsource("MP4 file") 
a2 = Directshowsource("MP4 File")
a = a1 + a2

crop1 = a.Crop(0,0,-0,-192).PointResize(a.width * 5 / 2, a.height * 5 / 4)
crop2 = a.Crop(0,192,-0,-0).PointResize(a.width * 5 / 2, a.height * 5 / 4)


vertical2 = StackVertical(crop1,crop2,crop3)


mu = a.Crop(0,0,-0,-192).PointResize(a.width * 6, a.height * 3)
md = a.Crop(0,192,-0,-0).PointResize(a.width * 6, a.height * 3)


p1 = mu.Trim(0,1605)
p2 = md.Trim(1606,2275)
p3 = mu.Trim(2276,4263)
    
vertical1 = p1 + p2 + p3

final = StackHorizontal(vertical2)

Since the attached gamefront video is New Super Mario Bros, the black border that is placed inbetween 2 screens is not required! But if you know a script that does this with black borders, minus the TASvideos logo, watermark and message (like every published TASvideo run), feel free to post that too. I am a quick learner once I get used to it.
greenalink.blogspot.com