License from €75 Log in
DE EN FR ES IT CZ

VED file XML serialization PC vs MAC empty lines

This thread is a few years old. Some details may refer to an earlier version of Visionaire Studio. Current tutorials

  1. · 3 years ago
    Hello,

    I have an issue when saving game in editor on PC.
    The XML serializer removes empty lines from file generated on macOS, which results in about 25k modifications.

    I'm trying to check how this engine behaves in mixed PC/MAC environment with source control in place.

    All modifications in rooms are stored as XML which is fine to merge, but not when this occurs. 

     I _could_ ignore whitespaces, but that's not the point the file is modified *a lot* between versions and merging changes from 2+ people can be tricky.
    • Image in post
  2. Working on a game?

    The free version covers up to 25 scenes per project. For more scenes and to sell your game, you need a license.

    See licenses Try it for free
  3. · 3 years ago
    That's a problem with the \r\n line endings. The mac client needs to be set-up to use \r\n for single lines and not make two lines out of it. It's a problem I had with the source code as well.
  4. · 3 years ago
    I thought for some reason that it will not properly recognize .ved files as text data. 
    But indeed setting this in macOS P4 workspace did the trick. 

    Thanks!
    • Image in post

This thread is closed because nobody has replied for more than a year. Feel free to ask your question in a new thread.

New thread

Really delete this post?