Sign in to follow this  
Followers 0
WhiteTreePaladin

Non-Visual Autostart

4 posts in this topic

Posted (edited)

I thought I'd ask some questions related to the non-visual autostart.

  • Is there a way to adjust the speed to be faster than 20x? I was thinking it could be useful as an auto-resolve for a campaign mode idea I had.
  • Will the full JSON summary file output be added later? (The current summary output seems to be lacking details compared to the regular summary JSON file.)
Edited by WhiteTreePaladin
1 person likes this

Share this post


Link to post
Share on other sites

20x is only the upper limit, the CPU is the bottleneck. When simulating many AIs players on a larger map with greater pop counts, it becomes increasingly slow and often one can reach only 2x gamespeed at most. So setting a greater number in game_speeds.json doesn't have any effect.

The non-visual modes (replay and autostart) will run a bit faster as they don't have to render anything. That is mostly useful to debug code or test AI results.

I didn't get into touch with the JSON summary output yet.

Share this post


Link to post
Share on other sites

Would it be possible to simulate faster than 20x for the nonvisual if the processor can handle it?

Share this post


Link to post
Share on other sites

Sure, just edit game_speeds.json. But our code uses 100% of a single core and I don't think that even the most recent CPU will help in reaching that number. It helps more to reduce the mapsize, number of AIs and population count.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0