Go Back   Codemasters Forums > Action, RPG and Strategy Games > The Overlord Series > Overlord II (X360, PS3 & PC) > Overlord II - English > Overlord II - Technical Help
Sign In
Register on CodeM

Overlord II - Technical Help Can't get the game to work? Please post here, providing as much information as possible for help from the community.

Reply
 
LinkBack Thread Tools Display Modes
Old 24-06-2009, 02:51 PM   #1 (permalink)
Junior Member
 
Join Date: Jun 2009
Posts: 3
Default Window Mode

Greetings, fellow Overlords!

Since being able to play my games in window mode is a pretty big deal for me, I played around with the Overlord II demo in order to find out whether there is any way of enabling this option (the configuration menu doesn't list it).
After some careful examination of the settings.dat file (to be found in My Documents\My Games\Overlord II Demo) I have found the corresponding entry and managed to enable it.
Because this will hopefully work for the full version as well, I thought that I'd share my findings in case someone else wants to do this.

First, you'll need a hex editor (there are several free ones available) to open the settings.dat file.
The entry you need to change should be located at position 04A5 (or 1189 decimal). Here "00" needs to be changed to "01". Now save the file and enjoy the window mode. To return to fullscreen, change the value back to "00" (or create an alternate file and swap them out).

Since the exact position of this entry might vary, I'll explain in detail how to find it. First, note the fullscreen resolution you've set in the config menu and convert the vertical value to hexadecimal (e.g. for 1600x1200, 1200 = 04B0). Then flip the first and the second pair of characters (so 04B0 becomes B004).
Search the settings.dat for this value using the hex editor. Each entry in this file is represented by four pairs of characters (so here the entry would be 00 B0 04 00). The entry in front of it should reflect your horizontal resolution (1600=0640 => 00 40 06 00). The next entry is the refresh rate (typically 00 3C 00 00 for 60 Hz, since 60=003C).
The entry after the refresh rate is the one you are looking for: it controls the window mode. Changing it from 00 00 00 00 to 00 01 00 00 should do the trick.
So in conclusion, if your fullscreen resolution is set at 1600x1200 and 60 Hz, your file should contain the following sequence:
Code:
00 40 06 00 00 B0 04 00 00 3C 00 00 00 00 00 00
which needs to be changed to:
Code:
00 40 06 00 00 B0 04 00 00 3C 00 00 00 01 00 00
I hope this wasn't too complicated and will help someone.
Reaping_Ant is offline   Reply With Quote
Old 25-06-2009, 04:45 PM   #2 (permalink)
Member
 
Join Date: Nov 2007
Location: Netherlands
Posts: 40
Default

eh.. you can just select "Windowed' from the resolution list in the Config utility :-o
shadowcode is offline   Reply With Quote
Reply

Bookmarks

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 10:55 AM.


Powered by vBulletin®
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.