using wine on a data drive
-
- Level 2
- Posts: 21
- Joined: Wed Feb 15, 2023 11:46 am
using wine on a data drive
i am using wine on a 111 gig system and i need to use wine on another drive. I have a data drive that is 32 bit and tons of space.can i make wine work on my data drive?
trying to play world of tanks and i have only 18 gig left on my sdd drive. and if i can do this i need to remove my tank game on my sdd drive. Any help would be appreciated.
i need instructions line by line on this, i am a newbie to linux. I do have lubuntu 22.04 and pop! os on my rig. trying to use pop to run my game for better fps.
trying to play world of tanks and i have only 18 gig left on my sdd drive. and if i can do this i need to remove my tank game on my sdd drive. Any help would be appreciated.
i need instructions line by line on this, i am a newbie to linux. I do have lubuntu 22.04 and pop! os on my rig. trying to use pop to run my game for better fps.
Re: using wine on a data drive
You can use the WINEPREFIX variable to specify the "fake Windows" installation.
By default this is the (hidden) .wine folder in your home directory.
Move the .wine directory form your ssd to your data drive.
(No idea where your data drive is mounted, but as an example I'll take /media/data)
Now you have a wineprefix in /media/data/.wine
You just have to tell Wine that you moved your Wineprefix. You can do this with the WINEPREFIX variable.
By default this is the (hidden) .wine folder in your home directory.
Move the .wine directory form your ssd to your data drive.
(No idea where your data drive is mounted, but as an example I'll take /media/data)
Now you have a wineprefix in /media/data/.wine
You just have to tell Wine that you moved your Wineprefix. You can do this with the WINEPREFIX variable.
Code: Select all
WINEPREFIX=/media/data/.wine wine program.exe
-
- Level 2
- Posts: 21
- Joined: Wed Feb 15, 2023 11:46 am
Re: using wine on a data drive
i really do not know what i am doing....my drive is on dev/sdb2.....data is label name of drive which is fat32.
i copied the wine folder to my data drive , but that did not do anything. is there a step by step instruction on how to do this?
when i try to load wine and go to my data drive , wine does not see it. Just shows c: drive which is wine folder.
i really do not know what i am doing....i did move the wine folder to my data drive...
i copied the wine folder to my data drive , but that did not do anything. is there a step by step instruction on how to do this?
when i try to load wine and go to my data drive , wine does not see it. Just shows c: drive which is wine folder.
i really do not know what i am doing....i did move the wine folder to my data drive...
-
- Level 5
- Posts: 368
- Joined: Tue Dec 24, 2019 3:23 pm
Re: using wine on a data drive
So, if you moved ".wine" to another drive, you would put that in as a custom prefix. So if you moved or copied it to (making this up) /mnt/datadrive/.wine, you would launch like:
Code: Select all
WINEPREFIX=/mnt/datadrive/.wine wine program.exe
-
- Level 2
- Posts: 21
- Joined: Wed Feb 15, 2023 11:46 am
Re: using wine on a data drive
ok will give that a try
-
- Level 2
- Posts: 21
- Joined: Wed Feb 15, 2023 11:46 am
Re: using wine on a data drive
says no such file or directory
-
- Level 5
- Posts: 368
- Joined: Tue Dec 24, 2019 3:23 pm
Re: using wine on a data drive
So if you go to the new directory where you copied or moved .wine and do
That should show you the location you need to enter
You will need to change what's between the <>, and don't include the <> characters
Code: Select all
pwd
Code: Select all
WINEPREFIX=<output of pwd command>/.wine wine <program name>.exe
-
- Level 2
- Posts: 21
- Joined: Wed Feb 15, 2023 11:46 am
Re: using wine on a data drive
ok will try it
-
- Level 2
- Posts: 21
- Joined: Wed Feb 15, 2023 11:46 am
Re: using wine on a data drive
this is what i have and entered.....WINEPREFIX=media/josephmeier/DATA/.wine wine /drive_c/Games/World_of_Tanks_NA
-
- Level 2
- Posts: 21
- Joined: Wed Feb 15, 2023 11:46 am
Re: using wine on a data drive
no good
-
- Level 2
- Posts: 21
- Joined: Wed Feb 15, 2023 11:46 am
Re: using wine on a data drive
/media/josephmeier/DATA
-
- Level 2
- Posts: 21
- Joined: Wed Feb 15, 2023 11:46 am
Re: using wine on a data drive
there is where i have folder .wine
-
- Level 2
- Posts: 21
- Joined: Wed Feb 15, 2023 11:46 am
Re: using wine on a data drive
WINEPREFIX=<output of pwd command>/.wine wine <program name>.exe.........in program name------i should use world of tanks.exe ?
-
- Level 5
- Posts: 368
- Joined: Tue Dec 24, 2019 3:23 pm
Re: using wine on a data drive
Yep, but if there are spaces embedded in the filename you either need to precede them with a backslash:
or enclose them in ' or "
Those are just examples, not sure of the actual filename
Usually you can use "tab completion" to help you too. You can start typing in the file name, then hit <tab> and it might complete it automatically for you.
Code: Select all
World\ of\ Tanks
Code: Select all
"World of Tanks"
Usually you can use "tab completion" to help you too. You can start typing in the file name, then hit <tab> and it might complete it automatically for you.
-
- Level 2
- Posts: 21
- Joined: Wed Feb 15, 2023 11:46 am
Re: using wine on a data drive
ok , will try it....i am getting close......no error when i did wine prefix. game will not start tho......so i am close
-
- Level 2
- Posts: 21
- Joined: Wed Feb 15, 2023 11:46 am
Re: using wine on a data drive
and it is worldoftanks.exe
-
- Level 5
- Posts: 368
- Joined: Tue Dec 24, 2019 3:23 pm
Re: using wine on a data drive
Nice, hopefully get it going!
-
- Level 2
- Posts: 21
- Joined: Wed Feb 15, 2023 11:46 am
Re: using wine on a data drive
i was reading that the drive i am to move wine into has to be unix or ext4 set up in the partition or wine will not run there.....if i have to i can redo my data drive.
Thoughts?
Thoughts?
-
- Level 5
- Posts: 368
- Joined: Tue Dec 24, 2019 3:23 pm
Re: using wine on a data drive
Not that I am aware of, but I suppose it could be true, if you try to work on it further, get a good handle on the below.
You can try to pin point what's going wrong.
1. what is the exact name of your .wine folder and what directory is it in? (it might be just .wine)
2. what is the exact name of the executable and what directory is it in?
1. should be something like
If you are in the directory containing it you have to add "-a" to ls to show it
2. should be something like
In the above example this is how i would run it:
You can try to pin point what's going wrong.
1. what is the exact name of your .wine folder and what directory is it in? (it might be just .wine)
2. what is the exact name of the executable and what directory is it in?
1. should be something like
Code: Select all
/media/josephmeier/DATA/.wine
Code: Select all
ls -a
Code: Select all
/media/josephmeier/DATA/.wine/drive_c/Program Files (x86)/Diablo\ II/Diablo\ II.exe
Code: Select all
cd /media/josephmeier/DATA/.wine/drive_c/Program\ Files\ \(x86\)/Diablo\ II
WINEPREFIX=/media/josephmeier/DATA/.wine wine Diablo\ II.exe
-
- Level 2
- Posts: 21
- Joined: Wed Feb 15, 2023 11:46 am
Re: using wine on a data drive
ok will try that.....i am having a terrible time with lutris
if i install by default it runs fine......just cant get it to run on my data drive.
but like i said, i do not have the room on my ssd drive, after game installs i ha 18 gig of free space left.
on my data drive i have over 300 gig.
if i install by default it runs fine......just cant get it to run on my data drive.
but like i said, i do not have the room on my ssd drive, after game installs i ha 18 gig of free space left.
on my data drive i have over 300 gig.
-
- Level 5
- Posts: 368
- Joined: Tue Dec 24, 2019 3:23 pm
Re: using wine on a data drive
Sometimes it's just easier to do a fresh install onto the data drive, then reinstall everything. It sounds like that's your problem? You can't even get a fresh install going on your data drive?
-
- Level 2
- Posts: 21
- Joined: Wed Feb 15, 2023 11:46 am
Re: using wine on a data drive
I gave up....bought a 500 gig ssd drive and now all is well in linux land.
i have all i need to run my tank game with 350 gig left over.
maybe one day i will learn linux enuff to do what i want.
Thanks for all the help and suggestions.....
i have all i need to run my tank game with 350 gig left over.
maybe one day i will learn linux enuff to do what i want.
Thanks for all the help and suggestions.....
-
- Level 5
- Posts: 368
- Joined: Tue Dec 24, 2019 3:23 pm
Re: using wine on a data drive
Good deal! Yep, sometimes you gotta bring out the big guns.