Bug Fix Solutions

Time of Fury spans the whole war in Europe and gives players the opportunity to control all types of units, ground, air and naval. Not only that, each player will be able to pick a single country or selection of countries and fight his way against either the AI or in multiplayer in hotseat or Play by E-Mail. This innovative multiplayer feature will give player the chance to fight bigger scenarios against many opponents, giving the game a strategic angle that has no equal in the market. The game uses Slitherine’s revolutionary PBEM++ server system.

Moderator: doomtrader

Dgold
Posts: 242
Joined: Sun Apr 23, 2000 8:00 am
Location: BC, Canada

Bug Fix Solutions

Post by Dgold »

There are two major bugs in the latest V 1.06 of Time of Fury. These are caused by the game not building the correct *.ini files for each country in saved games:
• Terrain is not being used to modify combat calculations
• Major countries are using the tiny default minor country thresholds for calculating military upkeep costs, instead of using their own larger custom thresholds, therefore major country upkeep costs are way too high
Both these issues only manifest when your first and each subsequent saved game is loaded and played.

There is also a minor issue for Armored units attacking cities - ArmoredCityModifier = 0.5
I have edited the [LandCombatAttackerModifiers] section of each country’s *ini file to change this to ArmoredCityModifier = 1.0

The first solution is to firstly add this text using Windows Notepad, to each of the 16 country *ini files in the original Scenario directory, then save the edit – before starting a new game:

[LandCombatAttackerModifiers]
NoPanzersVsPanzers = 0.9
1DirectionAttack = 0.9
2DirectionAttack = 1.1
3DirectionAttack = 1.35
4DirectionAttack = 1.55
5DirectionAttack = 1.8
6DirectionAttack = 2
RiverPenalty = 0.75
PercentagePenaltyForEachFortLevel = 9
PercentageOverrunLossesForAttackers = 2
ArmoredCityModifier = 1.0

[LandCombatDefenderModifiers]
Plain = 1
Forest = 1.5
Rough = 1.7
Swamp = 1.25
Hills = 1.4
Mountain = 2
Desert = 1
City = 2
Fort = 0.1
NearbyDefendersValue = 0.05


Play the game, then when you first save and exit the game, go to C:\Program Files (x86)\Steam\steamapps\common\Time of Fury\data\scenarios\scenario name, then copy these 16 files:

(see attached picture file)

Then paste them into your current saved game at C:\Users\XXX\Documents\My Games\Time of Fury\Saves\Saved game name, overwriting the existing *.ini files with the same names.

When you subsequently load this saved game, the three identified issues will be corrected.

You must then repeat this copy and paste procedure for the 16 *.ini files, for each successive saved game. I just copy these (edited) files from the previous saved game directory to the same saved game directory.
No need to go back to the original scenario directory files.



Attachments
inifiles.jpg
inifiles.jpg (43.05 KiB) Viewed 821 times
gwgardner
Posts: 6926
Joined: Fri Apr 07, 2006 1:23 pm

RE: Bug Fix Solutions

Post by gwgardner »

Thanks! I suppose it wouldn't work with the Slitherine PBEM++ system. Would have to pass saves manually.

[later] I forgot, the Steam version does not have PBEM++ anyway.

If you ever get interested in doing a PBEM let me know. I'll play either side. With the House rules that there is no convoy raiding in the Med and in the Bay of Biscayne (I think that's the one on the north coast of Spain, next to France).

User avatar
Rasputitsa
Posts: 2902
Joined: Sat Jun 30, 2001 8:00 am
Location: Bedfordshire UK
Contact:

RE: Bug Fix Solutions

Post by Rasputitsa »

Much can be 'fixed' using the 'consts.ini' files within each scenario, but some nations do not have their own national 'xxxxxx_consts.ini' file and will default to the main 'consts.ini' file in each scenario, so national 'consts ini' files have to be created for them.

Good idea to cut and paste into each game save to stop the game 'losing' some data with each save, but I have been in the habit of saving frequently in case of the dreaded CTD, so it's going to be a balance between keeping the integrity of the data and protecting against CTD.

Accepted that this is a high maintenance game, but it is so good when it's working. [:)]
"In politics stupidity is not a handicap" - Napoleon

“A people which is able to say everything becomes able to do everything” - Napoleon

“Among those who dislike oppression are many who like to oppress" - Napoleon
Dgold
Posts: 242
Joined: Sun Apr 23, 2000 8:00 am
Location: BC, Canada

RE: Bug Fix Solutions

Post by Dgold »

Thanks for your comments, Rasputitsa.

I have been playing the Steam version 1.06, and have had no crashes yet.
akos01
Posts: 26
Joined: Tue Feb 12, 2019 9:39 am

RE: Bug Fix Solutions

Post by akos01 »

Thanks for the tweek!

Same goes to the threshold levels for the unit's number. You have to edit the "[UpkeepCost]
MaximumSupportedSizeOfArmy" in all the countries concerned with the original values from the scenario folders.
akos01
Posts: 26
Joined: Tue Feb 12, 2019 9:39 am

RE: Bug Fix Solutions

Post by akos01 »

There is also a minor issue for Armored units attacking cities - ArmoredCityModifier = 0.5
I have edited the [LandCombatAttackerModifiers] section of each country’s *ini file to change this to ArmoredCityModifier = 1.0

Are you sure about this? Isn't the 0.5 value valid? When you attak a city with an armoured unit in the city you are supposed to get penalty, right?

Or am I missing something? :)
User avatar
Rasputitsa
Posts: 2902
Joined: Sat Jun 30, 2001 8:00 am
Location: Bedfordshire UK
Contact:

RE: Bug Fix Solutions

Post by Rasputitsa »

ORIGINAL: akos01

There is also a minor issue for Armored units attacking cities - ArmoredCityModifier = 0.5
I have edited the [LandCombatAttackerModifiers] section of each country’s *ini file to change this to ArmoredCityModifier = 1.0

Are you sure about this? Isn't the 0.5 value valid? When you attak a city with an armoured unit in the city you are supposed to get penalty, right?

Or am I missing something? :)

That is correct, except that in STEAM v1.06 the 'armor in city' penalty is being applied in all types of terrain, not just in the cities.

v1.05 and all earlier versions do not have this bug, except that all versions after v1.01 are only applying terrain combat modifiers to Poland and no other countries.

The fix for this is to copy the terrain modifiers text from the main scenario 'consts.ini' file separately into each 'country_consts.ini' file.

Terrain Combat Odds Modifiers look like this :

[LandCombatDefenderModifiers]
Plain = 1
Forest = 1.5
Rough = 1.7
Swamp = 2.0
Hills = 1.4
Mountain = 2
Desert = 1
City = 2
Fort = 0.1
NearbyDefendersValue = 0.05

Some minor countries do not have a separate 'country_consts.ini' file, so one must be created and the terrain modifiers added.

The added bonus is that, as each country will then have its own terrain modifiers, then they can be adjusted to show specific attributes, Switzerland good in mountains, Finland good in forests, etc..
"In politics stupidity is not a handicap" - Napoleon

“A people which is able to say everything becomes able to do everything” - Napoleon

“Among those who dislike oppression are many who like to oppress" - Napoleon
akos01
Posts: 26
Joined: Tue Feb 12, 2019 9:39 am

RE: Bug Fix Solutions

Post by akos01 »

Thanks for clarifying this!

I copy-paste these modifiers and the unit's original threshold values in each *ini file, then reload the saved game before ending the turn.

User avatar
Rasputitsa
Posts: 2902
Joined: Sat Jun 30, 2001 8:00 am
Location: Bedfordshire UK
Contact:

RE: Bug Fix Solutions

Post by Rasputitsa »

Yes, the changes should be made in every 'country_consts.ini' file in each scenario folder that you intend to play.

It is best to adjust each scenario before you start a game, but if you make changes to a game save folder it will only apply to that game in the following turns, previous game saves will obviously still have the old values and any new games will use the old values, unless you adjust the 'country_consts.ini' text in the main scenario folder, before starting a game.

The main 'consts.ini' file in each scenario folder remains unchanged as you play the game, but the 'country_consts.ini' files are saved in the game save folder with each game save, as the game is changing country values with events.

Some changes you make to the text of the 'country_consts.ini' do not stick, they can disappear after a new game save, but the changes to the basic terrain combat odds modifier values are one text change that does stick.

There is a lot you can do by adjusting the text in the 'consts.ini' files, to control the game and add new features. Much of this has already been discussed in earlier posts.

I have an early start 'Fall Gelb' scenario, which assumes that the attack which Hitler ordered in early 1940 is not cancelled and I have restored 'Graf Spee' and Hans Langsdorff into the OOB, as he could and should have avoided being trapped in the River Plate, KMS Blucher is not lost in Norway, German coastal U-boats are sent down the Danube in sections to be used in the Black Sea, Italian aircraft carriers, Britain builds the 'Lion' class BBs, etc..

What-if Germany concentrates on mass production of more standardised basic AFV models, rather than wasting resources on many varieties of vehicle (larger quantities of basic models), more historical Command and Control variations between nations, possible by moving different command values into each 'country_consts.ini' file.

The game can be very flexible in user modifications through simple text changes.
"In politics stupidity is not a handicap" - Napoleon

“A people which is able to say everything becomes able to do everything” - Napoleon

“Among those who dislike oppression are many who like to oppress" - Napoleon
akos01
Posts: 26
Joined: Tue Feb 12, 2019 9:39 am

RE: Bug Fix Solutions

Post by akos01 »

Thanks!

I haven't got the full understanding of the adjustable files yet, but I already gave a shot to tinker with diplomacy points and its changes to make this feature vivid and fun.
shermanwar
Posts: 66
Joined: Thu Feb 23, 2012 1:12 am

RE: Bug Fix Solutions

Post by shermanwar »

Hi Rasputitsa!
We had communicated many years ago on here. I have come back to the game since it went back on Steam and having some decent luck(so far). I'm doing some basic mods just for single player fun and would like to find where a unit links to the image in the unit image folder. There are many repeats in there! I made some special units and want to ensure they get the photo I want. I cant seem to find the instruction in data folders! Hope you see this!
Thanks
akos01
Posts: 26
Joined: Tue Feb 12, 2019 9:39 am

RE: Bug Fix Solutions

Post by akos01 »

Hi!

1. First of all your image must be a .png file with a 256x128 pixel ratio (to show perfectly in the box in your game). Convert the original file accordingly, if it's needed.

2. Copy this image into the "Units image" folder.

3. Copy the chosen unit's name from the scenario's or saved game's "land_unit.cvs" file into the "Units name" folder as the image's name.

Done.

User avatar
Rasputitsa
Posts: 2902
Joined: Sat Jun 30, 2001 8:00 am
Location: Bedfordshire UK
Contact:

RE: Bug Fix Solutions

Post by Rasputitsa »

ORIGINAL: shermanwar

Hi Rasputitsa!
We had communicated many years ago on here. I have come back to the game since it went back on Steam and having some decent luck(so far). I'm doing some basic mods just for single player fun and would like to find where a unit links to the image in the unit image folder. There are many repeats in there! I made some special units and want to ensure they get the photo I want. I cant seem to find the instruction in data folders! Hope you see this!
Thanks


In the 'Units images' folder the images are organised in individual file names (mostly numbers), for unit type and size, tech level and country : here is an example :


Image

file name 0_1_26 is my image for a Romanian, tech level 1, infantry division, only the numbering is reversed.[8|]

(0) = Infantry Division size, (1) Tech level 1, (26) country Romania.

Another example, unit file - 1_3_3

(1) =Infantry Corps size, (3) Tech level 3, (3) country Soviet Union

If there is no country specific unit file in the 'Units images' folder, then the game will default to the basic image for that type of unit, which for Infantry Division (0) tech level 1 (1) = 0_1.png.

I will look for the code sheet I had to describe all of this and post more later.

Attachments
0_1_26.jpg
0_1_26.jpg (18.2 KiB) Viewed 801 times
"In politics stupidity is not a handicap" - Napoleon

“A people which is able to say everything becomes able to do everything” - Napoleon

“Among those who dislike oppression are many who like to oppress" - Napoleon
User avatar
Rasputitsa
Posts: 2902
Joined: Sat Jun 30, 2001 8:00 am
Location: Bedfordshire UK
Contact:

RE: Bug Fix Solutions

Post by Rasputitsa »

Here's another example


Image

File name 22_5_53

(22) Strategic Bomber, (5) Tech level 5, (53) country USA

The country #ID numbers are listed in the countries.csv file in each scenario folder, but the list starts Poland - #1, Germany - #2, Soviet Union - #3, ..... Finland - #7, Britain - #9, France - #16, Italy - #21, Greece - #24, Romania - #26, Hungary - #27, USA - #53.

Tech level is self explanatory.

Unit type and size

0 = Infantry Division
1 = Infantry Corps
2 = Mech Div
3 = Mech Corps
4 = Armoured Division
5 = Arm Corps
6 = Airborne Division


20 = Fighter
21 = Tactical Bomber
22 = Strategic Bomber

Other units in the Units images folder

40 = Aircraft carrier
41 = BB
42 = Heavy Cruiser
43 = Submarine
44 = Amphibious Transport

60 = Mulberry Harbour

Then there are other units which have their own individually named image and will be included in certain scenarios, you will see these separately named units in the units images folder amongst the numbered images.

You can name your own units as long as the unit appears in the appropriate scenario land_units / naval_units / air_units.csv file, if you want them included permanently in any scenario, or see next post for temporarily renamed units images.


Attachments
22_5_53.jpg
22_5_53.jpg (15.25 KiB) Viewed 801 times
"In politics stupidity is not a handicap" - Napoleon

“A people which is able to say everything becomes able to do everything” - Napoleon

“Among those who dislike oppression are many who like to oppress" - Napoleon
User avatar
Rasputitsa
Posts: 2902
Joined: Sat Jun 30, 2001 8:00 am
Location: Bedfordshire UK
Contact:

RE: Bug Fix Solutions

Post by Rasputitsa »

For a named unit I have :


Image

Image name 'HQ Guderian'

So if I want to simulate an HQ unit with Guderian as commander, I have this image in the 'Units images' folder and if I name any unit within the game with this text - HQ Guderian - then the game will select this image. I would normally chose a Mech Div with a lower tech level to be an HQ unit.
Attachments
HQGuderian.jpg
HQGuderian.jpg (14.15 KiB) Viewed 801 times
"In politics stupidity is not a handicap" - Napoleon

“A people which is able to say everything becomes able to do everything” - Napoleon

“Among those who dislike oppression are many who like to oppress" - Napoleon
User avatar
Rasputitsa
Posts: 2902
Joined: Sat Jun 30, 2001 8:00 am
Location: Bedfordshire UK
Contact:

RE: Bug Fix Solutions

Post by Rasputitsa »

and here is Rommel :


Image

Unit, 'HQ Rommel'

'HQ Rommel' is a holding title, if I want '2nd Pz Armee HQ', then I rename this image file in the 'Units images' folder with that name, which will appear in the game when I rename the chosen unit with this title.

All the images I have posted have been changed to .jpg for the forum, so cannot be used in the game, but I have the working .png copies.

I have a selection of commanders for each of the major nations.

There is a lot you can do with the 'Units images' folder.



Attachments
HQRommel.jpg
HQRommel.jpg (13.67 KiB) Viewed 800 times
"In politics stupidity is not a handicap" - Napoleon

“A people which is able to say everything becomes able to do everything” - Napoleon

“Among those who dislike oppression are many who like to oppress" - Napoleon
User avatar
Rasputitsa
Posts: 2902
Joined: Sat Jun 30, 2001 8:00 am
Location: Bedfordshire UK
Contact:

RE: Bug Fix Solutions

Post by Rasputitsa »

Here's how it looks in the game, von Manstein in command.



Image
Attachments
Manstein.jpg
Manstein.jpg (284.63 KiB) Viewed 801 times
"In politics stupidity is not a handicap" - Napoleon

“A people which is able to say everything becomes able to do everything” - Napoleon

“Among those who dislike oppression are many who like to oppress" - Napoleon
User avatar
Rasputitsa
Posts: 2902
Joined: Sat Jun 30, 2001 8:00 am
Location: Bedfordshire UK
Contact:

RE: Bug Fix Solutions

Post by Rasputitsa »

Here are the countries listed alphabetically, with the I/D Nos., hope you can read my shorthand, I reduced them to a three letter code to help in mod planning.

ALB 23
BEL 17
B COL 41 - British Colonies
BRA 68 - Brazil
BUL 25
CAN 52
CRO 60
CZE 28
DEN 10
EST 13
FIN 7
FRA 16
FFR 62 - Free French
GER 2
GBR 9
GRE 24
HUN 27
ICE 4
IRQ 36 - Iraq
IRE 8
ITL 21
ISR 55 - Italian Socialist Republic
KUW 35
LEB 56 - Lebanon
LAT 12
LIT 11
LUX 19
NET 18
NOR 5
PER 67 - Peru
POL 1
POR 14
ROM 26
SAU 33 - Saudia Arabia
SLO 29
SPA 15
RSP 61 - Republican Spain
SYR 57
SWE 6
SWI 20
TUR 32
VIC 76
UKR 59
USA 53
USR 3
YEM 34 - Yemen
YUG 22

There are more countries in the scenario 'countries.csv', but unlikely to show in most events.
"In politics stupidity is not a handicap" - Napoleon

“A people which is able to say everything becomes able to do everything” - Napoleon

“Among those who dislike oppression are many who like to oppress" - Napoleon
shermanwar
Posts: 66
Joined: Thu Feb 23, 2012 1:12 am

RE: Bug Fix Solutions

Post by shermanwar »

This is great stuff! Thanks! Sorry for my delay -thought I'd get the email alert. Let me look this over and try it? Thank you again and fun to see new posts in here! So fat I am having good luck the steam version and its great to be playing this again! I tried other games but none ever caught on with me.

[&o]
shermanwar
Posts: 66
Joined: Thu Feb 23, 2012 1:12 am

RE: Bug Fix Solutions

Post by shermanwar »

Newbie Question here!

In reference to fixing this in the Steam version and adding your idea of making counties more specialized (Finland in forests/Switzerland in mountains etc) is a lower or higher number better?

If we did Finland :

LandCombatDefenderModifiers]
Plain = 1
Forest = 1.5 <—————- should this go up or down to make them better in this condition?
Rough = 1.7
Swamp = 2.0
Hills = 1.4
Mountain = 2
Desert = 1
City = 2
Fort = 0.1
NearbyDefendersValue = 0.05


Thank you for your help with all of these questions!
Sherman
Post Reply

Return to “Time of Fury”