Voljega / ExoDOSConverter

a custom game converter from the ExoDOS collection to emulation station based distribution format
153 stars 12 forks source link

Incorrect Batch line endings when converting using Linux #61

Closed cognitivegears closed 3 years ago

cognitivegears commented 3 years ago

When running the converter with Linux for MiSTer, all of the batch scripts are saved with unix line endings instead of DOS line endings. This causes launch failures. Using EDIT and re-saving each batch files on DOS makes them work.

For example, this is what the files look like before resaving under DOS:

type 1_START.BAT

cd zorkzero
           zorkzero

Really, it looks like they are missing the line ending \r for DOS to recognize the line endings.

Voljega commented 3 years ago

OK I see, I will try to tackle that. There are also some other regressions on Linux which I should attend to.

cognitivegears commented 3 years ago

Went ahead and created a PR to fix it. PR #62