The Altera Centauri collection has been brought up to date by Darsnan. It comprises every decent scenario he's been able to find anywhere on the web, going back over 20 years.
25 themes/skins/styles are now available to members. Check the select drop-down at the bottom-left of each page.
Call To Power 2 Cradle 3+ mod in progress: https://apolyton.net/forum/other-games/call-to-power-2/ctp2-creation/9437883-making-cradle-3-fully-compatible-with-the-apolyton-edition
Sorry if this is a threadjack, but I am looking for information about the structure of data in the active memory.
I have from CFC user SpiderZord the offset information for all the different datablocks (one for tiles, another for civs, etc), and I know each tile is 4 bytes, each city is 8 byles, etc.
What I was wondering if the structure of data in these binary blocks is likely to be the same as it is in the BIC file. If not, does anyone here know the structure of the info in memory?
I'm also wondering the same, but for the save file. I'm having lots of trouble even finding the save file data.
Come over to CFC! | My Pre-Apolyton Roots! ;)
Civfanatics Moderator of the Civ3, Civ4 Sections and the MP Demogame
Born in TUC2S, Raised in Apolyton, Currently living in CFC. :D
I'm planning on writing a couple scripts, mostly for personal use, for automated generation of documentation and a combat calculator which will extract information directly from a BIX file. Is there a list of the differences between BIC and BIX format anywhere? If not, I suppose I can feel my way through myself, but any tips would be much appreciated.
OK, I've been moving forward with my project. I'm using 3 sample BIC/BIX files as I go to test things: standard vanilla 1.29f BIC, standard PTW 1.21f BIX, and modified DyP 1.10xBeta05 BIX. Some comments and questions I've come upon:
- The BIC File Indicator for a BIX is 'BICX' instead of 'BIC '
- In the BLDG section, the posted format has a 4-byte long for "Naval Defense Bonus" What is this? There is no corresponding entry in the editor ("Naval Power" and "Naval Bombardment Defense" are separate propterties) and in the standard BIC/X the only improvement which has a non-zero value here is Coastal Fortress which has '50' I assume the name comes from the civilopedia entry which claims the coastal fortress has "50% defensive bonus against naval attacks." Does this actually work though, since a naval unit can't directly attack a city (it can bombard but that should be covered by the 'Naval Bombardment Defense")? Or does this refer to a defense vs amphibious assault?
- In the BLDG section, PTW added a flag for "increased trade in sea squares" which is obviously not listed on the posted format. It appears to occur right after the "increased food in sea squares" flag.
- In the BLDG section, has anyone determined what the 64-byte "Description" section is?
- In the PRTO section, there are always a number of units repeated at the end of the list. For example, in my vanilla BIC there are 11 units which reappear after the "last" unit in the editor. In my PTW BIX there are 12, and in my DyP BIX there are 15. Has anyone discovered why this is?
- In the TERR section, the posted format lists this: "4-long-number of possible resources" followed by "3-byte-possible resources (binary)" I believe that the 3-byte section is actually a variable size equal to the previous value divided by 8 and rounded up. For example, in vanilla there are 22 resources and 22/8 rounded up is in-fact 3. However, in DyP there are 40 total resources and that binary section is 5-bytes long (40/8 = 5)
Originally posted by pdescobar
- The BIC File Indicator for a BIX is 'BICX' instead of 'BIC '
Indeed. I've been planning on posting the BIX format for long, but never got around to it.
- In the BLDG section, the posted format has a 4-byte long for "Naval Defense Bonus" What is this? There is no corresponding entry in the editor ("Naval Power" and "Naval Bombardment Defense" are separate propterties) and in the standard BIC/X the only improvement which has a non-zero value here is Coastal Fortress which has '50' I assume the name comes from the civilopedia entry which claims the coastal fortress has "50% defensive bonus against naval attacks." Does this actually work though, since a naval unit can't directly attack a city (it can bombard but that should be covered by the 'Naval Bombardment Defense")? Or does this refer to a defense vs amphibious assault?
As you say Costal fortress has it set to 50. However, it's never been editable by the editor, and I'm unsure if it has any efect in the game. It might be (and probably is) something left over from earlhy development, where it could have been possible for ships to actually attack cities ala Civ2, and not just bombard. But the only way to figure out if it has any effect is to run many tests with marine attacks and compare to combat calculator results from with and without a 50% defense bonus.
- In the BLDG section, PTW added a flag for "increased trade in sea squares" which is obviously not listed on the posted format. It appears to occur right after the "increased food in sea squares" flag.
Probably, I have however not investigated the exact meaning of flags.
- In the BLDG section, has anyone determined what the 64-byte "Description" section is?
In Vanilla Civ3 v1.07f that field was in the editor, and it's an outdated field no longer used as all text is moved to the civilopedia.txt
- In the PRTO section, there are always a number of units repeated at the end of the list. For example, in my vanilla BIC there are 11 units which reappear after the "last" unit in the editor. In my PTW BIX there are 12, and in my DyP BIX there are 15. Has anyone discovered why this is?
They are related to the other strategy for unit (-1 if first strategy/not multiplie strategies) value. The repeated units have non -1 at these value, which referes to the first same unit.
Each unit entry has one strategy set. And if you select more than one strat in the editor tghere will be more than one entry for the unit only differing at the AI strategy. (Kind of strange way of using a bitmask if only one can be set at a time, but it has something to do with the AI... Of cource it would be better to have a number for the strat instead.)
- In the TERR section, the posted format lists this: "4-long-number of possible resources" followed by "3-byte-possible resources (binary)" I believe that the 3-byte section is actually a variable size equal to the previous value divided by 8 and rounded up. For example, in vanilla there are 22 resources and 22/8 rounded up is in-fact 3. However, in DyP there are 40 total resources and that binary section is 5-bytes long (40/8 = 5)
100% correct conclution. I'm sure I've known this for long. guess the document is a little more outdated than I knew.
Thanks for the reply Gramphos, particularly on the multi-strategy unit thing; I'd have never figured that one out on my own. I've done some testing on the coastal fortress issue. The "50% defensive bonus against naval attacks" has no effect on amphibious assault in PTW 1.21f, so the only possibility I can see is the one you refer to: that it is legacy from a pre-release version of the game where naval units could attack cities and is now meaningless.
And if there is anything I can do to encourage you to post the BIX format, just let me know
Comment