Solved

DirectX instant swapping of game windows?

Posted on 2010-08-23
3
762 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
  • 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

If you are interested in the gaming world and want to try World of Warcraft, I'd recommend this basic set of add-ons to get you started.  All add-ons are available either by Google search or on Curse.com. For the person who doesn't want to get in…
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…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

713 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