Sign in to follow this  

Unity Any progress on overlaying 3d apps (aka) games ala XFire?

This topic is 3547 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hellow there. I was just wondering where things are heading regarding overlaying 3d apps. I was just testing this piece of code: -- but the topic is closed, ... I am using Vista SP1 with the latest Nvidia drivers for my 8800GT and last DirectX available. It works fine on the desktop, but for the 3 games I've tested, it fails to appear on top of them (UT3, CnC 3 and Crysis). I am eager to hear any developpement on this particular subject. I have this idea for a killer app (I keep saying that but it does not mean anything until I can get this part working) and I feel stuck. If only I could just delimitate a zone where I could render my 'stuff' over 90% of 3d full screen games I could really get started. I hate bumping so if you guys have anything to say, go ahead. I'm always coming back to monitor my threads... Bye, thanks for reading.

Share this post

Link to post
Share on other sites

Applications such as Fraps [url][/url] display overlays on top of games and other 3D apps (using OpenGL or DirectX).

I think you could implement something like this under a Windows-based OS using function hooks. It's a while since I've looked at this stuff but in high-level terms it allows you to have a piece of code (in a DLL) that intercepts other system function calls (e.g. to OpenGL or DirectX libraries). Have a search on Google and MSDN for lots of docs.

Using this method you can intercept the end of the rendered frame (e.g. glFinish or the API's swap buffer function) to then invoke your own rendering.

This is just an idea and it may not work but worth investigating. I'm also not sure Vista supports this with its various new security features so your mileage may vary.

Good luck,

Share this post

Link to post
Share on other sites
dhm thanks for that quick reply!

google redirected me to gamedev again :) lol

and I tested it, it works! yippeedidoo

but I am wondering if it's the best way to go since I want to turn my app into a commercial one (or at least with a donation system >_<) and it might turn off people to have to 'patch' every game they wish to use with it. Perhaps I could do a wizard inside my app to patch a given game?

Also, do you think this tech will give me the leg work to display 'video streams' (low quality) inside that zone?

My objective now would be to make something move inside that zone, and then make it disappear and reappear.

reply to show me you're still alive :D

Share this post

Link to post
Share on other sites

No worries. I looked into OpenGL function hooking to create a simple OpenGL logging/debug system so I had a controlled environment as it was my own app I was debugging.

I'm not sure I following when you say 'patch' each game? Could you elaborate - I'm maybe just forgetting the details of the hooking mechanism.

I know that Fraps manages to display an FPS counter overlay for DirectX (incl. 10) and OpenGL games - and it doesn't need to apply patches to the apps. It maybe has to be resident in memory before the game/app starts up.

If I get the chance I'll look back at my code to remind myself how its done.

I would imagine you can make 'video streams' as in texture map video file frames to a quad or something. But a warning that you may interfere with the game you are overlaying - be very careful about your chosen API's state management.


Share this post

Link to post
Share on other sites
Just had a quick look at my OpenGL tracing DLL project and found a reference to a Microsoft System Journal article from February 1998 - Bugslayer by John Robbins.

Hopefully this will give you more details.


Share this post

Link to post
Share on other sites

This topic is 3547 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Forum Statistics

    • Total Topics
    • Total Posts
  • Similar Content

    • By arash khalaqhdoust
      hey guys i hope you doing all well. last night i released my first game in google app store, i really appreciate you guys  to download it. and share your reviews about it
      the idea of game comes from mini hackgame of Bioshock.
       link of download:
      many thanks
    • By ForgedInteractive
      Who We Are
      We are Forged Interactive, a small team of like-minded game developers with the sole purpose of making games we love! Currently, we're progressing very quickly with our first project and there are plenty of opportunities and work for new interested programmers. With this project, our development platform is Unity 5.5.2 and C# as our behavioral language. Since this project is our first release, the game itself is a smaller project though progress is moving quickly. We are looking to finalize the current project and get started on future projects in the near future and are expanding our team to do so.
      Who We Are Looking For:
      Programmer Level Designer  
      About the Game
      Ours is the tale of two siblings, thrown into a world of chaos. Living in the shadow of their parents' heroic deeds and their Uncle's colorful military career, Finn and Atia are about to become the next force to shape our world. How will you rise through the ranks of Hereilla and what will be your legacy? Once defeated your enemies turn coat and join you in your adventures. Players can enjoy a range of troops and abilities based on their gameplay style which become more important as maps introduce more challenging terrain, enemies and bosses. Strong orc knights, dangerous shamans, and even a dragon are out on the prowl. Knowing when to fight and when to run, and how to manage your army is essential. Your actions alone decide the fate of this world.
      Previous Work by Team
      Although we are working towards our first game as Forged Interactive, our team members themselves have worked on titles including and not limited to:
      Final Fantasy Kingsglaive FIFA 2017 Xcom 2 Civilization  
      What do we expect?
      Reference work or portfolio. Examples what have you already done and what projects you have worked on academic or otherwise. The ability to commit to the project on a regular basis. If you are going on a two-week trip, we don't mind, but it would be good if you could commit 10+ hours to the project each week. Willingness to work with a royalty based compensation model, you will be paid when the game launches. Openness to learning new tools and techniques
      What can we offer?
      Continuous support and availability from our side. You have the ability to give design input, and creative say in the development of the game. Shown in credits on websites, in-game and more. Insight and contacts from within the Industry.
      If you are interested in knowing more or joining, please email or PM us on Skype. A member of our management team will reply to you within 48 hours.
      Skype: ForgedInteractive
      David, Colin and Joseph
      Follow us on:
      Twitter: @ForgedInteract

    • By dell96
      I'm trying to make my first project but I'm stuck i don't know how to make my crate to start to spawn again when i hit the start button after i die.
      hoping someone can help!!!
    • By Killah Rasta

      I have a complete idea about a 2D top-down, old-school-GTA like gangster game, that have an open world, and where you can build your black empire. I wan't to make it in Unity, but I'm a hobby developer without papers, so I'm open for ideas. I started to build it on the sources from youtube, but actually I would like to contact with a coder and an artist, to build and draw the game together. I don't have ready funds for it, but wan't to make some money by a start-up website, or something like that. I wan't to have two man, that I can trust, share and make a working pre-stage game, that could get some money on a project page and then go on toward to publish!

      Coding jobs: pathfinding (or NavMesh in 3D), AI, cover system, animation and other game mechanisms like fighting, missions, etc.
      Art jobs: buildings, structures, objects inside-outside, characters.
    • By Strifexxx
      Hi guys, check out our new game about sticks. Feedback welcome!
      Download on Google Play:
      Stickman Destruction 3 Annihilation  is a sequel to the legendary game of survival, where to make incredible tricks, driving different transport and getting into different crash! The game is made in the best traditions of simulator games with ragdoll physics elements. Make incredible jumps and tricks and destroy the enemy! Your task is make the finish alive or dead!

  • Popular Now