Open mdziczkowski opened 3 years ago
Personally I would find 'DATA_DIR=${GAMEDIR}' very confusing if added. Besides mixing syntax, it would imply to me that the .conf file has something to do with shell scripts. Also, while I think that there are places with more organization could help, I have a few a disagreements with the exact organizational structure you're proposing.
My recommendation?
Make a directory called something like 'mygame' and create an actual shell script that creates symlinks with 'mygame' to the rest of the directory structure, making 'mygame' look the way you want. Once that's done you can share the shell script with others so that they are able to more clearly see your proposal in actual use.
This shell script is useful for a few reasons:
1) It gets you at least most of what you want no matter what others think about it.
2) If it's not something that is wanted as part of the change for the main repository, it becomes an option for others that do want it.
3) If it is wanted for the main repository, the shell script can be modified to take care of moving the files. In addition, something like this shell script would be necessary in order to provide the backwards compatibility for those that don't want to make the change.
I understand your point of the view and I agree that it would be a good way to do that. My proposal was based on the fact that the script have sometimes difficulties with the statically hardcoded path in form of data/
I wanted to propose following changes into the rhostmush.conf file, starting from it's begining:
Additionally, I would like to propose to move the:
and all script and binaries into bin sub-dir. This would cause that the game dir would be more tidy