![]() |
| General | Hosted Sites | CivRev | Colonization | Civilization IV | Civilization III | Civilization II | Civilization | Misc | Marketplace |
![]() |
|
|
Welcome to Civilization Fanatics' Center. You are currently viewing our site as a guest which gives you limited access to our site features. By joining our free community, you will be able to participate in the discussions, search the forum, send private messages, vote in polls, upload your own screenshots to the gallery, and access many other special features. Registration is fast, simple and absolutely free, so sign up today! If you have any problems with the registration process or your account login, please contact support. |
|
|||||||
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Settler
Join Date: Apr 2002
Location: Iowa
Posts: 4,372
|
HoF Map Finder/Generator Utility
First of all, I would like to thank Dianthus for helping me out on this project. Without your extensive works on reading/analyzing the save game file, this utility wouldn't be possible.
On my list, you are one of the best C++ coder around here. Dianthus, a big hug and thank to you!![]() I also would like to thank Gramphos, sirp, Hot-bandito, and Aeson for their research on the .SAV file format and its compression format. Without their contribution, this project wouldn't be possible. -------- Well, I did it! This is a utility that will help you find that perfect map for your HoF game. Since I don't know much about the format of the savegame, I recruited Dianthus to help me out on this one. Thanks Dianthus! It's really a join development effort between him and me. I do the user interface (.EXE) and he read the savegame and check for the domination limit (.DLL). Here is a screenshot of it (edit: old screenshot was deleted after 4912 views; the one below is from the latest version):
__________________
The future is all around us, waiting in moments of transition to be born in moments of revelation. No one knows the shape of that future or where it will take us. We know only that it is always born in pain. -- G'Kar My Favorite Game Last edited by Moonsinger; Mar 20, 2005 at 04:51 AM. |
|
|
|
|
|
#2 |
|
Settler
Join Date: Apr 2002
Location: Iowa
Posts: 4,372
|
Version 6.5 (as of 04/20/2005):
http://www.civfanatics.net/uploads9/MapFinder_v65b.zip Additonal features as follows: MapFinder will now recognize multiple rule sets. In order to do that, you need to add rules as follows: #1. Setup your Rules #2. Save your rule to the "rules" directory (it will create/and default to that directory automatically). #3. Go back to step #1 to create another set of rules or whatever. Create as many set of rules as you like. Please try to give each set of rules a meaningful name when you save it! #4. After you have setup all your rules, launch it as usual. Note: You must have at least one rule set save to the "rules" directory in order to find any map. Whenever MapFinder search for maps, it will attempt to satisfy every set of rules stored in the "rules" directory. Btw, this rules directory can be located in the MapFinder directory. New feature: To reverse the sort direction, just click on the header of a column that has already been sorted. Other than the first two columns, the sort direction (either ascending or descending) will be reversed. --------------- Please remember three things when running MapFinder: 1. File/Setup menu is your friend. Always check your setup and verify your setting before generating new maps. 2. Be sure to tell MapFinder the correct AUTO SAVE directory of Civ/PTW/C3C (depending on which version of the game that you are playing). If you forget to do this step, MapFinder won't generate map (it still run just fine, but it won't give you any map) 3. Remember to start "New Game" first and activate MapFinder when you are inside Civ3/PTW/C3C (any time during or after 4000BC but not before 4000BC). For explaination of how to fine tune the two extra sleep functions, check out this post. Discussion about this version was started around page 20 of this thread. Note: This version is bug free and it should work well with all version of CIV3/PTW/C3C with US keyboard layout. If your system default keyboard layout isn't US, you need to temporarily set your keyboard to US before running MapFinder. --------------- Installation Instruction: Unpack utility "mapfinder.zip" to a directory of your choice and create a shotcut for the "mapfinder.exe". --------------- How to use this utlity: 1. Launch the "mapfinder" utility before/after launching Civ3/PTW/C3C 2. Start a "New Game" (very important! You must do this!) 3. Choose Your World! (very important! You must do this!) 4. Go through "Player Setup" and select "Difficulty" level or whatever you like. (again, this is part of the starting up new game process! You must do this before you can play!) 5. That's it! You are now at 4000BC. This is the place where you start MapFinder Technical Note: Basically, the program will work exactly as follows: 1. Tell Civ3/PTW/C3C to start a new game 2. Check for the domination limit or whatever 3. If the requirement (your rule set) is meet, save the game at the beginning of the 4000BC turn and and take a screenshot of the starting location. 4. Go back to step 1. This is an infinite loop until you stop it or whenever its find the max number of maps that you have asked for.
__________________
The future is all around us, waiting in moments of transition to be born in moments of revelation. No one knows the shape of that future or where it will take us. We know only that it is always born in pain. -- G'Kar My Favorite Game Last edited by Moonsinger; Jun 09, 2006 at 05:28 AM. |
|
|
|
|
|
#3 |
|
Chieftain
Join Date: Nov 2003
Posts: 32
|
Kudos to you both. I know this utility will get lots of use here. not only when i make my HOF attempts (coming to an forum near you.) but my general practice games as well. Am looking forward to future updates when your time permits.
Of course an link to the file will probably make it easier to download
__________________
"I care not so much what I am in the opinion of others as what I am in my own." ( Michel de Montaigne) Last edited by Artofcybermars; Jan 20, 2004 at 02:07 AM. |
|
|
|
|
|
#4 |
|
Still hatin' on Khan
Join Date: Jan 2003
Location: The Farm
Posts: 10,772
|
I'm interested in a blue one. Can I get an optional CD player with this?
Just kidding, Moonsinger. I anticipate using this once I have need to generate maps again...
__________________
Kamikaze Watermelons Pwn |
|
|
|
|
|
#5 |
|
Settler
Join Date: Apr 2002
Location: Iowa
Posts: 4,372
|
Sorry, I forgot to include the zipfile. It's now included in my second post.
Also, each unit of the "time delay" = 1/1000 of a second. Therefore, 7000 = 7 seconds. I will have to do some unit conversion in the final version. Btw, I have done a test run of it for about 1 hour. Just found 2 map with domination limit of 4512 and 4514. One of them right on the river and next to a cow! ![]() PS: For starter, I recommend the default "time delay" which currently set for C3C. For PTW and Civ3, you may want to cut that number down in half (note: C3C take twice as long in loading/saving). In any case, do not set them to lower values during your first attempt.
__________________
The future is all around us, waiting in moments of transition to be born in moments of revelation. No one knows the shape of that future or where it will take us. We know only that it is always born in pain. -- G'Kar My Favorite Game Last edited by Moonsinger; Jan 20, 2004 at 02:37 AM. |
|
|
|
|
|
#6 |
|
Shadow creature
Join Date: Jul 2002
Location: www.CivDuelZone.com
Posts: 5,811
|
Great News Moonsinger (and Dianthus)
__________________
Thus, from the war of nature, from famine and death, the most exalted object which we are capable of conceiving, namely, the production of the higher animals, directly follows. Charles Darwin - The Origin of Species PBEM and Pitboss spoilers at www.civduelzone.com/Darkness' House of Horrors |
|
|
|
|
|
#7 |
|
Still hatin' on Khan
Join Date: Jan 2003
Location: The Farm
Posts: 10,772
|
Well, I downloaded it and tried to launch it:
__________________
Kamikaze Watermelons Pwn |
|
|
|
|
|
#8 | |
|
Settler
Join Date: Apr 2002
Location: Iowa
Posts: 4,372
|
Quote:
http://www.civfanatics.net/uploads6/mapfinder2.zip
__________________
The future is all around us, waiting in moments of transition to be born in moments of revelation. No one knows the shape of that future or where it will take us. We know only that it is always born in pain. -- G'Kar My Favorite Game Last edited by Moonsinger; Jan 20, 2004 at 10:03 AM. |
|
|
|
|
|
|
#9 |
|
orangesoda
![]() Join Date: Nov 2001
Posts: 2,304
|
Have you thought about modifying this to work with random multiplayer maps? I'm sure a lot of people would be interested in having a utility which will quickly tell them if all starting positions are within a certain range.
__________________
"tout comprendre, c'est tout pardonner." |
|
|
|
|
|
#10 | |
|
Settler
Join Date: Apr 2002
Location: Iowa
Posts: 4,372
|
Quote:
Therefore, it's really up to you guys to recruit Dianthus on whatever new adventure/utility for the multiplayers.PS: I also just found a really good map last night (after about 1000 iterations). Domination limit of over 4552 next to cow and river (deity level); when I have time, will see if I can break 60K.
__________________
The future is all around us, waiting in moments of transition to be born in moments of revelation. No one knows the shape of that future or where it will take us. We know only that it is always born in pain. -- G'Kar My Favorite Game |
|
|
|
|
|
|
#11 | |
|
Small but hardy
Join Date: Mar 2003
Location: Woking, UK
Posts: 5,810
|
Quote:
. Aeson, what sort of criteria are you thinking of? Are you saying you want to know how close the human player start positions are?
|
|
|
|
|
|
|
#12 |
|
Settler
Join Date: Apr 2002
Location: Iowa
Posts: 4,372
|
Ok, I will do the GUI if you can do the core. However, if we are going to continue this partnership, I think I need to get a C++ Builder compiler soon. Why interfacing with the DLL when I should be leaning how interface with its core directly?
__________________
The future is all around us, waiting in moments of transition to be born in moments of revelation. No one knows the shape of that future or where it will take us. We know only that it is always born in pain. -- G'Kar My Favorite Game |
|
|
|
|
|
#13 | |
|
orangesoda
![]() Join Date: Nov 2001
Posts: 2,304
|
Quote:
Make the parameters configurable. A range of 'good' tiles within a certain radius. So a group starting a PBEM could just generate a map, run the utility, and see if each player has at least 5 useable tiles within a radius of 3... or whatever. That would allow them to filter out maps where one or more starting locations aren't viable.
__________________
"tout comprendre, c'est tout pardonner." |
|
|
|
|
|
|
#14 | |
|
Settler
Join Date: Apr 2002
Location: Iowa
Posts: 4,372
|
Quote:
Time like this, I wish I have half of his talent. Seriously, sometimes I really wish I have more brain.
__________________
The future is all around us, waiting in moments of transition to be born in moments of revelation. No one knows the shape of that future or where it will take us. We know only that it is always born in pain. -- G'Kar My Favorite Game |
|
|
|
|
|
|
#15 | ||
|
Small but hardy
Join Date: Mar 2003
Location: Woking, UK
Posts: 5,810
|
Quote:
. I think you're being a bit hard on yourself though. After all, you've done a good job on the GUI. Oh, and I've seen you play Civ .Quote:
|
||
|
|
|
|
|
#16 |
|
Still hatin' on Khan
Join Date: Jan 2003
Location: The Farm
Posts: 10,772
|
I just downloaded this again and ran it for a few minutes for maps with a domination limit of 3500 (I wanted to see how it worked without waiting an hour
). All I can say is that this program rocks! ![]() Moonsinger and Dianthus, the two of you have created something that's going to save me hundreds of hours "between" games generating maps. I'd have been ecstatic just to have .savs generated at a certain domination limit, but to have included accompanying screenshots? Goodness gracious... ![]() ![]() ![]() ![]() ![]() By the way, thank you!
__________________
Kamikaze Watermelons Pwn |
|
|
|
|
|
#17 | |
|
Settler
Join Date: Apr 2002
Location: Iowa
Posts: 4,372
|
Quote:
Of course, for this MapFinder utility, I would simply pass it the radius of 1. Basically, you are giving birth to an API for Civ3!
__________________
The future is all around us, waiting in moments of transition to be born in moments of revelation. No one knows the shape of that future or where it will take us. We know only that it is always born in pain. -- G'Kar My Favorite Game |
|
|
|
|
|
|
#18 | |
|
Settler
Join Date: Apr 2002
Location: Iowa
Posts: 4,372
|
Quote:
__________________
The future is all around us, waiting in moments of transition to be born in moments of revelation. No one knows the shape of that future or where it will take us. We know only that it is always born in pain. -- G'Kar My Favorite Game |
|
|
|
|
|
|
#19 |
|
Josef Popper 4ever
Join Date: Oct 2003
Location: Holon, Israel
Posts: 1,551
|
Wow.. API for Civ3 for Windows for PC for me!
Can.. can u give me the code?? I'd love to learn it and advise! Regards, Chaim. |
|
|
|
|
|
#20 |
|
Shaken, not stirred.
Join Date: Jan 2002
Location: Qualicum Beach BC Canada
Posts: 1,404
|
Wowee!
[dance] Thank you so much Moonsinger and Dianthus!This is an inspired utility, makes me want to start a new HOF game
|
|
|
|
![]() |
| Bookmarks |
|
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| HOF Map Finder | morpheus11 | Civ4 - Hall of Fame Discussion | 18 | Sep 09, 2009 11:25 PM |
| Map finder/generator | Tukker | Civ4 - Creation & Customization | 1 | May 23, 2008 04:53 PM |
| Civ4 Map Finder Utility with BTS support ready! | Denniz | Civ4 - Hall of Fame Discussion | 0 | Aug 04, 2007 03:19 PM |
| map finder utility | A_Turkish_Guy | Civ3 - Hall of Fame Discussion | 15 | Feb 29, 2004 10:16 AM |
| Utility Request: Tech Tree Generator | computerdude113 | Civ3 - Creation & Customization | 1 | Feb 11, 2003 08:42 AM |