- #Heroes of might and magic 3 resolution mod#
- #Heroes of might and magic 3 resolution code#
- #Heroes of might and magic 3 resolution trial#
Hope anybody finds that interesting and/or useful. It has no bearing on whether or not the game will actually switch modes. We can change the JNE command to a JMP command at 0x004F8108 which bypasses the ingame message. You must switch the desktop to this mode before playing the game." 004F8128 |. |B9 B8F96700 MOV ECX,OFFSET Heroes3.0067F9B8 ASCII "This game runs in 65536 color mode.
#Heroes of might and magic 3 resolution code#
I presume that the Call instruction at 0x004F8101 hits some code that checks for appropriate desktop colour depth and whatnot.Īddress 0x004F8101 - In-game Error Message: CPU Disasm Address Hex dump Command Comments 004F8108 /75 23 JNE SHORT 004F812D 004F810A |. I naively changed the value at 0x0060155D to 0x20 (32) to see if this would work.Īddress 0x004F80F4 - Start of Switch Case for dealing with window change? CPU Disasm Address Hex dump Command Comments 004F80F4 |> \\8B15 B8876900 MOV EDX,DWORD PTR DS:\ Case 9C49 of switch Heroes3.4F8071 004F80FA B9 01000000 MOV ECX,1 004F80FF |. This is the call to SetDisplayMode with the aforementioned screen resolution. The SetDisplayMode function sets up the screen resolution (as will be seen in the next section), although, it's a little tough to find, so given the knowledge that it is called roughly after the DirectDrawCreate function, we can just look out for a pointer call and the appropriate resolution values, which in this case are 800圆00x16.Īddress 0x0060155D - Setting resolution and calling SetDisplayMode CPU Disasm Address Hex dump Command Comments 0060155D 6A 20 PUSH 10 0060155F |. You must switch the desktop to this mode before playing the game.", I have done some debugging to see what can be done.Īddress 0x0060150C - DirectDrawCreate CPU Disasm Address Hex dump Command Comments 0060150C |.
Given the issue with Heroes of Might and Magic III coming up with the in-game message "This game runs in 65536 color mode. Use the H3M Compressor / Decompressor tool to compess and uncompress H3M files. The accompany zpipe.c example inf() function works just fine. The file is stored as a basic zlib stream, so using zlib (version 1.2.3 here), you should be able to uncompress the map file without any special treatment.
#Heroes of might and magic 3 resolution mod#
HoMM 3 HD mod (aka HiRez mod, Multi-Resolution patch, HoMM3 High Resolution Project) is an addon pack for Heroes of Might and Magic 3 that changes game resolution to any from 800×600 to 4000×4000, adds new functionality.
#Heroes of might and magic 3 resolution trial#
Download a free 14-day trial of CrossOver Move your heroes a. This is repeated for as many times as the first four bytes of the SND file indicates, e.g. Run Heroes of Might & Magic 3 on Mac with CrossOver Mac 14.
Then, there is a list of files, with each structure containing the file name, offset and size is as follows:Ĥ0 Bytes - File Name 4 Bytes - Offset 4 Bytes - Size The first 4 bytes tell us how many files are in the archive: