Solved

DirectX instant swapping of game windows?

Posted on 2010-08-23
3
772 Views
Last Modified: 2013-12-26
I've heard there is a way to hook directX so they can change the resolution, screen size, and location of any directX enabled game.

I am wondering how to do the same thing.

Would this be an easy thing to do, or something hard?   Or can it be done near "instantly" without directX?

A software I know of claims that they have near "instant" window swapping abilities.

Any Expert have any idea how to do this?


from website "An exclusive feature! Picture-in-Picture switching speed is instantaneous! Where our competitors simply change the size and position of each window, our software has the unique ability to speed up that process -- don't be fooled by FPS-dependent window swapping!"

I've heard they use directX hooking to do this... is it true?  How do you do it?
0
Comment
Question by:Eniledahs
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 11

Expert Comment

by:level9wizard
ID: 33520638
Eniledahs>>I've heard there is a way to hook directX so they can change the resolution, screen size, and location of any directX enabled game

If you find this way, I'd love to know it too!

The last I checked, each applications window param's/handles/classes could be completely different from the next. Even though a game is directx enabled (or better put: requires directx) doesn't necessarily mean its foundation is set entirely on the DirectX API's. In other words, a game requiring DirectX might only be resourcing some of the sound and controller interfaces, and have video and window run through Microsoft's Foundation Class (MFC) and some other graphics library.

So in short, there isn't a one-size-meets-all window hack/tool to modify things like resolution and window size - but if there is, please let me know too Experts!
0
 
LVL 11

Accepted Solution

by:
level9wizard earned 500 total points
ID: 33520677
Most individuals achieve this by developing their own window 'wrapper' that takes and makes calls to the program as an external. These types of programs generally require very application specific interfacing; for example, community members of the popular MMORPG Final Fantasy 11 have created a tailored window application to achieve such things as window size and resolution control as the native application's window controls are very limited [see: http://windower.net/]. I don't know if they share their sources - but it might be a good starting point for you.
0
 

Author Closing Comment

by:Eniledahs
ID: 33526337
I searched for something like "custom wrapper" or such on their website to see if I could find anything that would help.

It seems I've found something and now need to create a new question.

" Gone are the days of having to create custom "injectors" that only work for a specific game and are incompatible with other in-game tools. "

They have created a way to make a custom injector for each game they support!

Now to figure out how to do that...
0

Featured Post

ClickHouse in a General Analytical Workload

We have mentioned ClickHouse in some recent posts, where it showed excellent results.

In this article on Experts Exchange, we’ll look at how ClickHouse performs in a general analytical workload using the star schema benchmark test.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As game developers, we quickly learn that Artificial Intelligence (AI) doesn’t need to be so tough.  To reference Space Ghost: “Moltar, I have a giant brain that is able to reduce any complex machine into a simple yes or no answer. (http://www.youtu…
Recently, in one of the tech-blogs I usually read, I saw a post about the best-selling video games through history. The first place in the list is for the classic, extremely addictive Tetris. Well, a long time ago, in a galaxy far far away, I was…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Suggested Courses

628 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question