Jump to content
Nyerguds

Crash research

Recommended Posts

10 hours ago, Lethe said:

Caused by running this patch under windows 8.1 with windows 95 compatibility mode enabled with default settings

You're not supposed to do that.

Share this post


Link to post

That's weird, since the patch is what enabled that compatibility mode in the first place.  Also changing any setting with CCConfig.exe re-enables compatibility mode.

Share this post


Link to post

The required compatibility modes differ widely depending on the system, but I never got an accurate list of which modes work best on which systems, so yes, it is entirely possible there are still errors in what is activated by the tool / patch. Thank you for this new information.

Could you test what works best in general, to both get the game running and not get any graphics freezes in the map animations and in-game menu? I don't have a Win8.1 PC.

Share this post


Link to post

I run a Windows 10 machine. I run cnc95 gold free with 1.06 latest revision. I was able to play till GDI level 10 without a crash.  The first time it died it said instruction at  004ce54b  reference memory at 00051ed2.  The second time it errored it’s said 004ce54b reference memory at 0002d27b. 

Share this post


Link to post

Well, that's the same address (004ce54b) both times. As I said, something with drawing. The second value is rarely relevant since the crash itself means that the value referenced at that moment was corrupted. Knowing the corrupted value is sadly never any kind of indication on how it got corrupted, though :P

As I asked in the other thread...

Are there any specific circumstances you know about when it crashed? Certain units being / appearing on screen, certain actions you took? Scrolling to a specific position on the map?

Share this post


Link to post

i played the game before, and i dunno why suddenly it wont work now. I play perfectly, then get the following application error

 

The instruction at 02cb002b referenced memory at 00000004
The memory could not be read from

 

Click on OK to terminate the application

 

 

I have installed the game outside of program files and within, i have installed the patch fresh and cleanly, applied the default options and tried turning off the odd one, and i get the same error every time, it sometimes happens in mission 1 of GDI, but mostly in 2 and even far more often in 3, i have gotten to mission 3 5 times today and always stopped by that crash. And im starting to think it might be the unofficial patch causing the problems, which sucks cos dayum does it make the game more playable.

I have also ran the game, and even installed the patch as admin and not as admin, and in and out of compatibility mode on my last attempt.

 

Any help on this? thanks!

Edited by Irishguy

Share this post


Link to post

@Irishguy

Sadly, 02cb002b is outside the normal addressing range of the game's program instructions (I added that to the first post now; the range is 00410000-00740000), meaning I can't look inside the program and check what it is actually executing. Usually this means it is an OS level problem rather than a specific internal C&C one.

As the instructions in the first post ask, though... please describe what exactly was happening in the game at the moment it crashed, what system you are playing on, whether you were using cnc-ddraw....

On 4/09/2018 at 8:14 PM, Irishguy said:

i have gotten to mission 3 5 times today and always stopped by that crash

Uh. You know you can use savegames in this game, right? I mean, after a couple of times... I'd have started saving in every mission :P

Share this post


Link to post

Lol it happens so randomly that its all over the place, and if it was only ever mission 3, then i wouldnt care much and id save every 1 min and keep going xD, but sadly, it happens on 1 and 2 as well, tho rare. Im sad to hear its not something your able to effect, but cant be helped. And as to what im doing when it happens, im simply building my base, my units are securing the area around me and pushing the fog of war back to the cliff line south of the nod base. Sometimes i get right to the nod base before a crash, sometimes im still on my side of the cliffs. Its very random.

 

Oh and yes im using cncdraw, windows 7 64bit, 16gb ram, 4gb graphics card,  intel core i7-4790

Edited by Irishguy

Share this post


Link to post

Hi Nyerguds, recently re-downloaded the full game and patch off your site. Game crashes immediately on launch regardless of settings in CCConfig.

"The instruction at e6327cad referenced memory at e6327cad. The memory cannot be read from".

The game shows to be running but not responding in the task manager.

Yes its not inside the hexadecimal range specified but the only thing that searches up with are random C&C forum pages, none of which specify this error nor any solution. I have tried external tweaks but none seem to help. I was hoping you might have some insight.

Win 10 (Version 1803 / OS Build 17134.407) / i5-3570k / 16gb Ram / 980ti

 

P.S. Love your work, been playing C&C on and off for years with your patch.

 

Edit: Also what are your thoughts on the recent C&C Remaster announcement if you have any?

 

Edit 2: Welp I'm the local idiot, compatibility did need to be on XP SP3 for it to work.

Capture.JPG

Edited by Kilo11
solved

Share this post


Link to post

Ugh. I really need to fix that default compat mode...

 

 

Share this post


Link to post

Similar issue to all the above.  Random crashes that are appearing with more frequency.  Below is an example.

CCerror.PNG.fc8d55ccd7618f12a4c969d5c2e187ba.PNG

Here is what I can tell you.

1. Lenovo G70 laptop running WIndows 10 on Intel CORE i5 with Windows XP (Service Pack 3) compatibility shortcut setting.  C&C95 V .1 .06c r3.

2. Error instruction and memory location vary by mission and savegame within the mission.  Note, I am playing new fan missions not the standard missions but have played many of these same missions years ago with few errors in the past (except for Devil or the Deep Blue Sea which I could never successfully play to completion).  The error above is from fan mission "The Confluence" (SCG219EA).

3. Problem seems to follow a savegame.  By that I mean, if I load a savegame the exact same error occurs the exact same number of seconds into the savegame load regardless of what in-game actions are taken (e.g. unit/structure builds, attacks, etc.).  I get the impression it has something to do with the AI placing units in the game although there is no way to verify this.

Since the error follows the savegame, I was wondering if there is any way to analyze and edit savegames to detect and correct potential map errors.  Any insight would be helpful.  C&C95 is a fantastic game which I still love to play after all these years.  Props to Nyerguds and the rest of the community!

Regards,

Boski

UPDATE: Looking through earlier posts I see the same instruction related to reinforcing with Chinooks so it is likely a problem with the AI bringing units on the map.  This mission does regularly try to land Chinooks in your base so no doubt this is also why it happens precisely 79 seconds after each reload of my last good save.  I'll try moving around the Mammoths I have protecting the base.

Nope! Neither moving units or selling structures solved the problem.  Guessing it occurs during creation of the Chinooks. Any way to disable the creation? I'm a coder by profession but not familiar with the AI language or syntax used though the snippets I see here look pretty straightforward.  Questions include how to trace error memory location to code line and then how to edit and save.

OK, looks like I can edit the .INI file with Notepad.  I see trigger lines that look like good candidates.  Is there a trigger tutorial anywhere?

fsatk=Time,Create Team,20,BadGuy,fsatk,0
tsatk=Time,Create Team,55,BadGuy,tsatk,1
atk1=Time,Create Team,85,BadGuy,atk1,1
rein1=Time,Reinforce.,100,BadGuy,rein1,1
stnks=Time,Reinforce.,145,BadGuy,stnks,1

OK, found INI file tutorial.  Potentially problematic Trigger and associated TeamType appear to be

tran2=Time,Reinforce.,135,BadGuy,tran2,1

tran2=BadGuy,0,0,0,0,0,7,0,0,0,4,BIKE:3,TRAN:1,E5:2,HELI:2,4,Move:6,Unload:6,Move:5,Attack Base:99,0,0

However, removing these lines did nothing.  Does original INI get copied into savegame thereby rendering changes to INI file useless?  If so, is there a savegame file editor so I can locate and edit triggers?

Edited by Boski

Share this post


Link to post

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

  • Recently Browsing   0 members

    No registered users viewing this page.

×