|
Thread: HoMM3 SoD Map filter/finder | |
|
artemonster
Tavern Dweller
|
posted July 04, 2014 05:39 PM |
|
|
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
|
|
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.
____________
|
|
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
____________
|
|
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!
____________
|
|
LizardWarrior
Honorable
Legendary Hero
the reckoning is at hand
|
posted July 26, 2014 10:19 PM |
|
|
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.
____________
|
|
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.
____________
|
|
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.
|
|
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.
|
|
|