Page 1 of 3
Unit Files
Posted: Sat Dec 14, 2019 3:55 pm
by Curtis Lemay
I'll try to illustrate a "how to" on this, since so many are having issues.
First, in the Editor, with the Force Editor invoked, pull-down the File menu. Note the "Save Unit As..." option:

RE: Unit Files
Posted: Sat Dec 14, 2019 3:57 pm
by Curtis Lemay
This shot shows that the Unit file will be saved in the current scenario folder (Pre-WWI - even though the scenario is from the WW-I folder.)

RE: Unit Files
Posted: Sat Dec 14, 2019 3:59 pm
by Curtis Lemay
After saving the current unit, delete it using the delete button.

RE: Unit Files
Posted: Sat Dec 14, 2019 4:00 pm
by Curtis Lemay
After deleting, the KGV BB is gone.

RE: Unit Files
Posted: Sat Dec 14, 2019 4:01 pm
by Curtis Lemay
Now, from the same pull-down, select Open Unit. The Unit file is waiting:

RE: Unit Files
Posted: Sat Dec 14, 2019 4:02 pm
by Curtis Lemay
After opening the file, the KGV is restored:

RE: Unit Files
Posted: Sat Dec 14, 2019 4:03 pm
by Curtis Lemay
Let's take a closer look at the path to the Unit file. Note that it is via the Documents path:

RE: Unit Files
Posted: Sat Dec 14, 2019 5:06 pm
by jmlima
Does not not work on my install (fully clean install with latest patch applied). Never saves any file and dialog box for file saving shows randomly (ie, one time you pres the save menu and it shows, then you repeat the process and it doesn't and so on).
RE: Unit Files
Posted: Sat Dec 14, 2019 6:09 pm
by Curtis Lemay
ORIGINAL: jmlima
Does not not work on my install (fully clean install with latest patch applied). Never saves any file and dialog box for file saving shows randomly (ie, one time you pres the save menu and it shows, then you repeat the process and it doesn't and so on).
Check your version using the "About..." thing.
RE: Unit Files
Posted: Sat Dec 14, 2019 7:32 pm
by Lobster
ORIGINAL: jmlima
Does not not work on my install (fully clean install with latest patch applied). Never saves any file and dialog box for file saving shows randomly (ie, one time you pres the save menu and it shows, then you repeat the process and it doesn't and so on).
Here's another look at it. Because what just got explained is not accurate.
First of all, let's begin at the beginning. Lets say you play a scenario in the Pre WWI folder. Then you decide to make a new scenario so you go to the Scenario Editor. Because all of your newly created scenarios are supposed to be put into the Documents folder you make a folder for your new scenario there and name it New Scenario. Going back to the Scenario Editor and New Scenario. You begin by opening the Force Editor and creating a unit and you want to save it because you'll be using that same type of unit again and again. You leave the name 1st Cadre. Now you go to save it.
To save While having the Force Editor open you go to the File menu in the Menu Bar at the top of the Scenario Editor window. Click on the File menu so you get the drop down and one of the items is Save Unit as... So you click it and it takes you to the folder of the last scenario you played in Pre WWI in the Documents folder. That won't do. It's going to be a modern scenario. So you click on folders until you get to New Scenario and save it there.
After more editing and saving of units you need the 1st Cadre unit so you do the same thing you did to save the unit but instead of clicking on Save Unit As...you click on Open Unit. And you are back to the Pre WWI folder. Not the folder where your scenario is saved. In fact, every unit you saved is in the WRONG FOLDER. You have to physically move them all to the correct folder, New Scenario. So you do that. Why would anyone have the units in the wrong folder right?
So now you go to Open Unit to add a 1st Cadre unit to your OOB and go to the New Scenario folder. Ah there are your unit files just where you moved them to and just where you need them. Great. You click on the 1st Cadre to insert one of them into your OOB and...nothing happens. It fails to insert any unit. Why? Because the program is looking in folder of THE LAST SCENRIO YOU PLAYED in Pre WWI!!! Not the scenario you are working on at all. It is impossible for you to insert any units from your New Scenario folder.
So then you realize in order to access your New Scenario folder while editing you have to copy a playable scenario into the New Scenario folder and play it. Only after you open that playable scenario that you put in the New Scenario folder in the game and then go to the Scenario Editor will saving or opening your units or your scenario ever work properly. Only then will the game program immediately look in the proper folder for anything having to do with the New Scenario scenario you are working on. So any time you play a scenario you can't work on any New Sceanrio scenario project without first opening that playable scenario that you put in the New Scenario folder then going to the Scenario Editor.
But hey, don't mind me, I'm just throwing a tantrum. [:D]
RE: Unit Files
Posted: Sat Dec 14, 2019 7:42 pm
by Hellen_slith
All of that is WAY beyond my low level of just playing the game....
For me, I am just trying to nail down compatibility issues w/ older patches re: PBEM / online.
Hoping shadrach will help me with that issue, is a whole other ball game in my arena.
But I share your pain (FWIW)
Good luck!
RE: Unit Files
Posted: Sat Dec 14, 2019 7:42 pm
by 76mm
I have the same problem as jmlima--no unit files are saved at all as far as I can tell. I have version 4.1.0.40. Although while I didn't get a file save dialog the first time I tried to save a unit, now I seem to get one pretty much every time. It just doesn't do anything.
I'm on Win10 64bit.
RE: Unit Files
Posted: Sat Dec 14, 2019 8:09 pm
by Shadrach
From what I've been able to figure out, it sets the folder of the save dialog to the current folder chosen for scenarios when starting a new game. So for instance if you've chosen "WW II - East Front" it will open that folder.
HOWEVER, if you choose "Open Scenario", and choose say "Ardennes 1944.SCE" from "WW II - West Front" it will STILL use "WW II - East Front" as the save folder. I can imagine this might cause some of the confusion maybe?
Also there's something VERY wrong with that save dialog. Sometimes I get the "old Windows" style save dialog with some Chinese-looking characters:
Other times I get the modern Win10 dialog with either a completely wrong title or some gobbledygook:
In examples below, where does "Sample Music" come from? And WTH does "ValidateRegItems" and then some weird text, and then "C:\users" mean?
RE: Unit Files
Posted: Sat Dec 14, 2019 9:29 pm
by Lobster
The scenario editor has been making the folder of the last game played the default folder for so long I can't remember when it started doing that. We have asked time and time again to get that changed to no avail. It makes no sense.
RE: Unit Files
Posted: Sun Dec 15, 2019 12:23 am
by 76mm
ORIGINAL: Shadrach
Also there's something VERY wrong with that save dialog. Sometimes I get the "old Windows" style save dialog with some Chinese-looking characters:
Boy, that's weird. I get the standard, white windows save dialog, and in the top left corner it says "Save Unit"...pretty much every time, at least I've not noticed any weird Chinese characters. This seems to be some pretty quirky stuff.
RE: Unit Files
Posted: Sun Dec 15, 2019 7:13 am
by Shadrach
ORIGINAL: 76mm
Boy, that's weird. I get the standard, white windows save dialog, and in the top left corner it says "Save Unit"...pretty much every time, at least I've not noticed any weird Chinese characters. This seems to be some pretty quirky stuff.
You can even see it in the titles from Bob's screenshots. "¬:\Users\Public" and "?ampleVideos". So it's not only on my system.
I guess it's just a cosmetic issue, but it might indicate something is going wrong when creating the dialog, and it might lead to follow-on errors for all I know.
RE: Unit Files
Posted: Sun Dec 15, 2019 8:21 am
by jmlima
ORIGINAL: Curtis Lemay
ORIGINAL: jmlima
Does not not work on my install (fully clean install with latest patch applied). Never saves any file and dialog box for file saving shows randomly (ie, one time you pres the save menu and it shows, then you repeat the process and it doesn't and so on).
Check your version using the "About..." thing.
4.1.0.40.
RE: Unit Files
Posted: Sun Dec 15, 2019 8:23 am
by jmlima
ORIGINAL: Shadrach
From what I've been able to figure out, it sets the folder of the save dialog to the current folder chosen for scenarios when starting a new game. So for instance if you've chosen "WW II - East Front" it will open that folder.
HOWEVER, if you choose "Open Scenario", and choose say "Ardennes 1944.SCE" from "WW II - West Front" it will STILL use "WW II - East Front" as the save folder. I can imagine this might cause some of the confusion maybe?...
There's no confusion here. On my side, there are no units being saved anywhere.
RE: Unit Files
Posted: Sun Dec 15, 2019 8:30 am
by jmlima
This is actually an interesting point. Should that folder have any scenarios? Because I just did a new install and patch and that folder now has got no scenarios whatsoever. The game is searching and using the scenario folders inside the game installation folder, not any other scenario folder.
ORIGINAL: Curtis Lemay
Let's take a closer look at the path to the Unit file. Note that it is via the Documents path:
RE: Unit Files
Posted: Sun Dec 15, 2019 8:50 am
by Shadrach
ORIGINAL: jmlima
This is actually an interesting point. Should that folder have any scenarios? Because I just did a new install and patch and that folder now has got no scenarios whatsoever. The game is searching and using the scenario folders inside the game installation folder, not any other scenario folder.
That folder's supposed to be empty after installation, and to be used for your own/downloaded scenarios. Because most users don't have write permissions to the "Program Files" folder where the game is installed by default. And so you won't lose your custom scenarios when uninstalling the game.