vktj
Warlord
- Joined
- May 6, 2012
- Messages
- 237
Last update: August 7, 2021
2021 updates: Fixed dead link, rewrite Totestra.
In this rewrite of Totestra, I have made the code a lot closer to the original Perfect World by only retaining Totestra’s most essential features (see below for full feature list). People who wish to use the older version of Totestra with more features will find it readily available in the “old/” folder of the attached zip file.
Unlike the older Totestra, this rewrite has support for extra-huge 192x128 maps.
2019 update: It’s now possible to run a Totestra variant which uses the excellent RadioGatún[32] random number generator both inside Civilization IV and as a stand alone Python script. This allows people without Civilization IV to enjoy Perfect World maps, and makes it possible to automate the process of finding really good map seeds. Please download this at https://github.com/samboy/misc-civ4-mapscripts/releases/tag/2019-07-29 or in the second post of this thread.
2017 update: I do accept third party patches, such as the one q3max made. The script is now available at https://github.com/samboy/Totestra-mapscript/releases
Totestra is a map script--a program that makes random maps for Civilization IV. It is based on Cephalo's excellent PerfectWorld2 map script, and uses plate tectonics, meteor, and weather modeling to create a remarkably realistic earth-like planet. It is an update to PerfectWorld that adds more parameters that can be set inside Civ IV to the map generator, as well as fixing some long standing bugs with Cephalo's map generator. One goal of Totestra is 90% compatibility with PerfectWorld2; given the right parameters, Totestra will make mostly the same map that PerfectWorld2 did.
My motivation for making this map script is fill in the gaps since Cephalo has not made any updates to PerfectWorld2 for eight years.
Here is the obligatory screenshot of a map made with this script:
(To get this map: Choose a huge map with temperate climate, use “standard size” for the “bigger maps” setting, and select “fixed seed”)
And a high-resolution version of the same map:
Goals
My goal with this fork has been to address issues people have had with the script which Cephalo has never addressed.
Unlike Cephalo, I feel basic settings should be changed from Civ4's menus instead of editing the script. I like having the knobs on the front instead of in the back of the unit.
The following can now be set from the Civ 4 menu:
Support
Since I am not getting paid to develop Totestra, the usual expectations a customer may have do not apply here. I may or may not support you, depending on whether I have the time to do so.
That in mind:
https://github.com/samboy/Totestra-mapscript
A copy of this archive is also attached here (the zip file contains both the current streamlined Totestra.py, the older Totestra.py, and a full Git history of Totestra, going back to 2012 versions of the map script).
To install the script, download then copy the file Totestra.py to the PublicMaps directory, which should be at /Users/yourname/Documents/My Games/Sid Meier's Civilization 4 Complete/PublicMaps or somewhere similar. (Cephalo fixed the bugs which required PerfectWorld2 to be in a system directory a long time ago.)
- Sam
2021 updates: Fixed dead link, rewrite Totestra.
In this rewrite of Totestra, I have made the code a lot closer to the original Perfect World by only retaining Totestra’s most essential features (see below for full feature list). People who wish to use the older version of Totestra with more features will find it readily available in the “old/” folder of the attached zip file.
Unlike the older Totestra, this rewrite has support for extra-huge 192x128 maps.
2019 update: It’s now possible to run a Totestra variant which uses the excellent RadioGatún[32] random number generator both inside Civilization IV and as a stand alone Python script. This allows people without Civilization IV to enjoy Perfect World maps, and makes it possible to automate the process of finding really good map seeds. Please download this at https://github.com/samboy/misc-civ4-mapscripts/releases/tag/2019-07-29 or in the second post of this thread.
2017 update: I do accept third party patches, such as the one q3max made. The script is now available at https://github.com/samboy/Totestra-mapscript/releases
Totestra is a map script--a program that makes random maps for Civilization IV. It is based on Cephalo's excellent PerfectWorld2 map script, and uses plate tectonics, meteor, and weather modeling to create a remarkably realistic earth-like planet. It is an update to PerfectWorld that adds more parameters that can be set inside Civ IV to the map generator, as well as fixing some long standing bugs with Cephalo's map generator. One goal of Totestra is 90% compatibility with PerfectWorld2; given the right parameters, Totestra will make mostly the same map that PerfectWorld2 did.
My motivation for making this map script is fill in the gaps since Cephalo has not made any updates to PerfectWorld2 for eight years.
Here is the obligatory screenshot of a map made with this script:
(To get this map: Choose a huge map with temperate climate, use “standard size” for the “bigger maps” setting, and select “fixed seed”)
And a high-resolution version of the same map:
Goals
My goal with this fork has been to address issues people have had with the script which Cephalo has never addressed.
Unlike Cephalo, I feel basic settings should be changed from Civ4's menus instead of editing the script. I like having the knobs on the front instead of in the back of the unit.
The following can now be set from the Civ 4 menu:
- The climate
- Whether to use a fixed or random map seed
- Whether to make a normal sized map, a "fast and dirty" small map, or an extra-huge map which takes longer (and uses more memory) to generate.
- Resource distribution: Whether to evenly spread out resources (less historically accurate; more Civ-game-like) or to have a given resource only on a given continent (more historically accurate; faithful to Cephalo's intentions), or to make a map full of resources (less balanced, but some people may like playing this kind of game)
- New civilization placement option: Have all civs start on the same continent (either the largest continent, or the second largest continent)
- The map script now eliminates coastal mountains and reduces other mountains (the code was in Perfect World, but was broken because of a typo)
Support
Since I am not getting paid to develop Totestra, the usual expectations a customer may have do not apply here. I may or may not support you, depending on whether I have the time to do so.
That in mind:
- Read the FAQ first. http://samiam.org/Civ4/TotestraFAQ.html
- If, when trying to load the script, it gives you nothing but grassland, this means the script failed for some reason. Make sure to post the relevant lines of PythonDbg.log and PythonErr.log so we can try and figure out what's broken with your Civ IV install
- I can not look at any reports of issues with strange looking maps, strange player placements, etc. unless I know the exact parameters that made the map in question. To get this information, look for a sign in the arctic with the map’s seed.
- I will probably not implement whatever pet feature you want to have implemented. Remember: You have the source and I don't think Cephalo will mind if you implement it yourself.
- All support requests or comments need to be posted here in this thread. Please do not PM, email, or use any other contact method to discuss with me this map script.
https://github.com/samboy/Totestra-mapscript
A copy of this archive is also attached here (the zip file contains both the current streamlined Totestra.py, the older Totestra.py, and a full Git history of Totestra, going back to 2012 versions of the map script).
To install the script, download then copy the file Totestra.py to the PublicMaps directory, which should be at /Users/yourname/Documents/My Games/Sid Meier's Civilization 4 Complete/PublicMaps or somewhere similar. (Cephalo fixed the bugs which required PerfectWorld2 to be in a system directory a long time ago.)
- Sam
Attachments
Last edited: