Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

DirectX instant swapping of game windows?

Posted on 2010-08-23
3
Medium Priority
?
781 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 1500 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

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

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

Article by: Joseph
CONTENTS I.      What is a MOBA?   a. Definition   b. Origin   c. Current Generation II. The New Games   a. League of Legends   b. Heroes of Newerth   c. Dota 2   d. Smite III. Comparison IV. Conclusion ------------------------…
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…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

971 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