View unanswered posts | View active topics It is currently Thu Jan 16, 2025 11:20 am



Reply to topic  [ 12 posts ] 
 Any tips to reduce or eliminate lockups? 
Author Message

Joined: Thu Dec 16, 2010 1:09 am
Posts: 4
Reply with quote
Post Any tips to reduce or eliminate lockups?
So, been following this game for years, and finally picked up the full version of Cortex Command via the Humble Indy Bundle.

I'm just using that stock version out of the "CCSetup24" executable, whatever that version is, and it seems the game is a lot broader and better featured, but it has picked up a nasty habit of freezing up mid-battle versus the shareware version I used to play back in the day.

Happens at random, has nothing to do with accessing the menu, CPU utilization appears to be the same (maxing out at about 25-26%, a single core on my four core system) music continues to play, no new sound effects are occuring.

So, here I am on the official forums thinking we've probably a lot of Cortex Command veterans who know all the secrets of how to kick this software in just the right places to keep the old girl running reasonably stable, asking for tips along those lines.

In summary: any tips to reduce or eliminate lockups?


Last edited by geldonyetich on Thu Dec 16, 2010 4:09 am, edited 3 times in total.



Thu Dec 16, 2010 1:15 am
Profile
User avatar

Joined: Wed Feb 10, 2010 4:06 am
Posts: 1294
Location: Comox, BC, Canada
Reply with quote
Post Re: Any tips to reduce or eliminate lockups?
Unfourunately we're all on the same ground here. The old build (B23, still available on the regular site) didn't lockup much. The new one (B24, duh) is pretty terrible at this. It's quite a hackjob, and there's nothing to do except download the old version and play that until Data releases a patch. Hopefully it doesn't take a year and a half again.

EDIT: Also in Data's wonderful foresight there is absolutely ZERO support for multi-core. The game will ALWAYS use only ONE core. It's terrible, and should be fixed, but at this point we're just hoping for a new build that doesn't crash.


Thu Dec 16, 2010 1:22 am
Profile WWW
User avatar

Joined: Wed Jan 07, 2009 10:26 am
Posts: 4074
Location: That quaint little British colony down south
Reply with quote
Post Re: Any tips to reduce or eliminate lockups?
Multi-thread support isn't a terribly easy feature to add.


Thu Dec 16, 2010 1:25 am
Profile WWW
User avatar

Joined: Tue Oct 30, 2007 4:02 pm
Posts: 1434
Reply with quote
Post Re: Any tips to reduce or eliminate lockups?
When you compare making a game from the ground-up and adding multi-core support this far in then you can bet your ass it'd be a lot easier making a whole new game.

And 7 years ago nobody really saw dual, quad and so on cores coming.


Thu Dec 16, 2010 1:30 am
Profile

Joined: Thu Dec 16, 2010 1:09 am
Posts: 4
Reply with quote
Post Re: Any tips to reduce or eliminate lockups?
Heh, it seems multicore support is a really touchy subject around these parts. I'm not asking for it, I only mentioned CPU utilization was 25-26% over my four cores to provide additional troubleshooting information that would hopefully lead to a solution to the lockups.

So, solution: track down the previous version? I can do that, although there is a bit of a coveat that my registration code for the humble indy bundle related to Cortex Command does not yet exist.

My choices appear to be:
1. Play the more stable 23 version in 6 minutes skirmish scenarios before the demo expires.
2. Play the less stable 24 version and enjoy more features/game modes and unlimited time, but the game may crash at any time.

Neither is ideal, which is why it'd be nice to have trick to at least reduce the frequency of 24 crashing, if such a thing exists.


Thu Dec 16, 2010 1:34 am
Profile
DRL Developer
DRL Developer

Joined: Tue Aug 11, 2009 5:09 am
Posts: 395
Reply with quote
Post Re: Any tips to reduce or eliminate lockups?
Here is some actual advice: If you experience sudden crashes and lockups when playing, it may be caused by an old bug related to BreakWounds (wounds created when an actor lose a limb etc).

For me the crashing stopped when I disabled the BreakWounds of the Base.rte rockets and drop ship. If you don't know how to do this you can replace the original files with the ones below.


Attachments:
DropShips.ini [39.19 KiB]
Downloaded 244 times
Rocket Stuff.ini [12.84 KiB]
Downloaded 240 times
Thu Dec 16, 2010 10:00 am
Profile

Joined: Thu Dec 16, 2010 1:09 am
Posts: 4
Reply with quote
Post Re: Any tips to reduce or eliminate lockups?
That's the kind of solution I was hoping for!

It hasn't stopped lockups completely for me, but it may have decreased frequency, which is very good.


Thu Dec 16, 2010 7:55 pm
Profile
DRL Developer
DRL Developer
User avatar

Joined: Tue Jul 27, 2004 8:02 pm
Posts: 428
Location: AZ
Reply with quote
Post Re: Any tips to reduce or eliminate lockups?
Sorry to hear about the crashes/hangs.. the game is very much a work in progress and we try to fix any crash bugs as fast as we can reproduce them and track them down in the debugger. Unfortunately, as we are still actively developing the engine, new crash bugs are bound to be introduced.. it's a constant battle :)

As for multi-threading the game.. someone correctly pointed out: if the architecture wasn't designed for it originally, it's hardly an easy 'fix' to apply to an existing codebase. Instead of working on the same game engine for literally ever, we are instead hoping to do a better job with engineering our next project, which is built from scratch.

- D


Thu Dec 16, 2010 8:46 pm
Profile ICQ

Joined: Tue Aug 17, 2010 2:58 pm
Posts: 9
Reply with quote
Post Re: Any tips to reduce or eliminate lockups?
@Data: Updating used libraries to at least their bug fixed versions should help with some of the problems
- Lua 5.1.3 to 5.1.4 (2008-08-22) - http://www.lua.org/bugs.html#5.1.4
- Allegro 4.2.2 to 4.2.3.1 (2009-10-29), updating to a newer version like 4.4.1.1 with AllegroGL included should do wonders to performance


Thu Dec 16, 2010 10:22 pm
Profile

Joined: Sat Dec 25, 2010 2:07 am
Posts: 1
Reply with quote
Post Re: Any tips to reduce or eliminate lockups?
Abdul Alhazred wrote:
Here is some actual advice: If you experience sudden crashes and lockups when playing, it may be caused by an old bug related to BreakWounds (wounds created when an actor lose a limb etc).

For me the crashing stopped when I disabled the BreakWounds of the Base.rte rockets and drop ship. If you don't know how to do this you can replace the original files with the ones below.


In addition, I had to disable BreakWounds for the Coalition & robot actors to eliminate the lockups for me. By the way what do they actually do? I haven't noticed any difference with them disabled.


Sat Dec 25, 2010 2:39 am
Profile

Joined: Thu Dec 16, 2010 1:09 am
Posts: 4
Reply with quote
Post Re: Any tips to reduce or eliminate lockups?
Unless I was just super lucky, the additional breakwounds removal on Coalition and Robots did indeed significantly improve stability on B24, I had a looong Skirmish match without it locking up... but it still locked up eventually.


Sat Dec 25, 2010 8:17 am
Profile
DRL Developer
DRL Developer

Joined: Tue Aug 11, 2009 5:09 am
Posts: 395
Reply with quote
Post Re: Any tips to reduce or eliminate lockups?
PlanetSide wrote:
In addition, I had to disable BreakWounds for the Coalition & robot actors to eliminate the lockups for me. By the way what do they actually do? I haven't noticed any difference with them disabled.
BreakWounds cause massive damage and emit lots of blood etc when an attachable is destroyed, probably to simulate trauma from the loss of a limb.

If you use Windows 7 and still have trouble with occasional lock-ups, try running CC in Windows XP compatibility mode (found in the properties of the exe). It solved the problem for me.


Sat Dec 25, 2010 11:22 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 12 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.065s | 14 Queries | GZIP : Off ]