Settlers IV PL on MacBook Pro in FullScreen 16:10

Hi. today I want to share with you solution of making Settlers IV PL – Gold Edition v. 2.50.1516 working on MacBook Pro fullscreen in 16:10 aspect ration resolution. Settlers IV is in my opinion one of the best fairy tail designed computer strategy. It was published in 2001 and still you can buy it. Also it not using DRM, so it is very important for emulation of the game. For make this game working on MacBook Pro 13’’ without Retina display I am using Wineskin engine to create for me blank wrapper of WS9Wine1.7.39. Game itself is very nice unfortunately by default it supports only 3 graphics card resolutions: 800×600, 1024×768 and 1280×1024. First 2 options works on my machine, but there are in 4:3 aspect ration. So in this post I will show you how to change default options. There will be still named in game as defaults, but there will be using different screen resolutions. For my propose I need change last option which is 1280×1024 to 16:10 resolution. First I tried to make changes in gfxengine.dll file in game Exe folder with Hex Fiend editor to make it working on 1280×800 resolution. To make that solution you have to edit mentioned file with following 3 changes:

1st change:
OLD: 81 F9 00 04 00 00 7F 08 81 FA 00 03
NEW: 81 F9 00 05 00 00 7F 08 81 FA 20 03

2nd change (this exists 2 times - I changed only first one sequence):
OLD: F9 00 05 00 00 75 1D 81 78 08 00 04
NEW: F9 00 05 00 00 75 1D 81 78 08 20 03

3rd change:
OLD: BD 00 05 00 00 BB 00 04
NEW: BD 00 05 00 00 BB 20 03

Unfortunately there was left menu issue where one part of the left menu – HUD is black and I spend a lot of time to find out that it is impossible to solve this issue. I checked all other resolutions, I tried to change other values that I measure with screenshots, but at the end, I gave up without success.

Later I realized that I can change resolution of the game to the 1152×720 resolution that is also with 16:10 aspect ratio and it is supported by MacBook Pro 13’’ without Retina display. And because resolutions 800×600 and 1024×768 works I find out how to change only last resolution option 1280×1024 in-game to resolution 1152×720. I did that with 3 following changes:

1st change:
OLD: 81 F9 00 04 00 00 7F 08 81 FA 00 03
NEW: 81 F9 80 04 00 00 7F 08 81 FA D0 02

2nd change (this exists 2 times - I changed only first one sequence):
OLD: F9 00 05 00 00 75 1D 81 78 08 00 04
NEW: F9 80 04 00 00 75 1D 81 78 08 D0 02

3rd change:
OLD: BD 00 05 00 00 BB 00 04
NEW: BD 80 04 00 00 BB D0 02

Settlers_IV_PL_on_MacBook_Pro

You may be wondering what that values means? for example values for 1024×768 are 00 04 x 00 03. it is because 1024 in hex is 0x0400 and 768 in hex is 0x0300. In DLL file that values have different bytes pairs, order and that is why there are 00 04 x 00 03. The same calculation is for 1280×1024 that is 00 05 x 00 04. And that 3 changes I found by experiments. As you probably understand 1152×720 is 80 04 x D0 02 because 0x0480 is 1152 and 0x02D0 is 720. If you like you can change different resolutions by analyzing hex code of gfxengine.dll from game installation in Exe folder.

800x600:
F9 20 03 00 00 7F 08 81 FA 58 02 (I am not sure what it does, but it have to be updated when you do changes of this resolution)
F9 20 03 00 00 75 1D 81 78 08 58 02 (2 times, I am not sure what is difference between sequences)
BD 20 03 00 00 BB 58 02 (2 times - resolution of graphics card, 1st is for main menu of game and second is for game)

1024x768:
F9 00 04 00 00 7F 08 81 FA 00 03  (I am not sure what it does, but it has to be updated when you do changes to this resolution)
F9 00 04 00 00 75 1D 81 78 08 00 03 (2 times, I am not sure what is the difference between sequences)
BD 00 04 00 00 BB 00 03 (resolution of graphics card)

1280x1024:
F9 00 05 00 00 75 1D 81 78 08 00 04 (I am not sure what it does, but it have to be updated when you do changes of this resolution)
BD 00 05 00 00 BB 00 04 (resolution of graphics card)

I am sure that now you can hack by yourself the game to change even all default build-in options to resolutions that your computer supports. Maybe one day Blue Byte and Ubisoft decide to refresh this amazing game with modern graphics supports. It is, in my opinion, the best fun strategy ever for dinosaurs like me and I plan to play with my daughter in it when she grows up enough. The game is fun, smart, fairy tail, with very enjoyable moments and without any violence. Such games like this one are not made anymore. But still, for a small price, you can buy it like I did. And I want to thanks producers of it. Sorry I did this small hack of screen resolution. For now, it is I think only option to have game in 16:10 aspects ratio. If I were real hacker I would add a combo box with many resolutions for anyone, but I am not that smart. Anyway, remember to use legal source game, pay for it to support producers and remember to thanks them. Enjoy!.

p ;).

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.