Heroes of Might and Magic Community
visiting hero! Register | Today's Posts | Games | Search! | FAQ/Rules | AvatarList | MemberList | Profile


Age of Heroes Headlines:  
5 Oct 2016: Heroes VII development comes to an end.. - read more
6 Aug 2016: Troubled Heroes VII Expansion Release - read more
26 Apr 2016: Heroes VII XPack - Trial by Fire - Coming out in June! - read more
17 Apr 2016: Global Alternative Creatures MOD for H7 after 1.8 Patch! - read more
7 Mar 2016: Romero launches a Piano Sonata Album Kickstarter! - read more
19 Feb 2016: Heroes 5.5 RC6, Heroes VII patch 1.7 are out! - read more
13 Jan 2016: Horn of the Abyss 1.4 Available for Download! - read more
17 Dec 2015: Heroes 5.5 update, 1.6 out for H7 - read more
23 Nov 2015: H7 1.4 & 1.5 patches Released - read more
31 Oct 2015: First H7 patches are out, End of DoC development - read more
5 Oct 2016: Heroes VII development comes to an end.. - read more
[X] Remove Ads
LOGIN:     Username:     Password:         [ Register ]
HOMM1: info forum | HOMM2: info forum | HOMM3: info mods forum | HOMM4: info CTG forum | HOMM5: info mods forum | MMH6: wiki forum | MMH7: wiki forum
Heroes Community > Library of Enlightenment > Thread: XXL patch. Play big maps.
Thread: XXL patch. Play big maps. This thread is 22 pages long: 1 2 3 4 5 ... 10 ... 18 19 20 21 22 · «PREV / NEXT»
AlexSpl
AlexSpl


Responsible
Supreme Hero
posted December 15, 2016 12:17 AM

I still have the sources, though it will take some time to make them work for the English version of the game. I'm not promising anything, but I can send IM to you when (if) the English version is ready.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Vampire_Rush
Vampire_Rush


Adventuring Hero
posted December 27, 2016 12:51 AM
Edited by Vampire_Rush at 14:59, 27 Dec 2016.

I've been spending a large portion of this evening going through this topic back and forth. I have a few suggestions.

1. Fix the download links (permanently with bittorrent client?) since they do not work

2. Organize the information in one post, since it is extremely hard to follow the backs and forths of what works and works easier or not at all

3. If the above suggestions are too much, please at least help me with what I need to do to make complete+hd work. I can access a sod exe 3.2 (I think) and I have created a h3blade.exe file with 0 bytes. Batoonike uploaded the xxl.exe file but not diffs.txt for me. I do not know what more is needed for this to work. I do not know how he has xxl.exe as an option in his hd launcher since I do not. I only wish to be able to play his template and perhaps also some others.

Thank you for creating this patch and for any help provided

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
AlexSpl
AlexSpl


Responsible
Supreme Hero
posted January 25, 2017 08:26 PM

Quote:
Hi, AlexSpl. I find your tool/ program- Universal Balance Patchet v1.1. But it can change the stats only of Russian versions of Heroes 2 The Price of Loyalty. I see that it make a copy of some rows of the Heroes2w.exe.


UBP v1.2 for HoMM2 (GOG)

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
rafter
rafter

Tavern Dweller
posted January 26, 2017 06:19 AM
Edited by rafter at 06:23, 26 Jan 2017.

Thank you, AlexSpl. Firstly, I will increase the prices of level 6 troops- with 100 %( x 2 )  and the price of lv.5 troops with 25 %.

During the waiting for that patchet, I tried to use a Russian version of Universal Balance Patchet over Russian EXE files. But I see that all of the EXE files of Russian versions of Heroes 2 The price of loyalty have bugs during the translation from English to Russian. 1) On the Map- screen, when my cursor is over one of my heroes, I can not see corectly the Number of my troops.
2) When a hero has Irish Luck, I can not see my Magic points during a  battle- neither my points, nor the magic points of the enemy hero( when he has Irish luck).
3) The dwelling for Sprites in the Sorceress city is named with the same name as the dwelling on the Map. The Original English version has  2 different names.

          These bugs were some of the reasons I want to play an Original English version of Heroes 2, changed with English version of your tool.  Thanks.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
AlexSpl
AlexSpl


Responsible
Supreme Hero
posted January 26, 2017 01:01 PM
Edited by AlexSpl at 08:26, 11 Feb 2017.

Here's the new link for those interested in XXL patch for Heroes of Might and Magic III The Shadow of Death v3.2.

http://handbookhmm.ru/forum/download/file.php?id=1019

Notes
a) If you play HD mod, you don't need to copy anything to DATA folder, but rmg.txt.
b) Make sure to backup heroes3.exe before patching.
If the size of heroes3.exe is 344,951 bytes, you're trying to patch wrong executable, "unSafedisc" it first.
c) XXL.exe is not a malware (check it on virustotal.com), yet you may use any binary diff/patch utility you like.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
robizeratul
robizeratul


Known Hero
posted January 29, 2017 03:27 PM

What are the object limits? Did you increase them?

Want to make a G map but dunno if I will have enough objects hehe

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Sun_Carrier
Sun_Carrier

Tavern Dweller
Carry the Sun!
posted February 07, 2017 06:34 PM

Seems like a mod I'd like to get. Though there is one thing that troubles me - is there a way to get the XXL mod to work with the HD mod? I'm asking this since it was mentioned that both mods needed to be opened through their respective .exes.
____________

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Vampire_Rush
Vampire_Rush


Adventuring Hero
posted February 10, 2017 02:29 PM

Sun_Carrier said:
Seems like a mod I'd like to get. Though there is one thing that troubles me - is there a way to get the XXL mod to work with the HD mod? I'm asking this since it was mentioned that both mods needed to be opened through their respective .exes.


Well, according to most people posting here you do not need XXL mod if you have hd mod, which is a mystery to me.

Can someone please explain? I have tested playing the template Nostalgia XXL for example but it seems to be a normal XL size by counting the squares on the map.

Also I would prefer (playing batoonikes template and) the template Marathon in XXL since that is the only random template that seems to have a long and hard way between the starting towns.

And Alex, can you at least take some time to answer why you do not answer my previous post in this topic? I suppose you do not have to but I would like to know.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
RoseKavalier
RoseKavalier


Admirable
Supreme Hero
posted February 10, 2017 05:10 PM
Edited by RoseKavalier at 04:34, 23 Feb 2017.

65,535 objects patch

Many thanks to AlexSpl who managed to solve this here!

TL;DR
Here is a complete list of fixes to allow 65,535 objects/decorations in SOD.

Address in memory; Old value; New value - Note this is for SoD 3.2 (thus HDmod) and ERA
(for memory address, add 400000)

09C021: BF -> B7
0A763F: BF -> B7
0A9423: BF -> B7
0AA82E: BF -> B7
0C9662: BF -> B7
0FD12B: 66 -> 0F
0FD12C: 8B -> BF
0FD12E: 66 -> 83
0FD12F: 83 -> FF
0FD131: 0F -> 74
0FD164: BF -> B7
105C75: 66 -> 0F
105C76: 8B -> BF
105C79: 66 -> B3
105C7A: 85 -> FE
105C7B: F6 -> FF
105C7C: 7C -> 74
105C9F: BF -> B7
12CD26: 66 -> 0F
12CD27: 8B -> BF
12CD2A: 66 -> 83
12CD2B: 85 -> FF
12CD2D: 7C -> 74
12CD36: BF -> B7


In ERM: (written to memory)
!!UN:C4833313/1/183 ; B7 at 0x49C021
!!UN:C4879935/1/183 ; B7 at 0x4A763F
!!UN:C4887587/1/183 ; B7 at 0x4A9423
!!UN:C4892718/1/183 ; B7 at 0x4AA82E
!!UN:C5019234/1/183 ; B7 at 0x4C9662
!!UN:C5230891/2/4031 ; 0FBF at 0x4FD12B
!!UN:C5230894/2/33791 ; 83FF at 0x4FD12E
!!UN:C5230898/1/132 ; 84 at 0x4FD132
!!UN:C5230948/1/183 ; B7 at 0x4FD164
!!UN:C5266549/2/4031 ; 0FBF at 0x505C75
!!UN:C5266553/4/2214526836 ; 83FEFF74 at 0x505C79
!!UN:C5266591/1/183 ; B7 at 0x505C9F
!!UN:C5426470/2/4031 ; 0FBF at 0x52CD26
!!UN:C5426474/4/2214592372 ; 83FFFF74 at 0x52CD2A
!!UN:C5426486/1/183 ; B7 at 0x52CD36

#### A little background for those interested ####

Several years back when Salamandre was making his epic TEW IV, he found out that when too many objects are on the map, some of them stop working.

Then came along AlexSpl who proposed a patch to correctly allow extra items.
65535 working objects

#### Fast forward a few years ####

I'd been having problems with a SOD map crashing and eventually figured it had too many objects since deleting a part of them made the map work again. Sadly, I had tried the first patch but it wasn't quite working.

#### Fast forward a few more years ####

After learning the very basics of Assembly (and I'm a total newbie) and investigating the crash log, I managed to find a new patch that allowed the map to load up to 65,535 objects.
0x004C9662 BF -> B7

But there were still a few weird things happening in the map which sometimes created crashes.

At this point, AlexSpl proved to be the hero we deserve and found the remaining patches which are shared at the start of this post.

EDIT: Added new fixes found by AlexSpl
____________
My Let's Plays: Metataxer's Revenge - The Empire of The World 2

 Send Instant Message | Send E-Mail | View Profile | PP | Quote Reply | Link
AlexSpl
AlexSpl


Responsible
Supreme Hero
posted February 10, 2017 06:51 PM
Edited by AlexSpl at 19:17, 10 Feb 2017.

Actually there is more to this problem than meets the eye. Those basic patches just eliminate most common crashes. I know the HotA team solved the puzzle, but I'm not sure if they want to share their fixes.

Anyway, there are more fixes to apply. For example, A763F: BF -> B7. Also the fix at 0x4FD131 should be rewritten in a safer way.

I'll post this and other fixes later.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Baronus
Baronus


Legendary Hero
posted February 10, 2017 07:53 PM
Edited by Baronus at 20:03, 10 Feb 2017.

So how to run xxl maps on Era? I dont see any solution to Era? Is a mod for 180-252 maps or maybe 288?
Ive found here:
http://heroescommunity.com/viewthread.php3?TID=41027
Its only 252 or 180-252? I must test it.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
AlexSpl
AlexSpl


Responsible
Supreme Hero
posted February 10, 2017 09:20 PM
Edited by AlexSpl at 21:32, 10 Feb 2017.

65,535 objects patch

09C021: B7
0A763F: B7
0A9423: B7
0AA82E: B7
0C9662: B7

0FD12A: 0F BF 78 24 83 FF FF 0F 84
0FD164: B7

105C75: 0F BF 77 24 83 FE FF 74
105C9F: B7

12CD26: 0F BF 7F 24 83 FF FF 74
12CD36: B7

In case you wonder what 0F BF 78 24  83 FF FF  0F 84 means:

movsx   edi, word ptr [eax+24h]
cmp     edi, -1
jz ...

There are a few more instructions that might need a fix, but I should check them first.

UPD Just fixed instructions.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
AlexSpl
AlexSpl


Responsible
Supreme Hero
posted February 11, 2017 12:43 AM
Edited by AlexSpl at 08:36, 11 Feb 2017.

Quote:
Can someone please explain? I have tested playing the template Nostalgia XXL for example but it seems to be a normal XL size by counting the squares on the map.

Make sure your heroes3.exe size is 2,732,032 bytes. Apply XXL patch to heroes3.exe (if you play HD mod you don't need to copy anything to DATA folder, but rmg.txt). You'll get heroes3_XXL.exe. Choose it in HD Launcher and play. But I'm not sure if the latest version of HD mod supports XXL patch.

Well, just checked it on 4.207 RC3. It seems XXL patch is no longer supported by HD mod (when you click "M", "L", or "XL" buttons, HD mod exits). Works only with old versions.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
RoseKavalier
RoseKavalier


Admirable
Supreme Hero
posted February 12, 2017 03:18 PM

AlexSpl said:
65,535 objects patch

09C021: B7
0A763F: B7
0A9423: B7
0AA82E: B7
0C9662: B7

0FD12A: 0F BF 78 24 83 FF FF 0F 84
0FD164: B7

105C75: 0F BF 77 24 83 FE FF 74
105C9F: B7

12CD26: 0F BF 7F 24 83 FF FF 74
12CD36: B7

In case you wonder what 0F BF 78 24  83 FF FF  0F 84 means:

movsx   edi, word ptr [eax+24h]
cmp     edi, -1
jz ...

There are a few more instructions that might need a fix, but I should check them first.

UPD Just fixed instructions.

So quite a few more movzx instructions were needed than I had first thought
I'll update my other post with this new information.
____________
My Let's Plays: Metataxer's Revenge - The Empire of The World 2

 Send Instant Message | Send E-Mail | View Profile | PP | Quote Reply | Link
robizeratul
robizeratul


Known Hero
posted February 13, 2017 08:39 AM
Edited by robizeratul at 08:39, 13 Feb 2017.

Im glad... but most people have no clue what you are talking about ...

Im making a map, G sized, with the xxl era patch from era, have no clue what those numbers mean... some objects have a 48 limit, would love to remove that, can it be done ?

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
RoseKavalier
RoseKavalier


Admirable
Supreme Hero
posted February 13, 2017 02:24 PM

robizeratul said:
Im glad... but most people have no clue what you are talking about ...

Im making a map, G sized, with the xxl era patch from era, have no clue what those numbers mean... some objects have a 48 limit, would love to remove that, can it be done ?


If you place too many items of any kind on a map, the game will automatically crash because it can't handle much more than ~40,000 (don't know the exact figure but it's more than 32,768). With the modifications discussed in the previous posts there should be no problem to place up to 65,535 objects.

As to your question, are you talking about map editor or game? For mapeditor it's not too difficult to change.


However for game, some limits remain. If you put more than 255 garrisons, game automatically crashes. Or 49 seers, 49 towns each make game crash. You'll need VCMI for this kind of change AFAIK.
____________
My Let's Plays: Metataxer's Revenge - The Empire of The World 2

 Send Instant Message | Send E-Mail | View Profile | PP | Quote Reply | Link
alekssandros
alekssandros

Tavern Dweller
posted May 18, 2018 05:44 PM

7 years later I ask xD

Is actually solved the problem with going over 252x252?

I would like to do this map and 252x252 looks small for me n_n!


 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Tiver
Tiver

Tavern Dweller
posted June 23, 2018 11:21 PM

One of these maps and there goes my weekend.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Tiver
Tiver

Tavern Dweller
posted June 23, 2018 11:23 PM

Is there really a big demand for these super maps? Are there that many masoquists out there?

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
hzworld
hzworld

Tavern Dweller
posted September 30, 2018 07:24 AM

How to open the generated map?

Hi Guys!
great job!
Now, i use the XXL mod for generating BIG map when starting game and selecting random map, such as M - 180 x 180, L - 216 x 216, XL - 252 x 252。MapEDitor works well for 252 x 252 maps, but fail to open 216 x 216 maps as well as 180x180, even i use "WoG Irregular Map Maker.exe".
MapEDitor can only generate 144 x 144 and 252 x 252!

How can i edit 216 x 216 and 180 x 180 maps?

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread » This thread is 22 pages long: 1 2 3 4 5 ... 10 ... 18 19 20 21 22 · «PREV / NEXT»
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0949 seconds