Page 1 of 1

Custom Resolutions in Dungeon Lords CE

Posted: Sun Jul 22, 2007 9:42 am
by PitBrat
How to create custom resolutions in Dungeon Lords CE.

I was tired of my character looking so fat on my widescreen monitor so I added a custom widescreen resolution.

It's possible to change the in game 1600x1200 resolution option to a custom resolution.

Hex edit the dlords.exe file.

The X value is located at the two bytes starting at position 210,605
The Y value is located at the two bytes starting at position 210,615

640x480 x= 80 02 y= E0 01
704x480 x= C0 02 y= E0 01
720x480 x= D0 02 y= E0 01
800x600 x= 20 03 y= 58 02
852x480 x= 54 03 y= E0 01
1024x768 x= 00 04 y= 00 03
1080x720 x= 38 04 y= 00 03
1280x720 x= 00 04 y= D0 02
1280x800 x= 00 05 y= 20 03
1280x1024 x= 00 05 y= 00 04
1360x850 x= 50 05 y= 52 03
1366x768 x= 56 05 y= 00 03
1440x900 x= A0 05 y= 84 03
1600x1200 x= 40 06 y= B0 04
1680x1050 x= 90 06 y= 1A 04
1920x1080 x= 80 07 y= 38 04
1920x1200 x= 80 07 y= B0 04

Example:
I'm using 1680x1050 and the modification is as follows (starting with byte 210,605)

90 06 00 00 C7 05 E4 09 60 00 1A 04

The first two bytes are the X resolution and the last 2 bytes are the Y resolution.

Choose 1600x1200 in the options to play the game in the new custom resolution.

-PitBrat

Posted: Wed Jul 25, 2007 9:45 pm
by Crall
How did you find this location in the Hex Editor. I'm looking at my file and those locations 210,605 & 210,615. I didn't see any entries there that were related to the one's you showed as being for the resolution.

I'd really like to take advantage of my monitors 1440 x 900 Resolution.

Also, I am using the CE version of Dungeon Lords.

Thanks,

Posted: Thu Jul 26, 2007 7:52 am
by PitBrat
Adding a Widescreen Resolution to DLCE

Sometimes I am a bit confusing.
Maybe this will help.

Make a back up of dlords.exe just in case.
Open dlords.exe in a hex editor.
Search for this string:

40 06 00 00 C7 05 E4 09 60 00 B0 04

This is the original string for the 1600x1200 resolution.
The first two pairs are the X resolution and the last two pairs are the Y resolution.
Make the following changes for a resolution of 1440x900:

A0 05 00 00 C7 05 E4 09 60 00 84 03

Now run the game. In the options menu set the resolution to 1600x1200 and the game will run at 1440x900.

-PitBrat

Posted: Thu Jun 11, 2009 11:54 pm
by Wulf
Thanks!

Thanks for the info; I'd like to add it also works with v1.4. :)

Posted: Wed Jul 15, 2009 10:48 pm
by HorrorScope
Thanks!

Posted: Tue Mar 02, 2010 2:11 am
by Cionaoith
For some reason, the game would only stay in either 800x600 or 1280x1024 for me, so I had to search to find the line for one of those. I couldn't find 800x600, but I did find the line for 1280x1024:
00 05 00 00 C7 05 E4 09 60 00 00 04

My monitor resolution is 1920x1080, so I edited the hex to:
80 07 00 00 C7 05 E4 09 60 00 38 04

Just thought I'd post that in case someone else has the same problem; hopefully that will save some time searching.

By the way, I have the CE version of the game, running on Win7.

Posted: Tue Mar 02, 2010 3:29 pm
by zanthia
I have a 22 inch monitor. if i play at 1600x1200 the user interface ( the menus, map etc)is so tiny. i have no choice but to play it in 1024x768 resolution. is there anything that can be done to increase the size as I haven't played game so low resolution in ages.