Go Back   FileForums > Games > General Gaming

Reply
 
Thread Tools Display Modes
  #1  
Old 20-06-2010, 12:26
Cowsheep Cowsheep is offline
Registered User
 
Join Date: Oct 2009
Location: Near OEP;)
Posts: 352
Thanks: 0
Thanked 13 Times in 4 Posts
Cowsheep is on a distinguished road
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?
Reply With Quote
Sponsored Links
  #2  
Old 20-06-2010, 14:33
Joe Forster/STA's Avatar
Joe Forster/STA Joe Forster/STA is offline
Senior forum member
 
Join Date: Nov 2000
Location: Hungary
Posts: 9,719
Thanks: 10
Thanked 299 Times in 190 Posts
Joe Forster/STA is on a distinguished road
How about hacking around in the EXE/DLL's?
__________________
Joe Forster/STA
For more information, see the FileForums forum rules and the PC Games forum FAQ!
Don't contact me via E-mail or PM to ask for help with anything other than patches (or software in general) done by me, otherwise your request may be deleted without any reply!
Homepage: http://sta.c64.org, E-mail: [email protected]; for attachments, send compressed (ZIP or RAR) files only, otherwise your E-mail will bounce back!
Reply With Quote
  #3  
Old 21-06-2010, 04:39
Cowsheep Cowsheep is offline
Registered User
 
Join Date: Oct 2009
Location: Near OEP;)
Posts: 352
Thanks: 0
Thanked 13 Times in 4 Posts
Cowsheep is on a distinguished road
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.)
Attached Files
File Type: 7z BadDayLA.7z (1.38 MB, 37 views)
Reply With Quote
  #4  
Old 21-06-2010, 11:50
Joe Forster/STA's Avatar
Joe Forster/STA Joe Forster/STA is offline
Senior forum member
 
Join Date: Nov 2000
Location: Hungary
Posts: 9,719
Thanks: 10
Thanked 299 Times in 190 Posts
Joe Forster/STA is on a distinguished road
By the way, what disassembler are you using; or are the comments yours?
__________________
Joe Forster/STA
For more information, see the FileForums forum rules and the PC Games forum FAQ!
Don't contact me via E-mail or PM to ask for help with anything other than patches (or software in general) done by me, otherwise your request may be deleted without any reply!
Homepage: http://sta.c64.org, E-mail: [email protected]; for attachments, send compressed (ZIP or RAR) files only, otherwise your E-mail will bounce back!
Reply With Quote
  #5  
Old 21-06-2010, 12:15
Cowsheep Cowsheep is offline
Registered User
 
Join Date: Oct 2009
Location: Near OEP;)
Posts: 352
Thanks: 0
Thanked 13 Times in 4 Posts
Cowsheep is on a distinguished road
OllyDBG 1.10, i didnt made any comments.
Reply With Quote
  #6  
Old 23-06-2010, 02:55
Cowsheep Cowsheep is offline
Registered User
 
Join Date: Oct 2009
Location: Near OEP;)
Posts: 352
Thanks: 0
Thanked 13 Times in 4 Posts
Cowsheep is on a distinguished road
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.
Reply With Quote
  #7  
Old 05-08-2010, 19:59
%.gone. %.gone. is offline
Registered User
 
Join Date: Aug 2010
Location: FL - USA
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
%.gone. is on a distinguished road
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.

%

Last edited by %.gone.; 05-08-2010 at 20:02.
Reply With Quote
  #8  
Old 06-08-2010, 03:15
Cowsheep Cowsheep is offline
Registered User
 
Join Date: Oct 2009
Location: Near OEP;)
Posts: 352
Thanks: 0
Thanked 13 Times in 4 Posts
Cowsheep is on a distinguished road
Thanks.
But unplayable though, seems like the game was only designed for 1024*786 as single resolution.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
JUST CAUSE adding a new resolution dazzashazza General Gaming 1 24-09-2006 02:08
Fable resolution problem Jucki General Gaming 7 24-11-2005 15:23
Still Life Problem (About the resolution) rexcfnghk General Gaming 3 31-05-2005 07:32
Diablo 2 Resolution Harry_Mammoth PC Games 4 11-03-2005 12:12
midnight club 2 resolution hui87 PC Games 7 21-07-2003 07:51



All times are GMT -7. The time now is 02:58.


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