Skip to content
Forum Archive

Hack the stuff?

49 posts

shreyas_potnis#
so Zave, how can we call functions from AVS directly?
I once tried to open AVS in debug mode in Microsoft Visual C++, but as it is not a debug version, I couldnt do it.
UnConeD#
shreyas: you can run it in debug mode perfectly... you just won't get any C/C++ code out of it 🙂.

That's how I went in to analyse the script parser and such. You can recognize it by a couple of "call ecx" calls (which are obviously dynamic functions, hence scripted).
Zevensoft#
Originally posted by Magic.X
Obviously the super high difficulty to understand the assembler code and modify it.
Pfft, it's easy to modify and understand. Go muck around with a 6510A.
Magic.X#
Not sure, but do you mean this?

And as far as assembler stuff goes, its quite difficult to do this if you NEVER worked with asembler. (like me for example)
UnConeD#
Who says we haven't?

I actually have some prototype code lying around for Custom BPM 2, just have to build an APE around it when I have time.
Raz#
UCD you reeeally need to spend the time you can secretly working in AVS then when nobody's taking any notice spring a pack on them. 😛

I acknowledge the above is not going to happen and you want to throttle me for bringing it up yet again.. 😉
Zevensoft#
I tried to remove the stupid-ass window snapping, but I don't know where the code resides, I think it might even be in winamp.exe itself.
UnConeD#
zevensoft: before v2.6, AVS managed its own window, so the code was in vis_avs.dll... but with 2.6 came the introduction of 'general purpose windows' for plug-ins, and now AVS uses that. So that code is now definitely in Winamp (this explains why you can't use arbitrary window sizes anymore).
Magic.X#
Originally posted by Zevensoft
I tried to remove the stupid-ass window snapping, but I don't know where the code resides
The "oroginal" avswnd is still there but it is embedded as a child window into the new gp-window.

As AVS2.51 wont be embedded, the code is within the AVS2.6 dll which supports embedding into the gp window (which is done too when avswnd is embedded into the editor!)

Just remove the embedding support, this is where to start.
Magic.X#
And as there actually IS some developement and problems are already solved, there is no furthere need to do this.

*CLUNK*

Oh, forgot that i am not a mod. 😛

Rova?!