Mod not working on Windows?

Started by C. Fenderson, September 23, 2014, 02:32:09 PM

Previous topic - Next topic

C. Fenderson

I run Linux on my computer, and my mod doesn't seem to like working on Windows.  I have a feeling this is due to the fact that Linux puts a backup file with the ~ symbol at the end of it, and Windows is trying to read those and failing.  I don't have Windows on my machine at all, so I can't test this out myself.  Thanks to this little problem, I really don't know how to fix it.  Anyone have any idea how to?

Rikiki

Here is a link to understand the problem: http://superuser.com/questions/374028/how-are-n-and-r-handled-differently-on-linux-and-windows

Use a text editor like notepad++ and look for a menu like "Edition"->"Convert Line feed"->"Convert in Windows format (CR+LF)".
See attached image (sorry, it is in French :P)

[attachment deleted by admin: too old]

C. Fenderson

#2
Quote from: Rikiki on September 23, 2014, 03:51:52 PM
Here is a link to understand the problem: http://superuser.com/questions/374028/how-are-n-and-r-handled-differently-on-linux-and-windows
That helped out quite a bit.
Quote from: Rikiki on September 23, 2014, 03:51:52 PM
Use a text editor like notepad++ and look for a menu like "Edition"->"Convert Line feed"->"Convert in Windows format (CR+LF)".
I don't have this option, so I'll just replace \n with \r and see if it helps.  I'd rather not download new stuff if I don't have to.  Thankfully I have a Windows tester now.
Quote from: Rikiki on September 23, 2014, 03:51:52 PM
See attached image (sorry, it is in French :P)
UIs tend to be similar enough that it doesn't matter, plus I'm not terrible with french (Yay for knowing a language that stole everything!), so it's not too bad.

EDIT:
This seems to explain quite a few bugs I had with some v1 of the mod, as well.  People weren't able to craft stuff, and this could darn well be why.  Some of the files had n instead of r, but some didn't.  I copypasted a ton of code from the core files to avoid some of the more tedious coding.