Someone Test StarCraft 2 5760 x 1080 Support and Post Here!

Discussions about getting games to run in a Multi-Mon setup.
De La NoChe
Posts: 47
Joined: 04 May 2010, 23:56

Re: Someone Test StarCraft 2 5760 x 1080 Support and Post Here!

Post by De La NoChe »

Has anyone heard of anyone getting banned for using this in Multi player? Just curious. I am all about online play, but i dont want to get banned for using eyefinity. I just cant play any game on one monitor anymore... i feel like a horse with blinders on if i play with just one monitor :)
Siberian_Khatru
Posts: 10
Joined: 19 Jul 2010, 00:11

Re: Someone Test StarCraft 2 5760 x 1080 Support and Post Here!

Post by Siberian_Khatru »

Hi Hayden,

Unfortunately, I cnnot get this to work with Nvidia surround. I am seeing this -SC2 process found! Can't find resolution . I would really appreciate any help from anyone! Thank you very much. I have followed all of the instructions listed above and installed .net etc.

Thank you.
travin
Posts: 11
Joined: 12 Jan 2010, 01:47

Re: Someone Test StarCraft 2 5760 x 1080 Support and Post Here!

Post by travin »

Can't seem to get this solution to work. :(

It detects the SC2 Process but will not recognize any of the resolutions I set the game to (including the default 1024x768). The provided error message is "Cant Find Resolution".

Any assistance is appreciated...

ATI 5870 - 4320x900
travin
Posts: 11
Joined: 12 Jan 2010, 01:47

Re: Someone Test StarCraft 2 5760 x 1080 Support and Post Here!

Post by travin »

Ok, I tried the manual way myself. I attempted to locate the values within memory and while located (I believe) there are quite a few temporary values and none of them appear to modify the resolution.

I also attempted to use your provided program and it just registers as "Resolution not found." Maybe they adjusted the memory addresses to account for this hack?

Can you quickly tell me what memory address you located?
User avatar
HaYDeN
Insiders
Insiders
Posts: 761
Joined: 14 Feb 2010, 13:39

Re: Someone Test StarCraft 2 5760 x 1080 Support and Post Here!

Post by HaYDeN »

Code: Select all

Dim ResolutionPointerOffsets() As IntPtr = {&H8C}

   Dim ResolutionPointer As IntPtr = &HECB4B0

For anyone that cares, first four bytes (int) = horizontal res, next four bytes (int) = vertical res.


as above re:addresses, I just tried it now and it seems to work just as it always has... it downloaded a update before it launched, have seen it download a few prior too, doesnt seem like they've changed anything, got .net framework 4?
Resident Jester - Flawless Widescreen - Widescreen gaming the way it should be.
[Steam Profile]

Want to keep Flawless Widescreen alive? Donate Here
travin
Posts: 11
Joined: 12 Jan 2010, 01:47

Re: Someone Test StarCraft 2 5760 x 1080 Support and Post Here!

Post by travin »

I'm pretty sure I have that version of .NET, I'll try again later this evening.
sn0w
Posts: 34
Joined: 31 Jul 2010, 10:42

Re: Someone Test StarCraft 2 5760 x 1080 Support and Post Here!

Post by sn0w »

new patch came out today and the app res app has stopped working :(

anyone else had any luck with it?
Siberian_Khatru
Posts: 10
Joined: 19 Jul 2010, 00:11

Re: Someone Test StarCraft 2 5760 x 1080 Support and Post Here!

Post by Siberian_Khatru »

I can't get it to work either. I sure wish I could figure it out. I spent 3 hours yesterdat working on it. I really want to play this game in Surround.
sn0w
Posts: 34
Joined: 31 Jul 2010, 10:42

Re: Someone Test StarCraft 2 5760 x 1080 Support and Post Here!

Post by sn0w »

it was working perfectly for me up until i downloaded the latest patch from blizz..

it was AWESOME in surround!

i hope mr aweseom hayden can work around this patch :(
sn0w
Posts: 34
Joined: 31 Jul 2010, 10:42

Re: Someone Test StarCraft 2 5760 x 1080 Support and Post Here!

Post by sn0w »

so.. anyone else having the same problem as me since the new patch?
User avatar
HaYDeN
Insiders
Insiders
Posts: 761
Joined: 14 Feb 2010, 13:39

Re: Someone Test StarCraft 2 5760 x 1080 Support and Post Here!

Post by HaYDeN »

Code: Select all



   Imports System.Diagnostics
   Imports System.Runtime.InteropServices
   Imports Microsoft.Win32
   
   Public Class Form1
       Dim Processes() As System.Diagnostics.Process
       Dim baseAddress As IntPtr
       Dim ResolutionPointerOffsets() As IntPtr = {&H8C}
       Dim ResolutionPointer As IntPtr = &HECC4B0
   
       Private Declare Function ReadProcessMemory Lib "kernel32" Alias "ReadProcessMemory" (ByVal hProcess As IntPtr, ByVal lpBaseAddress As IntPtr, ByVal lpBuffer() As Byte, ByVal nSize As Integer, ByRef lpNumberOfBytesWritten As Integer) As IntPtr
       Private Declare Function ReadIntegerMemory Lib "kernel32" Alias "ReadProcessMemory" (ByVal hProcess As Integer, ByVal lpBaseAddress As Integer, ByRef lpBuffer As Integer, ByVal nSize As Integer, ByRef lpNumberOfBytesWritten As Integer) As Integer
       Private Declare Function WriteIntegerMemory Lib "kernel32" Alias "WriteProcessMemory" (ByVal hProcess As Integer, ByVal lpBaseAddress As Integer, ByRef lpBuffer As Integer, ByVal nSize As Integer, ByRef lpNumberOfBytesWritten As Integer) As Integer
   
       Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
           Processes = System.Diagnostics.Process.GetProcessesByName("sc2")
       End Sub
   
       Public Function FollowPointer(ByVal BaseAddress As IntPtr, ByVal StartAddrress As IntPtr, ByVal offsets() As IntPtr) As IntPtr
           If Processes.Length > 0 Then
               If Processes(0).HasExited = False Then
                   Dim NextAddress As IntPtr = -1
                   Dim i As Integer
                   For i = 0 To UBound(offsets)
                       Dim output(3) As Byte
                       If NextAddress = -1 Then
                           ReadProcessMemory(Processes(0).Handle, (BaseAddress + StartAddrress), output, 4, 0)
                       ElseIf NextAddress = 0 Then
                       Else
                           ReadProcessMemory(Processes(0).Handle, (NextAddress), output, 4, 0)
                       End If
                       NextAddress = BitConverter.ToInt32(output, 0) + offsets(i)
                   Next
                   FollowPointer = NextAddress
               Else
               End If
           End If
       End Function
   
       Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
           If Processes.Length = 0 Then
               Processes = System.Diagnostics.Process.GetProcessesByName("sc2")
               Label5.Text = "Searching for SC2 Process!"
           ElseIf Processes.Length > 0 Then
               If Processes(0).HasExited = True Then
                   Array.Resize(Processes, 0)
               Else
                   Label5.Text = "SC2 Process Found!"
                   baseAddress = Processes(0).MainModule.BaseAddress
                   Dim targetAddress As IntPtr = FollowPointer(baseAddress, ResolutionPointer, ResolutionPointerOffsets)
                   Dim tHor, tVer As Integer
                   ReadIntegerMemory(Processes(0).Handle, targetAddress, tHor, 4, 4)
                   ReadIntegerMemory(Processes(0).Handle, targetAddress + 4, tVer, 4, 4)
                   If tHor = TextBox1.Text And tVer = TextBox2.Text Then
                       Label6.Text = "Found Resolution, Rewriting"
                       tHor = TextBox3.Text
                       tVer = TextBox4.Text
                       WriteIntegerMemory(Processes(0).Handle, targetAddress, tHor, 4, 4)
                       WriteIntegerMemory(Processes(0).Handle, targetAddress + 4, tVer, 4, 4)
                   ElseIf tHor = TextBox3.Text And tVer = TextBox4.Text Then
                       Label6.Text = "Rewrite Successful"
                   Else
                       Label6.Text = "Cant Find Resolution"
                   End If
               End If
           End If
       End Sub
   End Class
   


modified the address to support new patch - http://theinterwebs.doesntexist.org/CustomRes.exe
Resident Jester - Flawless Widescreen - Widescreen gaming the way it should be.
[Steam Profile]

Want to keep Flawless Widescreen alive? Donate Here
sn0w
Posts: 34
Joined: 31 Jul 2010, 10:42

Re: Someone Test StarCraft 2 5760 x 1080 Support and Post Here!

Post by sn0w »

works a treat.

hayden you are simply awesome mate :)

if you ever come to the uk, i owe you a beer :)


:cheers
Oddball
Posts: 12
Joined: 25 Jun 2010, 21:35

Re: Someone Test StarCraft 2 5760 x 1080 Support and Post Here!

Post by Oddball »

The link is not working for me. Can you repost it please?
wisby
Posts: 2
Joined: 21 Aug 2010, 17:32

Re: Someone Test StarCraft 2 5760 x 1080 Support and Post Here!

Post by wisby »

yep the link is down can you fix it please :)
User avatar
skipclarke
Founder
Founder
Posts: 7358
Joined: 13 Oct 2003, 05:00

Re: Someone Test StarCraft 2 5760 x 1080 Support and Post Here!

Post by skipclarke »

Can someone reupload the file please, my mobo died so I lost all my files and had to reinstall OS,
and the link doesn't work any more.
User avatar
HaYDeN
Insiders
Insiders
Posts: 761
Joined: 14 Feb 2010, 13:39

Re: Someone Test StarCraft 2 5760 x 1080 Support and Post Here!

Post by HaYDeN »

Sorry its pointing at my apache server and I've had to change gateway a few times recently which doesnt have the port forwarding.

Put it on mediafire - http://www.mediafire.com/?egmlh8xevsh2ri6
Resident Jester - Flawless Widescreen - Widescreen gaming the way it should be.
[Steam Profile]

Want to keep Flawless Widescreen alive? Donate Here
azzurri
Posts: 2
Joined: 23 Aug 2010, 10:34

Re: Someone Test StarCraft 2 5760 x 1080 Support and Post Here!

Post by azzurri »

First of all i really want to thank mister Hayden for his work and mostly for sharing it with us. I used it and it works great. Maybe blizzard should hire u to fix there games :).

I m a bit worried though blizzard might consider it cheating. But hey everyone decide for himself. Thanks again to mister hayden for his work.
User avatar
skipclarke
Founder
Founder
Posts: 7358
Joined: 13 Oct 2003, 05:00

Re: Someone Test StarCraft 2 5760 x 1080 Support and Post Here!

Post by skipclarke »

nvm just downloaded some .NET 4.0 thingie from Microsoft and it works again! Hayden FTW :rockout
User avatar
Abram
Insiders
Insiders
Posts: 1993
Joined: 21 Mar 2006, 05:01

Re: Someone Test StarCraft 2 5760 x 1080 Support and Post Here!

Post by Abram »

Well damn ,I cannot get Haydens' fix to work. The fix just says "Can't find resolution".

Launch game, set resolution to 1920x1200, exit. Run fix, set current and desired resolutions, start game and... i get 3x individual 1920x1200 screens. Win7-64, .NET 4.0, everything up-to-date. I thought perhaps it was the Bezel Comp I'm using, so i also tried the fix without and BC and still a no-go.
Tucson
Posts: 191
Joined: 06 Mar 2006, 06:55

Re: Someone Test StarCraft 2 5760 x 1080 Support and Post Here!

Post by Tucson »

Hi I had trouble understanding the procedure you used. On mine, first set SC2 to 10x7 in fullscreen, then close the program. Start CustomRes, enter 1024x768 in the first field, and your desired res in the second, and then start SC2.

The "cannot find resolution" was happening to be after the patch with the old utility. Is your CustomRes updated?

Sorry if is already what you are doing. Hayden seemed to indicate the using a resolution the utility can recognize is important. Make sure the initial setting one of those recognized by the program.

Let us know what works for you in the end.
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests