Page 1 of 1

Optional rule changes once game is started?

Posted: Sun Dec 03, 2017 5:02 pm
by Majorball68
Is it possible from editing the save to unselect an optional rule. The rule in question is 'Limited Supply across straits' and it is causing all sorts of grief with reorging units and it wasnt intended to play with this rule. I tried in game to unselect and right clicking turns it from ON to nothing but it doesnt change anything.

RE: Optional rule changes once game is started?

Posted: Sun Dec 03, 2017 5:17 pm
by Mayhemizer_slith
ORIGINAL: Majorball68

Is it possible from editing the save to unselect an optional rule. The rule in question is 'Limited Supply across straits' and it is causing all sorts of grief with reorging units and it wasnt intended to play with this rule. I tried in game to unselect and right clicking turns it from ON to nothing but it doesnt change anything.
You can change them by editing game file. Optional rules are almost on top of the file 0.0,-1,-1,0...

Post save file here if you can’t fix it by yourself (take copy before editing). Me or someone else can fix that.

RE: Optional rule changes once game is started?

Posted: Sun Dec 03, 2017 5:28 pm
by Majorball68
ORIGINAL: Mayhemizer

ORIGINAL: Majorball68

Is it possible from editing the save to unselect an optional rule. The rule in question is 'Limited Supply across straits' and it is causing all sorts of grief with reorging units and it wasnt intended to play with this rule. I tried in game to unselect and right clicking turns it from ON to nothing but it doesnt change anything.
You can change them by editing game file. Optional rules are almost on top of the file 0.0,-1,-1,0...

Post save file here if you can’t fix it by yourself (take copy before editing). Me or someone else can fix that.

That would be great, its a game still being played in 2.3.4 is that an issue or you can just alter the save and version doesnt matter?

File attached

RE: Optional rule changes once game is started?

Posted: Sun Dec 03, 2017 5:36 pm
by Majorball68
Could do it myself if I knew which -1, or 0 I need to change :)

2.3.4,10,0

GarryAndJason,
Nov/Dec 1939,15,Use Oil,None,Germany,Italy,Japan,China,Commonwealth,France,United States,
|Sunday, Dec 3, 2017 2:33 pm|
575593122,7998,7990,0,0,New Game,|C:\Games\Matrix Games\World in Flames\Scenarios\Global War\Saved Games\AutoSave\|
-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,0,-1,-1,0,0,0,0,0,-1,-1,-1,-1,0,-1,-1,-1,-1,-1,-1,-1,0,-1,0,-1,-1,-1,-1,-1,-1,-1,0,-1,0,0,0,-1,-1,-1,-1,-1,0,0,-1,0,0,-1,0,0,0,-1,-1,0,-1,0,0,-1,0,-1,0,0,-1,-1,-1,-1,0,-1,0,OptRules
0,0,0

RE: Optional rule changes once game is started?

Posted: Sun Dec 03, 2017 7:40 pm
by Majorball68
ORIGINAL: Majorball68

Could do it myself if I knew which -1, or 0 I need to change :)

2.3.4,10,0

GarryAndJason,
Nov/Dec 1939,15,Use Oil,None,Germany,Italy,Japan,China,Commonwealth,France,United States,
|Sunday, Dec 3, 2017 2:33 pm|
575593122,7998,7990,0,0,New Game,|C:\Games\Matrix Games\World in Flames\Scenarios\Global War\Saved Games\AutoSave\|
-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,0,-1,-1,0,0,0,0,0,-1,-1,-1,-1,0,-1,-1,-1,-1,-1,-1,-1,0,-1,0,-1,-1,-1,-1,-1,-1,-1,0,-1,0,0,0,-1,-1,-1,-1,-1,0,0,-1,0,0,-1,0,0,0,-1,-1,0,-1,0,0,-1,0,-1,0,0,-1,-1,-1,-1,0,-1,0,OptRules
0,0,0

Fixed it, trial and error. Was the 8th from the left which needed changing to a 0. Thanks for the tip.

RE: Optional rule changes once game is started?

Posted: Mon Dec 04, 2017 6:10 am
by Mayhemizer_slith
No problem. You are just as good as I am [;)]

First line is game version. At least before it was possible to backdate game by editing game file (in case I have older version and I want test everything is OK).

RE: Optional rule changes once game is started?

Posted: Sat Dec 09, 2017 4:44 pm
by rkr1958
I've developed an EXCEL base spreadsheet that can be used to "edit" the optional rules in MWiF.

The spreadsheet has two tabs. The first tab (optional_rules) is used to define which optional rules are "On" or "Off". The second tab (optrules) prints the on/off values (i.e., -1/0) on one line. While focused on this tab I then saveas that tab (i.e., file) to a different filename and in csv (i.e., comma delimited) format. I then open that file and paste that line over the corresponding line in the MWiF game file.

By the way, the data and format for the first tab (i.e., optional_rules) can be found in */Matrix Games/World in Flames/Optional Rules/*.OPT file(s).

Image

RE: Optional rule changes once game is started?

Posted: Sat Dec 09, 2017 4:47 pm
by rkr1958
Attached is my excel spreadsheet I developed for modifying / looking at MWiF optional rules.

A "stern" word of warning ... not all optional rules can be changed on the fly (i.e., after you've started a game). If you do try to change one of those optional rules (e.g., divisions), then you will corrupt your game file. So, as always, backup your game before modifying the optional rules in case you wind up breaking your game file.

RE: Optional rule changes once game is started?

Posted: Sat Dec 09, 2017 4:59 pm
by Mayhemizer_slith
Nice. It’s not often needed, but much easier than trying blind.

RE: Optional rule changes once game is started?

Posted: Sat Dec 09, 2017 6:45 pm
by paulderynck
Great work there, Ronnie.

RE: Optional rule changes once game is started?

Posted: Sat Dec 09, 2017 7:36 pm
by rkr1958
ORIGINAL: Mayhemizer

Nice. It’s not often needed, but much easier than trying blind.
ORIGINAL: paulderynck

Great work there, Ronnie.

Thanks guys! [:)]