Other resolution

02/18/2011 03:53 ShinMiyazaki#16
Funny =]] how i wish you can set your own width and height :S
like expanding it using cursor :)

By the way, Very COOL tweak.. yet modifying exe is botjailable =((
03/17/2011 11:21 iceman19631#17
Quote:
Originally Posted by *M* View Post
Update: Okay, sorted out the scaling issue, running conquer in 1440x900 Widescreen!, however the GUI doesn't scale properly this time, anyone have experience in moving GUI elements?


Here is the code update this time, which also depreciates the code I posted above as this will set the above X/Y values

Code:
CPU Disasm
Address   Hex dump          Command                                                  Comments
005AB8EC  |.  C785 54FEFFFF MOV DWORD PTR SS:[EBP-1AC],5A0                           ; X Resolution 5A0=1440
005AB8F6  |.  C785 58FEFFFF MOV DWORD PTR SS:[EBP-1A8],384                           ; Y Resolution 384=900
005AB900  |.  FF15 AC9A7D00 CALL DWORD PTR DS:[<&USER32.ChangeDisplaySettingsA>]     ; Call Function
Ok so here we have the X/Y setting for 1024x768 window mode, modified slightly. I changed 400(1024) to 5A0 to give 1440, and 300 to 384(768) to get 900.
Use any hex>dec converter to choose your own res
Don't know if I did anything right with this but, there's a small window with the ability to edit those lines right below in OllyDBG. I'd like to know how to save the changes to the file. I edited them to 1280x1024 but I still get the camera glitching. After using /scale 225, I only get the glitches in FrozenGrotto and OfflineTG area. I may just keep on playing with it til I get a good enough aspect ratio. Any help is well appreciated. Thanks
10/19/2024 14:07 wmgm183#18
Quote:
Originally Posted by *M* View Post
Update: Okay, sorted out the scaling issue, running conquer in 1440x900 Widescreen!, however the GUI doesn't scale properly this time, anyone have experience in moving GUI elements?


Here is the code update this time, which also depreciates the code I posted above as this will set the above X/Y values

EDIT: This doesn't depreciate the first mod I posted above, they need to both be applied

Code:
CPU Disasm
Address   Hex dump          Command                                                  Comments
005AB8EC  |.  C785 54FEFFFF MOV DWORD PTR SS:[EBP-1AC],5A0                           ; X Resolution 5A0=1440
005AB8F6  |.  C785 58FEFFFF MOV DWORD PTR SS:[EBP-1A8],384                           ; Y Resolution 384=900
005AB900  |.  FF15 AC9A7D00 CALL DWORD PTR DS:[<&USER32.ChangeDisplaySettingsA>]     ; Call Function
Ok so here we have the X/Y setting for 1024x768 window mode, modified slightly. I changed 400(1024) to 5A0 to give 1440, and 300 to 384(768) to get 900.
Use any hex>dec converter to choose your own res
No effect