Development Thread

Considering also this, I vote for keeping it in BOS
(and maybe adding some words in the hover text explaining that it can be used when the used mod changes the default font)

Okay, I put it back and added this to the hover text:

"Use this to adjust the placement of the icons when using themes that change the font. For example, use 6 with BlueMarble."​
 
Okay, here's a suggestion for the directory format:

Code:
My Docs\
              Beyond the Sword\
                                           BUG Mod INIs\
                                           BUG Mod Help\
                                           BUG Mod Autolog\
                                           BUG Mod Art\
                                           BUG Mod Misc\

I mean, I'm sure people don't mind cluttering things up a bit.;)

Anyway, since I'm not as good as Ruff as being sarcastic, I think I should point out that I'm not serious. I really think it's better to have everything contained within one folder, and then create subfolders within that. BTS doesn't make 7 folders within My Games, it makes one called BTS, and then puts everything in there, and people seem to find it okay. I think we should stick with that, and if we want more directories, to expand them in the single BUG Mod folder.
 
Okay, I put it back and added this to the hover text:

"Use this to adjust the placement of the icons when using themes that change the font. For example, use 6 with BlueMarble."​

Man, you guys are hard to convince. ;)
So, we have standard settings (Promotion Icon Offset = 0) and we have Blue Marble (Promotion Icon Offset = 6). If the right value could be chosen automatically by BUG (possible or not?), the setting at the options screen gets superfluous for those two user groups and would otherwise just be confusing for them. The remaining group which uses completely different font settings could still change the Promotion Icon Offset in the INI. And everyone would be happy. :D
 
There may be a way to test if the user has BlueMarble installed, but I don't know if we can test if they've also changed their font. I think we need to allow the user to specify the offset. And as I said the main reason for having it on the screen is so that you can see the effect to find the right value.

As a user, I would not want to have to restart civ 10 times to find the value that works. :mad:
 
There may be a way to test if the user has BlueMarble installed, but I don't know if we can test if they've also changed their font. I think we need to allow the user to specify the offset. And as I said the main reason for having it on the screen is so that you can see the effect to find the right value.

As a user, I would not want to have to restart civ 10 times to find the value that works. :mad:

Well, the font settings are stored in Civ4Theme_Common.thm in the folder "...\Civilization 4\Beyond the Sword\Resource\Themes\Civ4" (should be line 373, AFAIK).

As a user who plays with a font like Comic Sans MS or Bullpen you don't deserve better. :mad:
s000.gif
 
As a user who plays with a font like Comic Sans MS or Bullpen you don't deserve better. :mad:
s000.gif

Dude, I play with Wingdings! It's the only challenge I have left. :cool:
 
Regarding the great folder debate, how about this:

Move all the help files and license/readme to [Custom]Assets/Help (hopefully this won't choke Civ, but it had no problem with my new Config folder so ...).

Keep BUG Mod inside "My Games/BTS". It will now hold INIs and CustomDomAdv files since the user may modify those.

Hmm, those are the only files in "BUG Mod" folder. Is this necessary? :confused:
 
Regarding the great folder debate, how about this:

Move all the help files and license/readme to [Custom]Assets/Help (hopefully this won't choke Civ, but it had no problem with my new Config folder so ...).

Keep BUG Mod inside "My Games/BTS". It will now hold INIs and CustomDomAdv files since the user may modify those.

Hmm, those are the only files in "BUG Mod" folder. Is this necessary? :confused:

Yay, stuff everything into [Custom]Assets. :woohoo:
That way the mod install will hold all folders inside "Mods\BUG Mod" again. :cool:
 
Yay, stuff everything into [Custom]Assets. :woohoo:
That way the mod install will hold all folders inside "Mods\BUG Mod" again. :cool:

Well I still see a good reason for keeping the INIs (user settings) in a separate-from-install BUG Mod folder in "My Games/BTS". I originally put it into "My Games" directly, but . . . whatever. BUG will look for it in all those places anyway. We could rename the folder to "BUG Mod Settings" anyway to make it clear what it holds.
 
Anyway, since I'm not as good as Ruff as being sarcastic, I think I should point out that I'm not serious. I really think it's better to have everything contained within one folder, and then create subfolders within that. BTS doesn't make 7 folders within My Games, it makes one called BTS, and then puts everything in there, and people seem to find it okay. I think we should stick with that, and if we want more directories, to expand them in the single BUG Mod folder.

I disagree. :blush:
If we could put everything in a unique folder, it will be ok to do it and to have different things in subfolder of that folder.
But it's not like this.
We have:
- CustomAssets folder
- PublicMaps
- BUG Mod folder
- .buildpath file
They are 4 items, not 1 :)

When I install a fresh BUG I want:
- to replace all the BUG files made by the BUG Team (because they may have been updated)
- to keep all the BUG files made by me or my PC (because they keep all my configs and my logs)

To do it as quickly as possible, I need these 2 groups of files as grouped as possible and each group of files as separated as possible from the other one.

Having less than 4 items seem not to be possible, so this is the best we can do for grouping the items of the same origin.
To separate items of different origins, the best we can do is to put ini files and autolog files in a different folder on the same level of the other folders.

In this way, before installing the new BUG, I simply have to select together the 4 items that now exist and delete them, while leaving where they are all the other folders (the folders urelated with BUG and the "BUG Custom Files" folder).
 
Regarding the great folder debate, how about this:

Move all the help files and license/readme to [Custom]Assets/Help (hopefully this won't choke Civ, but it had no problem with my new Config folder so ...).

Keep BUG Mod inside "My Games/BTS". It will now hold INIs and CustomDomAdv files since the user may modify those.

Hmm, those are the only files in "BUG Mod" folder. Is this necessary? :confused:

About CustomDomAdv files, I have a different idea.
The CustomDomAdv folder was created thinking to enable CDA or BUG to select from different config files in-game.
Now that this idea has been abandoned (I don't know if for now or forever), it's meaningless to store the actual CustomDomAdv.txt file inside the CustomDomAdv folder, it can go directly inside the BUG Mod Settings folder, where it's place is.
But we still need to provide different versions of CustomDomAdv.txt files (localized versions, my real version, my almost-ready reduced version, hopfully other people versions and so on), so my idea is to use a CDA folder to store them. This CDA folder should be separated from the BUG Mod Settings folder.
In my model it should be inside the BUG Mod folder, in your model probably it should be inside the CustomAssets folder (in a "BUG Extra" folder?).
I don't like so much the idea of putting all this things inside CustomAssets folder, in particular to hide the help file inside it, but it may be an acceptable compromise (it's better to call the folder "BUG Help", instead of simply "Help", though).
 
I'm thinking to a 'real' website, with some interesting features (for example easy or maybe even full automated loading of content from inside the SVN help folder, video 'how to', and so on)... but it will take some time (even if I'm much more used to work with html than with XML, I've not so much available time 'till november), so for now don't worry about it and act as if I said nothing... as soon as I have some concrete work done, I'll post a link :)

Oh, I forgot to say that no work done till then will be wasted, of course, I'm only thnking to add stuff, not to replace already existing things... I'm not mad :)
 
I must have added .buildpath by mistake as it's only used by an Eclipse plugin. I've deleted it from SVN and added it to the ignore list. That trims it down to 3.

PublicMaps is not BUG-specific. That folder is just like Mods in that it belongs to Civ and may exist already. So when reinstalling BUG you shouldn't delete it or else you'll delete any other map scripts you have installed.

That leaves BUG Mod and CustomAssets. Well, CustomAssets is a necessary evil, but BUG Mod can be turned into the user settings folder as I explained above. All the items currently in that folder would be moved to CustomAssets.

How does that sound?
 
I must have added .buildpath by mistake as it's only used by an Eclipse plugin. I've deleted it from SVN and added it to the ignore list. That trims it down to 3.

Oh, good, tell my about this ignore list, please :)
I suppose that it can be used also for the .project file which is inside the main SVN root, and for a .pydevproject file that eclipse creates in my local repo and that I have always to remove from the list of committing files :)

PublicMaps is not BUG-specific. That folder is just like Mods in that it belongs to Civ and may exist already. So when reinstalling BUG you shouldn't delete it or else you'll delete any other map scripts you have installed.
That leaves BUG Mod and CustomAssets. Well, CustomAssets is a necessary evil, but BUG Mod can be turned into the user settings folder as I explained above. All the items currently in that folder would be moved to CustomAssets.
How does that sound?

OK, inside a couple of folders (BUG Help and BUG Extra?) inside CustomAssets
 
what about the logger directory - where does that go?

Edit: see next post
 
Okay, here's a suggestion for the directory format:

Code:
My Docs\
              Beyond the Sword\
                                           BUG Mod INIs\
                                           BUG Mod Help\
                                           BUG Mod Autolog\
                                           BUG Mod Art\
                                           BUG Mod Misc\

I mean, I'm sure people don't mind cluttering things up a bit.;)

My 2c ...

Code:
My Docs\
    Beyond the Sword\
        CustomAssets\ (bug code!)
        BUG Mod\
            Documentation\  (with its subdirectories)
            Config\
               CustomDomAdv\
            Autolog\

If installed as a mod ...
Code:
My Docs\
    Beyond the Sword\
        BUG Mod\
            Config\
               CustomDomAdv\
            Autolog\

My Progs\
    Civ4\
        Beyond the Sword\
            Assets\ (bug code!)
            BUG Mod\
                Documentation\  (with its subdirectories)

Anyway, since I'm not as good as Ruff as being sarcastic ...
I resent that! You did a pretty good job of it.
 
You did a pretty good job of it.

Q.E.D. :D

If we do this, the whole point is to have the BUG Mod User Settings folder (or whatever we call it) be created when BUG start up only if it doesn't already exist. If it has to be created by the installer, that defeats the whole purpose.

If it doesn't work this way, then the user will get errors when they try to do SVN Checkout into the existing location because it won't want to overwrite the help files. The user will have to delete the Documentation folder inside BMUS, and this is what Cammagno is seeking to avoid.

I'm not advocating any particular method. I just want to make sure everyone understands what the main reasoning is so we can decide something and be done with it.
 
My 2c ...

Code:
My Docs\
    Beyond the Sword\
        CustomAssets\ (bug code!)
        BUG Mod\
            Documentation\  (with its subdirectories)
            Config\
               CustomDomAdv\
            Autolog\

If installed as a mod ...
Code:
My Docs\
    Beyond the Sword\
        BUG Mod\
            Config\
               CustomDomAdv\
            Autolog\

My Progs\
    Civ4\
        Beyond the Sword\
            Assets\ (bug code!)
            BUG Mod\
                Documentation\  (with its subdirectories)

I resent that! You did a pretty good job of it.


I don't get it. Is there a reason why it must be in My Progs or My Docs ? I hate programs flooding my system directory and modders like me don't like outsourced files.
 
I don't get it. Is there a reason why it must be in My Progs or My Docs ? I hate programs flooding my system directory and modders like me don't like outsourced files.
Well - if you want BUG installed, you have to put it somewhere ... don't you? You have two options when installing BUG ... as a mod or as a customassets install. Pick your poison.
 
Your quote: If installed as a mod, you want the ini files in "My Docs". Would be better to see them in the mod directory when installed as a mod.
 
Back
Top Bottom