.CSV files

Post new scenarios and mods here to share with other gamers.

Moderator: MOD_WarintheWest

Post Reply
lunca
Posts: 42
Joined: Sun Feb 08, 2009 10:44 am

.CSV files

Post by lunca »

How to properly open, edit and save .csv file? Always when I did it I can no longer import it back. I got message: "error open..."
lunca
Posts: 42
Joined: Sun Feb 08, 2009 10:44 am

RE: .CSV files

Post by lunca »

Please help me. I want to change something via Excell (export/import .csv file) but when I save as .csv something goes wrong. What is the right procedure to export .csv file to Excell and import back to the game?
Thank you.
Denniss
Posts: 9240
Joined: Thu Jan 10, 2002 10:00 am
Location: Germany, Hannover (region)

RE: .CSV files

Post by Denniss »

once opened in Excel the files are protected from access. you need to close the file in excel first
WitE dev team - (aircraft data)
WitE 1.08+ dev team (data/scenario maintainer)
WitW dev team (aircraft data, partial data/scenario maintainer)
WitE2 dev team (aircraft data)
lunca
Posts: 42
Joined: Sun Feb 08, 2009 10:44 am

RE: .CSV files

Post by lunca »

@Denniss
I tried all the ways, but it does not work. When I try to import, the game closes and I'm back on the desktop.

This is original .csv file after export. If this fail import right back without save_as in Excell, then the import is successful.
Image

This is .csv file after save_as in Excell. A completely different form from original .csv file.
Image
Denniss
Posts: 9240
Joined: Thu Jan 10, 2002 10:00 am
Location: Germany, Hannover (region)

RE: .CSV files

Post by Denniss »

you need to import it as comma-separated csv file, upon saving it should retain this separation.
WitE dev team - (aircraft data)
WitE 1.08+ dev team (data/scenario maintainer)
WitW dev team (aircraft data, partial data/scenario maintainer)
WitE2 dev team (aircraft data)
lunca
Posts: 42
Joined: Sun Feb 08, 2009 10:44 am

RE: .CSV files

Post by lunca »

ORIGINAL: Denniss

you need to import it as comma-separated csv file, upon saving it should retain this separation.
I'm doing exactly that but after save_as, file is different form than the original (see above). How to convert it save_as file back to the form the original had? Has anyone worked with export/import .csv file?

p.s.
Please try to export file to Excell and save it there, then try to import back to the game and tell me if it works.
User avatar
RedLancer
Posts: 4338
Joined: Wed Nov 16, 2005 9:09 am
Location: UK

RE: .CSV files

Post by RedLancer »

I use CSV all the time. Just save the file that you have opened as a CSV as a CSV then close. Normally I don't change the save name as that means you'll have to change the name when you import it back in.
John
WitE2 Asst Producer
WitE & WitW Dev
lunca
Posts: 42
Joined: Sun Feb 08, 2009 10:44 am

RE: .CSV files

Post by lunca »

I found a solution !!!
When I make save as a comma-separated csv in Excel, I get a file with ";" instead ",". I do not know why, but this was the reason that import file did not work.

The solution is:
I opened the existing file as Text document and replaced all ";" with ",". I can now import file back in the game without problem :)
Post Reply

Return to “Scenario Design and Modding”