INI File (Full Version)

All Forums >> [New Releases from Matrix Games] >> The Operational Art of War IV >> Tech Support



Message


tcarusil -> INI File (11/17/2017 9:39:34 PM)

Two questions:
First, I have two drives on my computer, C: for operating system and E: for games. I loaded TOAW IV on my E: drive, but when I looked in the folder for OPART 4.ini, I could not find it. I found it on the C: drive in a folder with the following other folders: “Graphics Override”, “My Fonts”, “Saves”, “Scenarios”, and “sound”. Other files in the main folder are OPART 4 Fonts, affinity, toa.cfg, TOAWEquipment.eqp, TOAWEquipment.nqp, toawlog, and toawWeapons. Is this the where these files are supposed to be? I’ve not encountered installations that involved two different drives.

Second, in the OPART 4. ini file as shown in the manual, there are the following parameters:
ChangeScreenResolution=N
ScreenY=768
ScreenX=1024
These parameters are not in the OPART 4.ini file that I have. Is this something that I need to add to the ini file? Shouldn’t they already be there?

I would appreciate any guidance that can be provided. Thank you.

TomC




aperfecturkel -> RE: INI File (11/17/2017 9:43:00 PM)

That's right where they're supposed to be! Those "Graphics Override," "Scenarios," and "Saves" folders and so on can be added to and otherwise changed by the user, so TOAWIV - like many other games - will store those user-accessible parts in that user's "My Documents" folder. If you have administrator rights on your PC, you have full access to the game's program files (In this case, the stuff on your E: drive), so you'd be able to save games there or drop new scenarios/customizations into that folder no trouble - but for non-admin users, Program Files is locked down by default, and so a normal user couldn't save or change settings since they technically wouldn't have write-access to the folder. One of the few places a standard-rights user has full write access is their own User folder, so Windows games (and many other programs, for that matter) started saving that kind of "user data" there.

It's not too unusual these days, and shouldn't cause any trouble! Theoretically, you'd never have to manipulate or change anything on your E: drive to affect the game - user settings (those INI files) and the scenarios are stored with the user's stuff in My Docs. [:)]


(edit: Gosh, that got kinda long-winded, just let me know if that doesn't make much sense!)
---

As for the OPART 4.ini, you're right - they're not there by default, so you can just add them to the end of the file! It seems there are a few switches like that that, while they would have an effect if added to the INI, aren't added by default. There's a list at the back of the manual of all possible switches, I believe, if you have any interest in seeing what you may be missing.

Anecdotally, those three are the only settings I've had to add myself!




Shadrach -> RE: INI File (11/17/2017 10:02:08 PM)

Yeah, lots of games use the "My Games" folder for save-games and config, or they don't behave and use the "Documents" folder directly. Problem is, some of these folders tend to be huge. And not all, including me, wants to save all that on the C: drive, for OS backup purposes (to make the image smaller).

For example, my Battlefront folder has a lot of mods and save-games and is over 4GB in size.

So what I've done is made a "symlink" or "junction link" to map the My Games folder to another drive, the same drive I have games on, with plenty of space.
You can use this tool below or just the mklink command from an elevated command prompt.
https://sourceforge.net/projects/symlink-creator/

Another way (probably easier) is to use the method described here:
https://support.microsoft.com/en-us/help/253682/how-to-change-the-default-location-of-the-my-documents-folder
Although not sure if that works when some badly written applications use hard-coded paths...




tcarusil -> RE: INI File (11/18/2017 12:07:16 AM)

Thank you, Aperfecturkel and Shadrach. Just goes to show you how long its been since I've bought a new game. I am looking forward to diving into the game. Again thank you.

Tomc




rtropp -> RE: INI File (12/20/2017 3:25:12 PM)

I cannot find my .ini files, he said sheepishly.... I searched every folder. How bad am I???
I would appreciate any help.




piotre -> RE: INI File (12/20/2017 4:12:38 PM)

They can be found in:

"C:\Users\USERNAME\Documents\My Games\The Operational Art of War IV"

Where USERNAME is, well, your User Name on your PC [;)].




mccartyg -> RE: INI File (12/20/2017 4:26:02 PM)

Seems like a good place to post my questions about Opart 4.ini
What are these values:
HugeIcons, basicDefaults, experimentalAIP1, experimentalAIP2, and MacroTerrain. Their manual descriptions are ambiguous and I can't find them through forum search.




rtropp -> RE: INI File (12/21/2017 11:46:27 AM)

Thanks piotre, I also had to go into view/hidden files to make the ini files view-able. Now I will poke around to see if there is a setting that will stop the constant crashing. If not, I may just go back to toaw III.




JPJ -> RE: INI File (12/21/2017 12:26:53 PM)


quote:

ORIGINAL: mccartyg

Seems like a good place to post my questions about Opart 4.ini
What are these values:
HugeIcons, basicDefaults, experimentalAIP1, experimentalAIP2, and MacroTerrain. Their manual descriptions are ambiguous and I can't find them through forum search.


Manual page 171-172:
experimentalAIP2=Y For Ralph to do AI testing
experimentalAIP1=Y For Ralph to do AI testing
basicDefaults=N
MacroTerrain=N

The first two seem to be for the developer for testing, not for gameplay.
The last two are not defined.
So you would probably ignore them unless you know what you are doing.




JPJ -> RE: INI File (12/21/2017 12:37:31 PM)


quote:

ORIGINAL: rtropp

Now I will poke around to see if there is a setting that will stop the constant crashing. If not, I may just go back to toaw III.


rtropp, regarding your calls above and in this thread, your crashes can be caused by a software or hardware issue. This forum used to be watched by users who can help with hardware and driver related issues (dxdiag etc.) to begin with. I hope one of them drops by and can help you see if that is the cause, and then look further specifically at your TOAW IV installation etc.




Oberst_Klink -> RE: INI File (12/21/2017 1:14:19 PM)

Richard

dump either, or better both, the dxdiag and toaw crash log, please? I am not a dev, but got 20+ years TechSup under my belt.

Klink, Oberst




rtropp -> RE: INI File (12/24/2017 12:34:12 PM)

Oberst,
Thanks, attached is the crash log. I cannot find the dxdiag.

...uh, I don't know how to attach a file or what "dump"means.
Boy do I feel silly..

wait.. there it is... whew!!

crashlog is attached.




Oberst_Klink -> RE: INI File (12/24/2017 12:41:42 PM)

Richard

DxDiag is a program, well, part of Windows. If you search for it, you'll find it. Start it and dump the save/log file here, too.

Klink, Oberst

[image]local://upfiles/28259/707EBC5399EB48ED864EEC69CBD45EAC.jpg[/image]




rtropp -> RE: INI File (12/26/2017 3:58:39 PM)

Oberst,
attached is the dxdiag file.
Thank you




mccartyg -> RE: INI File (12/26/2017 4:03:32 PM)

quote:


Manual page 171-172:
experimentalAIP2=Y For Ralph to do AI testing
experimentalAIP1=Y For Ralph to do AI testing
basicDefaults=N
MacroTerrain=N

The first two seem to be for the developer for testing, not for gameplay.
The last two are not defined.
So you would probably ignore them unless you know what you are doing.


I guess if I ask what uberdude is now I'll be told that it's super simpleton mode. Was going for actual definitions as I mentioned I've already read the very undiscriptive manual lines and have searched the forums as well. Anyone know what these ini values mean exactly?




Oberst_Klink -> RE: INI File (12/26/2017 4:33:56 PM)


quote:

ORIGINAL: rtropp

Oberst,
attached is the dxdiag file.
Thank you

Richard,

your system is far superior than mine! Now, you gut multiple core CPU... me just dual and 4GB RAM. You got the latest beta, 4.0.1.23, aye? As for some tweak in the Opart 4.ini, did you switch multicpu=y?

Klink, Oberst




Oberst_Klink -> RE: INI File (12/26/2017 4:37:26 PM)

quote:

ORIGINAL: mccartyg

quote:


Manual page 171-172:
experimentalAIP2=Y For Ralph to do AI testing
experimentalAIP1=Y For Ralph to do AI testing
basicDefaults=N
MacroTerrain=N

The first two seem to be for the developer for testing, not for gameplay.
The last two are not defined.
So you would probably ignore them unless you know what you are doing.


I guess if I ask what uberdude is now I'll be told that it's super simpleton mode. Was going for actual definitions as I mentioned I've already read the very undiscriptive manual lines and have searched the forums as well. Anyone know what these ini values mean exactly?

Geoff,

see my post http://www.matrixgames.com/forums/fb.asp?m=2742936 from 2011, just digged it up. It will explain everything. After all... When in doubt, ask the Kraut!

And here for the public, too ;)

nodelay – Useful for debugging scenarios in computer vs. computer play mode, this option turns off many of the small timer controlled delays and animations in the game. The effect is most noticeable on faster machines.
noupdate - Useful for debugging scenarios in computer vs. computer play mode, this option turns off many of the screen updates in the game. The effect is most noticeable on slower machines. This option should not be used when playing the game, as some of the updates are necessary for normal play purposes. A combination of nodelay and noupdate can speed computer vs. computer scenario test dramatically.
nosound – Turn off all sound.
norandom – Turns off system time based initialization of the random number generator used in TOAW.
polog – Turns on the programmed opponent logging feature. This will generate a po_log.txt file in your game directory. The log file is a detailed record of programmed opponent decision making during a game.
toawlog – Turns on the general game logging feature. This will generate a toaw_log.txt file in your game directory. The log file is a detailed record of many game management functions, including loading and unloading of resources and combat resolution.
nointro – Turns the introductory cinematic off.
uberdude – Increases the amount of feedback from the event engine and other game functions for debug purposes. Many event engine actions that leave no trace in normal mode will fully document themselves in the news report if you use the uberdude switch. This can be used during normal play, but is really intended for scenario designer use. It has a tendency to clutter the news report and certain graphics areas with information that isn’t needed during normal play.

Klink, Oberst




mccartyg -> RE: INI File (12/26/2017 9:27:57 PM)

What of HugeIcons, basicDefaults, experimentalAIP1, experimentalAIP2, and MacroTerrain though? It isn't really material to gameplay but, I'd just like to know.




Oberst_Klink -> RE: INI File (12/27/2017 7:34:23 AM)

quote:

ORIGINAL: mccartyg

What of HugeIcons, basicDefaults, experimentalAIP1, experimentalAIP2, and MacroTerrain though? It isn't really material to gameplay but, I'd just like to know.

As per JPJ's answer earlier and the manuel:

Manual page 171-172:
experimentalAIP2=Y For Ralph to do AI testing
experimentalAIP1=Y For Ralph to do AI testing
basicDefaults=N
MacroTerrain=N

The first two seem to be for the developer for testing, not for gameplay.
The last two are not defined. Therefore, no effect(s) and leftovers from Norm's code
So you would probably ignore them unless you know what you are doing.
HugeIcons=Y does what it says - The unit icons in the unit information panel are larger :) So, perfect for those with a higher than 1440x900 resolution.

Klink, Oberst


[image]local://upfiles/28259/D35EFF4D57FC40348A1242DAF7C6A34E.jpg[/image]




ralphtricky -> RE: INI File (12/29/2017 8:00:14 PM)

BasicDefaults helps control the numbers on the icons.
MacroTerrain should set the combat background to the old Macro Terrain instead of the new Hexes.




Meyer1 -> RE: INI File (12/30/2017 1:52:43 AM)

quote:

ORIGINAL: Oberst_Klink

quote:

ORIGINAL: mccartyg

What of HugeIcons, basicDefaults, experimentalAIP1, experimentalAIP2, and MacroTerrain though? It isn't really material to gameplay but, I'd just like to know.

As per JPJ's answer earlier and the manuel:

Manual page 171-172:
experimentalAIP2=Y For Ralph to do AI testing
experimentalAIP1=Y For Ralph to do AI testing
basicDefaults=N
MacroTerrain=N

The first two seem to be for the developer for testing, not for gameplay.
The last two are not defined. Therefore, no effect(s) and leftovers from Norm's code
So you would probably ignore them unless you know what you are doing.
HugeIcons=Y does what it says - The unit icons in the unit information panel are larger :) So, perfect for those with a higher than 1440x900 resolution.

Klink, Oberst


[image]local://upfiles/28259/D35EFF4D57FC40348A1242DAF7C6A34E.jpg[/image]



Geez... this is what I was asking for, great... but since when this is available? Holy undocumented feature, Batman.




mccartyg -> RE: INI File (12/30/2017 6:12:36 PM)

>BasicDefaults helps control the numbers on the icons.
Care to expand on that Ralph? I imagine it controls the highest value and averaging. Where highest value was 31 for TOAW 3.4. So, setting BasicDefaults=N should radacalize the evaluation? Would be cool if highest value could be moddable so I could set it to 99 or 999 for greater 'accuracy'.




DanNeely -> RE: INI File (12/30/2017 9:31:41 PM)

quote:

ORIGINAL: mccartyg

>BasicDefaults helps control the numbers on the icons.
Care to expand on that Ralph? I imagine it controls the highest value and averaging. Where highest value was 31 for TOAW 3.4. So, setting BasicDefaults=N should radacalize the evaluation? Would be cool if highest value could be moddable so I could set it to 99 or 999 for greater 'accuracy'.


No, it just controls what numbers are shown. Go to the second screen of player options and click the edit counter values button. You can hit the basic defaults and advanced defaults buttons, or you can click on individual 'slots' and select any value you want.

Basic defaults will have the 'm' key cycling between Anti-Personnel/Defense and Movement stats for units.

Advanced adds stack stats, a mess of engineering related stats, and unit timestamps.



[image]local://upfiles/18496/48D7E68529024C8B901C9FCFFAA0F3A9.jpg[/image]




mccartyg -> RE: INI File (12/30/2017 9:59:10 PM)

Don't understand but, I figure that you're correct in that the ini and that GUI window determine the same thing. Will just have to play test to figure it out myself.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
3.78125