Jump to content

change mods_path


seeh
 Share

Recommended Posts

because of the need to change the mods always when switch between 0ad ..26 and 0ad..27

i want switch the mods-path. its much more easy then enable / disable a bunch of mods all the time:

i tried use inside the user.cfg (chatGPT told me so)

mods_path

but it dosent work. any idea?

  • Like 1
Link to comment
Share on other sites

If you have multiple 0 A.D. install, you can put mods in binaries/data/mods instead of the shared location. This way you'll only have the mods there available. I'm not sure, but maybe the -writableRoot option changes the install location as well.

Link to comment
Share on other sites

1 hour ago, Stan` said:

If you have multiple 0 A.D. install, you can put mods in binaries/data/mods instead of the shared location. This way you'll only have the mods there available. I'm not sure, but maybe the -writableRoot option changes the install location as well.

yes, good hint (for my a27), but in addition, unfortunately, it also looks in the old folder (my a26 is not self-compiled version at the moment), as before.

so it seems very good bestPractice if all version are self build.

# it reads :cheers:
~/game/0ad/a27/a27build/binaries/data/mods/

but a27 also reads at ~/.local/share/0ad/mods/

=>Plan:

  1. Empty special mods from ~/.local/share/0ad/mods/
  2. and also start a26 with a special mod-folder

my a26 is a AppImage. my first tries open with separate mod folder was not successful :huh::

~/Applications/0ad-0.0.26-alpha-2210110407-x86_64_0...81.AppImage ~/.local/share/0ad/mods2/

https://github.com/0ad-matters/0ad-appimage/issues/22

 

Edited by seeh
Link to comment
Share on other sites

1 hour ago, andy5995 said:

@seehYou might find this to be a satisfying solution:

HOME=$HOME/0adA27 ./0ad-0.0.27-rc1-27645-alpha-2305191528-x86_64.AppImage

 

Then you'll probably want to copy your existing config into the ~/0adA27/.config folder

ty. works

i did:

  1. HOME=$HOME/game/0ad/026 ./0ad-0.0.26-alpha-2210110407-x86_64_0cdfe6000a403313b99d6ea006a92d81.AppImage

  2. all Folder Structures was generated automatically :D great. TY very much. very helpful. Off course fresh empty, as the very first time

BTW the AppImage was copied inside ~/game/0ad/026 automatically becouse sadly appimagelauncher tool was installed here.

i forgot which i have used before. AppImageLouncher nervs a bit ask me two times something before i could start.

 

sudo apt remove appimagelauncher

and simly make the AppImage executable: chmod +x my.AppImage

 

Edited by seeh
  • Like 1
Link to comment
Share on other sites

i tried run the Appimage with the coreccted Home path (as above) as a alias from the terminal

alias 026game026 "cd ~/game/0ad/026; HOME ~/game/0ad/026 ./0ad-0.0.26-alpha-2210110407-x86_64_0cdfe6000a403313b99d6ea006a92d81.AppImage"

or

alias 026game026 "cd ~/game/0ad/026; HOME = ~/game/0ad/026 ./0ad-0.0.26-alpha-2210110407-x86_64_0cdfe6000a403313b99d6ea006a92d81.AppImage"

dont work. i using the fisch-shell

 

my problem/wish is i will start it with a single click or single command.

Edited by seeh
Link to comment
Share on other sites

ty. works

kate ~/.config/fish/config.fish

alias 026game026 'cd ~/game/0ad/026; HOME="$HOME/game/0ad/026" ./0ad-0.0.26-alpha-2210110407-x86_64_0cdfe6000a403313b99d6ea006a92d81.AppImage'

 

 

Edited by seeh
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...