Page 2 of 2
RE: Estab database could not be opened
Posted: Mon Feb 17, 2014 9:11 pm
by rickier65
I'm trying to see if I have this issue. I wanted to create a small training scenario to see look at how orders work.
But I'm not sure that I understand where the problem occurs.
1. I open the Scenario Maker, and Select File --> New.
2. I select the BFTBEstab.coe (this is only choice although I also have HTTR installed is this correct? )
3. I also select Arnhem.cop and select OK.
4. At this point I'm presented with the map and the interface screen and first thing I do is File --> SaveAs, to avoid messing up existing scenario.
5. I type a description in the scenario description window, then select the Estab tab.
6. I expand the tabs for both Sides Axis --> German --> Heer and Allies --> United States --> US Line.
I haven't seen any error message yet. Does the error occur by now?
Or what steps should I try to duplicate?
Thanks
Rick
RE: Estab database could not be opened
Posted: Mon Feb 17, 2014 9:14 pm
by BletchleyGeek
Rick,
it does quite look like you went past the point Tim is stuck. Just to confirm, what's the version number displayed on the main game screen? 4.6.271?
RE: Estab database could not be opened
Posted: Mon Feb 17, 2014 9:17 pm
by rickier65
ORIGINAL: Bletchley_Geek
Rick,
it does quite look like you went past the point Tim is stuck. Just to confirm, what's the version number displayed on the main game screen? 4.6.271?
No, the Main game screen, in the About section, shows 4.6.270. Also the ScenarioMaker Help About shows 4.6.270.
Thanks
Rick
RE: Estab database could not be opened
Posted: Mon Feb 17, 2014 9:18 pm
by RangerX3X
Hello Rick,
The error for me occurs immediately after selecting "OK" from your step 3, which I receive this:
I cannot get past this to your step 4 or subsequent steps.
Regarding your question in Step 2, BFTB Estab should be the only one you see (even with HTTR installed), unless you happen to install or create a custom Estab file (then it would show as well).
I am using game/ScenMaker 4.6.270 as well (the error only appears once that patch is applied).
RE: Estab database could not be opened
Posted: Mon Feb 17, 2014 9:24 pm
by rickier65
ORIGINAL: RangerX3X
Hello Rick,
The error for me occurs immediately after selecting "OK" from your step 3, which I receive this:
.......
I cannot get past this to your step 4 or subsequent steps.
Regarding your question in Step 2, BFTB Estab should be the only one you see (even with HTTR installed), unless you happen to install or create a custom Estab file (then it would show as well).
......
Curious then. Do you have other Estabs showing? Maybe that is the problem? Maybe I could try creating a new Estab first then try this?
EDIT - I believe my install matched yours Ranger. I don't know that game well enough yet to have done much more.
Thanks
Rick
RE: Estab database could not be opened
Posted: Mon Feb 17, 2014 9:24 pm
by RangerX3X
ORIGINAL: Arjuna
...I have not shipped converted HTTR scenarios with the beat builds. We only do that with a final patch.
Does this mean I should not have used the beta patch because I have an expansion pack installed?
RE: Estab database could not be opened
Posted: Mon Feb 17, 2014 9:33 pm
by RangerX3X
ORIGINAL: Rick
Curious then. Do you have other Estabs showing? Maybe that is the problem? Maybe I could try creating a new Estab first then try this?
Do you have other Estabs showing? - Yes
Maybe that is the problem? - No, as it was a problem before moving custom Estabs into the fresh install.
Maybe I could try creating a new Estab first then try this? - I just created a new Estab and it still errors out in ScenMaker with 4.6.270.
RE: Estab database could not be opened
Posted: Mon Feb 17, 2014 9:37 pm
by BletchleyGeek
Okay, now I saw that screenshot of yours Tim.
Can you try and move the shortcut out of the folder? I reckon that the routine that scans the Estabs folder is following that shortcut.
RE: Estab database could not be opened
Posted: Mon Feb 17, 2014 9:44 pm
by rickier65
ORIGINAL: RangerX3X
ORIGINAL: Rick
Curious then. Do you have other Estabs showing? Maybe that is the problem? Maybe I could try creating a new Estab first then try this?
Do you have other Estabs showing? - Yes
Maybe that is the problem? - No, as it was a problem before moving custom Estabs into the fresh install.
Maybe I could try creating a new Estab first then try this? - I just created a new Estab and it still errors out in ScenMaker with 4.6.270.
Ok.
I did look at the Estab editor and it looks like I would need to read manual before I could create a new one. Maybe i'll look at the mod section and see if there are any there I can try.
Sorry I couldn't help.
Rick
RE: Estab database could not be opened
Posted: Mon Feb 17, 2014 9:46 pm
by RangerX3X
ORIGINAL: Bletchley_Geek
Okay, now I saw that screenshot of yours Tim.
Can you try and move the shortcut out of the folder? I reckon that the routine that scans the Estabs folder is following that shortcut.
Here is from a fresh re-install:
Prior to patching to 4.6.270 the ScenMaker works without issue: the problem only introduces itself once 4.6.270 is applied (even if I skip installing the HTTR expansion pack).
RE: Estab database could not be opened
Posted: Mon Feb 17, 2014 10:24 pm
by BletchleyGeek
So it is still failing to resolve the Estab after removing the shortcut, right?
RE: Estab database could not be opened
Posted: Mon Feb 17, 2014 10:37 pm
by RangerX3X
ORIGINAL: Bletchley_Geek
So it is still failing to resolve the Estab after removing the shortcut, right?
Correct.
RE: Estab database could not be opened
Posted: Mon Feb 17, 2014 10:50 pm
by BletchleyGeek
AAAAARGH! I found the problem, and it has to do with a call to a Windows API that behaves differently depending on certain system settings:
GetFileTitle returns the string that the system would use to display the file name to the user. The display name includes an extension only if that is the user's preference for displaying file names. This means that the returned string may not accurately identify the file if it is used in calls to file system functions.
Let me find a better function, that
does not depend on your folder visualization settings. And let me note that this problem has probably been around for frickin' ages.
RE: Estab database could not be opened
Posted: Tue Feb 18, 2014 12:03 am
by RangerX3X
Awesome - thanks for looking into this.

RE: Estab database could not be opened
Posted: Tue Feb 18, 2014 3:17 am
by Arjuna
Way to go Miquel. [:)]
RE: Estab database could not be opened
Posted: Tue Feb 18, 2014 11:22 pm
by Deathtreader
ORIGINAL: Arjuna
Way to go Miquel. [:)]
Will this mean a new version of patch 271?
Rob.
Never mind, found the answer elsewhere. [:)]
RE: Estab database could not be opened
Posted: Wed Feb 19, 2014 7:41 pm
by RangerX3X
RE: Estab database could not be opened
Posted: Wed Feb 19, 2014 8:20 pm
by BletchleyGeek
ORIGINAL: RangerX3X
I can use the ScenMaker again with the new beta patch 4.6.272!


Tim, are you posting on the right forum, mate? [:)]
No worries - this was quite a kind of 'gotcha' thing.