Main > Main Forum
Mortal Kombat Komplete $8 at greenmangaming (activates via steam)
<< < (5/5)
DGP:

--- Quote from: BadMouth on August 26, 2013, 09:47:18 am ---
--- Quote from: DGP on August 26, 2013, 06:14:28 am ---Mine loads and exits correctly (Maximus Arcade using your trick) but it changes the resolution to what I have Maximus set for and it is the only PC based game I have that does that.  :dunno

Jason

--- End quote ---

I had this problem with some of the Taito Type X games.
You can write an autohotkey script that launches the game and then resets the resolution when the game exits.
I just had it execute when the ESC key was pressed (my exit button)
Since you're actually navigating and exiting out of the game, you'd probably use the ifwinactive command.


--- Code: ---Run, AH30-PC4-fullscreen.exe

ESC::
Process, Close, AH30-PC4-fullscreen.exe

cD = 32   ; bits (quality) - you can change to suit your requirments
sW = 1920 ; pixels - you can change to suit your requirments
sH = 1080  ; pixels - you can change to suit your requirments
rR = 60   ; Hz (frequency) - you can change to suit your requirments

ChangeDisplaySettings( cD, sW, sH, rR )


ExitAPP

Return

ChangeDisplaySettings( cD, sW, sH, rR ) {
  VarSetCapacity(dM,156,0), NumPut(156,dM,36)
  DllCall( "EnumDisplaySettingsA", UInt,0, UInt,-1, UInt,&dM ), NumPut(0x5c0000,dM,40)
  NumPut(cD,dM,104),  NumPut(sW,dM,108),  NumPut(sH,dM,112),  NumPut(rR,dM,120)
  Return DllCall( "ChangeDisplaySettingsA", UInt,&dM, UInt,0 )
}



--- End code ---
(Do not change anything below the Return line.)

EDIT:  Maybe I misunderstood your issue.  My issue is that the game would change the desktop resolution and when I went back to the front end, it would be messed up because the resolution was wrong.  If it's that the game is running at a lower resolution, then you could modify this to change the desktop resolution before launching the game.

--- End quote ---


Yes, my issue is with MKKE lowering to MA's set resolution, MA is fine when returning.

I am honestly new to using AHK so I don't have a solid grasp on that aspect as of yet.  :-[

If you can assist with a proper AHK for my use it would be greatly appreciated.  :notworthy:

Thank You,
Jason
BadMouth:

--- Quote from: DGP on August 26, 2013, 03:09:04 pm ---
Yes, my issue is with MKKE lowering to MA's set resolution, MA is fine when returning.

I am honestly new to using AHK so I don't have a solid grasp on that aspect as of yet.  :-[

If you can assist with a proper AHK for my use it would be greatly appreciated.  :notworthy:

Thank You,
Jason

--- End quote ---

Well, since it's just rearranging the above.....



--- Code: ---
cD = 32   ; bits (quality) - you can change to suit your requirments
sW = 1920 ; pixels - you can change to suit your requirments
sH = 1080  ; pixels - you can change to suit your requirments
rR = 60   ; Hz (frequency) - you can change to suit your requirments

ChangeDisplaySettings( cD, sW, sH, rR )

sleep, 500

Run, MKK.exe

ExitAPP

Return

ChangeDisplaySettings( cD, sW, sH, rR ) {
  VarSetCapacity(dM,156,0), NumPut(156,dM,36)
  DllCall( "EnumDisplaySettingsA", UInt,0, UInt,-1, UInt,&dM ), NumPut(0x5c0000,dM,40)
  NumPut(cD,dM,104),  NumPut(sW,dM,108),  NumPut(sH,dM,112),  NumPut(rR,dM,120)
  Return DllCall( "ChangeDisplaySettingsA", UInt,&dM, UInt,0 )
}
--- End code ---

This would change the desktop resolution before launching MKK.

At work, so I don't know what the .exe for it looks like.
Copy and paste the above into notepad.
Change MKK.exe to whatever it should be.
Change the numbers on the first part to whatever your settings in MKK are.
Save it as "all file types" with the extension .ahk
Put it in the same folder as MKK.exe

Install autohotkey if you haven't already.

Change your desktop resolution to something different, then click on the ahk script to see if it works.
The sleep line will make the script wait for half a second so the computer has time to change the resolution before the game launches.
It might not be necessary.  You can try deleting it or making the time shorter (why wait longer than you have to?)
If it seems to work ok, right click on the ahk script and you should now have an option to compile the script to a .exe
Point Maximus Arcade at that .exe instead of the original one.

I haven't used Maximus Arcade, so I don't know if it will change the resolution back or not.
You might be stuck at the higher resolution when it goes back to Maximus. 
If that happens, this script is going to get much more complicated.

EDIT: There is probably a better solution out there dealing with MKK itself or your video card software.
DGP:
BadMouth,

That's excellent, thank you truly appreciated, will give it a shot.

 :cheers:
Jason
Navigation
Message Index
Previous page

Go to full version