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: HoMM3 SoD Map filter/finder
Thread: HoMM3 SoD Map filter/finder
artemonster
artemonster

Tavern Dweller
posted July 04, 2014 05:39 PM
Edited by artemonster at 11:09, 27 Aug 2014.

HoMM3 SoD Map filter/finder tool available.

Hi everyone

today I want to share a tool with you, which I've written a while ago to filter Homm3 SoD (only) maps by following criteria:
1. Map size
2. Has dungeon?
3. Min. amount of players
4. Is Allied?
Then, the program scans the map folder and leaves only those maps, which met the search criteria. Moreover, the matched maps are sorted by the score of "interest factor", which is determined by:
1. Amount of local events
2. Amount of rumors
3. Amount of timed events
4. Amount of quest guards
5. Has Grail on the map?
6. Amount of seer huts
7. Has dragon utopias?
8. Has dragon dwellings (4 types)?

Feel free to look-up the source and download the Release.zip from here:

[url=https://github.com/artemonster/HoMM-Map-Filter]Github[/url]

Example output:



I hope you will enjoy the tool, as it have helped me and my gf to find really cool maps to play together in hot seat mode.

If you find any bugs or crashes, write me at artemonstero@gmail.com.

EDIT1: fixed typos

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


Bad-mannered
Famous Hero
100% Devil
posted July 26, 2014 11:06 AM
Edited by Herry at 12:10, 26 Jul 2014.

nice tool, may i know what language did you use?
edit: it looks like C++ can do quite some stuff.
one problem with it though: it needs a little bit of coloring.
____________

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


Honorable
Legendary Hero
the reckoning is at hand
posted July 26, 2014 06:46 PM

Nice tool you got there, but can it be adjusted to work with WoG/ERA maps?


Herry said:

edit: it looks like C++ can do quite some stuff.

C++ can actually do everything, it's a very popular programming language and used


Herry said:
one problem with it though: it needs a little bit of coloring.


that's because it's a console application and it has no user interface, except using system("color XY") you can't add any colors
____________

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


Bad-mannered
Famous Hero
100% Devil
posted July 26, 2014 07:46 PM

it can do anything, which is wonderful and equally dangerous, here is a random guy's report:
Quote:
Years ago on my 386, I was learning to write low level video card coding in C and I must have messed up because instead of writing to a specific VGA register, I hit the sound card and I my PC made the most un-earthly screaming noise. Totally freaked me out! It was still safe but I learnt a valuable lesson - With power comes responsibility.
By the nature of using a language like C or C++ you naturally want to interact with your PC/WorkStation/OS at a lower level so accept the consequences.
That's why many modern OS have 'Supervisor' and 'User' level access. If you REALLY want to screw your PC up then play around with the DDK

==Edit == Just remembered another one. Years ago I was working with some custom hardware and had one of the first prototype boards. I was testing the new sound chip so knocked up some quick code and sent it across then I heard a massive pop and watched in what seemed like slow-mo as a capacitor blew and sent it's contents hurtling towards my eye. Luckily it just missed my head by inches. Who says C coding isn't bad for your health!

____________

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


Honorable
Legendary Hero
the reckoning is at hand
posted July 26, 2014 10:19 PM
Edited by LizardWarrior at 22:20, 26 Jul 2014.

What? Why would you modify your OS files and screw up your computer... The only dangerous thing about programming is doing a stupid memory leak and run out of RAM.

But let's not derail this topic.
____________

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


Bad-mannered
Famous Hero
100% Devil
posted July 26, 2014 10:55 PM

what? it was a joke, and by the way, didn't you laugh when reading it?
you need some laughing pills to make your day.
____________

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

Tavern Dweller
posted August 06, 2014 06:57 PM

LizardWarrior said:
Nice tool you got there, but can it be adjusted to work with WoG/ERA maps?


I am not sure if WoG/ERA map standard specification is available somewhere(should be, though).
Moreover, I don't have enough time now for this, but you are welcome to try! The code should be reasonably well commented and it shouldn't be hard to add new features to it. If you will have any problems with it, I will gladly explain how it works It is a very simple application, actually

I am glad that somebody found this tool useful We are having a lot of fun playing awesome story-driven allied maps.

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


Promising
Famous Hero
posted August 14, 2014 05:36 PM

artemonster said:

I am not sure if WoG/ERA map standard specification is available somewhere(should be, though).


It's the same as SoD's (as WoG/ERA are based on SoD). It's only version that differs. WoG map version is 51 if I remember it right (maybe it went up as WoG version number changed, I don't know). It's been a while since I looked anywhere close to H3 internals, so I might be wrong.

The simplest way to find out is to output the version as you read the file.

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread »
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0543 seconds