The International Simutrans Forum

 

Author Topic: Is there an easy way to make dat files from a spreadsheet?  (Read 4061 times)

0 Members and 1 Guest are viewing this topic.

Offline ӔO

  • Devotees (Inactive)
  • *
  • Posts: 2345
  • Hopefully helpful
  • Languages: en, jp
Is there an easy way to make dat files from a spreadsheet?
« 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.

Offline prissi

  • Developer
  • Administrator
  • *
  • Posts: 9238
  • Languages: De,EN,JP
Re: Is there an easy way to make dat files from a spreadsheet?
« Reply #1 on: June 04, 2012, 10:17:21 AM »
sed on a csv file can certainly do the trick.

Offline ӔO

  • Devotees (Inactive)
  • *
  • Posts: 2345
  • Hopefully helpful
  • Languages: en, jp
Re: Is there an easy way to make dat files from a spreadsheet?
« Reply #2 on: June 04, 2012, 07:30:04 PM »
thanks prissi, will definitely try it out.

Offline Fabio

  • Devotee
  • Administrator
  • *
  • Posts: 2898
  • The Pak128 Guy
    • Visit me on Facebook
  • Languages: EN, IT, RO, FR
Re: Is there an easy way to make dat files from a spreadsheet?
« Reply #3 on: June 04, 2012, 09:03:43 PM »
What is sed? A typo or a program? Sorry for my being ignorant...

Offline DirrrtyDirk

  • Devotees (Inactive)
  • *
  • Posts: 1253
  • JR 700 Series Shinkansen
  • Languages: EN,DE

Offline Fabio

  • Devotee
  • Administrator
  • *
  • Posts: 2898
  • The Pak128 Guy
    • Visit me on Facebook
  • Languages: EN, IT, RO, FR
Re: Is there an easy way to make dat files from a spreadsheet?
« Reply #5 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...

Offline ӔO

  • Devotees (Inactive)
  • *
  • Posts: 2345
  • Hopefully helpful
  • Languages: en, jp
Re: Is there an easy way to make dat files from a spreadsheet?
« Reply #6 on: June 04, 2012, 09:46:37 PM »