Units.csv file issue

Moderators: Order of Battle Moderators, The Artistocrats

Post Reply
kondi754
Lieutenant-General - Do 217E
Lieutenant-General - Do 217E
Posts: 3060
Joined: Thu Jun 25, 2015 8:52 am

Units.csv file issue

Post by kondi754 » Sun Mar 25, 2018 1:21 pm

I have a question for all experienced modders (I have no idea about it :oops: ), I hope you help me.
I tried to modify units.csv file in the game directory. I changed several coefficients of 2 units and saved the changes in the file.
Unfortunately, no units appear on the map when I try to start any campaign or scenario now.
I understand that it has to do with the fact that I modified this file.
Does anyone know what should I do to make the game work properly after changes in the units.csv file?
Thank you in advance for your help.

SirAllan
Administrative Corporal - SdKfz 251/1
Administrative Corporal - SdKfz  251/1
Posts: 146
Joined: Thu Nov 03, 2016 5:24 pm

Re: Units.csv file issue

Post by SirAllan » Sun Mar 25, 2018 1:40 pm

Yes - that would I know too :roll:

terminator
Lieutenant-General - Do 217E
Lieutenant-General - Do 217E
Posts: 3210
Joined: Mon Aug 15, 2011 12:48 pm

Re: Units.csv file issue

Post by terminator » Sun Mar 25, 2018 1:51 pm

kondi754 wrote:I have a question for all experienced modders (I have no idea about it :oops: ), I hope you help me.
I tried to modify units.csv file in the game directory. I changed several coefficients of 2 units and saved the changes in the file.
Unfortunately, no units appear on the map when I try to start any campaign or scenario now.
I understand that it has to do with the fact that I modified this file.
Does anyone know what should I do to make the game work properly after changes in the units.csv file?
Thank you in advance for your help.
I think there is a problem when you saved the file units.csv (?)
If no units appears, it's like there is no units.csv file for the game.

kondi754
Lieutenant-General - Do 217E
Lieutenant-General - Do 217E
Posts: 3060
Joined: Thu Jun 25, 2015 8:52 am

Re: Units.csv file issue

Post by kondi754 » Sun Mar 25, 2018 1:53 pm

So please write how you do it

kondi754
Lieutenant-General - Do 217E
Lieutenant-General - Do 217E
Posts: 3060
Joined: Thu Jun 25, 2015 8:52 am

Re: Units.csv file issue

Post by kondi754 » Sun Mar 25, 2018 2:11 pm

After all, you created your own Forgotten Units Mod, so you had to modify this file more than once.

terminator
Lieutenant-General - Do 217E
Lieutenant-General - Do 217E
Posts: 3210
Joined: Mon Aug 15, 2011 12:48 pm

Re: Units.csv file issue

Post by terminator » Sun Mar 25, 2018 2:14 pm

kondi754 wrote:After all, you created your own Forgotten Units Mod, so you had to modify this file more than once.
Yes, before I have created some mods for Panzercorps.

Read this : http://www.slitherine.com/forum/viewtop ... 64&t=80442

kondi754
Lieutenant-General - Do 217E
Lieutenant-General - Do 217E
Posts: 3060
Joined: Thu Jun 25, 2015 8:52 am

Re: Units.csv file issue

Post by kondi754 » Sun Mar 25, 2018 2:22 pm

Thank you very much.
I've searched the forum, but I could not find the right thread.

bru888
Order of Battle Moderator
Order of Battle Moderator
Posts: 3525
Joined: Sun Jan 10, 2016 5:39 pm

Re: Units.csv file issue

Post by bru888 » Sun Mar 25, 2018 2:32 pm

kondi, if your computer setup is like mine, Windows may not be allowing you to make changes directly in a file in C:\Program Files. It makes it seem like you are making changes but when you save the file, it does not keep the changes. What I found I had to do was to make a copy of the file on my Desktop, edit it there, and then copy it back over the file in C:\Program Files. You need Administrator privileges to do this.

The other thing I can mention is that units.csv must be handled strictly as a csv file in a csv editor. If you are trying to use something else like Excel, which imports a csv file into their spreadsheet format and then offers to "Save as CSV," that's not the same thing. Terminator pointed you in the right direction in this regard; use one of those programs (by the way, I am back to using CSVed, which really is better than the others but has a steeper learning curve).
- Bru

GabeKnight
Major-General - Tiger I
Major-General - Tiger I
Posts: 2367
Joined: Mon Nov 27, 2017 10:24 pm

Re: Units.csv file issue

Post by GabeKnight » Sun Mar 25, 2018 3:25 pm

Don't know any of the other programs, so I won't comment them. I like using MS-Excel. It worked (and still does) like this for me.
But don't forget to ALWAYS make backups of original files (and working copies).

terminator
Lieutenant-General - Do 217E
Lieutenant-General - Do 217E
Posts: 3210
Joined: Mon Aug 15, 2011 12:48 pm

Re: Units.csv file issue

Post by terminator » Sun Mar 25, 2018 3:31 pm

I think that the best solution is to make modifications in a mod.
You can use my mod to try modifications without risk.
If I want to make a modification of which I am not sure of the result I make a copy of my mod and I make the modifications in this copy.

kondi754
Lieutenant-General - Do 217E
Lieutenant-General - Do 217E
Posts: 3060
Joined: Thu Jun 25, 2015 8:52 am

Re: Units.csv file issue

Post by kondi754 » Sun Mar 25, 2018 3:36 pm

Terminator, Bru, Gabe

Big thanks for your help.
I've succeded with my work. :D

http://www.slitherine.com/forum/viewtop ... 74&t=83347
Last edited by kondi754 on Mon Mar 26, 2018 2:15 pm, edited 1 time in total.

terminator
Lieutenant-General - Do 217E
Lieutenant-General - Do 217E
Posts: 3210
Joined: Mon Aug 15, 2011 12:48 pm

Re: Units.csv file issue

Post by terminator » Sun Mar 25, 2018 3:51 pm

If someone wants to make modification with the file units.csv, here is a "mod" with only the original file units.csv :
Copy.JPG
Copy.JPG (54.78 KiB) Viewed 1032 times
The Link : http://www.mediafire.com/file/326hb59i0 ... 2_Copy.zip
Last edited by terminator on Mon Mar 26, 2018 4:54 am, edited 1 time in total.

kondi754
Lieutenant-General - Do 217E
Lieutenant-General - Do 217E
Posts: 3060
Joined: Thu Jun 25, 2015 8:52 am

Re: Units.csv file issue

Post by kondi754 » Sun Mar 25, 2018 3:56 pm

Thank you once again, I've just downloaded this Mod.

GabeKnight
Major-General - Tiger I
Major-General - Tiger I
Posts: 2367
Joined: Mon Nov 27, 2017 10:24 pm

Re: Units.csv file issue

Post by GabeKnight » Tue Mar 27, 2018 1:16 pm

terminator wrote:If someone wants to make modification with the file units.csv, here is a "mod" with only the original file units.csv
I'm envious, you always have much cooler pics for your mods... :( :wink: :D

Post Reply

Return to “Order of Battle : World War II - Scenario Design”