-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
modbuddy mod file linking some how causing mod loading errors in java game. #16
Comments
Huh I searched your repo for
|
I can only surmise the hardlinking is an issue for some reason. I conducted two tests to isolate to that deduction.
Both of these above tests resulted in a successful loading of the mod. So the mod isnt corrupted from patoolib, and its happy to load a mod directly copied in. I am still seeing the above pathing despite the directory naming change from |
okay the import os
import shutil
from pathlib import Path
here = Path(os.path.dirname(os.path.realpath(__file__)))
target_path = Path("/home/alan-cugler/Games/starsector/starsector/mods")
for mod_husk in here.iterdir():
if mod_husk.is_dir():
for mod in mod_husk.iterdir():
shutil.copytree(mod, target_path/mod.name, copy_function=os.link) |
Appreciate your enthusiasm. A lot of things to wrap my head around here. Some questions however:
|
so starsector does use a So maybe its merging them all at game launch after you've selected which ones to use in the launcher menu. |
lol and my enthusiasm is driven by wanting to play this game with 50+ mods, so cave man managing them one at a time takes a couple hours in all. which about how long I have to enjoy a game before family needs attention. |
Where modbuddy excels is with games that doesn't allow a separate folder for each mod, but where you need to jam everything into one particular folder (which can/will overwrite files). This case warrant a load order before launching a game. If i read this correctly, starsector does have a mod manager in the launcher. Does that not work as intended? |
Some how the linking of the mods I am loading into the
mods
directory from the ModBuddy.mods
directory is resulting in this games java compiling to fail with a bad absolute path from.mods
as/./mods/
for the mods. I flailed a bit by trying to escape the\.
in the ModBuddy json file. XDI am currently testing switching out
.mods/
with a non-hidden directory such asmodbuddy/
to see if the period is really somehow being treated as its own directory.The text was updated successfully, but these errors were encountered: