FileForums

FileForums (https://fileforums.com/index.php)
-   General Gaming (https://fileforums.com/forumdisplay.php?f=25)
-   -   Bad Day LA with 800x600 resolution (https://fileforums.com/showthread.php?t=89833)

Cowsheep 20-06-2010 12:26

Bad Day LA with 800x600 resolution
 
The game starts in 1072x786, but on my small monitor this looks horrible.
I prefer 800x600, but the game got no ingame option to change resolution.
An external cfg tool is also not existing.

The config file looks weird, no way to change res manually here.

What should i do?
Any fix for 800x600 or commandline known?

Joe Forster/STA 20-06-2010 14:33

How about hacking around in the EXE/DLL's? :)

Cowsheep 21-06-2010 04:39

1 Attachment(s)
For me, this seems to be the place where the window is created.
I didnt see any resolution selection function before. It seems 1024x786 is the only resolution the game "knows".


0058CA64 |. 57 PUSH EDI ; /ExtStyle = WS_EX_TOPMOST|WS_EX_APPWINDOW
0058CA65 |. 8945 D8 MOV [LOCAL.10],EAX ; |
0058CA68 |. 8945 DC MOV [LOCAL.9],EAX ; |
0058CA6B |. 50 PUSH EAX ; |HasMenu = TRUE
0058CA6C |. 8D45 D8 LEA EAX,[LOCAL.10] ; |
0058CA6F |. 68 00000092 PUSH 92000000 ; |Style = WS_POPUP|WS_CLIPCHILDREN|WS_VISIBLE
0058CA74 |. 50 PUSH EAX ; |pRect = 0012FE70 {0.,0.,1024.,16777344.}
0058CA75 |. 8955 E4 MOV [LOCAL.7],EDX ; |
0058CA78 |. FF15 78B37000 CALL DWORD PTR DS:[<&USER32.Ad>; \AdjustWindowRectEx


I attached all binary files the game.
The game ignores the setting "Execute in 640x480 resolution" in compatibilty option at all. (Iam on Win XP Sp3.)

Joe Forster/STA 21-06-2010 11:50

By the way, what disassembler are you using; or are the comments yours?

Cowsheep 21-06-2010 12:15

OllyDBG 1.10, i didnt made any comments.

Cowsheep 23-06-2010 02:55

Default resolution is 1024*768, but i want 800*600.
1024*768 (and 60Hz) looks horrible on my screen, 800*600 (with 85Hz) is much better on my CRT.

%.gone. 05-08-2010 19:59

I'm a modder in the THPS community and I was asked to look into the resolution
issue in this game by a fellow THPS player, here's what I came up with.

The resolution offset in the exe can be found at - hex 354574
the first 4 bytes are your width - 00040000 | 1024
following those 4 bytes are your height - 00030000 | 768

This WILL NOT FIX the resolution, this IS the resolution
location but it has ill effects if you change the data.
For example none of the screen objects change size
also the mouse doesn't line up properly on the objects.

Seeing as I don't actually play the game I wont be looking into this any further
but I figured I would post my findings for someone else, if interested, to finish the task.

%

Cowsheep 06-08-2010 03:15

Thanks.
But unplayable though, seems like the game was only designed for 1024*786 as single resolution.


All times are GMT -7. The time now is 16:13.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com