Comments (6)
Thanks for the summary.
My current setup is perhaps a little odd due to using the open source SR2 setup, in that I have
~/Documents/Games/StarRuler2Source/mods/ce
as the in progress version of my mod, where Star Ruler 2 scans the files, but this is not a git repository (as ~/Documents/Games/StarRuler2Source
is a git repository and git doesn't like nested repositories) and then once I have something that's not crashing or incomplete I copypaste ~/Documents/Games/StarRuler2Source/mods/ce/*
into ~/Documents/Games/star-ruler-2-mod-ce
for committing.
After thinking about it for a moment I probably should take this as an opportunity to refactor the file structure as copypasting was introducing quite a bit of friction for each change.
I wasn't aware that there was a star ruler 2 discord, where is the invite link for it?
from star-ruler-2-mod-ce.
I have an interesting problem with the symlink. When Star Ruler 2 loads up it sees the files inside the symlink with their original filepath, and isAccessible(const std::string& filename)
in bind_datafile.cpp
is programmed to reject loading or saving files outside the star ruler 2 folder. I could make the function always return true but I'd have to recompile the game as its a C++ file and I'm not sure what side effects disabling this might cause.
Have all of you only been using this file structure on Windows?
from star-ruler-2-mod-ce.
We have, yes... though this Stack Overflow answer might be applicable.
Do tell what commands end up working, so I can include Linux instructions in the various guides.
Edit: I've actually had to use this for an unrelated task right now, so I can now specify the required command for the paths you've provided so far:
sudo mount --bind ~/Documents/Games/star-ruler-2-mod-ce/FOLDERNAME ~/Documents/Games/StarRuler2Source/mods/ce
Where FOLDERNAME
is the name of the subfolder you've placed your mod data into. (Both origin and destination folders will have to exist, and the destination folder will probably have to be empty.)
from star-ruler-2-mod-ce.
Gotcha, that answer lead me to the solution
I had to do exactly that command you edited in that I didn't see till I fixed it myself 😆
For some reason Star Ruler 2 converts symlinks to their original paths, but a junction point works
As a side note, if you mess up and pick the wrong source or target the first time like I did, you can undo the junction with umount
from star-ruler-2-mod-ce.
A good cross distro solution is to add a line to your root
crontab
sudo crontab -e
opens the crontab
Add in
@reboot mount --bind /home/skeletonxf/Documents/Games/star-ruler-2-mod-ce/colonisation-expansion/ /home/skeletonxf/Documents/Games/StarRuler2-Source/mods/ce/
(no sudo is used because this runs as root anyway)
If you get prompted to choose an editor pick nano
and if that isn't available pick whatever isn't vim
.
from star-ruler-2-mod-ce.
Looks done to me.
from star-ruler-2-mod-ce.
Related Issues (2)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from star-ruler-2-mod-ce.