Age of Empires II (2013)

Age of Empires II (2013)

Change screen resolutions [Updated 2017/11/19]
144 Comments
♥Born♥ 17 Jul @ 7:11am 
wtf guys so easy without any trash mod!
just use this
Step-by-Step Instructions

Open Steam

In your Library, find Age of Empires II: HD Edition

Right-click on it → Select "Properties"

In the new window, go to the "General" tab

Look for the "Launch Options" field at the bottom

Enter the following:

-w 1920 -h 1080

-w stands for width

-h stands for height
(You can replace the numbers with any resolution you want)

Close the window — Steam automatically saves your input

Start the game
The Nac Mac Feegle 2 Sep, 2024 @ 1:03am 
hey mate.. the menus etc all work at the right resolution, but when i load any map it's in 1440 still?
alharis 16 May, 2023 @ 2:03pm 
Just change to windows mode and resize the windows. You dont must add any .dll files.
Allah 8 Aug, 2022 @ 7:08am 
does not work
cliaz 30 Apr, 2022 @ 3:28am 
Confirmed still working. No virustotal alerts from any of the files, however it does seem to be using dll-hijacking to enable this custom mod, which some antivirus may flag as malicious
SKAY 20 Apr, 2021 @ 9:26am 
do you have a video on youtube to help?
⭕⃤ BIPPO 27 Dec, 2020 @ 3:21am 
Care to explain how to... you know... install the damn mod? LOL
SCV 15 Mar, 2020 @ 8:23pm 
awesome,works very well.
StepS  [author] 14 Jan, 2020 @ 8:49am 
Hey guys,
Just wanted to let you know that this mod will not receive any further updates, as I am now officially working on Age of Empires II: Definitive Edition.
Thanks a lot for your interest in this mod over the years!
tttrue 14 Jan, 2020 @ 8:27am 
It works in the menu part, but in the in-game doesn't.
I changed to 1280x720 and still big.
(I have a resolution 3840x2460 predetermined)
Thanks anyway. :)
sebGo 18 Sep, 2019 @ 7:00pm 
doesnt work
Keyner Keys Youtube 10 Aug, 2019 @ 8:11pm 
:cozycastondeath: It's not working...
Fran 4 Aug, 2019 @ 11:02pm 
sirve para voobly?
Ironvos 9 Jun, 2019 @ 5:11pm 
This works, thanks a lot!
[CANTINAMX] | Davy_Jones 21 Feb, 2019 @ 7:00pm 
I have a windows resolution of 1920x1080, and i know the code works because I set to 1366x768 and effectively changed the resolution to that on windows while on the game, but the game doesn't changes to 1920x1080, how do this can happend?
alexey_vb 19 Feb, 2019 @ 12:34pm 
Всё работает. Только у меня сработало так: вначале ничего не менялось, потом я сделал сильно маленькое разрешение и игра стала как в 2000х годах ))), потом поменял на нормальное разрешение и заработало.
JCPhlux 15 Feb, 2019 @ 3:28pm 
Wow this works Great. i have been looking for this for weeks. I don't know how many games I have had to sit 4 inch's from the screen because I forgot to change my setting and could not see anything on the screen.
Heteroi 21 Jan, 2019 @ 11:24am 
没有效果。而且,现在我以全屏的方式进入游戏,在进入战役地图时游戏会崩溃。无论我删除这些文件还是卸载游戏重新安装,都无法恢复正常。
Google translate:no effect. Moreover, now I enter the game in full screen, and the game will crash when entering the battle map. Whether I delete these files or uninstall the game and reinstall it, it will not return to normal.
Spychopat 19 Jan, 2019 @ 4:23am 
Nevermind, i tried with another resolution and i don't have the black borders all around the screen anymore. I've set it to 1280*720 and it feels perfect. That's the resolution i recommend.
Spychopat 19 Jan, 2019 @ 4:01am 
It's working but i have big black bars on every corner of the screen. I guess i'll just keep manualy lower my monitor resolution every time i want to play this game.
Why can't developer just add a slider so we can adjust the zoom on sprite and interface as we wish ? Or at least let us choose the resolution.
It is supposed to be an updated version of the game, but it has the same problem than old games that was designed to be played at 800*600
watg 9 Dec, 2018 @ 8:09am 
All working. Thanks!
nahueldi 28 Nov, 2018 @ 9:32pm 
Funciona perfectamente, muchas gracias.
Petit pain 11 Sep, 2018 @ 9:15am 
Doesnt work:

"Error when setting the specified fullscreen resolution (1680*1050). It appears that your system doesn't support it. Please Specify a supported one"
r34p3r85 23 Jul, 2018 @ 6:50pm 
This actually works very well.
But it's hard to say which is better on 27" 2560x1440, more map or a bigger HUD.
Yushishoot 3 Jul, 2018 @ 7:39am 
Ok it's work perfectly, i'm on 5.7 AOEIIHD, when u change your resolution in reschange_config.ini, no forget to put "ready only" & after it's work ;)
Kent 14 May, 2018 @ 8:49am 
I don't have the file mods_custom. Only mods. What should I do ?
TheWololoWombat 12 May, 2018 @ 12:57am 
Worked for me! Make sure you extract INTO your Age2HD, you should extract one file and the folder mods_custom
ElCapitan 27 Apr, 2018 @ 7:47am 
Works great! Thanks. :)
Hellsing 27 Feb, 2018 @ 7:47am 
doesn't work for me dude
chris 31 Jan, 2018 @ 7:54am 
smh doesnt seem to work with me or 5.7
Sunrice 4 Jan, 2018 @ 12:27am 
My windows defender said it was a trojan and delected it
Victoria420Secrets 26 Dec, 2017 @ 9:47pm 
This works one time, then i couldnt open the app again, cause the resolution isnt correct, how can i fixed the problem, thx
악어 26 Dec, 2017 @ 7:16am 
Thank you! It's really working well :D
sedicause907 20 Dec, 2017 @ 3:36am 
Hi StepS. Thanks for your mods. I have a problem that where I should put the files. I really want to change my resolutions. Thank you again. Cheers!
Erk 6 Dec, 2017 @ 11:43am 
Oh! I'm sorry. Thanks for clearing that up.
StepS  [author] 6 Dec, 2017 @ 11:39am 
Hi Erkzul. I assume you were confused by the last post of mine. That was in continuation to the new zooming method I plan to implement (not done yet). The mod as it is right now does not need to be updated for every version of the game. It actually works with any other DirectX 9 game, even.
What I said about game version dependency will only be true when I actually implement that zooming method. I currently don't have a lot of time to spare, but I hope to do it whenever I get the chance to.
I could not post a large text in one message because Steam is very restrictive on comments posted in the Workshop (maximum 1000 non-utf8 chars). Apologies if that created some confusion there.
Erk 5 Dec, 2017 @ 10:07pm 
Looks like another update is needed already. :/
StepS  [author] 19 Nov, 2017 @ 4:07pm 
Lastly, may not be such an issue but still, this zooming method is inevitably game-version-dependent. This means that if there's any kind of change to that piece of code or its related code, a new update has to be released. I currently haven't estimated yet how likely that code is to change, but I'll make sure to be around if/when that happens.
Needless to say, this zooming method will benefit both "too high" resolution and "too low" resolution users. Stay tuned for more updates! This is going to be interesting.
[Apologies for 4 messages in a row, Steam does not allow to write more than 1000 characters at a time!]
StepS  [author] 19 Nov, 2017 @ 4:05pm 
However, there are a few things to resolve still. The first is that by default, in-game zooming is not filtered. So you get a pixelated game environment (Screenshot of 640x480 upscaled to 1920x1080: https://i.imgur.com/hbDJFb8.png ) . The odd thing is that the UI is filtered normally. I suppose they did this on purpose for the April Fools joke and never reverted since, so this has to be patched still (should be easy). Very tall resolutions like 4K and above will still have the "bottom black terrain: issue (that 4K users are well aware about), this is unrelated but still the case here (Screenshot of 8K downscaled to 1920x1080: https://i.imgur.com/ScgurSV.png ) .
StepS  [author] 19 Nov, 2017 @ 4:00pm 
However, with it comes another great news: I decided to give zooming another try, and I've been able to get it to work! I initially forgot that the game already had custom-sized interal resolution support, and was attempting to implement it myself. But that wasn't even necessary. Remember how the game's main menu is locked at 1366x768. That is its internal resolution, it is either up- or downscaled. Then also remember the April Fools 2015 "LD Edition" version where you had an internal 800x600 resolution during gameplay. That was it: the fuctionality is already there, and I was able to repurpose it to zoom the game.
StepS  [author] 19 Nov, 2017 @ 4:00pm 
Okay, so finally I got some news to share on this.
Version 0.0.1 build 34 has been pushed, along with updated instructions. This is the first version of the new module. It has very basic functionality; in particular, the "hybrid windowed mode" will always be on for now. This means that switching windowed/fullscreen during the game will not affect your screen resolution (wanted to make it dynamic, but encountered some problems with it that I couldn't be bothered with in the meantime, and I think most people wouldn't mind semi-fullscreen windowed). It also goes without saying that only those resolutions that your monitor and/or graphics supports can be set here. So you can't just set something bigger than your maximum. This will mainly be for those with huge screens and the "too zoomed out" problem, rather than the other way around.
Angry Arab 6 Nov, 2017 @ 3:36am 
Any more updates?
StepS  [author] 15 Oct, 2017 @ 5:52am 
I'm currently evaluating what's necessary for the first update, and hoping to get it out as soon as possible. No UIs or resolution selectors for now, same way to input your res in the ini like before. Changing resolutions midgame will be for another update.
Windowed mode will be recognized automatically, so no Alt+Enter restriction like in the first version, and no dependency on the game settings.
Will add an option whether to keep or not keep the resolution customized when running in non-fullscreen mode. By default, windowed mode will switch you back to your desktop resolution like before. Minimizing the game will always switch you back to the desktop resolution.
StepS  [author] 15 Oct, 2017 @ 5:52am 
A safe and working way to zoom exists, but its usage is limited to the operating system itself. It's called DPI Virtualization. Users of DPI levels higher than 100% know that when you launch a DPI-Unaware app, its contents are blurry. That's because it scales the window seamlessly, with the app still thinking it's at 100%. This would really help here if the API was available to outside developers. There's none that I know of. Also the game is already marked as "dpi aware", preventing DPI virtualization. If the API was publicly available then it'd mean I could scale the window to any level, be it 100%, 50%, 200%, etc. But just like the feature to rotate windows, it is internal to the system and could only be activated through system mods.
StepS  [author] 15 Oct, 2017 @ 5:45am 
This is tricky here, like I said below the game really doesn't like any changes to its graphics buffers. With some serious dedication this could be done, but is not worth the effort given that AOE2 DE is on the horizon.
This was really simple to do in second-generation Worms games, where the game was rendered to a single surface without too much burden. So bitmap-based zooming was pretty easy to add, you can look for "wkReSolution" on github to see how it was done.
Pizza Caviar 15 Oct, 2017 @ 4:20am 
Thanks for the update. I hope there will be a way to increase the resolution higher than the one of the desktop. I tried tweaking around with the graphic cards setting but it seems impossible. Don't know if there is a way around it with a crack though. Looking forward to see how things work out.
Rocka 10 Oct, 2017 @ 10:34am 
We waiting fren, give us an update soon. cheers
StepS  [author] 4 Oct, 2017 @ 5:31pm 
There's one way the "zoom" feature could be approached, it's quite simple. The mouse wheel would scroll through your screen resolutions. That would of course limit the maximum zoom-out to your desktop resolution, but this is even simpler than buffer resizing as the screen is adapted for the game window and not the other way around.
I'm probably going to add this as an option.
StepS  [author] 4 Oct, 2017 @ 5:26pm 
Okay, so I'm hoping to make an update soon. I've already remade the base and it just needs to be beefed up with essential features. Can't say when exactly, but likely around this or next weekend.
The not-so-good news is that the "zoom" feature, even the simplest one, is unfortunately not possible the way I expected to get it done. The game breaks even at the slightest tinkering with its framebuffers. Even if it didn't, I suppose there would be other issues such as the UI, etc. So this is out of the list and something that the AOE2 Definitive Edition should accomplish in a much better way.
Other than that, all good! The resolution change feature will work, even though it's not exclusive fullscreen (so it's like borderless windowed, but using a different resolution -- thus about the same resource usage as windowed mode).
Appreciate your comments, and sorry for the delays as I'm currently also working on improving the AOE series as part of the Forgotten Empires team.