Show HN: Asdf Overlay – High performance in-game overlay library for Windows

github.com

77 points by storycraft 3 days ago

I am making a open source overlay library.

Game overlay is for rendering contents on top of game screen. Representative examples are Discord and Steam in-game overlay. They are complicated because it has to hook rendering part of a game.

Asdf overlay provides easy to use interfaces for rendering on top of game screen. I recognize game performance degradation due to overlay rendering, so GPU shared texture was used to avoid CPU framebuffer copy. Asdf Overlay is capable of rendering full screen overlay without noticeable performance loss.

jnettome 3 days ago

I've tried to implement this so many times, and it's always been a pain. I really like this Rust implementation — I'm going to take a closer look and run some tests now. Congrats on the launch!

lwansbrough 3 days ago

Have you had any issues with EAC or Vanguard?

I'd like to see if I can get something like this to work with Flutter, though I suspect it would be a challenge to integrate with Skia.

  • storycraft 3 days ago

    Unfortunately most anticheats does not allow loading untrusted dll in game. But It's on plan to release code signed library.

    If Flutter provides an interface to render on offscreen texture, integrating with it shouldn't be that hard.

    • lwansbrough 3 days ago

      I did end up looking into it a bit. One would have to build a new Embedder Engine for Flutter, which they provide examples for. But the implementation is significant. Probably achievable for a small team.

      • jnettome a day ago

        I was thinking into apply this overlay on cs2, but I'm really afraid of VAC ban. Maybe try to hook on another know application as discord overlay or steam overlay itself?

MarcelOlsz 3 days ago

This looks great and might solve some woes in the iRacing/simracing community. Is it possible to embed another app a la OpenKneeboard? Also any future plans of having it working in OpenXR/OpenVR?

  • storycraft 3 days ago

    Although I am not providing easy to use interface for that, It is possible to overlay another app to game. Not sure about OpenXR/OpenVR.

next_coder_ 3 days ago

That's cool, I can imagine quite some appliances for game dev.

terminalbraid 3 days ago

Is this related to asdf vm or the common lisp build system?

Sleaker 3 days ago

I feel a little dumb asking this, but why is 'asdf' used in the moniker? Is there any significance to it?

  • storycraft 3 days ago

    It was the first name that came to mind when I was thinking about easy to remember name. Other than that, there's no significance.

  • MarcelOlsz 3 days ago

    Default character movement keys in videogames, middle 3 fingers resting on awd by default.

    • Sleaker 3 days ago

      I don't really buy this. Asdf is where your fingers land for general purpose typing, which predates computers, thats not something gaming gets to own.

      Default movement in games is also WASD.

      • MarcelOlsz 3 days ago

        Oh whoops I completely messed up lol.

    • singron 3 days ago

      wasd are the default movement keys. asdf is just the qwerty left hand home row.