OpenXcom Forum
OpenXcom => Suggestions => Topic started by: niculinux on June 21, 2014, 04:00:11 pm
-
Hello, good afternoon
May I kindly ask modders and programmers to make mods for openxcom compatible with linux? Since the majority of the game users use windows it's not a problem for them, but since I'm havin lots o' trouble to get them working, that will be a relief for me.
If you want to taste a sample of my suffering see this thread (https://openxcom.org/forum/index.php?topic=2309.0)
EDIT: in the end, I'd invite other linux users to test and repost about the mods, even in the above mentioned thread, since I cannot test them all :-[
Thanks as always!!
-
Could you perhaps detail your recommendations to make these mods Linux compliant (case sensitive, ...) ?
In other words, recapitulate what you did have to do to make some of them compliant
-
Could you perhaps detail your recommendations to make these mods Linux compliant (case sensitive, ...) ?
In other words, recapitulate what you did have to do to make some of them compliant
Aldorn you centered the point , probably usin lowercased letters only in the files it's the ultimate solution, but since i'm not a programmer don't know if there may be something else ;)
-
change /path/to/ruleset/folder and /path/to/resource/folder accordingly
and try this in commandline:
find /path/to/ruleset/folder -type f -name "*.rul" |xargs |sed -i 's/^\( [0-9][0-9]*: .*\)$/\L\1/g'
rename 'y/A-Z/a-z/' /path/to/resource/folder
could be that some distribution dont have included "rename" but in most its installed
it makes all lines in ruleset that begin with 6spaces a number aa colon and a space lowercase
the rename makes files and directories lowercase
there is still the problem of Maps not correctly named
in most cases the rulesetname is uppercase
to make all maps uppercase
rename 'y/A-Z/a-z/' /path/to/data/folder/MAPS
rename 'y/A-Z/a-z/' /path/to/data/folder/ROUTES
rename 'y/A-Z/a-z/' /path/to/data/folder/TERRAIN
iirc the MAPS/ROUTES/TERRAIN folder need to be uppercase too
-
change /path/to/ruleset/folder and /path/to/resource/folder accordingly
and try this in commandline:
find /path/to/ruleset/folder -type f -name "*.rul" |xargs |sed -i 's/^\( [0-9][0-9]*: .*\)$/\L\1/g'
rename 'y/A-Z/a-z/' /path/to/resource/folder
could be that some distribution dont have included "rename" but in most its installed
it makes all lines in ruleset that begin with 6spaces a number aa colon and a space lowercase
the rename makes files and directories lowercase
Thanks but sounds and looks complicated for me! Actually the lowercasing in the mods seems to be enough, so if i will play again im gonna stick with mod that works out of the box. Seems i really won't have time and will to experoment myself, but thanks again for the very very useful info! <3
Edit: sry don't wanna trigger reaction fire from the forum administrators, but may we have also this post sticky? :D
Edit 2 :typos fixed
-
i dont ask you to understand what i wrote (besides the change of the pathname) just suggested to use/try
/me searches for forum ignore function
Edit:
i am no administrator - so no panic - the red color seems to appear if i write "/me text" .. that was new for me
-
i dont ask you to understand what i wrote (besides the change of the pathname) just suggested to use/try
Ah ok, :) please may someone else try in the meantime? I really need a break :'(
-
Aldorn you centered the point , probably usin lowercased letters only in the files it's the ultimate solution, but since i'm not a programmer don't know if there may be something else ;)
You seem to have solved some mod installation issues, and I think your experience would be useful for future members trying to make it work under Linux
You ask for modders to make it Linux compliant, but (most of ?) modders are Windows modders and (most of ?) Windows modders have no experience of Linux, so (most of ?) modders have less Linux experience than you
My suggestion was also :
- share as much as you can what you did to solve issues : this will be useful for modders (and also for you) but for future Linux users too
- a nice way is to "summarize" solution/hints in first message ; for example
+ recommendation for modders : be careful about lowercase/uppercase as Linux is case sensitive
+ hint for Linux users : execute Falko's command line
+ ...
-
You ask for modders to make it Linux compliant, but (most of ?) modders are Windows modders and (most of ?) Windows modders have no experience of Linux, so (most of ?) modders have less Linux experience than you
Well...my fears came true, I suspected that..:;(
My suggestion was also :
- share as much as you can what you did to solve issues : this will be useful for modders (and also for you) but for future Linux users too
- a nice way is to "summarize" solution/hints in first message ; for example
+ recommendation for modders : be careful about lowercase/uppercase as Linux is case sensitive
+ hint for Linux users : execute Falko's command line
+ ...
OK, thanks, I'll do may best. I'd also be very grateful if some other users may spread the word among other linux users and/or programmers, since I would not have the will to engage myself in a struggle with programming.
Over and out and thanks!!!!!!!!!!