1. We have added the ability to collapse/expand forum categories and widgets on forum home.
    Dismiss Notice
  2. All Civ avatars are brought back and available for selection in the Avatar Gallery! There are 945 avatars total.
    Dismiss Notice
  3. To make the site more secure, we have installed SSL certificates and enabled HTTPS for both the main site and forums.
    Dismiss Notice
  4. Civ6 is released! Order now! (Amazon US | Amazon UK | Amazon CA | Amazon DE | Amazon FR)
    Dismiss Notice
  5. Dismiss Notice
  6. Forum account upgrades are available for ad-free browsing.
    Dismiss Notice

BTS on Speed (up to 50% faster)

Discussion in 'Civ4 - Modpacks' started by Sephi, Sep 23, 2010.

  1. Sephi

    Sephi Chieftain

    Joined:
    Jan 25, 2009
    Messages:
    2,908
    This mod makes BTS up to 50% faster. No gameplay changes. I did an autoplay game (autoplay means you let the AI play all turns and only count the time with a clock) with the following results.

    uploaded version 2.0 at 24 october 2010

    Spoiler documentation for modders :

    You find all changes if you search for "Sephi"
    You find all changes related to CAR mod if you search for "CAR MOD" (so if you have already CAR mod or BTS Better AI you shouldn't need this)
    You find all changes that block python callbacks if you search for "Block Python"
    You can allow modmodders to reenable python callbacks you block. see comment in CvCity::canCreate for details.
    Make sure if you block a python callback that your mod isn't actually using it. This can be a bit tricky if you have a lot of mods merged into your mod that have a lot of python code (like BUG for example).


    I compared speed with using a huge pangea map with default player numbers and all other options default.

    Turn 1-200
    BTS on Speed: 6:08 minutes
    BTS: 8:17 minutes (+35,1%)

    Turn 201-300
    BTS on Speed: 10:42 minutes
    BTS: 16:11 minutes (+51,1%)

    In other words, your total waiting time in BTS in the first 200 turns is about the same as in BTS on SPEED for the first 300 turns.

    Obviously this mod is optimized for my system :p so I can't guarantee that it will run as fast on your system or that it will speed up the game that much on every map/setting, but unless you are already playing CIV5 it might be worth to give it a try ;)

    This mod is save game compatible.

    Credits:
    - Sephi (most of the speed tweaks)
    - Stmartin (caching of dangervalues - CAR mod)
    - Kael and Afforess (idea for python callback blocks)

    Mods currently using BTS on SPEED:
    - Wildmana

    There are more ways to speed up the game but I only included the speed tweaks from Wildmana that people would be willing merge. I will upload the Source in a few weeks once I can be sure that no further changes to the speed tweaks need to be done.

    How to install:
    1.) download the mod here: http://forums.civfanatics.com/downloads.php?do=file&id=15411&act=down
    2.) unzip the file using Winzip or similar programm.
    3.) use the install programm.

    May the SPEED be with you.
     
  2. Sephi

    Sephi Chieftain

    Joined:
    Jan 25, 2009
    Messages:
    2,908
    reserved for guide how to merge the mod (will follow)
     
  3. keldath

    keldath LivE LonG AnD PrOsPeR

    Joined:
    Dec 20, 2005
    Messages:
    6,118
    Location:
    israel
    awesome,

    looking forward to the source so i can use it in my mod .

    cheers!
     
  4. smeagolheart

    smeagolheart Monarch

    Joined:
    Sep 4, 2007
    Messages:
    924
    Location:
    Phoenix, AZ
    +1 Yes the source would be helpful please
     
  5. embryodead

    embryodead Caliph

    Joined:
    Jan 1, 2003
    Messages:
    5,179
    Location:
    basement
    Well, not really interested in playing BTS, but I'm using CAR mod and disabled python callbacks as well, and I'm very much looking forward to grabbing the sources of those extra speed tweaks that you did :goodjob:
     
  6. Wessel V1

    Wessel V1 Chieftain

    Joined:
    Sep 10, 2007
    Messages:
    1,410
    Location:
    Nijmegen
    Does that mean you are planning to speed up RFC:M even further, embryodead?? If so, I'd be delighted.:D
     
  7. CaptainMidnight

    CaptainMidnight Chieftain

    Joined:
    Apr 16, 2006
    Messages:
    141
    Yes I would really like the source code too.
     
  8. KMRblue1027

    KMRblue1027 The Crown!

    Joined:
    Mar 4, 2010
    Messages:
    2,048
    Location:
    Hamilton, NJ
    Do It! :D
     
  9. PieceOfMind

    PieceOfMind Drill IV Defender Retired Moderator

    Joined:
    Jan 15, 2006
    Messages:
    9,312
    Location:
    Australia
    BtSoS, I like it. :D

    By the way, make sure you notify TMIT of this, if you haven't already. :)
     
  10. embryodead

    embryodead Caliph

    Joined:
    Jan 1, 2003
    Messages:
    5,179
    Location:
    basement
    geiv sources plz! ;)
     
  11. BobeBrown

    BobeBrown Chieftain

    Joined:
    Oct 4, 2009
    Messages:
    255
    Sourceeees. Great stuff!
     
  12. smeagolheart

    smeagolheart Monarch

    Joined:
    Sep 4, 2007
    Messages:
    924
    Location:
    Phoenix, AZ
    We've been asking for source for almost three weeks now, it seems Sephi has left the building.
     
  13. Maniac

    Maniac Apolyton Sage

    Joined:
    Nov 27, 2004
    Messages:
    5,582
    Location:
    Gent, Belgium
    Law of Modding: if somebody says they're gonna release something in the future, it means in 90% of the cases it's never gonna happen.
     
  14. Sephi

    Sephi Chieftain

    Joined:
    Jan 25, 2009
    Messages:
    2,908
    that's definetly a Law of Modding.

    Though I doubt it happens here. The source is already well documented and zipping+uploading should take about 10minutes. I will wait 2 or 3 more weeks now to see if any bugs are reported. Since I guess that this mod or parts of it will be merged into lots of other mods it saves everyones time if the sources are as bugfree as possible.
     
  15. morchuflex

    morchuflex Chieftain

    Joined:
    Feb 19, 2004
    Messages:
    1,380
    Location:
    Paris
    Great news! But I have one question.
    Does this mean it is already merged into WildMana, or is there something to do to activate it?
    And do you mean WM 8.xx or the beta 9.xx version? I still play the former...
     
  16. Wuzetian

    Wuzetian Chieftain

    Joined:
    Sep 25, 2010
    Messages:
    131
    Location:
    Pride Rock
    I just installed this mod following the directions above. I do not know about the speed improvement just yet, but all my units were automatically promoted to maximum level. Can somebody tell me what's going on plz? Thanks..
     
  17. Maniac

    Maniac Apolyton Sage

    Joined:
    Nov 27, 2004
    Messages:
    5,582
    Location:
    Gent, Belgium
    The mod has only been downloaded 170 times. It seems there is little interest in playing this mod by itself. As a consequence bugs are unlikely to be reported no matter how long you wait. To get bug reports, a larger playerbase should be reached which can be achieved by releasing the code so it gets merged in other mods.

    Will it help if I say 'please'? :mischief:
     
  18. NBAfan

    NBAfan boss

    Joined:
    Aug 30, 2007
    Messages:
    3,351
    Location:
    Dallas TX,United States
    Use this one::worship:
     
  19. Afforess

    Afforess The White Wizard

    Joined:
    Jul 31, 2007
    Messages:
    12,238
    Location:
    North Carolina, USA
    Bugs only will get found with more eyes on your code. Nobody plays Civ4 unmodded anymore anyway.
     
  20. PieceOfMind

    PieceOfMind Drill IV Defender Retired Moderator

    Joined:
    Jan 15, 2006
    Messages:
    9,312
    Location:
    Australia
    Because they play BtS unmodded?
     

Share This Page