Units.csv file issue

Moderators: Order of Battle Moderators, The Artistocrats

Post Reply
kondi754
General - Elite King Tiger
General - Elite King Tiger
Posts: 4202
Joined: Thu Jun 25, 2015 8:52 am

Units.csv file issue

Post by kondi754 »

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
Staff Sergeant - StuG IIIF
Staff Sergeant - StuG IIIF
Posts: 287
Joined: Thu Nov 03, 2016 5:24 pm

Re: Units.csv file issue

Post by SirAllan »

Yes - that would I know too :roll:
terminator
Field Marshal - Gustav
Field Marshal - Gustav
Posts: 6115
Joined: Mon Aug 15, 2011 12:48 pm
Location: the land of freedom

Re: Units.csv file issue

Post by terminator »

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
General - Elite King Tiger
General - Elite King Tiger
Posts: 4202
Joined: Thu Jun 25, 2015 8:52 am

Re: Units.csv file issue

Post by kondi754 »

So please write how you do it
kondi754
General - Elite King Tiger
General - Elite King Tiger
Posts: 4202
Joined: Thu Jun 25, 2015 8:52 am

Re: Units.csv file issue

Post by kondi754 »

After all, you created your own Forgotten Units Mod, so you had to modify this file more than once.
terminator
Field Marshal - Gustav
Field Marshal - Gustav
Posts: 6115
Joined: Mon Aug 15, 2011 12:48 pm
Location: the land of freedom

Re: Units.csv file issue

Post by terminator »

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
General - Elite King Tiger
General - Elite King Tiger
Posts: 4202
Joined: Thu Jun 25, 2015 8:52 am

Re: Units.csv file issue

Post by kondi754 »

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: 6214
Joined: Sun Jan 10, 2016 5:39 pm
Location: United States

Re: Units.csv file issue

Post by bru888 »

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
Lieutenant-General - Karl-Gerat 040
Lieutenant-General - Karl-Gerat 040
Posts: 3710
Joined: Mon Nov 27, 2017 10:24 pm

Re: Units.csv file issue

Post by GabeKnight »

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
Field Marshal - Gustav
Field Marshal - Gustav
Posts: 6115
Joined: Mon Aug 15, 2011 12:48 pm
Location: the land of freedom

Re: Units.csv file issue

Post by terminator »

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
General - Elite King Tiger
General - Elite King Tiger
Posts: 4202
Joined: Thu Jun 25, 2015 8:52 am

Re: Units.csv file issue

Post by kondi754 »

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
Field Marshal - Gustav
Field Marshal - Gustav
Posts: 6115
Joined: Mon Aug 15, 2011 12:48 pm
Location: the land of freedom

Re: Units.csv file issue

Post by terminator »

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 3469 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
General - Elite King Tiger
General - Elite King Tiger
Posts: 4202
Joined: Thu Jun 25, 2015 8:52 am

Re: Units.csv file issue

Post by kondi754 »

Thank you once again, I've just downloaded this Mod.
GabeKnight
Lieutenant-General - Karl-Gerat 040
Lieutenant-General - Karl-Gerat 040
Posts: 3710
Joined: Mon Nov 27, 2017 10:24 pm

Re: Units.csv file issue

Post by GabeKnight »

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”