[Arch Linux] Can not find Morrowind.esm

Support for running, installing or compiling OpenMW

Before you submit a bug report for the first time, please read: Bug reporting guidelines
Locked
Serg2k9
Posts: 1
Joined: 19 Jul 2012, 00:11

[Arch Linux] Can not find Morrowind.esm

Post by Serg2k9 » 19 Jul 2012, 00:26

Running x86_64 Archlinux 3.2.5-1 with

Code: Select all

Targets (9): bullet-2.80-1  freeimage-3.15.3-1  mygui-3.2.0-2  nvidia-cg-toolkit-3.1-1  ogre-1.8.0-3  ois-1.3-2  openal-1.14-1  zziplib-0.13.62-1  openmw-0.16.0-1

Code: Select all

[[email protected] ~]$ ls -l ~/morrowind/Data\ Files/

drwxr-xr-x 2 sergio users      4096 Jul 18 18:43 BookArt
drwxr-xr-x 2 sergio users      4096 Jul 18 18:43 Fonts
drwxr-xr-x 2 sergio users      4096 Jul 18 18:43 Icons
drwxr-xr-x 2 sergio users      4096 Jul 18 18:43 Meshes
-rwxrwxrwx 1 sergio users 310420368 May 14  2002 Morrowind.bsa
-rwxrwxrwx 1 sergio users  79837557 Jul 17  2002 Morrowind.esm
drwxr-xr-x 5 sergio users      4096 Jul 18 18:43 Music
drwxr-xr-x 5 sergio users      4096 Jul 18 18:43 Sound
drwxr-xr-x 2 sergio users      4096 Jul 18 18:44 Splash
Trying to run it gives

Code: Select all

[[email protected] ~]$ openmw
Loading config file: /etc/openmw/openmw.cfg... done.
Using default (English) font encoding.
No master file given. Assuming Morrowind.esm

ERROR: file Morrowind.esm not found
my config file is like this

Code: Select all

[[email protected] ~]$ cat /etc/morrowind/openmw.cfg
data="~/morrowind/Data\ Files/"
resources=/usr/share/games/openmw/resources
i tried different address locations, but still did not start

Edit:
Well, I fixed my own problem.

Code: Select all

data="/home/sergio/morrowind/Data Files"
That started it right up.

ezzetabi
Posts: 407
Joined: 03 Feb 2012, 16:52

Re: [Arch Linux] Can not find Morrowind.esm

Post by ezzetabi » 20 Jul 2012, 08:58

Yes, it is weird in Linux. But OpenMW has no tilde expansion. Maybe it should be a feature request.

User avatar
bwrsandman
Posts: 45
Joined: 25 Sep 2011, 05:30
Location: Montreal
Contact:

Re: [Arch Linux] Can not find Morrowind.esm

Post by bwrsandman » 15 Aug 2012, 17:33

Would it be better practice to put the Data Files in /usr/share/games/openmw/?
I could make an optional AUR package that unshield the data files from CD and stores them there.
Something similar to this https://aur.archlinux.org/packages/fh/f ... a/PKGBUILD

User avatar
pvdk
Posts: 523
Joined: 12 Aug 2011, 16:34

Re: [Arch Linux] Can not find Morrowind.esm

Post by pvdk » 15 Aug 2012, 19:26

Or run the launcher instead, when no valid data= location is found it will ask you to select the correct directory.

User avatar
Zini
Posts: 5537
Joined: 06 Aug 2011, 15:16

Re: [Arch Linux] Can not find Morrowind.esm

Post by Zini » 16 Aug 2012, 10:44

Would it be better practice to put the Data Files in /usr/share/games/openmw/?
I could make an optional AUR package that unshield the data files from CD and stores them there.
Something similar to this https://aur.archlinux.org/packages/fh/f ... a/PKGBUILD
Actually we have multiple data paths. One pointing to a local location (where the user can write to; important for the editor). There is a data path that points to the installed version of MW (if it is there). And then there is another data path that points to a system wide location (I think you quoted it correctly).

At least that is how it should be. A while back we had problem with multiple resources locations, so we temporarily disabled this feature. It is on the roadmap for the new version though. Afterwards adding such an optional package for people who have not installed MW under Wine might be a good idea.

User avatar
bwrsandman
Posts: 45
Joined: 25 Sep 2011, 05:30
Location: Montreal
Contact:

Re: [Arch Linux] Can not find Morrowind.esm

Post by bwrsandman » 16 Aug 2012, 18:08

I personally have the CDs, that's why I'm asking.

I didn't consider the editor. That would make the data files non-static, wouldn't it?
What happens if I have the data files in both /usr/share and my home directory?
Does it give priority to /home or do I have to manually specify in this case?

In post 1.0.0, AUR users should be able to distribute user-created mods (data files) with AUR PKGBUILDs that install in a system-wide fashion. It's only the modders that would use the files in /home. It's been a while since I used TESCS, did it edit data files directly in Program Files?

User avatar
sirherrbatka
Posts: 2157
Joined: 07 Aug 2011, 17:21

Re: [Arch Linux] Can not find Morrowind.esm

Post by sirherrbatka » 16 Aug 2012, 18:16

yes you did edit it in the program files.

I don't think that installing mods system wide is the way to go... You would need a lot of space on root. At some point it would be wise to create some kind of automated mod installer like in Battle for wesnoth but it's so distant...

User avatar
bwrsandman
Posts: 45
Joined: 25 Sep 2011, 05:30
Location: Montreal
Contact:

Re: [Arch Linux] Can not find Morrowind.esm

Post by bwrsandman » 16 Aug 2012, 18:39

Wesnoth-data takes ~430MB of space in /usr/share.
I agree that root can get filled quickly due to packages in the AUR, but that is bound to happen. Someone will end up posting a mod there.

Maybe we can put mods in /var/games, then?
/var/games : Variable game data (optional)
Purpose
Any variable data relating to games in /usr should be placed here. /var/games should hold the variable data previously found in /usr; static data, such as help text, level descriptions, and so on, must remain elsewhere, such as /usr/share/games.

Rationale
/var/games has been given a hierarchy of its own, rather than leaving it merged in with the old /var/lib as in release 1.2. The separation allows local control of backup strategies, permissions, and disk usage, as well as allowing inter-host sharing and reducing clutter in /var/lib. Additionally, /var/games is the path traditionally used by BSD.
But is /home really better than /usr/share/games if you're getting the data from the CDs?

Locked