The International Simutrans Forum

PakSets and Customization => General Resources and Tools => PakSet Maintainers and Artists Corner => Topic started by: ӔO on June 04, 2012, 07:44:51 AM

Title: Is there an easy way to make dat files from a spreadsheet?
Post by: ӔO on June 04, 2012, 07:44:51 AM
per the title.

I am using OO calc.

I have columns for each value and rows for each object.
Title: Re: Is there an easy way to make dat files from a spreadsheet?
Post by: prissi on June 04, 2012, 10:17:21 AM
sed on a csv file can certainly do the trick.
Title: Re: Is there an easy way to make dat files from a spreadsheet?
Post by: ӔO on June 04, 2012, 07:30:04 PM
thanks prissi, will definitely try it out.
Title: Re: Is there an easy way to make dat files from a spreadsheet?
Post by: Fabio on June 04, 2012, 09:03:43 PM
What is sed? A typo or a program? Sorry for my being ignorant...
Title: Re: Is there an easy way to make dat files from a spreadsheet?
Post by: DirrrtyDirk on June 04, 2012, 09:11:37 PM
http://en.wikipedia.org/wiki/Sed ;)
Title: Re: Is there an easy way to make dat files from a spreadsheet?
Post by: Fabio on June 04, 2012, 09:29:34 PM
Thanks a lot, never heard of it before.

Is there any Windows equivalent? It could also be done programmatically, but it would mean creating a new tool from scratch...
Title: Re: Is there an easy way to make dat files from a spreadsheet?
Post by: ӔO on June 04, 2012, 09:46:37 PM
I'm trying this one out. http://gnuwin32.sourceforge.net/packages/sed.htm