dos2unix.exe needed?

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
User avatar
Bryy
Veteran
Posts: 246
Joined: Thu Dec 20, 2012 10:12 pm
Completed: Army of Tentacles 1 & 2, The Ghost of Joe Papp
Projects: Paper Shakespeare: To Date or Not To Date?
Organization: Stegalosaurus Game Development
Location: Bay Area, CA
Contact:

dos2unix.exe needed?

#1 Post by Bryy » Fri Jan 05, 2018 7:06 pm

So, apparently some of my users can't play the Linux versions of my games, saying that I need to run dos2unix to convert files.

Anyone else have this problem with Linux users?

Apa
Regular
Posts: 99
Joined: Fri Dec 23, 2016 2:26 am
Location: NYC
Contact:

Re: dos2unix.exe needed?

#2 Post by Apa » Fri Jan 05, 2018 10:38 pm

Android is a Linux variant and dos2unix is not needed definitely.

User avatar
Imperf3kt
Eileen-Class Veteran
Posts: 1123
Joined: Mon Dec 14, 2015 5:05 am
Location: Your monitor
Contact:

Re: dos2unix.exe needed?

#3 Post by Imperf3kt » Sun Jan 07, 2018 8:04 pm

Why would Linux users require a Windows executable?

This sounds fishy
Image

Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

User avatar
Bryy
Veteran
Posts: 246
Joined: Thu Dec 20, 2012 10:12 pm
Completed: Army of Tentacles 1 & 2, The Ghost of Joe Papp
Projects: Paper Shakespeare: To Date or Not To Date?
Organization: Stegalosaurus Game Development
Location: Bay Area, CA
Contact:

Re: dos2unix.exe needed?

#4 Post by Bryy » Sun Jan 07, 2018 8:41 pm

Yeah, I've been trying to get more information. Now they tell me they can run it fine but they still need this?

User avatar
Imperf3kt
Eileen-Class Veteran
Posts: 1123
Joined: Mon Dec 14, 2015 5:05 am
Location: Your monitor
Contact:

Re: dos2unix.exe needed?

#5 Post by Imperf3kt » Sun Jan 07, 2018 10:37 pm

A quick Googling gives me https://en.wikipedia.org/wiki/Unix2dos

It states that it is a CLI tool which converts *nix line endings, to Windows format line endings.
Using some simple logic, dos2unix is the reverse.

What editor do you use when scripting your game files?
From the sounds of it, it is using MLE (Mixed Line Endings), in other words the following:

Hello world.
My name is Imperf3kt

Is appearing to them, as the following instead

Hello world.\nMy name is Imperf3kt.


Some additional info:
https://en.wikipedia.org/wiki/Newline
Image

Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.

User avatar
Bryy
Veteran
Posts: 246
Joined: Thu Dec 20, 2012 10:12 pm
Completed: Army of Tentacles 1 & 2, The Ghost of Joe Papp
Projects: Paper Shakespeare: To Date or Not To Date?
Organization: Stegalosaurus Game Development
Location: Bay Area, CA
Contact:

Re: dos2unix.exe needed?

#6 Post by Bryy » Mon Jan 08, 2018 1:27 am

I'm using JEditor.

Post Reply

Who is online

Users browsing this forum: ThrashNeon