Memory-fix by Harkonnen is out!

Wolfwood said:
Did you try holding the shift button down while starting up the game?
Yes, I did - but it didn't change anything.

np: AFX - Children Talking (Hangable Auto Bulb)
 
Ok... so it was working. I then restarted the computer to go into bios to see what my aperture size was for the mem fix. When I tried to launch the game again, I got the same error Briareos described. Holding shift does not fix this.

EDIT: Also, manually clearing the cache does nothing.
 
Briareos
Wolfwood
Are you running some compatility mode for civilization4.exe (like win95/98/me/2k in civ4 shortcut)?

If you do, this might be the issue since in this mode native d3d9.dll calls are made from another compability DLL, so my patch is placing itself between D3D and D3D which is not good, I've been through that...

If this is true, please PM or mail me to get workaround. I know how to avoid setting compatibility mode in situations where it is necessary.
 
Joebasalt13
You are probably trying to launch civ4 from a different user. Fixing config.ini entries isn't 100% necessary step, you may try skipping this step.
 
This rocks! Though I still lag pretty bad when zooming out with a huge world, despite 1GB memory and 256 MB vid card... Oh well, that's to be expected I suppose. Still, this rocks, very much indeed...
 
anti_strunt
Did you try setting 'vid_mem_usage' to 180 in Harkonnen.ini? This might help a lot... and I am very interested how better (or worse?) it becomes with this change.
 
1 GB RAM
256 MB Card

Patch = 1
VidMem = 180
Insane Mode = 1

Low res textures = on
Anti-alias = 0
All graphic settings = low
Disable globe view buildings = on

Windowed mode

The game still lags when going to the globe view on a huge (non-Terra), late-game map. Don't know if this is helpful or anything; still, it's much better than before, so thanks a lot! :)
 
Harkonnen said:
warpstorm
Yes, they are in English. Here's the function which failed for Briareos and Wolfwood (though without comments)
http://sampo.ru/~headden/set_indices.cpp
No, I'm not using any compatibility mode to run Civ IV - just plain Windows XP SP2.

Well, what do you know - since the code you linked to looks like it's doing the actual hooking I got the great idea of turning off ATI Tray Tools' frame rate display, which obviously also hooks into D3D, and it magically started working...

Should've done this all along, of course... *bangs head on table*

np: Cyne - Evolution Fight (Evolution Fight)
 
anti_strunt
Thanks for the info! :)

The last thing you may try is switching to globe view, back to map and then again to globe view. With your nice 256Mb vid-ram configuration this might leave enough data in video memory cache to make the second transition fast enough.
 
Briareos
Thanks!! What a relief :) I spent last 3 days making it a stable release, and after those crashes... phew, it's ok now.

I think I will switch from NOT-'d3d9.dll' call towards 'civ4.exe/game-dll'-call.
 
Harkonnen said:
Briareos
Thanks!! What a relief :) I spent last 3 days making it a stable release, and after those crashes... phew, it's ok now.

I think I will switch from NOT-'d3d9.dll' call towards 'civ4.exe/game-dll'-call.
Well, this is probably not directly related to your patch - but is globe view usable for anyone when used with the saved game you've got on your server?

I'm getting 1 frame per second when I zoom out fully... :(

Dunno how many frames I get when I zoom in enough to just not trigger globe view, but it's quite usable. Since I can't use ATI Tray Tools to measure the frame rate - would it be possible to add that functionality to the patch?

Just a suggestion... :)

np: Cyne - Rappin' (Evolution Fight)
 
Harkonnen said:
anti_strunt
Thanks for the info! :)

The last thing you may try is switching to globe view, back to map and then again to globe view. With your nice 256Mb vid-ram configuration this might leave enough data in video memory cache to make the second transition fast enough.

Hmm, sorry, didn't do anything. It's odd that a computer that can play Half-Life 2 without a hitch should have problems with cIV, but whadayya know? :crazyeye:
 
Briareos said:
...turning off ATI Tray Tools' frame rate display, which obviously also hooks into D3D, and it magically started working...

What is this? Since I have this, and this patch stopped working for some reason, maybe you could help me?

EDIT: Nevermind. It's working now.
 
Wolfwood
Yeah, I meant Dikaioma. Sorry :)

Briareos
Yes, I have about same framerate, but now it can't be blamed for swapping since now there is no swapping anymore. I think this is some stuff with amount of cities (their bars are most probably drawn with user interface subsystem). If this is true, I have nice idea of speeding it up in my next release.

anti_strunt
Well, even my p3-1.3Ghz / 512Mb system allowed me to play FarCry with everything maxed out in 1024x768x32, 6xAA, 16xAF with highest difficulty settings... and to finish the game without cheats. What can I say... This was the reason for me to write that patch, I just couldn't agree that civ4 needs so much :)
 
Gaias
You mean you got it? Heck, you weren't... unless you have 256Mb video memory :) BTW, thanks!
 
Harkonnen said:
Well, even my p3-1.3Ghz / 512Mb system allowed me to play FarCry with everything maxed out in 1024x768x32, 6xAA, 16xAF with highest difficulty settings...

Tell me about it... I just finished playing F.E.A.R with super high settings, and no crazy slow downs.
 
Back
Top Bottom