Memory-fix by Harkonnen is out!

EdCase said:
With this post Harkonnen you demonstrate that you are not only a gifted coder, but also an exceptional human being.
It would have been very easy for you to become bitter. Kudos to you my friend.
Thank you for your hard work. You have my gratitude and respect


Well said and I totally concur.
 
The fact that Harkonnen has spent so much time providing support in this thread makes it even more impressive! :thumbsup:
 
can someone tell me how to uninstall this?
 
Harkonnen said:
Hi everyone... I am back in the town; didn't try 1.52 yet, 1600km in car overally, so I feel a bit exhaustedl; I will look and reply tomorrow.

On a side note, I'm glad that my hint about number of processed vertices for 2D primitives count was seen by Firaxis :) That big number after '/' in 2D_FRAME_VERTS - the value I would be having hard time to reduce.

I think they're in same trouble with their memory-fix as I was with 'vid_mem_usage' all this time - it either crashes or slowes down. Well, bad hashing optimizations might be causing slowdowns too... all that's from user opinions, I didn't try it by myself yet.

(vid_mem_usage = VB_CACHE_SIZE) - these values are similar. 1Mb = 1024*1024Kb, that's why Harkonnen.ini values looks a little different.

Merry Christmas everyone!
Merry Christmas Harkonnen! :)

Thanks for this patch. :) From this thread, you can see that you made so many people happy and you should be very proud of it. Well done!
 
i prefer harkonnens patch over the official patch

as it was mentioned before, after a turn or two it slows down with the new firaxis one - no matter if you have memsaver on or off

harkonnens fixes are still faster here

so i finally use memsaver = 0 and insane_mode = 1 combined with vid_mem_usage = 180

i do not recommend to turn memsaver and insane mode on at the same time, it works in the beginning, but, i guess it was as a stealth bomber in a city of an opponent i had it in (we have open borders) had its turn, the terrain was getting darkish and it really slows down - i had it twice in two different turns while i played without having both options turned on at the same time in between.
 
Harkonnen (Great Programmer).
Implements Insane_mode.
Requires Internet & Spice.
Reduces mem usage, swapping,
CTDs, lag, and loading times.
Will consume the Great Persons
Holiday. :)
 

Attachments

  • Harkonnen.jpg
    Harkonnen.jpg
    46.4 KB · Views: 1,024
Three_Crowns said:
Harkonnen (Great Programmer).
Implements Insane_mode.
Requires Internet & Spice.
Reduces mem usage, swapping,
CTDs, lag, and loading times.
Will consume the Great Persons
Holiday. :)
Sorry for this kinda lame post, but...

:lol: :crazyeye: :lol: :crazyeye: :lol:

np: Xinlisupreme - Murder License (Branches And Routes (Disc 2))
 
Thanks to everyone! :)

My fix does nothing with 1.52 and MemSaver = 1 (it just doesn't affect resources created in video memory), and with 'MemSaver = 0' it crashes (at least with my system). I will check this out and see if it's still worth the effort to make any improvements.

Also I think 1.52 can be improved. Memory-savings are better with official fix, but scrolling itself is slower and swapping is more frequent for some reason. I will see why.

BTW, 1.52 has fixed globe view slowness with my system (even with buildings ON). Though, I was suprised that disabled buildings actually disabled "streets" square beneath the city, buildings themselves are still in place.

No matter if my fix remains alive or becomes useless, I'm confident (at least for myself), that top part of official 1.52 improvements were born from this forum posts (including mine). So, it's alive forever, being in Firaxis code. Well, thanks Firaxis :)

In case I'll see no path to improve it ahead, I will release its source code, perhaps Firaxis will be able to make more improvements looking at it.

I don't think I'll have any payment and 'thanks' from them bearing in mind no contact up to this moment, and they were in much worse situation until 1.52.

So at least you'll get something from them watching my work. I'll get other things, paying off in the long run (including cash / job offers) after releasing that, so please don't think this will be just a sacrifice :)

Merry Christmas (and Happy New Year) everyone! :goodjob::goodjob::goodjob:
 
Ok, I've made some research of 1.52 patch thread. I see changes made it a little slower and some CTDs came back. Though, 1.52 must be used anyway for gameplay issues it solves.

I will check if I can adjust my fix for 1.52, release it and then give it away to Firaxis for something, so that this thing (and memory of all who helped) does not die.
 
Harkonnen said:
Thanks to everyone! :)

My fix does nothing with 1.52 and MemSaver = 1 (it just doesn't affect resources created in video memory), and with 'MemSaver = 0' it crashes (at least with my system). I will check this out and see if it's still worth the effort to make any improvements.

Also I think 1.52 can be improved. Memory-savings are better with official fix, but scrolling itself is slower and swapping is more frequent for some reason. I will see why.

BTW, 1.52 has fixed globe view slowness with my system (even with buildings ON). Though, I was suprised that disabled buildings actually disabled "streets" square beneath the city, buildings themselves are still in place.

No matter if my fix remains alive or becomes useless, I'm confident (at least for myself), that top part of official 1.52 improvements were born from this forum posts (including mine). So, it's alive forever, being in Firaxis code. Well, thanks Firaxis :)

In case I'll see no path to improve it ahead, I will release its source code, perhaps Firaxis will be able to make more improvements looking at it.

I don't think I'll have any payment and 'thanks' from them bearing in mind no contact up to this moment, and they were in much worse situation until 1.52.

So at least you'll get something from them watching my work. I'll get other things, paying off in the long run (including cash / job offers) after releasing that, so please don't think this will be just a sacrifice :)

Merry Christmas (and Happy New Year) everyone! :goodjob::goodjob::goodjob:


All I can say is well done sir, well done.
You are a true testament to what a single brilliant coder can do compared to what a team of less gifted coders can do.
I smile at the irony of you releasing code to Firaxis.
If they had some common sense, they would have you sign a non-disclosure agreement, and hand you THEIR source code.
 
we are not worried about your future Hark, obviously you are an extreamly gifted programmer and a great guy.

We are also though not surprised at or happy with the fact that Firaxis didn't even return your call. We know they monitor this forum and that they are well aware of this thread and this patch. Frankly they suck, and I will never buy another single product from them new. I will get it used and they will lose the ridiculous money that they charge for a 1/4 done game.

a 44 meg patch! They should send it on a CD not force me to download it for 10 hours. They can send it along with the english replacement to my tech tree which I'm still waiting for......what a series of jokes.....
 
sumoworm said:
we are not worried about your future Hark, obviously you are an extreamly gifted programmer and a great guy.

We are also though not surprised at or happy with the fact that Firaxis didn't even return your call. We know they monitor this forum and that they are well aware of this thread and this patch. Frankly they suck, and I will never buy another single product from them new. I will get it used and they will lose the ridiculous money that they charge for a 1/4 done game.
You might as well stop buying PC games all together since Civ 4 had a lot less bugs than most games (including strategy games) I ever had. There may be a good reason they didn't return their calls. Firaxis after all is a business and like all business they have people they have to answer to.

Fly simulations are the biggest system hogs yet I didn't complain when I couldn't run Pacifer Fighter with 512mb.(it run but not without major lag during the heat of the battle.) Instead I went out and bought another stick of 512.
Now I have 2gb of ram since more and more games uses more than a 1GB including the latest PF patch (4.02), FEAR to name a few. Also FEAR has a 116 mb patch already which is twice as big as Civ 4.
 
I still have to check 1.52
The most interesting for me is the marathon mode.
I'm sure Harky's patch would still be of great use.
 
Hark,
I also want to thank you for a job well done.

I do have a few questions.
My specs are again:
Athlon XP 3200+, GeForce Ti 200 (64 mb), and 768 mb RAM.

Before the patch I couldn't play with Aeric's 180x87 map in the editor very long. If I went searching around the map very much it would hang up and crash. With the patch I could do a whole lot more in the editor before I started getting color problems.

I received a new Graphics card for Christmas. I got a GeForce XFX 6200 (256 MB) 8x AGP card. My question is how much will this card help me if I use Hark's patch or v1.52 on such large maps?
 
Harkonnen made my computer wish me a merry Christmas ... back at you Mr H.
 
Back
Top Bottom