Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

What decides a scene's graphics override directory?

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [New Releases from Matrix Games] >> The Operational Art of War IV >> What decides a scene's graphics override directory? Page: [1]
Login
Message << Older Topic   Newer Topic >>
What decides a scene's graphics override directory? - 2/22/2020 11:17:49 AM   
Shadrach


Posts: 721
Joined: 10/16/2001
From: Oslo, Norway
Status: offline
I was digging into this a bit a while back while investigating stuff related to "Campaign for South Vietnam 1965-75", and how the Graphics Override files worked.

I updated to the latest CSV from here:
https://www.matrixgames.com/forums/tm.asp?m=4390629

The SCE file is named "Campaign for South Vietnam 1965-75.sce"

After the update I noticed the override graphics in "The Operational Art of War IV\Graphics Override\Campaign for South Vietnam 1965-75" were no longer being loaded. Looking at the TOAW log I notice that the game instead looks for a folder named just "Campaign for South Vietnam".

I've always thought the name of the SCE file decided what folder the game would try to find the override files, but apparently not?
Is the "name" of the scenario as set in the editor used instead?

Why would the old version of the scenario use the "Campaign for South Vietnam 1965-75" override but the new version use only "Campaign for South Vietnam"?


_____________________________

OUW (Order of the Upgrade Wars)



There are folks out there with way too much time on their hands.
- Norm Koger
Post #: 1
RE: What decides a scene's graphics override directory? - 2/22/2020 11:49:46 AM   
cathar1244

 

Posts: 718
Joined: 9/5/2009
Status: offline
That is weird. I wonder what is causing it to only take part of the filename string.

Cheers

(in reply to Shadrach)
Post #: 2
RE: What decides a scene's graphics override directory? - 2/22/2020 12:21:40 PM   
Lobster


Posts: 3914
Joined: 8/8/2013
From: Third rock from the Sun.
Status: offline
I see the distribution package has two of the same scenario in Graphics Override. One is 1965 - 1975 which is correct. The other is 1965-75 which is incorrect. One is updated and one isn't? Also the files in the Override folder are all bmp and no longer used anyway. The only one that could possibly be used is the eqp file which is stored in the scenario file. More useless garbage in the game files.

Why it would look only for Campaign for South Vietnam is a mystery. Does the scenario even show the modified terrain when you run it?

_____________________________

http://www.operationbarbarossa.net/

"There are more things in Heaven and Earth, Horatio, than are dreamt of in your philosophy."

(in reply to Shadrach)
Post #: 3
RE: What decides a scene's graphics override directory? - 2/22/2020 12:26:55 PM   
Shadrach


Posts: 721
Joined: 10/16/2001
From: Oslo, Norway
Status: offline
quote:

ORIGINAL: Lobster
I see the distribution package has two of the same scenario in Graphics Override. One is 1965 - 1975 which is correct. The other is 1965-75 which is incorrect. One is updated and one isn't? Also the files in the Override folder are all bmp and no longer used anyway. The only one that could possibly be used is the eqp file which is stored in the scenario file. More useless garbage in the game files.

Why it would look only for Campaign for South Vietnam is a mystery. Does the scenario even show the modified terrain when you run it?


The scenario file is named "Campaign for South Vietnam 1965-75.sce" so I assumed "1965-75" would be the place it would look.

It shows the modified tiles if I name the override folder "Campaign for South Vietnam" instead of "Campaign for South Vietnam 1965-75".
I only use the "l_cultivated" tiles for better looking rice-paddies.

I tried looking in the editor but I have no idea where the "internal name" of the scenario is set, apart from the scene description which is only a text file.

_____________________________

OUW (Order of the Upgrade Wars)



There are folks out there with way too much time on their hands.
- Norm Koger

(in reply to Lobster)
Post #: 4
RE: What decides a scene's graphics override directory? - 2/22/2020 12:35:34 PM   
Raindem

 

Posts: 629
Joined: 7/15/2000
From: Arizona
Status: offline
When I submitted the scenario to Matrix for inclusion on the distribution disk, it was named "Campaign for South Vietnam" (which was the original name under CoW). Matrix initially just added the start year, "1965", so it would conform to their naming convention. Somewhere along the way someone added "-75". It wasn't me.

Why that still works, I couldn't tell you. I have noticed a little wierdness with scenario names. Simply renaming the filename does not always work. You have to open the scenario in the editor and Save As to the new filename. So there may be a hidden link embedded in the scenario data that the program looks to, separate (or in addition) to the filename.

_____________________________

Grab them by the balls. Their hearts and minds will follow.

(in reply to Lobster)
Post #: 5
RE: What decides a scene's graphics override directory? - 2/22/2020 12:43:43 PM   
Shadrach


Posts: 721
Joined: 10/16/2001
From: Oslo, Norway
Status: offline
quote:

ORIGINAL: Raindem
When I submitted the scenario to Matrix for inclusion on the distribution disk, it was named "Campaign for South Vietnam" (which was the original name under CoW). Matrix initially just added the start year, "1965", so it would conform to their naming convention. Somewhere along the way someone added "-75". It wasn't me.

Why that still works, I couldn't tell you. I have noticed a little wierdness with scenario names. Simply renaming the filename does not always work. You have to open the scenario in the editor and Save As to the new filename. So there may be a hidden link embedded in the scenario data that the program looks to, separate (or in addition) to the filename.


Thanks for the information! Yeah, I suspect there might be some hidden data containing the scenario name.
Or this might be a quirk from how the game handles scenario versions, maybe it thinks the "1965..." part is a version number. But then that would apply to a lot of other scenarios as well.

By the way does anyone have the old default scene that ships with TOAW4 in the latest patch? I think this is not the same as the 5.1 version and I'd like to compare them. And can't be bothered to do a full reinstall just to dig out the one scenario
EDIT: Never mind, I'm able to just install the Steam version and dig the old version from there.

< Message edited by Shadrach -- 2/22/2020 1:22:47 PM >


_____________________________

OUW (Order of the Upgrade Wars)



There are folks out there with way too much time on their hands.
- Norm Koger

(in reply to Raindem)
Post #: 6
RE: What decides a scene's graphics override directory? - 2/22/2020 2:05:26 PM   
Curtis Lemay


Posts: 12078
Joined: 9/17/2004
From: Houston, TX
Status: online
The game uses the name the scenario has in the Editor. Load it in the Editor and see what its name is there (at the top).

You can change the file name outside the editor, but that doesn't change the scenario name. The scenario name can only be changed by saving the file via the Editor.

_____________________________

My TOAW web site:

Bob Cross's TOAW Site

(in reply to Shadrach)
Post #: 7
RE: What decides a scene's graphics override directory? - 2/22/2020 4:00:47 PM   
Shadrach


Posts: 721
Joined: 10/16/2001
From: Oslo, Norway
Status: offline
quote:

ORIGINAL: Curtis Lemay
The game uses the name the scenario has in the Editor. Load it in the Editor and see what its name is there (at the top).

You can change the file name outside the editor, but that doesn't change the scenario name. The scenario name can only be changed by saving the file via the Editor.


Thanks - that makes sense. I had a look at the 5.1 version of in the editor, and the name is just "Campaign for South Vietnam" so the override folder needs to be named the same. The old version shipped with TOAW4 is named "Campaign for South Vietnam 1965-75".

So that explains why the game couldn't find the override files for the new version.
It seems the editor saves the name into the SCE file using the same name you save the file as. So renaming a scenario file after it's been saved might not work as expected, at least for custom graphics.

While we're on a similar issue, how does the game handle scenario "versioning"? For instance the two files in the WWII - Mediterranean folder:
Crete - Operation Merkur 1941.sce
Crete - Operation Merkur 1941 v.4.0.sce

These are both displayed as just "Crete - Operation Merkur 1941" in the New Game menu, so I assume the game looks at anything after a "v." as a version number and ignores it for display of the scenario name? And it would still display the DOC named "Crete - Operation Merkur 1941.DOC"?




_____________________________

OUW (Order of the Upgrade Wars)



There are folks out there with way too much time on their hands.
- Norm Koger

(in reply to Curtis Lemay)
Post #: 8
RE: What decides a scene's graphics override directory? - 2/22/2020 8:56:12 PM   
Curtis Lemay


Posts: 12078
Joined: 9/17/2004
From: Houston, TX
Status: online

quote:

ORIGINAL: Shadrach

While we're on a similar issue, how does the game handle scenario "versioning"? For instance the two files in the WWII - Mediterranean folder:
Crete - Operation Merkur 1941.sce
Crete - Operation Merkur 1941 v.4.0.sce

These are both displayed as just "Crete - Operation Merkur 1941" in the New Game menu, so I assume the game looks at anything after a "v." as a version number and ignores it for display of the scenario name? And it would still display the DOC named "Crete - Operation Merkur 1941.DOC"?


You have it right. But, forget the "." after the "v" and it will display, etc. Common mistake.

_____________________________

My TOAW web site:

Bob Cross's TOAW Site

(in reply to Shadrach)
Post #: 9
Page:   [1]
All Forums >> [New Releases from Matrix Games] >> The Operational Art of War IV >> What decides a scene's graphics override directory? Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

0.137