Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jan 14 14:00

    grandchild on main

    [port] Use timer_ms() for trans… [port] Use posix fopen etc. for… [port] Use platform.h funcs for… (compare)

  • Jan 14 13:43

    grandchild on main

    [port] Add µs performance timer… [port] Add threads and signals … (compare)

  • Jan 09 21:23

    dependabot[bot] on github_actions

    (compare)

  • Jan 09 21:23
    dependabot[bot] closed #37
  • Jan 09 21:23
    dependabot[bot] edited #37
  • Jan 09 21:23
    dependabot[bot] edited #37
  • Jan 09 21:22

    grandchild on main

    [ci] Bump actions/upload-artifa… (compare)

  • Dec 20 2021 17:02
    dependabot[bot] opened #37
  • Dec 20 2021 17:02

    dependabot[bot] on github_actions

    Actions(deps): Bump actions/upl… (compare)

  • Dec 13 2021 19:19

    dependabot[bot] on github_actions

    (compare)

  • Dec 13 2021 19:19
    grandchild closed #36
  • Dec 13 2021 19:18

    grandchild on main

    [build] Bump actions/upload-art… (compare)

  • Dec 13 2021 18:07
    grandchild synchronize #36
  • Dec 13 2021 18:07

    grandchild on github_actions

    [build] Bump actions/upload-art… (compare)

  • Dec 13 2021 17:02
    dependabot[bot] opened #36
  • Dec 13 2021 17:02

    dependabot[bot] on github_actions

    Actions(deps): Bump actions/upl… (compare)

  • Nov 30 2021 13:07

    grandchild on main

    [port] Require Win32 version to… [build] Use add_compile_definit… (compare)

  • Nov 29 2021 22:56

    grandchild on main

    [port] Return 64-bit int from t… [clean] Remove Laser-AVS build … (compare)

  • Nov 29 2021 12:18

    grandchild on main

    [clean] cfgwin: Fix dlib_t type… (compare)

  • Nov 28 2021 10:02

    grandchild on main

    [clean] Remove unneeded include… [port] RLib: Use files.h util f… (compare)

jakob
@grandchild
that's not guaranteed in an interface, is it?
Jan T. Sott
@idleberg
the order of properties?
jakob
@grandchild
or do you mean to keep the compontents.ts file as is, and type everything on top?
i.e.: is the typing for the input or the output components?
... looks like it's for the output
(and yes, the order of the properties)
Jan T. Sott
@idleberg
why would the order matter?
it's an object
jakob
@grandchild
yeah, in the output it doesn't
for the input it does
but i think i misread, you want to type only the output and not type all of components.ts
... a.k.a. the input definitions for parsing the .avs file
so i think our plans should conceptually not collide. there will be git conflicts, but i can deal with those
apart from the fact that i did introduce some output types. but yours should then only make my Component type more specific
... conceptually.
I don't care if my specific types are changed in the process.
Jan T. Sott
@idleberg
ah my, all of this is such a waste of time (unless somebody picks up webvs again)
jakob
@grandchild
yes. yes it is :)
exocortex
@exo-cortex

tt

@exo-cortex = hurric4ne?

exactly!

Broken-Paradox
@Broken-Paradox
i've got a question regarding the global variables manager APE
i run AVS 2.81d on Winamp 5.58 (x86) and AVStrans works perfectly without crashing, but the aforementioned ape crashes most of the time when switching from a preset with globmgr.
i'm using version 1.011. is there any version that doesn't crash?
jakob
@grandchild
global variable manager is buggy. it depends a bit on your system. your best bet is to simply load all (recent) versions from http://avs.visbot.net/ and some different Winamp versions and mix and match, until you find a working version.
Broken-Paradox
@Broken-Paradox
there's also another thing: Jheriko's J10 pack had an intro that apparently used global vars, but the pack begins with preset 2 instead.
what happened to it?
Jan T. Sott
@idleberg
i spoke to @captbaritone, we could have a channel on their discord server rather than running our own
the one advantage i could see there is being a part of a larger winamp community. people might drop by. maybe something will come out of it (also in regards of webvs etc)
jakob
@grandchild
sounds cool!
jakob
@grandchild
TexerII is now builtin to the newest vis_avs :)
next: Normalize (because it's easy) and AVStrans (because source is available). After that, it's ColorMap (which is neither easy, nor is there any source. shudders)
Jan T. Sott
@idleberg
cc @unconed ;)
exocortex
@exo-cortex
hail grandchild! He who has gone through the 7 circles of asm and came back victorious!
jakob
@grandchild
@idleberg i already told him :P
Broken-Paradox
@Broken-Paradox

i'm having a coding problem here:
i'm going to make an avs preset that mimicks windows, but i don't know how i'm going to make it so a window border doesn't stop moving if you move too fast; it needs to check if getkbmouse(3) is still 1, even if it goes outside the detection threshold, like a real window would behave, and then stop moving when mouse3 is released.

also, it must not move if you hold click while outside any thresholds and then move into them

click=getkbmouse(3);
xmouse=getkbmouse(1);
ymouse=getkbmouse(2);

//check if inside the avs screen
inscreen=band(
band( above(xmouse,-1) , below(xmouse,1) ),
band( above(ymouse,-1) , below(ymouse,1) )
);

//mouse detection threshold for four sides of the triangle window
lthr=band( above(xmouse,xa-0.05) , below(xmouse,xa+0.05) );
uthr=band( above(ymouse,ya-0.05) , below(ymouse,ya+0.05) );
rthr=band( above(xmouse,xb-0.05) , below(xmouse,xb+0.05) );
dthr=band( above(ymouse,yb-0.05) , below(ymouse,yb+0.05) );
// Mouse positioning
xoffset=xmouse2-xmouse;
yoffset=ymouse2-ymouse;
xmouse2=xmouse;
ymouse2=ymouse;

oxleft=if( band(clickin,lthr) ,oxleft+xoffset,oxleft);
oyup=if( band(click,uthr) ,oyup+yoffset,oyup);
oxright=if( band(click,rthr) ,oxright+xoffset,oxright);
oydown=if( band(click,dthr) ,oydown+yoffset,oydown);
1 reply
jakob
@grandchild
I'd be interested in feedback around the kind of versioning/compatibility introduced here: grandchild/vis_avs@43de8aa (see commit message)
I hope it'll work quite nicely.
ha
Jan T. Sott
@idleberg
i've rewritten webvsc-ui from scratch. works fine in dev mode, but not (yet) in production 🤨
Jan T. Sott
@idleberg
i don't know if it's worth a shot, but i just found this link (and the downloads still work!) https://web.archive.org/web/20030807100850/http://archive.visbot.net/
Jan T. Sott
@idleberg
Screenshot 2021-05-16 at 01.04.36.png
@microdee :)
jakob
@grandchild

i don't know if it's worth a shot, but i just found this link (and the downloads still work!) https://web.archive.org/web/20030807100850/http://archive.visbot.net/

worth a shot for what? you mean if there's presets in there noone else has?

Jan T. Sott
@idleberg
dont we have this ulta-collector in this channel?
Jan T. Sott
@idleberg
so if is was to setup a vm for avs, what's the recommended combo of winamp / avs dll
2.91?!
(we're talking about windows 2003 server in a vm)
jakob
@grandchild

i use

  • wine [latest] +
  • winamp 2.95 +
  • AVS 2.81d

for all my testing

no vm needed for me.. winamp + avs runs fine on wine/linux
colormap is now officially reimplemented and works :fireworks:
what a beast... especially the UI
Jan T. Sott
@idleberg
i failed to installed directx in wine
but - i went with the lowest supported version which is directx 8