Page 2 of 3

RE: 2.0 Campaign - Crash

Posted: Sun Feb 23, 2014 1:44 am
by berto

Why, I was saying exactly the same thing to Petri over at The Blitz earlier today. [:D]

RE: 2.0 Campaign - Crash

Posted: Sun Feb 23, 2014 11:25 am
by simovitch
ORIGINAL: berto


The campaign game code was not closely looked at or modified much. So if bugs lurked in there before, they likely lurk there still.

Please post here, in one ZIP file, your

[*]save files (all three, including OLDER & OLDEST)
[*]any other data files related to your current campaign (look in Windows Explorer, sorting by date)
[*]engine.log & frontend.log
Confirmed DCG crash after clean install with new OOBs. Requested files attached in a zip file with .jpg extension.

RE: 2.0 Campaign - Crash

Posted: Sun Feb 23, 2014 12:25 pm
by simovitch
Confirmed DCG crash after clean install with new OOBs. Requested files attached in a zip file with .jpg extension.

Exact same crash with West Front: Afrika Corps DCG. Files attached.

RE: 2.0 Campaign - Crash

Posted: Sun Feb 23, 2014 1:45 pm
by Salemi88

Hi folks,

Here it goes my campaign files... I hope I've done it right...[:D]

RE: 2.0 Campaign - Crash

Posted: Sun Feb 23, 2014 2:46 pm
by berto

Okay, guys, I'm on the case.

Now that I am done setting up for post-release tech support, on four separate dev & debug & test systems, each with five distinct JTCS installs

[*]John Tiller's Campaign Series -- for debugging/crash & A/I testing on the three test/debug systems; for new development on the one dev system
[*]John Tiller's Campaign Series 2.00 -- for my own personal pleasure, my own game play (ha! when I have the time)
[*]John Tiller's Campaign Series 2.00 ARCHIVE (READ ONLY) -- for reference
[*]John Tiller's Campaign Series 1.04 ARCHIVE (READ ONLY) -- for reference
[*]John Tiller's Campaign Series 1.00 ARCHIVE (READ ONLY) -- for reference

all of those X 4, for the four systems (with a fifth on the way in June).

Not to mention dev & test installs of Middle East and Vietnam.

Not to mention dozens of installs in monthly backups dating back over the past year.

I have to chuckle when I read players post about how they can't be hassled with doing and maintaining two separate installs. They and I live in entirely different tech worlds!

RE: 2.0 Campaign - Crash

Posted: Sun Feb 23, 2014 8:25 pm
by scottintacoma
Berto,

Here is another set. Using XP, V2 East Front DCG.

RE: 2.0 Campaign - Crash

Posted: Tue Feb 25, 2014 6:06 pm
by berto

I've found a bug, a serious one, in the code, most probably the cause of everybody's campaign crashes. More, after we decide how to deal with it.

RE: 2.0 Campaign - Crash

Posted: Tue Feb 25, 2014 7:11 pm
by berto

Here is a quick & easy, kludgey fix for the campaign crash bug if your campaign is crashing at the conclusion of the very first campaign scenario:

In your game folder, rename any Victory#.bmp files, as in

Victory0.bmp -> Victory0 DONTUSE.bmp

In a game like West Front, with many different nation sides, it would be easier to cut-and-paste all Victory#.bmp files to a temporary backup folder. In other words, take all Victory#.bmp files out of the picture.

Then, at the Campaign menu, Resume Saves > Resume Mission.

You should be able to get past the end of the first scenario without crash.

It might be necessary to rename your previous .cpn file, as in

Meise OLDER.cpn -> Meise.cpn

which would have you revert back to one turn earlier, but that is probably unnecessary. Probably just leaving your save files as is and resuming your campaign and mission should suffice -- if you've moved out of the way the Victory#.bmp files first!

Note: The Victory#.bmp kludge is not the proximate cause of the crash. But it detours around the impending crash, which has to do with the martial music that would play after the victory/draw/defeat voiceover rant. Who needs that chrome anyway?

Sorry about the bug, but the above steps should work most likely. Most likely, but not certainly, if your campaign is crashing at some point other than the end of the first scenario, crashing in some other way.

Another note: When we have released fixed game engine EXEs, you will want to restore all Victory#.bmp files to their proper places.

RE: 2.0 Campaign - Crash

Posted: Tue Feb 25, 2014 7:13 pm
by Warhorse
Thanks very much, Berto!!

RE: 2.0 Campaign - Crash

Posted: Wed Feb 26, 2014 12:07 am
by simovitch
ORIGINAL: berto


Here is a quick & easy, kludgey fix for the campaign crash bug if your campaign is crashing at the conclusion of the very first campaign scenario:

In your game folder, rename any Victory#.bmp files, as in

Victory0.bmp -> Victory0 DONTUSE.bmp
Do we do anything with the Victory#.ogg files?

RE: 2.0 Campaign - Crash

Posted: Wed Feb 26, 2014 12:26 am
by scottintacoma
Berto,

Thanks for the work around. It gives you the Experience Points, but no Medals.

I am looking forward to the fixed EXE.

RE: 2.0 Campaign - Crash

Posted: Wed Feb 26, 2014 12:27 am
by scottintacoma
Simovitch,

I just removed the BMP files in East Front (2) and West Front (4)

RE: 2.0 Campaign - Crash

Posted: Wed Feb 26, 2014 2:12 am
by berto
ORIGINAL: simovitch
ORIGINAL: berto

Here is a quick & easy, kludgey fix for the campaign crash bug if your campaign is crashing at the conclusion of the very first campaign scenario:

In your game folder, rename any Victory#.bmp files, as in

Victory0.bmp -> Victory0 DONTUSE.bmp
Do we do anything with the Victory#.ogg files?
No, do nothing. The code to process the .ogg files is the source of the trouble, but the .ogg data files themselves, they are not at fault. So just leave them be.

RE: 2.0 Campaign - Crash

Posted: Wed Feb 26, 2014 2:18 am
by berto
ORIGINAL: scottgibson

Thanks for the work around. It gives you the Experience Points, but no Medals.
But that is not crippling, right? You can still proceed?

From the Manual:
Medals received due to the performance of your organization are displayed in the "Decorations" box. The number and type of medals won have no effect on overall victory in the campaign game and are for aesthetic purposes only.
Nice, shiny chrome. But still just chrome.
I am looking forward to the fixed EXE.
So am I.

RE: 2.0 Campaign - Crash

Posted: Wed Feb 26, 2014 9:42 am
by scottintacoma
Berto,

I will assume I can continue. Saw the info about the changes, made the changes and tried the one I had sent you. Then went to bed. Will try to continue sometime later this week.

RE: 2.0 Campaign - Crash

Posted: Thu Feb 27, 2014 12:07 am
by scottintacoma
Berto,

Tried it this evening when I got home. I got standard level reinforcements and started the next battle.

Thanks for the hardwork.

RE: 2.0 Campaign - Crash

Posted: Sun Mar 09, 2014 7:53 pm
by wlmiv
Where do I find the victory files?

also when I do find the file does the change include the same space that you have here between Victory0 and DONTUSE.bmp as you have here: Victory0 DONTUSE.bmp

What does this quick fix change? Do we no longer receive victory medals?

RE: 2.0 Campaign - Crash

Posted: Tue Mar 25, 2014 6:16 pm
by Josh
Still have the crash after the first Campaign game ends. Even after removing and reinstalling the game and updating it. Will try the workaround tomorrow :-)

RE: 2.0 Campaign - Crash

Posted: Wed Mar 26, 2014 3:52 am
by berto

An update with a fix for the campaign crush bug will be released Real Soon Now. But yes, in the meantime, try the workaround.

RE: 2.0 Campaign - Crash

Posted: Wed May 28, 2014 11:37 pm
by KGWiking
THanks for the post --- hope it works. I'm such a newb to this game!