Announcement

Collapse
No announcement yet.

Cockos Happy AVS

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Cockos Happy AVS

    Hello everybody,

    We've done some modifications to the version of AVS that is on nullsoft.com, and merged back into it our own modified version of EEL (that we use for Jesusonic, REAPER, etc).

    The current build is here: http://1014.org/shiz/vis_chavs.dll

    We will definitely open source this version soon, but the important differences are:

    1) Variables can be longer in length (16 characters)

    2) You can use a newer syntax for if(), below(), assign(), etc.

    For example, instead of:

    code:

    if (above(x,0),assign(y,3),0);
    or
    if (above(x,0),assign(y,3),assign(y,4));
    or
    if (above(x,0),exec2(assign(y,3),assign(z,2)),assign(y,4));

    You can do:

    code:

    x > 0 ? y=3;
    or
    x > 0 ? y=3 : y=4;
    or
    x > 0 ? ( y = 3; z = 2; ) : y=4;

    3) Instead of megabuf(x+y) or gmegabuf(x) you can just use x[y] or gmem[x].


    There are other changes -- for more information on the new syntax, see:



    (most "advanced functions" are JS only, except loop(), while(), freembuf(), memcpy(), and memset()).

    I know AVS may be somewhat stagnant at this point, but hopefully this might help get some life back into it.

    If anybody finds this useful let me know...

    -Justin
    Last edited by justin; 7 August 2010, 17:22. Reason: added another example

  • #2
    Justin, you are a legend.

    The new syntax looks miles better! (Code will actually be human readable now )

    Thank you for releasing an updated AVS after such a long time.
    There isn't many people left (here at least) now, but who knows who'll turn up now, for a look.

    (Looking at the file name, I was thankful to see it wasn't a prank visualisation of some chavs when I ran it.)

    I'll go play with it now.

    Cheers!
    count!last.fmplanner

    Comment


    • #3
      nice... i feel like writing a c program now
      Last played [offline]: Lamb of God - Nippon
      -- JaVS :: h i p o t e s i s

      Comment


      • #4
        Wow, I certainly didn't expect this anymore.
        Thanks a lot!
        I really hope this was what we needed to get more artists active.

        Qoal already mentioned that the code will be humanly readable, which is a big plus.
        several people have said that the sourcecode was very hard to read and, because of that, even harder to improve. How's that for this version?
        Jesus loves you [yes, you] so much, he even died for you so that you will not need to die, but live forever

        Comment


        • #5
          unexpected behavior:
          The rand() function should only give integers.
          Example: rand(2) should only result in 0 or 1, but is now somewhere between 0 and 1.9[..]99.

          Or is this intended?
          Last edited by Warrior of the Light; 11 August 2010, 08:59.
          Jesus loves you [yes, you] so much, he even died for you so that you will not need to die, but live forever

          Comment


          • #6
            Originally Posted by Warrior of the Light View Post
            unexpected behavior:
            The rand() function should only give integers.
            Example: rand(2) should only result in 0 or 1, but is now somewhere between 0 and 1.9[..]99.

            Or is this intended?
            Thanks, will fix this in a new build later today.

            -Justin

            Comment


            • #7
              Thank you so much for keeping it alive. I really love AVS, and it is a true understatement to say I really appreciate all the work that has gone into it's development and the development of the presets.

              Unfortunately I'm not very well informed on the technical end of things, but does this help stability on newer operating systems? XP was really good for AVS, but then Vista and 7 were bad for me. I'm currently running 64-bit windows 7 ultimate, and I get better stability on Windows 7's "XP Mode" than 7 without it. Hopefully playing with this new version will be better.

              Either way, thank you very much for all the work you've done.
              Don't forget to live before you die.

              Comment


              • #8
                In fact, it hasn't crashed on me at all this far (keeping my fingers crossed) on XP pro (32bits)
                Jesus loves you [yes, you] so much, he even died for you so that you will not need to die, but live forever

                Comment


                • #9
                  HEY! I figured it out! (or maybe someone else did first and I didn't read about it)

                  My problem even with this new version was that AVS refused to stay fullscreen more than a second or two.

                  My solution is to tell the computer to automatically disable Windows Aero each time I open Winamp. This works on my version of windows (7 Ultimate x64). I'm hoping other Aero versions of 7 and Vista have the same ability.

                  1.) Right click on the shortcut that one uses to open Winamp.
                  2.) Click properties.
                  3.) Click the compatibility tab.
                  4.) Click/check the "Disable desktop composition" checkbox.
                  5.) Click the Apply button.
                  6.) Click ok.

                  As a result of this procedure, Aero will automatically become disabled when you open winamp, but will also automatically re-enable itself each time you exit Winamp. While Winamp runs without Aero, AVS works very well just like on XP, if not better.

                  Thanks again for releasing "Cockos Happy AVS"!
                  Don't forget to live before you die.

                  Comment


                  • #10
                    Looks like interesting, i'll check out now
                    It cannot rain forever

                    Comment


                    • #11
                      -have you thought about including bigfug freeframe streaming into the official avs build?

                      -have you thought about reworking the UI of the avs editor? there are several mods available already (visbot, micro.d and serveral privately kept mods).

                      all of these mods have one thing in common: they have been created because the official UI is pretty limited and old-fashioned. personally, i prefer a larger window with a big avs window docked into the editor. i also prefer buttons over menus - the latter can act slowly when performing avs live, with buttons you can switch much faster through the settings.

                      i acknowledge, that my prefered avs editor (from the visbot mod) has one big disadvantage: it requires a rather huge desktop resolution. but i think this could be solved through a cleverly made, resizable editor window. certain elements of the editor like the treeview on the left and the text fields should resize with the entire window size, which -i think- is not possible when using the resize APE.

                      though this might never happen, as it's too much work, i think the best thing would be to have the avs editor as an OSD. it makes good sense to run avs in fullscreen, so why not allow editing and navigation (selection of presets etc.) in fullscreen? milkdrop and many other visualization tools offer this already.
                      NSIS IDE for Atom | NSIS for Visual Studio Code | NSIS for Sublime Text | NSIS.docset

                      Comment


                      • #12
                        Where can I get that visbot mod? I use 1920x1200, so resolution won't be a problem.

                        The only resolution problem I have is keeping the fps up. I can go native fullscreen with a reasonably smooth frame rate (20-60 fps) but usually only with pixel doubling checked. Since my last post, I have had a couple crashes, but I was told it may be because of some old APEs. Overall, I really like this release. Making presets is a little easier now.
                        Don't forget to live before you die.

                        Comment


                        • #13
                          http://visbot.net/tools (screenshot)
                          NSIS IDE for Atom | NSIS for Visual Studio Code | NSIS for Sublime Text | NSIS.docset

                          Comment


                          • #14
                            Thanks, I'll give it a try.
                            Don't forget to live before you die.

                            Comment


                            • #15
                              Thanks for the updated version of avs
                              i am not normal, no really.

                              Comment

                              Working...
                              X
                              😀
                              🥰
                              🤢
                              😎
                              😡
                              👍
                              👎