Unit Files

The sequel of the legendary wargame with a complete graphics and interface overhaul, major new gameplay and design features such as full naval combat modelling, improved supply handling, numerous increases to scenario parameters to better support large scenarios, and integrated PBEM++.
User avatar
Curtis Lemay
Posts: 15300
Joined: Fri Sep 17, 2004 3:12 pm
Location: Houston, TX

Unit Files

Post 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:

Image
Attachments
Unit1.jpg
Unit1.jpg (195.11 KiB) Viewed 921 times
My TOAW web site:

Bob Cross's TOAW Site
User avatar
Curtis Lemay
Posts: 15300
Joined: Fri Sep 17, 2004 3:12 pm
Location: Houston, TX

RE: Unit Files

Post 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.)

Image
Attachments
Unit 2.jpg
Unit 2.jpg (143.34 KiB) Viewed 921 times
My TOAW web site:

Bob Cross's TOAW Site
User avatar
Curtis Lemay
Posts: 15300
Joined: Fri Sep 17, 2004 3:12 pm
Location: Houston, TX

RE: Unit Files

Post by Curtis Lemay »

After saving the current unit, delete it using the delete button.

Image
Attachments
Unit3.jpg
Unit3.jpg (113.04 KiB) Viewed 921 times
My TOAW web site:

Bob Cross's TOAW Site
User avatar
Curtis Lemay
Posts: 15300
Joined: Fri Sep 17, 2004 3:12 pm
Location: Houston, TX

RE: Unit Files

Post by Curtis Lemay »

After deleting, the KGV BB is gone.

Image
Attachments
Unit4.jpg
Unit4.jpg (108.91 KiB) Viewed 921 times
My TOAW web site:

Bob Cross's TOAW Site
User avatar
Curtis Lemay
Posts: 15300
Joined: Fri Sep 17, 2004 3:12 pm
Location: Houston, TX

RE: Unit Files

Post by Curtis Lemay »

Now, from the same pull-down, select Open Unit. The Unit file is waiting:

Image
Attachments
Unit5.jpg
Unit5.jpg (122.65 KiB) Viewed 921 times
My TOAW web site:

Bob Cross's TOAW Site
User avatar
Curtis Lemay
Posts: 15300
Joined: Fri Sep 17, 2004 3:12 pm
Location: Houston, TX

RE: Unit Files

Post by Curtis Lemay »

After opening the file, the KGV is restored:

Image
Attachments
Unit6.jpg
Unit6.jpg (112.06 KiB) Viewed 921 times
My TOAW web site:

Bob Cross's TOAW Site
User avatar
Curtis Lemay
Posts: 15300
Joined: Fri Sep 17, 2004 3:12 pm
Location: Houston, TX

RE: Unit Files

Post by Curtis Lemay »

Let's take a closer look at the path to the Unit file. Note that it is via the Documents path:

Image
Attachments
Unit7.jpg
Unit7.jpg (108.19 KiB) Viewed 921 times
My TOAW web site:

Bob Cross's TOAW Site
jmlima
Posts: 774
Joined: Wed Feb 28, 2007 10:45 pm

RE: Unit Files

Post 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).
User avatar
Curtis Lemay
Posts: 15300
Joined: Fri Sep 17, 2004 3:12 pm
Location: Houston, TX

RE: Unit Files

Post 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.
My TOAW web site:

Bob Cross's TOAW Site
User avatar
Lobster
Posts: 5582
Joined: Thu Aug 08, 2013 2:12 pm
Location: Third rock from the Sun.

RE: Unit Files

Post 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]
ne nothi tere te deorsum (don't let the bastards grind you down)

If duct tape doesn't fix it then you are not using enough duct tape.

Two things are infinite: the universe and human stupidity and I’m not sure about the universe-Einstein.
User avatar
Hellen_slith
Posts: 2009
Joined: Mon Oct 10, 2005 6:46 pm

RE: Unit Files

Post 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!

User avatar
76mm
Posts: 4768
Joined: Sun May 02, 2004 4:26 am
Location: Washington, DC

RE: Unit Files

Post 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.
User avatar
Shadrach
Posts: 767
Joined: Tue Oct 16, 2001 8:00 am
Location: Oslo, Norway
Contact:

RE: Unit Files

Post 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:

Image

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?

Image
OUW (Order of the Upgrade Wars)
Image
There are folks out there with way too much time on their hands.
- Norm Koger
User avatar
Lobster
Posts: 5582
Joined: Thu Aug 08, 2013 2:12 pm
Location: Third rock from the Sun.

RE: Unit Files

Post 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.
ne nothi tere te deorsum (don't let the bastards grind you down)

If duct tape doesn't fix it then you are not using enough duct tape.

Two things are infinite: the universe and human stupidity and I’m not sure about the universe-Einstein.
User avatar
76mm
Posts: 4768
Joined: Sun May 02, 2004 4:26 am
Location: Washington, DC

RE: Unit Files

Post 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.
User avatar
Shadrach
Posts: 767
Joined: Tue Oct 16, 2001 8:00 am
Location: Oslo, Norway
Contact:

RE: Unit Files

Post 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.
OUW (Order of the Upgrade Wars)
Image
There are folks out there with way too much time on their hands.
- Norm Koger
jmlima
Posts: 774
Joined: Wed Feb 28, 2007 10:45 pm

RE: Unit Files

Post 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.
jmlima
Posts: 774
Joined: Wed Feb 28, 2007 10:45 pm

RE: Unit Files

Post 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.
jmlima
Posts: 774
Joined: Wed Feb 28, 2007 10:45 pm

RE: Unit Files

Post 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:

Image
User avatar
Shadrach
Posts: 767
Joined: Tue Oct 16, 2001 8:00 am
Location: Oslo, Norway
Contact:

RE: Unit Files

Post 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.
OUW (Order of the Upgrade Wars)
Image
There are folks out there with way too much time on their hands.
- Norm Koger
Post Reply

Return to “The Operational Art of War IV”