• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 ... 45 46 47 48 49 ... 116 Next »

users config directory
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
users config directory
08-13-2013, 05:24 AM
#1
huhn Offline
Junior Member
**
Posts: 6
Threads: 2
Joined: Aug 2013
Hi! Where can i change the unix path for the users config directory?

~/.dolphin-emu to something else

Thanks!
Find
Reply
08-13-2013, 05:45 AM
#2
neobrain Offline
"Wow, I made my code 1000x faster! That means I can make it 2048x slower now!"
**********
Developers (Some Administrators and Super Moderators)
Posts: 3,208
Threads: 50
Joined: Jun 2009
Why would you want to do that?
My blog
Me on Twitter
My wishlist on Amazon.de
Find
Reply
08-13-2013, 05:59 AM
#3
Shonumi Offline
Linux User/Tester
**********
Administrators
Posts: 6,503
Threads: 55
Joined: Dec 2011
Wouldn't symbolic links be a good workaround?
Website Find
Reply
08-14-2013, 04:32 AM
#4
huhn Offline
Junior Member
**
Posts: 6
Threads: 2
Joined: Aug 2013
(08-13-2013, 05:45 AM)neobrain Wrote: > Why would you want to do that?

I'am trying to install Dolphin and Triforce parallel. And it works accept for the config directory. Both using the same dir. If i change controls or set options in Dolphin -> it changes controls/options for Triforce too because both using the same configs.

Can anybody help me with this?

Thanks.
Find
Reply
08-14-2013, 02:26 PM (This post was last modified: 08-14-2013, 02:29 PM by Shonumi.)
#5
Shonumi Offline
Linux User/Tester
**********
Administrators
Posts: 6,503
Threads: 55
Joined: Dec 2011
Why don't you make a script to do it then? You could do the following:

1) Run a regular master-branch build, make any configuration changes you need, then exit Dolphin.
2) Copy the .dolphin-emu folder, but rename it to something different (".dolphin-emu-master").
3) Run the Triforce build, make any configuration changes you need, then exit Dolphin.
4) Copy the .dolphin-emu folder, but rename it to something different ("dolphin-emu-triforce")
5) Make a script for each version (master.sh and triforce.sh).
6) Scripts should look something along these lines:

Code:
#Master Script
cp -r /home/huhn/.dolphin-emu-master /home/huhn.dolphin-emu
cd /home/huhn/Dolphin_Master_Folder
./dolphin-emu && cp -r /home/huhn/.dolphin-emu /home/huhn/.dolphin-emu-master

Code:
#Triforce Script
cp -r /home/huhn/.dolphin-emu-triforce /home/huhn.dolphin-emu
cd /home/huhn/Dolphin_Triforce_Folder
./dolphin-emu && cp -r /home/huhn/.dolphin-emu /home/huhn/.dolphin-emu-triforce

Execute the first when you want to run the master build; execute the second when you want to run the Triforce build. All they do is swap the current .dolphin-emu folder with another before and after playing. That way, if you change any settings while running Dolphin (Triforce or master) through the scripts, it'll save it. Note, it's probably a bit much to copy the entire .dolphin-emu folder. You could just copy the the Config folder if you needed to change just the controls when you play.
Website Find
Reply
08-14-2013, 04:48 PM
#6
RachelB Offline
Developer
*******
Moderators
Posts: 1,003
Threads: 1
Joined: Dec 2011
Use game inis and controller profiles.
Find
Reply
08-15-2013, 02:45 AM (This post was last modified: 08-15-2013, 03:31 AM by huhn.)
#7
huhn Offline
Junior Member
**
Posts: 6
Threads: 2
Joined: Aug 2013
(08-14-2013, 02:26 PM)Shonumi Wrote: Why don't you make a script to do it then? You could do the following:

1) Run a regular master-branch build, make any configuration changes you need, then exit Dolphin.
2) Copy the .dolphin-emu folder, but rename it to something different (".dolphin-emu-master").
3) Run the Triforce build, make any configuration changes you need, then exit Dolphin.
4) Copy the .dolphin-emu folder, but rename it to something different ("dolphin-emu-triforce")
5) Make a script for each version (master.sh and triforce.sh).
6) Scripts should look something along these lines:

Code:
#Master Script
cp -r /home/huhn/.dolphin-emu-master /home/huhn.dolphin-emu
cd /home/huhn/Dolphin_Master_Folder
./dolphin-emu && cp -r /home/huhn/.dolphin-emu /home/huhn/.dolphin-emu-master

Code:
#Triforce Script
cp -r /home/huhn/.dolphin-emu-triforce /home/huhn.dolphin-emu
cd /home/huhn/Dolphin_Triforce_Folder
./dolphin-emu && cp -r /home/huhn/.dolphin-emu /home/huhn/.dolphin-emu-triforce

Execute the first when you want to run the master build; execute the second when you want to run the Triforce build. All they do is swap the current .dolphin-emu folder with another before and after playing. That way, if you change any settings while running Dolphin (Triforce or master) through the scripts, it'll save it. Note, it's probably a bit much to copy the entire .dolphin-emu folder. You could just copy the the Config folder if you needed to change just the controls when you play.
That's what i did before. Is it so complicated to adjust the config directory in the source code or makefile?
Thanks for your help. I think i keep the scripts.

Edit: i just found userdir:STRING=.dolphin-em in Build/CMakeCache.txt (after cmake ..) and in CMakeLists.txt.

set( dir ".dolphin-emu-triforce" CACHE STRING "User directory")
add_definitions(-DUSER_DIR="${userdir}")

Works fine!
Find
Reply
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode