BTS Unaltered Gameplay Project

Status
Not open for further replies.
I did some testing and found that the problem is caused if any file is missing translations. In other words, all four translations (French, German, Italian, and Spanish) must be present for each text key. Once I filled them in for the Sevopedia file, it worked.

Here's the file if you want for now. Otherwise it will be included in the next update.

Sevopedia_CIV4GameText.xml

Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Sid Meier's Civilization 4 -->
<!-- -->
<!-- Game Text - Unit Upgrades for Civilopedia -->

<Civ4GameText xmlns="http://www.firaxis.com">
	<TEXT>
		<Tag>TXT_KEY_WIDGET_HELP</Tag>
		<English>SEVOPEDIA 2.3.1</English>
		<French>SEVOPEDIA 2.3.1</French>
		<Gernam>SEVOPEDIA 2.3.1</Gernam>
		<Italian>SEVOPEDIA 2.3.1</Italian>
		<Spanish>SEVOPEDIA 2.3.1</Spanish>
	</TEXT>
	<TEXT>
		<Tag>TXT_KEY_PEDIA_CATEGORY_UNIT_UPGRADES</Tag>
		<English>Unit Upgrades</English>
		<French>Unit Upgrades</French>
		<Gernam>Unit Upgrades</Gernam>
		<Italian>Miglioramenti Unità</Italian>
		<Spanish>Unit Upgrades</Spanish>
	</TEXT>
	<TEXT>
		<Tag>TXT_KEY_PEDIA_CATEGORY_PROMOTION_TREE</Tag>
		<English>Promotion Tree</English>
		<French>Promotion Tree</French>
		<Gernam>Promotion Tree</Gernam>
		<Italian>Albero delle Promozioni</Italian>
		<Spanish>Promotion Tree</Spanish>
	</TEXT>
	<TEXT>
		<Tag>TXT_KEY_PEDIA_CATEGORY_NATIONAL_WONDERS</Tag>
		<English>National Wonders</English>
		<French>National Wonders</French>
		<Gernam>National Wonders</Gernam>
		<Italian>Meraviglie Nazionali</Italian>
		<Spanish>National Wonders</Spanish>
	</TEXT>
	<TEXT>
		<Tag>TXT_KEY_PEDIA_CATEGORY_GREAT_WONDERS</Tag>
		<English>Great Wonders</English>
		<French>Great Wonders</French>
		<Gernam>Great Wonders</Gernam>
		<Italian>Grandi Meraviglie</Italian>
		<Spanish>Great Wonders</Spanish>
	</TEXT>
	<TEXT>
		<Tag>TXT_KEY_PEDIA_CATEGORY_CONCEPT_NEW</Tag>
		<English>BTS Concepts</English>
		<French>BTS Concepts</French>
		<Gernam>BTS Concepts</Gernam>
		<Italian>Concetti di BTS</Italian>
		<Spanish>BTS Concepts</Spanish>
	</TEXT>
	<TEXT>
		<Tag>TXT_KEY_UNIQUE_BUILDINGS</Tag>
		<English>Unique Building</English>
		<French>Unique Building</French>
		<Gernam>Unique Building</Gernam>
		<Italian>Edifici Unici</Italian>
		<Spanish>Unique Building</Spanish>
	</TEXT>
</Civ4GameText>
 
<Gernam>Promotion Tree</Gernam>

What language is that? I am fairly sure you mean GERMAN! :lol: :rolleyes: :D
 
I did some testing and found that the problem is caused if any file is missing translations. In other words, all four translations (French, German, Italian, and Spanish) must be present for each text key. Once I filled them in for the Sevopedia file, it worked.

You are right! :goodjob:
Now I remember that the problem was this one, and that the solution was the one you have used, that is to add the missing language entries.
Strange thing that it requires all of them and not only the ones for the language that somebody is using, so it was difficult to remember.:crazyeye:

Thanks a lot :)
 
<Gernam>Promotion Tree</Gernam>

What language is that? I am fairly sure you mean GERMAN! :lol: :rolleyes: :D

Shoot. And I even typed it that way when posting the above message and corrected it immediately. :lol: Even funnier, it solves the problem. Maybe it ignores the tag and only considers the position, given that you specify your language in the INI using a number.

Fixed in next update.
 
Shoot. And I even typed it that way when posting the above message and corrected it immediately. :lol: Even funnier, it solves the problem. Maybe it ignores the tag and only considers the position, given that you specify your language in the INI using a number.

I think so, but it's funny :lol:

BTW, I've tested it for half an hour, and everything seems to work properly also with the localized Italian version (and with Vista ;) )...
a very good mod you are doing, really :goodjob:
 
@Cammango, if you're willing to help with translations of not just xml but the documentation, that would be a huge help. SourceForge has a repository for documentation too, so that should be easy to keep the structure.doc file updated. Let me know if you want on, and I'll add you to the project on SourceForge and give you full access to docs. I'll take a look into the loading problem you're experiencing. Did you try using the .exe I created, or just downloaded the zipped code?

@ruff - I was thinking and I think you're right about it being linked to level instead of experience. You may have 20 guys running around with a ton of experience points, but you haven't promoted them yet... so instead of having 20 generals, and no grunts, you'll only have a few generals, and the majority will be grunts waiting to level. How many levels are there? 5? If so it should be easy to make a basic ranking structure, even maybe later on down the road make it ethnic.

I'll be updating SourceForge today, and I believe everyone is added... I added you Ket, but not sure if it's the same Ket.;) Let me know if it is you.

Has everyone tried SourceForge and Tortoise so far? If you have some questions I can answer the intial set up and a few basic questions about operation of the site. Let me know if anything needs to be changed.
 
@ruff - I was thinking and I think you're right about it being linked to level instead of experience. You may have 20 guys running around with a ton of experience points, but you haven't promoted them yet... so instead of having 20 generals, and no grunts, you'll only have a few generals, and the majority will be grunts waiting to level. How many levels are there? 5? If so it should be easy to make a basic ranking structure, even maybe later on down the road make it ethnic.
Level 5?? No. Levels are unlimited. Usually, people promote when they have the option. Sometimes, they save a promotion so that they can speed up the healing of a unit.

druid6.JPG
 
Dear God that can't be a real screen shot! Well, I still think we should find a range that is more plausable... the person with the idea had 26 listed... I think 25 is a good range... How many people will have a unit that survives that long? Mine are usually killed off within 20 battles.

And good news on the shipping of your BTS.;) isa, we'll see you hooked within a weekend.;)

Also, besides the autologger, and getting Italian language support added, I think we're ready for 1.0. Let me know what you guys think, but I put our task for the end of v1.0 as August 20th.
 
Glad you got CDA working; that's great.

BTW, CDA always had a bug where it would get corrupted when you had more than about 20 cities. Any chance of fixing that?

Also, CDA like the the regular DA, doesn't remember your sort when you click a city and change its production from within the DA. It would sure be nice if the sort would stay put (so you can go through and work on all your top cities one by one, for instance).

Thanks.
 
The most current version (0.11) is on the SVN. Updated the ReadMe file, and included the directory structure as well.

Cammagno, would you mind translating the ReadMe into Italian too? If we have Italian support should be complete.

Don't forget to add revision notes for what you upload... I've been bad about it myself, but don't do as I do....;)
 
The problem with sorting in the CDA is that the table control is provided by the C++ game file (not the SDK I don't think). I don't think we get any message when the table is sorted, so there's no way to remember it when the list is repopulated. I agree that it's annoying and will see what I can find.

As for the 20+ city thing, I got it to crash after playing with it for a minute while porting it -- 1 city. I'm still not very familiar with the code, but when I get some time I'll go through it. It's pretty clean, so hopefully I can find something that looks like it would cause a crash. To be honest, crashes tend to point to something wrong with the windowing toolkit/widgets rather than the Python code.
 
IIRC, There was a Domestic Advisor MOD that did allow for the list to in the same order.

Also, the 20+ city thing should have been resolved with the release of BTS. Maybe you can steal something for it for the button? If it's crashing, then I'd say it was still a problem with BTS. I'll go crazy on a game I have, and take over some cities and see if I can get it to crash with either domestic advisor.
 
Playing around with CDA... see it has Cammagno's 30 screen list... very nice. Where is the CustomDomAdv.txt file stored now? Next thing we should look into for the CDA (In the future of course) is the ability to switch between different CDA.txt files, and look into the possibility of saving and loading from withing the CDA. Wish Taelis was still around...

And still getting that damn problem of it not always refreshing after swtiching views. Anyone else getting this?

FYI - Loaded a game with around 30 cities, and have been playing around within the screen. No crashes at all. I really think they fixed the button in BTS.
 
After :hammer2: for a minute for missing the blatantly obvious when I tried to get the zoom-to-city button to work before, I'm pleased to say that the button works just fine. We'll see if 20+ cities causes any problems with it, but I don't see how.

Now to see about storing the sort order . . . .

Alerum, what do you mean by not refreshing when switch views? I assum you mean choosing a different "page" from the dropdown list, right? How exactly doesn't it refresh? Does it not redraw the column headings, the values, what? When I was adding new columns with incorrect formulas, the table would stop drawing at the bad column, sometimes leaving the culture level list at the bottom "behind" the table. Is that what you mean?

Oh yeah, and I didn't include any text file for CDA, so if you're seeing Commagno's pages, it's because you installed them yourself (or Commagno added them to SF.net, if so :goodjob:).
 
@Cammango, if you're willing to help with translations of not just xml but the documentation, that would be a huge help.

Sure, no problem :)

SourceForge has a repository for documentation too, so that should be easy to keep the structure.doc file updated. Let me know if you want on, and I'll add you to the project on SourceForge and give you full access to docs.

If you want to add me, I'll try to learn how to use it :crazyeye:

I'll take a look into the loading problem you're experiencing. Did you try using the .exe I created, or just downloaded the zipped code?.

Problem solved. it was that old problem for localized version caused by the lack of language tags in one (or more) of the old files...
I use the zip version, because I like to have more control on the installing process... it's one of my long-lasting phobias :lol:
 
Cammagno, would you mind translating the ReadMe into Italian too? If we have Italian support should be complete.

I'll do it in the next hour, and I'll post it here, for practical reasons. In the future, I'll try to learn how to use that repository :)

Note: sorry for the late answer to your request, but we have lag problems... when you post, here in Italy we are in the deep of the night, so some hours are required before I can answer to you :rolleyes:
 
Playing around with CDA... see it has Cammagno's 30 screen list... very nice. Where is the CustomDomAdv.txt file stored now?

:confused:
I don't see them... probably they already were in your Civ4 main folder, so the CDA use them


Next thing we should look into for the CDA (In the future of course) is the ability to switch between different CDA.txt files, and look into the possibility of saving and loading from withing the CDA. Wish Taelis was still around...

I agree with you, I wanted to release a new version of my pages optimized for BtS, and I was thinking of making two of them, one "complate version" with all the possible pages, and one "reduced version" with the more important ones.
A simple solution (I think) will be to enable the desired version of those pages (the original one, my two versions and in the future some other ones) from the BUG option screen... less elegant that your solution, but probably easier to implement. Another related important thing will be to modify the CDA so that this configuration file will go in the Documents/MyGames/... folder, instead of the CivIV installing directory.
 
Oh yeah, and I didn't include any text file for CDA, so if you're seeing Commagno's pages, it's because you installed them yourself (or Commagno added them to SF.net, if so :goodjob:).

My nick must be terrible for English-speaking people, nobody ever spell it properly, not even in the ToDoList... :sad: ... :lol: :lol: :lol:

Speaking of the CDA and the configuration file, two things may be useful: the moving of that file from the main installing direcrory to the BTS directory under Documents/MyGames/ is the first.
The second one, whitch will allow to greatly reduce the size of the columns (and so the needed pages to store all the information) is the possibility to put into the headers of that columns the icons of the buildings and resources instead of (or even before) the names (as it was done in "ModifiedSpecialDomesticAdvisor"). This also solve another problem, which is that with the name of building and resources, the size of columns must be optimized for each different language, while obviously not if we have icons.
Another useful thing for reducing the number of the pages is the possibility to scroll orizonally the table, but if the icons modification is possible, this scrolling modification will probably be much less useful.

Edit: Taelis had added to his CDA the icons for the resources, and it worked fine, but a small problem related to the "zoom button question". Probably The Lopez removed them when he made the CDA version for WL, but now that BtS seems to have solved that type of problem, I hope that the icons can came back. [you can see http://forums.civfanatics.com/showpost.php?p=3543653&postcount=47 and http://forums.civfanatics.com/showpost.php?p=3573070&postcount=51 for reference]
 
My nick must be terrible for English-speaking people, nobody ever spell it properly, not even in the Readme... :sad: ... :lol: :lol: :lol:

:lol: And here I thought I had finally gotten it right! The toughest part is that your nick is very close to the English word "Commando" (a promotion in Civ4). Because it is so close, my fingers keep wanting to type that. Now that you pointed it out, I should get it from here on out, ok Camanche? :p

the moving of that file from the main installing direcrory to the BTS directory under Documents/MyGames/ is the first.

Agreed.

the possibility to put into the headers of that columns the icons of the buildings and resources instead of (or even before) the names (as it was done in "ModifiedSpecialDomesticAdvisor").

Doubleplusagreed. I vastly prefer the way MSDA does it. The icon headers make the columns narrower, but also a simple "x" (have it), "o" (can build it), or "-" (can't build it) for the value is much cleaner. I know the effects of the Library. If I forget, I'll open a city screen or the Sevopedia. No need to have it repeated here. I'll have to look up the values from MSDA, but that's the gist of it.

Bonus points to have it skip buildings not available to your civ.

Another useful thing for reducing the number of the pages is the possibility to scroll orizonally the table

This is possible using the same technique MSDA did: refilling the entire table. The table control in the game doesn't have a horizontal scrollbar AFAICT. Honestly, I think grouping the buildings into pages might just be better overall:

  • Production modifiers
  • Commerce (gold, science, culture, espionage) modifiers
  • Religious
  • National Wonders
  • World Wonders
If the first two could fit together, it'd help reduce the number of pages.

Also, let me know if I'm missing any other columns. The new ones I added are

  • Culture Turns - :culture:T
  • Great Person Turns - :gp:T
  • Espionage Rate - :espionage:
  • Espionage Defense Modifier - :espionage:%
  • Corporations
Buildings are added automatically from the XML files.
 
Status
Not open for further replies.
Back
Top Bottom