- AVS
- Editing APE's / Render -> Text Source
Archive: Editing APE's / Render -> Text Source
c-here
1st February 2007 20:21 UTC
Editing APE's / Render -> Text Source
Was just wondering if it is possible to edit ape files or if you need the C++ source - i tryed opening it in Visual Studio and just got a bunch of Hex so i'm guessing it's the latter. If so does anyone know where you can get hold of the source for APE's specifically render -> text?
P.S. Apologies if this is in the wrong forum, but i had a look in the dev one an their wasn't much avs chat, so i thought i'd try here...
Chaos_2k
1st February 2007 21:16 UTC
Check out
"www.nullsoft.com/avs/free"
It an VS6 Project, with VS2002 im having here it works too.
Its written in C++ youll find the render text ape under Sources/renderers in the Project.
What are you planing to do?
EDITS: y cant i post urls?
S-uper_T-oast
1st February 2007 21:54 UTC
Originally posted by Chaos_2k
EDITS: y cant i post urls?
Because you are a junior member. It is a new feature that was added to the forums to stop spammers from joining and posting links.
Chaos_2k
2nd February 2007 13:46 UTC
Ah well ok, didnt know.
What to do to get senior member?
Nic01
2nd February 2007 23:03 UTC
Ironically, post count.
100 was it?
DrO
2nd February 2007 23:22 UTC
the limit isn't that high but is high enough to cope with the usual amount spammers get upto on a bad day with some headroom (just in case).
if need be just ask a mod and they'll be able to help you out
-daz
c-here
5th February 2007 00:40 UTC
thanks but That link doesn't seem to work, i'd heard that all the winamp source was available but it just givesme a 404 Not Found - i'm tryin to make a matrix code stlye effect like the screensavers et all with the song lyrics incorperated, tho i'm tryin to start with the song title - but you can't change the text in the render effect dynamically, tho u can use register values, so i was gonna modify the render effect to cast numerical register values into characters n change the text orientation so its goin down the screen. The other way i was thinking of doin it was using Grandchilds Text Superscope,tho i can't use other fonts etc with this method, but both of these ways have substantial foreseeable problems, i'm sure there is an easier way - any ideas?
PAK-9
5th February 2007 12:39 UTC
you dont need to modify the avs source to produce that effect (unless you want lyrics), and besides, part of the fun of AVS is trying to achieve fancy effects without needing to hack it out in a lower level language.
Depending on the exact effect you want you can approach it in a few different ways. To get an alphabet that you can manipulate you can either use a ssc and draw the glyphs manually or use a render/text to output the song title and mask it appropriately. You can use a movement or dynamic movement to shift the text and make the letters move.
Just keep experimenting.
(hint: other people have made matrix style falling-letter presets, try looking for them)
WildJack77
10th February 2007 10:10 UTC
Crazy. I need to chase 100 to became a senior member.
How much to be a forum king?
MaTTFURY
11th February 2007 12:50 UTC
I think its 2000? or maybe 1000. bleh stop worrying about your e-penis, it'll cost you dearly otherwise..
DrO
11th February 2007 13:01 UTC
forum king is 2000 and if you're going to post pump to get there then you won't get there.
-daz
c-here
12th February 2007 20:58 UTC
[back on topic] Cheers PAK-9, i did kinda realise that it could be done in AVS, but i just thought it might be easier to modify the Text renderer to display vertical instead of horizontal text lines, and was also considering trying to get Render->Text to take the text to display from a variable, because i'm trying to display the lyrics I thought that'd be easiest. Anyway i've got the random letterfall working, just wondering if anyone had any advice on how to get the lyrics for a song? I only found 1 lyrics plugin which worked with avs(lyricsShow), but only up until v3, anyone know why ? (tryed contacting the author but no reply), the other method i was considering was using the other lyrics plugins that display data in another window, but i don't have a clue how to go about accessing that - any clues?
PAK-9
13th February 2007 13:21 UTC
There are basically two steps you would need:
1. Find the Window
2. Retrieve the text
To find the window you would need to call something like EnumWindows to get a list of window handles, which you could then use to interrogate all windows and find out which one is the lyrics plugin. How you interrogate them depends on the plugin, as a simple example you could call GetWindowText and look for the plugin name.
To get the text inside the plugin depends on how the plugin presents the lyrics. If it has a text box with them in you can send a WM_GETTEXT message to retreive it, if the lyrics are presented in a more sophisticated custom control you might have more trouble.