Discussion:
missing addons in linux version
(too old to reply)
Tom Hall
2015-10-27 21:40:21 UTC
Permalink
I have a dual boot consisting of Windows 7 Home Premium 64bit and ubuntu
15.04.

I spent some time researching how to get the game working in linux.
Upgrading wine got the game to load, but in the linux version there are no
addons, and not even an addon entry in the top-level menu.

During my research, I read that you can actually copy your Windows game
folders into their proper place in the wine/drive_c folder, which I did,
and my addons are there. Why doesn't the game see them?

Tom
--
remove .invalid to reply by email
John Gordon
2015-10-27 21:53:41 UTC
Permalink
Post by Tom Hall
I have a dual boot consisting of Windows 7 Home Premium 64bit and ubuntu
15.04.
I spent some time researching how to get the game working in linux.
Upgrading wine got the game to load, but in the linux version there are no
addons, and not even an addon entry in the top-level menu.
During my research, I read that you can actually copy your Windows game
folders into their proper place in the wine/drive_c folder, which I did,
and my addons are there. Why doesn't the game see them?
Did you quit and restart the game after copying the folder?
--
John Gordon A is for Amy, who fell down the stairs
***@panix.com B is for Basil, assaulted by bears
-- Edward Gorey, "The Gashlycrumb Tinies"
Tom Hall
2015-10-28 00:15:58 UTC
Permalink
Post by John Gordon
Post by Tom Hall
I have a dual boot consisting of Windows 7 Home Premium 64bit and ubuntu
15.04.
I spent some time researching how to get the game working in linux.
Upgrading wine got the game to load, but in the linux version there are no
addons, and not even an addon entry in the top-level menu.
During my research, I read that you can actually copy your Windows game
folders into their proper place in the wine/drive_c folder, which I did,
and my addons are there. Why doesn't the game see them?
Did you quit and restart the game after copying the folder?
Yes - multiple times. The game was not running when I copied the files.

Tom
--
remove .invalid to reply by email
Lewis
2015-10-29 05:42:35 UTC
Permalink
Post by Tom Hall
Post by John Gordon
Post by Tom Hall
I have a dual boot consisting of Windows 7 Home Premium 64bit and ubuntu
15.04.
I spent some time researching how to get the game working in linux.
Upgrading wine got the game to load, but in the linux version there are no
addons, and not even an addon entry in the top-level menu.
During my research, I read that you can actually copy your Windows game
folders into their proper place in the wine/drive_c folder, which I did,
and my addons are there. Why doesn't the game see them?
Did you quit and restart the game after copying the folder?
Yes - multiple times. The game was not running when I copied the files.
The only things I can think of are pretty obvious.

Permissions, proper folder tree, ACLs, and line endings.

(or does wine cover differing line endings in text files between windows
and Linux?)
--
Qui me amat, amat et canem meam
Tom Hall
2015-10-29 14:21:53 UTC
Permalink
On Thu, 29 Oct 2015 05:42:35 +0000 (UTC), Lewis
Post by Lewis
Post by Tom Hall
Post by John Gordon
Post by Tom Hall
I have a dual boot consisting of Windows 7 Home Premium 64bit and ubuntu
15.04.
I spent some time researching how to get the game working in linux.
Upgrading wine got the game to load, but in the linux version there are no
addons, and not even an addon entry in the top-level menu.
During my research, I read that you can actually copy your Windows game
folders into their proper place in the wine/drive_c folder, which I did,
and my addons are there. Why doesn't the game see them?
Did you quit and restart the game after copying the folder?
Yes - multiple times. The game was not running when I copied the files.
The only things I can think of are pretty obvious.
Permissions, proper folder tree, ACLs, and line endings.
(or does wine cover differing line endings in text files between windows
and Linux?)
I have no idea about the inner workings of wine. I've only been using linux
for about a month.

Acting on information I found online, I copied the entire WoW folder tree
from my Windows setup to the proper place in my linux .wine drive_c folder.
The game works perfectly, except for the fact that I have no addons. All
files and folders in the copied tree have rwx permissions.

It's a total mystery to me.

Tom
--
remove .invalid to reply by email
Yeechang Lee
2015-10-29 23:24:07 UTC
Permalink
Post by Tom Hall
Acting on information I found online, I copied the entire WoW folder
tree from my Windows setup to the proper place in my linux .wine
drive_c folder. The game works perfectly, except for the fact that
I have no addons. All files and folders in the copied tree have rwx
permissions.
Do you use Dropbox? If so, and have set it up in both Windows and
Linux, try moving your Windows setup's World of Warcraft/WTF/Account
directory into Dropbox, then create a symbolic link for the directory
from Dropbox as World of Warcraft/WTF/Account in both Windows and
Linux, replacing what is there. Perhaps this will fix whatever issue
on the Linux side, and as a bonus any changes you make to addons or
character settings on one setup will be auto-mirrored on the
other. (Also backed up.) Any system settings, like for graphics, won't
be mirrored but you wouldn't want that anyway.
--
Yeechang Lee <***@columbia.edu> | San Francisco
Lewis
2015-10-30 09:47:18 UTC
Permalink
Post by Tom Hall
On Thu, 29 Oct 2015 05:42:35 +0000 (UTC), Lewis
Post by Lewis
Post by Tom Hall
Post by John Gordon
Post by Tom Hall
I have a dual boot consisting of Windows 7 Home Premium 64bit and ubuntu
15.04.
I spent some time researching how to get the game working in linux.
Upgrading wine got the game to load, but in the linux version there are no
addons, and not even an addon entry in the top-level menu.
During my research, I read that you can actually copy your Windows game
folders into their proper place in the wine/drive_c folder, which I did,
and my addons are there. Why doesn't the game see them?
Did you quit and restart the game after copying the folder?
Yes - multiple times. The game was not running when I copied the files.
The only things I can think of are pretty obvious.
Permissions, proper folder tree, ACLs, and line endings.
(or does wine cover differing line endings in text files between windows
and Linux?)
I have no idea about the inner workings of wine. I've only been using linux
for about a month.
Acting on information I found online, I copied the entire WoW folder tree
from my Windows setup to the proper place in my linux .wine drive_c folder.
The game works perfectly, except for the fact that I have no addons. All
files and folders in the copied tree have rwx permissions.
Well, then maybe it is the line endings.

Windows uses different line endings than real computers, and all addons
are text files.

Windows uses both a CR and a LF at the end of a line. If you open up one
of the files in the addons and you see a ^M at the end of the lines,
then that is possibly the problem.

You would need to convert the text files to the right line endings.
--
The cat turned and tried to find a place of safety in the suit's
breastplate. He was beginning to doubt he'd make it through the knight.
Tom Hall
2015-10-30 15:07:55 UTC
Permalink
On Fri, 30 Oct 2015 09:47:18 +0000 (UTC), Lewis
Post by Lewis
Post by Tom Hall
On Thu, 29 Oct 2015 05:42:35 +0000 (UTC), Lewis
Post by Lewis
Post by Tom Hall
Post by John Gordon
Post by Tom Hall
I have a dual boot consisting of Windows 7 Home Premium 64bit and ubuntu
15.04.
I spent some time researching how to get the game working in linux.
Upgrading wine got the game to load, but in the linux version there are no
addons, and not even an addon entry in the top-level menu.
During my research, I read that you can actually copy your Windows game
folders into their proper place in the wine/drive_c folder, which I did,
and my addons are there. Why doesn't the game see them?
Did you quit and restart the game after copying the folder?
Yes - multiple times. The game was not running when I copied the files.
The only things I can think of are pretty obvious.
Permissions, proper folder tree, ACLs, and line endings.
(or does wine cover differing line endings in text files between windows
and Linux?)
I have no idea about the inner workings of wine. I've only been using linux
for about a month.
Acting on information I found online, I copied the entire WoW folder tree
from my Windows setup to the proper place in my linux .wine drive_c folder.
The game works perfectly, except for the fact that I have no addons. All
files and folders in the copied tree have rwx permissions.
Well, then maybe it is the line endings.
Windows uses different line endings than real computers, and all addons
are text files.
Windows uses both a CR and a LF at the end of a line. If you open up one
of the files in the addons and you see a ^M at the end of the lines,
then that is possibly the problem.
You would need to convert the text files to the right line endings.
First, how do I check this in linux?

Second, assuming that the ^M is the problem, how do I fix it, short of
editing EVERY line in EVERY file? There are hundreds of them.

Tom
--
remove .invalid to reply by email
John Gordon
2015-10-30 16:12:58 UTC
Permalink
Post by Tom Hall
Post by Lewis
You would need to convert the text files to the right line endings.
I kind of doubt this is the issue. Surely the game uses other text files,
and as far as we know the game is not having any other issues.
Post by Tom Hall
Second, assuming that the ^M is the problem, how do I fix it, short of
editing EVERY line in EVERY file? There are hundreds of them.
Do you have the 'dos2unix' command on your computer? If so, it's easy:

cd <your addons directory>
find . -type f | xargs dos2unix

If not, it's a little more complicated. This sh script will do the job:

find <your addons directory> -type f | while read filename
do
mv "$filename" "$filename".old
tr -d "\15\32" < "$filename".old > "$filename"
done
--
John Gordon A is for Amy, who fell down the stairs
***@panix.com B is for Basil, assaulted by bears
-- Edward Gorey, "The Gashlycrumb Tinies"
Tom Hall
2015-10-30 22:00:46 UTC
Permalink
Post by John Gordon
Post by Tom Hall
Second, assuming that the ^M is the problem, how do I fix it, short of
editing EVERY line in EVERY file? There are hundreds of them.
cd <your addons directory>
find . -type f | xargs dos2unix
This appeared to work (I had to install dos2unix), but you're right - it
doesn't make any difference - I still have no addons.

Which brings me to another problem with the linux installation: fps is the
PITS. In Windows I routinely get 75-100 fps, but in linux it's in the 10-30
range.

lspci | grep VGA
01:00.0 VGA compatible controller: NVIDIA Corporation GT200 [GeForce GTX
260] (rev a1)

This is where I get into trouble - I'm not a hardware person.

Tom
--
remove .invalid to reply by email
Peter T.
2015-10-31 02:47:31 UTC
Permalink
Post by Tom Hall
Which brings me to another problem with the linux installation: fps is the
PITS. In Windows I routinely get 75-100 fps, but in linux it's in the 10-30
range.
WoW is coded for windows. Not for wine running in a *nix environment.
there are some tweaks here and there. But dont expect any raid capable fps.
--
Peter T.
Tom Hall
2015-11-01 02:03:42 UTC
Permalink
Post by Peter T.
WoW is coded for windows. Not for wine running in a *nix environment.
there are some tweaks here and there. But dont expect any raid capable fps.
Can you point me to some of these tweaks?

Tom
--
remove .invalid to reply by email
Peter T.
2015-11-01 13:55:08 UTC
Permalink
Post by Tom Hall
Post by Peter T.
WoW is coded for windows. Not for wine running in a *nix environment.
there are some tweaks here and there. But dont expect any raid capable fps.
Can you point me to some of these tweaks?
Google -> "world of warcraft linux tweaks" and "world of warcraft wine fps"

The first match is an old post at ubuntuforums.org from 2006. Keep in
mind that Wine or another similar windows emulator running in a linux
environment is some sort of a virtualized windows.
--
Peter T.
Lewis
2015-10-31 14:01:26 UTC
Permalink
Post by Tom Hall
On Fri, 30 Oct 2015 09:47:18 +0000 (UTC), Lewis
Post by Lewis
Post by Tom Hall
On Thu, 29 Oct 2015 05:42:35 +0000 (UTC), Lewis
Post by Lewis
Post by Tom Hall
Post by John Gordon
Post by Tom Hall
I have a dual boot consisting of Windows 7 Home Premium 64bit and ubuntu
15.04.
I spent some time researching how to get the game working in linux.
Upgrading wine got the game to load, but in the linux version there are no
addons, and not even an addon entry in the top-level menu.
During my research, I read that you can actually copy your Windows game
folders into their proper place in the wine/drive_c folder, which I did,
and my addons are there. Why doesn't the game see them?
Did you quit and restart the game after copying the folder?
Yes - multiple times. The game was not running when I copied the files.
The only things I can think of are pretty obvious.
Permissions, proper folder tree, ACLs, and line endings.
(or does wine cover differing line endings in text files between windows
and Linux?)
I have no idea about the inner workings of wine. I've only been using linux
for about a month.
Acting on information I found online, I copied the entire WoW folder tree
from my Windows setup to the proper place in my linux .wine drive_c folder.
The game works perfectly, except for the fact that I have no addons. All
files and folders in the copied tree have rwx permissions.
Well, then maybe it is the line endings.
Windows uses different line endings than real computers, and all addons
are text files.
Windows uses both a CR and a LF at the end of a line. If you open up one
of the files in the addons and you see a ^M at the end of the lines,
then that is possibly the problem.
You would need to convert the text files to the right line endings.
First, how do I check this in linux?
Second, assuming that the ^M is the problem, how do I fix it, short of
editing EVERY line in EVERY file? There are hundreds of them.
There are many ways, but most of them come down to transferring the
files rather than copying them. For example, someone suggested Dropbox.
That would work. There are also quick one-liners you can execute in your
shell to modify all the files very quickly.

Google for something like "shell window linux line endings"

Your linux might even have a dos2linux command (or it might be called
dtou).
--
Silence filled the University in the same way that air fills a hole.
Night spread across the Disk like plum jam, or possibly blackberry
preserve. But there would be a morning. There would always be another
morning. --Sourcery
Tom Hall
2015-10-31 16:22:50 UTC
Permalink
On Sat, 31 Oct 2015 14:01:26 -0000 (UTC), Lewis
Post by Lewis
Post by Tom Hall
Second, assuming that the ^M is the problem, how do I fix it, short of
editing EVERY line in EVERY file? There are hundreds of them.
There are many ways, but most of them come down to transferring the
files rather than copying them. For example, someone suggested Dropbox.
That would work. There are also quick one-liners you can execute in your
shell to modify all the files very quickly.
Google for something like "shell window linux line endings"
Your linux might even have a dos2linux command (or it might be called
dtou).
Yes, I installed dos2linux and ran it on the AddOn folder. It did its job,
but I still have no addons.

Tom
--
remove .invalid to reply by email
Loading...