Skip to content

Posts from Launching Heroes 3 in windowed mode.

No ratings yet — be the first to rate!
18 years ago
Auto-translated
In Heroes 3, switching between fullscreen and windowed mode is done by pressing the F4 key.
At the same time, you should make sure that the color palette (color depth) is set to High Color (16 bits).
Display Properties -> Settings tab -> Color Palette (see figure).
I got tired of constantly changing the color depth before launching Heroes 3 in a window, so I wrote a small program.

The program changes the screen's color depth to 16 bits, launches the application specified in the parameters, waits for it to finish, and restores the color depth.

More detailed instructions, an example of use, the program itself, and the source code are in the archive. Download.
Attachments 1
1 file attached • Total size: 19.9 KB
User Avatar
18 years ago
Auto-translated
I only have one question regarding this:
Why change it from 16 back to 32?
18 years ago
Auto-translated
It changes it not to 32, but to the value it had before the game was launched. This is quite logical.
In reply to Монца
User Avatar
18 years ago
Auto-translated
Awesome!!!!!!!! I'm not afraid to say it!!! Thanks!!!!

But I don't understand how to create a BAT file.
18 years ago
Auto-translated
I apologize for not fully testing it; the old version only works if it's in the same folder as the game. The new version doesn't have that issue. I've changed the example; now it includes a .bat file that I use.
Attachments 1
1 file attached • Total size: 25.8 KB
User Avatar
18 years ago
Auto-translated
So, does that mean we can play Heroes in windowed mode with a 32-bit color depth?
In reply to DARK_DRAGON
18 years ago
Auto-translated
DARK_DRAGON;192369
So, does that mean we can play Heroes in windowed mode with a 32-bit color depth?
No, it will automatically switch to 16-bit during the game and then switch back to 32-bit.
User Avatar
18 years ago
Auto-translated
Too bad, I thought... Is it possible to configure the game to run in windowed mode on a 32-bit system?
In reply to DARK_DRAGON
User Avatar
18 years ago
Auto-translated
The program is excellent, but there are a few comments and suggestions!

1. Make the debug menu functional, because it's difficult without it :(
2. Make it so that the digger and map editor open when the program starts!
3. It would also be good to be able to open as many applications as needed

But the first point is the most important, the rest are just suggestions.
In reply to Dirty_Player
18 years ago
Auto-translated
Dirty_Player;192682
The program is excellent, but there are a few comments and suggestions!

1. Make the debug menu functional, because it's difficult without it :(
2. Make it so that the digger and map editor open when the program starts!
3. It would also be possible to make it so that any number of applications can be opened

But the first point is the most important, the rest are just suggestions.
All of this can be done using a bat file.
1. You pass not just the path to the game, but also the parameters that open the debug menu.
2. You describe all of this in the bat file, and it will launch whatever you want.
3. The same applies here.
In reply to Монца
User Avatar
18 years ago
Auto-translated
Monza;192688
All of this is done using a bat file.
1. You need to pass not just the path to the game, but also the parameters that enable debug mode.
Really, I didn't try that... It opens without debug mode :(
And should points 2 and 3 be tried with a space or on a new line?
In reply to Dirty_Player
18 years ago
Auto-translated
Dirty_Player;192689
Seriously, did I not try...? It opens without debugging :(
And should points 2 and 3 be tested with a space or on a new line?
Fixed it, now it works as it should.
The example shows calling the dig site and heroes.
When launching other programs, place the call before the call to heroes (disp.exe waits until the program is closed).
Attachments 1
1 file attached • Total size: 25.8 KB
User Avatar
17 years ago
Auto-translated
the resolution should be 1280 by 960; 1024 by 768 is a resolution proportional to 800 by 600, and if the pixel is stretched, it won't turn from a square into a rectangle – that's what I was talking about. It's about the proportions.
as for the color depth – it's up to you; I set mine to 16 bits, and it doesn't bother me at all.
User Avatar
17 years ago
Auto-translated
I set the color depth to 16 bits. When I'm playing, I don't care how everything else looks; it's just more convenient for playing and, for example, chatting in ICQ.
User Avatar
17 years ago
Auto-translated
The program is great!)
P.S.: You can set 16-bit mode for the duration of the game, but everything will look very bad outside the game, so you should always switch back to 32-bit after the game.)
P.P.S.: Monza, update the topic header, so it shows the latest version.

Statistics

Welcome our newest member: recijeb