Solved

DirectX instant swapping of game windows?

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

What is RenderMan: RenderMan is a not any particular piece of software. RenderMan is an industry standard, defining set of rules that any rendering software should use, to be RenderMan-compliant. Pixar's RenderMan is a flagship implementation of …
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

752 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