I dont know if already reported but Masters Hall building have a problem with great people rate
After looking at the file it should be like
<GreatPeopleUnitClass>UNITCLASS_ENGINEER</GreatPeopleUnitClass>
<iGreatPeopleRateChange>1</iGreatPeopleRateChange>
And not...
Yes the DLL is not for play as I just simply removed the function call there may be some adverse effect I didn't notice. The purpose was to do some measurement with the profiler.
Yes, graphics can be easily limited by setting the SetMaxFrameRate to let say 1 or 2 in the ini file :P
For I/O, I will do some measurement with process explorer or similar tools.
I will also re-enable the python profiler to see if anything strange.
It must have some impact, we can...
No, I just used VS2008, which is quite heavy on HD...might give a try to CodeBlocks later whem I am more familiar with the DLL.
You can profile any function by adding PROFILE() macro at the beginning of the function:
void yourfunction()
{
PROFILE("yourfunction");
/* Your code here */...
Here is my makefile as well as the VS2008 project ^^ (Just remove .txt)
If you want the profiler in Final Release your can also remove the lines:
#ifndef FINAL_RELEASE
#ifndef FP_PROFILE_ENABLE
#define FP_PROFILE_ENABLE
#endif
#endif
and replace with:
#define FP_PROFILE_ENABLE
In...
After playing with the DLL profiler it seems I have found some huge time consuming function:
--------------------------------------------------
[19956.037] DBG: Total Frame MS: 2934.0 FPS: 000 Min:067 Max:000 Avg:000 SampleFilter:1.010000
Time : Ave : Min% : Max% : Num : Profile Name...
Found my problem it seems the FFH patch q installs in
Beyond the Sword\Mods\Fall from Heaven 2
Whereas the my main FFH was in
Beyond the Sword\Mods\Fall from Heaven 2 034
It seems I forgot to install the main FFH 2 :)
Reinstalling the right FFH & FF solved it yay!
I cannot load the mod:
GFC Error: failed to initialize the primary control theme
043 load fine though.
When I look into the Resource/Themes/Civ4 folder only one file is present:
Civ4Theme_HUD.thm
If I copy missing files over from previous version it can start but the menus are...
The function profile:0(<function real_onEvent at 0x17584F30>) is the new entry point for event and profile is the profiler itself.
I did some calibration (bias) on the profiler on my machine so it should not count its own running time.
You can look at it in the previouly attached...
130 is the time of the last turn in seconds and calculated with a time.clock(), it is strange tough that it is 130 precisely the presision is up to the microsecond
444 is the runtime of python for the whole game, so yes its tiny
18778 is the whole game duration in automatic play (ctrl+shift z)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.