Skip to content

Posts from Supports maps with dimensions of 216 x 216.

No ratings yet — be the first to rate!
Open
Are XXL maps necessary?
41 voters
Single choice Public votes
Sign in to participate in this poll.
Poll results will be visible after you vote or when the poll closes.
User Avatar
16 years ago
Auto-translated
After a short break, I decided to finish it. There's not much left: change the size of the dotted frame on the mini-map and fix the view using the "V" key. No bug reports have been received. You can play on any template *now*.

Yesterday, I optimized the code for rendering the mini-map, replacing the division and check (mov dl, n; div dl; cmp ah, k) with more compact code: aam n; cmp al, k. At the same time, I found an error in the IDA disassembler. For those interested: small jumps like 66 E9 xx xx (jmp small ...) are traced incorrectly, because the jump with the 66 prefix is performed using IP, not EIP!
16 years ago
Auto-translated
Do you mean – on any templates? Has the executable been updated? Can it be downloaded from the old link?
User Avatar
16 years ago
Auto-translated
I didn't update the executable. I guess I didn't explain it well. Already means that the available version can generate random maps based on any template. For example, take 2sm4d(3). Set a sufficiently large number in the Maximum Size field in rmg.txt (because this template is not designed for XXL maps; Minimum Size and Maximum Size define the sizes of the maps for which it was created). Simply increase the maximum size. The same operation can be performed with any other template. However, 2sm4d(3) will look bad on a 252 x 252 map. Therefore, I repeat, really large maps require really large templates. In addition, you need to set Castle Density to 1; otherwise, you won't always get one town at the start.

2sm4d(3) XXL

Balance XXL
In reply to AlexSpl
16 years ago
Auto-translated
That makes it clearer. I think that for such sizes, it’s worth trying the Marathon template; it has many zones.
User Avatar
16 years ago
Auto-translated
Using the H3DefTool utility by sergroj, I added new frames to RADAR.DEF (for regular mode and world view mode). Now they are indistinguishable from the original ones :) I will update the archive by the end of this week.
User Avatar
16 years ago
Auto-translated
XXL patch v1.0 for Heroes of Might and Magic III: The Shadow of Death v3.2 RU/EN

1. Extract __XXL_heroes3.exe into your %HoMM% folder.
2. Extract patch.bat, h3sprite.exe, RADAR.DEF, and rmg.txt into the %HoMM%\DATA folder.
3. Run patch.bat.
4. Run __XXL_heroes3.exe.

The original h3sprite.lod will be placed in the __backup folder, so you can always
restore it if you wish.

After installing the patch, you will be able to play not only on maps of standard sizes (36x36, 72x72,
108x108, 144x144), but also on new, extra-large maps: 180x180, 216x216, 252x252.

Now, instead of random maps of size S, XL maps will be generated, M - 180x180, L - 216x216, XL - 252x252.
By default, regular L maps are generated.

For successful generation of random maps of the largest supported size (252x252 + U), the template size must be at least 98 (Maximum Size in rmg.txt).

Download

I noticed that a small underground is being generated. Quoting Wic:
2. Size

This is a relative value that "recommends" a certain ratio of zone sizes to the generator. Whether the generator will listen to this recommendation or not is unknown in advance. On average, according to statistics, the specified ratio is maintained, but the spread for specific generations is quite large.

As can be seen from the above, the absolute numbers do not matter much here; their ratio matters most. However, if all the numbers turn out to be small enough, the generator may not fill the entire map with zones. This is clearly visible, for example, in the 2sm4d series of templates, where the underground is usually represented by "circles" - the zones occupy not the entire underground, but only part of it.

So, increase the Base Size of the zones, and everything will be fine. Here is an example of 8MM6 XXL + U
In reply to AlexSpl
16 years ago
Auto-translated
Slightly off-topic. Is it possible to extract the original map from a save file?
In reply to AlexSpl
16 years ago
Auto-translated
Thank you very much for the patch. And could you make this patch for Warlords of the Ancient World (WOG)? I'm tired of the HLs; the Breath of Death is getting boring. I'd like to be able to combine them, but the frame on the map extends far beyond the map itself. WOGification is successful (I'm transferring them from "random" maps of Breath of Death to "Maps" in WOG; you can play, and there are no lags). But the frame is very annoying. Does anyone have any advice on this? I really need it.
User Avatar
16 years ago
Auto-translated
Hello everyone! First of all, I want to express my immense respect to Alexspl for this amazing achievement. And I'm ready to beg for the archive with the finished game under the N templates, because the link doesn't work!
16 years ago
Auto-translated
Hello everyone!

Author, please update the link in the first post. Your file cannot be downloaded.
In reply to pHOMM
User Avatar
15 years ago
Auto-translated
And can’t Arcomage be linked to it?
15 years ago
Auto-translated
in other words, not to attach it? It already has one template (8mm6 for 252*252) inside the archive; AlexSpl created this template. Well, only the maximum size has been changed, and that's it.)))

To create templates for it, you only need to set the permissible sizes for generation on this template, and the executables are already configured for S - 144, M - 180, L - 216, XL - 252.
15 years ago
Auto-translated
all of this is very good), however, I would like to see progress and improvements, in particular, the ability to scroll the mini-map. As for the patches, I am not interested in the idea of replacing S with XL, and so on. It would be possible to create separate buttons in the game, such as S, XXL, XXXL, etc.
15 years ago
Auto-translated
It CAN be done!
I don't see any problem, it's absolutely possible, go for it!

Statistics

Welcome our newest member: recijeb