This program will convert the Units.txt file into .csv format and back again. This allows you to edit units in a spreadsheet, which is much easier.
I've just finished writing the program and there are still some (spacey) formatting issues with the outputted Units.txt file, but it appears to be fully functional. Needless to say, comments do not survive the transition.
Usage: Stick the UnitsCSV.exe file in the same folder as the Units.txt file. Run UnitsCSV.exe and you will be presented with a menu that will let you chose to create the .csv file or the .txt file.
In the spreadsheet you'll notice a whole bunch of capitol N's. These indicate a new line appears after that entry. if you add new entry's yourself, don't forget the N!
Blank cells should be ignored by the program, but i have not tested this extensively.
If you use OpenOffice, make sure to delete the ' " ' in the "Text delimiter" box when you first load the file. Or bad things will happen. You have been warned!
Good luck and Good night.
I've just finished writing the program and there are still some (spacey) formatting issues with the outputted Units.txt file, but it appears to be fully functional. Needless to say, comments do not survive the transition.
Usage: Stick the UnitsCSV.exe file in the same folder as the Units.txt file. Run UnitsCSV.exe and you will be presented with a menu that will let you chose to create the .csv file or the .txt file.
In the spreadsheet you'll notice a whole bunch of capitol N's. These indicate a new line appears after that entry. if you add new entry's yourself, don't forget the N!
Blank cells should be ignored by the program, but i have not tested this extensively.
If you use OpenOffice, make sure to delete the ' " ' in the "Text delimiter" box when you first load the file. Or bad things will happen. You have been warned!
Good luck and Good night.
Comment