OpenMW 0.12.0
- lgromanowski
- Site Admin
- Posts: 1193
- Joined: 05 Aug 2011, 22:21
- Location: Wroclaw, Poland
- Contact:
Re: OpenMW 0.12.0
Two fixes are in config_fixes branch - first one is for compilation error on Windows (I don't have Windows on my PC and I overlooked this), and second one is for data-local problem detected by BrotherBrick. There is still a problem with whitespaces inside directory names because boost::filesystem::path in boost-1.40 don't support that feature, so if we want to use boost::filesystem::path everywhere then we probably should search for some workaround for old boost or change our minimum required component (boost) version policy.
Re: OpenMW 0.12.0
Actually, with the introduction of the token system, it might be a good idea to relax the requirement to use path everywhere. What we get from the cfg files are strictly spoken not valid paths (because of the tokens). They only turn into valid paths once they went through the translation stage. So I think one possible solution would be to change the type back to string in boost::program_options and then change the signature of the translate function, so that it takes a collection of strings as input parameter and produces a collection of paths as output.if we want to use boost::filesystem::path everywhere then we probably should search for some workaround for old boost or change our minimum required component (boost) version policy.
Internally the translate function would need to do the following:
1. Replace the tokens
2. Create a path from it (put it in "", if the string contains spaces at this point).
3. Check if the directory exists and discard the path, if it doesn't.
- psi29a
- Posts: 5362
- Joined: 29 Sep 2011, 10:13
- Location: Belgium
- Gitlab profile: https://gitlab.com/psi29a/
- Contact:
Re: OpenMW 0.12.0
@Zini: just pulled from your master and created a test deb package here:
http://dl.dropbox.com/u/396161/openmw_0 ... _amd64.deb
It installs and runs damn fast on the laptop. Congrats gentlemen.
Note: i made a symlink from /usr/share/games/openmw/data to /opt/morrowind/Data Files .
Did a bit of exploring and I get around 30~60fps outdoors and 100~200fps indoors on a laptop's radeon 36xx HD graphics. I just hope terrain rendering, weather and animation doesn't drop it too much later. I assume better batching is on the way?
http://dl.dropbox.com/u/396161/openmw_0 ... _amd64.deb
It installs and runs damn fast on the laptop. Congrats gentlemen.
Note: i made a symlink from /usr/share/games/openmw/data to /opt/morrowind/Data Files .
Did a bit of exploring and I get around 30~60fps outdoors and 100~200fps indoors on a laptop's radeon 36xx HD graphics. I just hope terrain rendering, weather and animation doesn't drop it too much later. I assume better batching is on the way?
Last edited by psi29a on 23 Feb 2012, 10:36, edited 1 time in total.
Re: OpenMW 0.12.0
Huh? We haven't addressed the spaces/boost problem yet. It was not supposed to work.
- lgromanowski
- Site Admin
- Posts: 1193
- Joined: 05 Aug 2011, 22:21
- Location: Wroclaw, Poland
- Contact:
Re: OpenMW 0.12.0
The problem is only with Ubuntu 10.x which have old boost, BrotherBrick have Ubuntu 11.x with boost-1.46, and whitespaces works there (BrotherBrick problem was data-local path which is fixed now).Zini wrote:Huh? We haven't addressed the spaces/boost problem yet. It was not supposed to work.
- psi29a
- Posts: 5362
- Joined: 29 Sep 2011, 10:13
- Location: Belgium
- Gitlab profile: https://gitlab.com/psi29a/
- Contact:
Re: OpenMW 0.12.0
But it does...Zini wrote:Huh? We haven't addressed the spaces/boost problem yet. It was not supposed to work.
bcurtis@zwartevogel:/usr/share/games/openmw$ openmw --fps 2
Loading config file: /home/bcurtis/.config/openmw/openmw.cfg... done.
Loading config file: /etc/openmw/openmw.cfg... done.
Using default (English) font encoding.
No master file given. Assuming Morrowind.esm
Adding /usr/share/games/openmw/data/Morrowind.bsa
Data dir /usr/share/games/openmw/data
Loading ESM /usr/share/games/openmw/data/Morrowind.esm
AL lib: pulseaudio.c:331: PulseAudio returned minreq > tlength/2; expect break up
playerSound output: OpenAL
Sound decoder: mpg123,sndfile
Changing to interior
cellName:Beshara
loading cell Beshara
From the launcher:
edit: yeah... boost was 46 not 40. And if you are worring about things going badly upgrading your LTS to latest, no worries. You can still use Gnome2/ "Classic" and not bother with Unity or GnomeShell.bcurtis@zwartevogel:/usr/share/games/openmw$ omwlauncher
Loading config file: /home/bcurtis/.config/openmw/openmw.cfg... done.
Loading config file: /etc/openmw/openmw.cfg... done.
Skipping invalid directory: "?user?data"
Skipping invalid directory: "?user?data"
Loading config file: /home/bcurtis/.config/openmw/openmw.cfg... done.
Loading config file: /etc/openmw/openmw.cfg... done.
Using default (English) font encoding.
No master file given. Assuming Morrowind.esm
bcurtis@zwartevogel:/usr/share/games/openmw$ Adding /usr/share/games/openmw/data/Morrowind.bsa
Data dir /usr/share/games/openmw/data
Loading ESM /usr/share/games/openmw/data/Morrowind.esm
AL lib: pulseaudio.c:331: PulseAudio returned minreq > tlength/2; expect break up
playerSound output: OpenAL
Sound decoder: mpg123,sndfile
Changing to interior
cellName:Beshara
loading cell Beshara
Re: OpenMW 0.12.0
Ah, sorry. Somehow I thought you were one of the people running an older version of Ubuntu.
- psi29a
- Posts: 5362
- Joined: 29 Sep 2011, 10:13
- Location: Belgium
- Gitlab profile: https://gitlab.com/psi29a/
- Contact:
Re: OpenMW 0.12.0
I'm running 11.11 and on my other laptop 12.04 (alpha with the bad libOgre).Zini wrote:Ah, sorry. Somehow I thought you were one of the people running an older version of Ubuntu.
We do not even run LTS (10.04) at my work... the hassle is not worth the benefits.
Last edited by psi29a on 23 Feb 2012, 10:43, edited 1 time in total.
- lgromanowski
- Site Admin
- Posts: 1193
- Joined: 05 Aug 2011, 22:21
- Location: Wroclaw, Poland
- Contact:
Re: OpenMW 0.12.0
There is one thing suspicious (bolded) - do you have the same config file as you posted earlier? Could you show output of ls -al from each data path from config?BrotherBrick wrote: From the launcher:edit: yeah... boost was 46 not 40.bcurtis@zwartevogel:/usr/share/games/openmw$ omwlauncher
Loading config file: /home/bcurtis/.config/openmw/openmw.cfg... done.
Loading config file: /etc/openmw/openmw.cfg... done.
Skipping invalid directory: "?user?data"
Skipping invalid directory: "?user?data"
Loading config file: /home/bcurtis/.config/openmw/openmw.cfg... done.
Loading config file: /etc/openmw/openmw.cfg... done.
- psi29a
- Posts: 5362
- Joined: 29 Sep 2011, 10:13
- Location: Belgium
- Gitlab profile: https://gitlab.com/psi29a/
- Contact:
Re: OpenMW 0.12.0
brick@zwartevogel:/usr/share/games/openmw$ ls -al /home/brick/.config/openmw/
total 36
drwxrwxr-x 2 brick brick 4096 2012-02-21 14:40 .
drwx------ 35 brick brick 4096 2012-02-22 14:38 ..
-rw-rw-r-- 1 brick brick 3331 2012-02-23 10:37 launcherOgre.log
-rw-rw-r-- 1 brick brick 12791 2012-02-23 10:37 MyGUI.log
-rw-rw-r-- 1 brick brick 196 2012-02-23 10:37 ogre.cfg
brick@zwartevogel:/usr/share/games/openmw$ ls -al /etc/openmw
total 24
drwxrwxr-x 2 brick brick 4096 2012-02-23 10:24 .
drwxr-xr-x 168 root root 12288 2012-02-23 10:24 ..
-rw-r--r-- 1 brick brick 129 2012-02-21 14:16 openmw.cfg
-rw-r--r-- 1 brick brick 211 2012-02-21 14:16 plugins.cfg
brick@zwartevogel:/usr/share/games/openmw$ cat /etc/openmw/openmw.cfg
data="?mw?Data Files"
data="?global?data"
data="?local?data"
data-local="?user?data"
resources=/usr/share/games/openmw/resources
total 36
drwxrwxr-x 2 brick brick 4096 2012-02-21 14:40 .
drwx------ 35 brick brick 4096 2012-02-22 14:38 ..
-rw-rw-r-- 1 brick brick 3331 2012-02-23 10:37 launcherOgre.log
-rw-rw-r-- 1 brick brick 12791 2012-02-23 10:37 MyGUI.log
-rw-rw-r-- 1 brick brick 196 2012-02-23 10:37 ogre.cfg
brick@zwartevogel:/usr/share/games/openmw$ ls -al /etc/openmw
total 24
drwxrwxr-x 2 brick brick 4096 2012-02-23 10:24 .
drwxr-xr-x 168 root root 12288 2012-02-23 10:24 ..
-rw-r--r-- 1 brick brick 129 2012-02-21 14:16 openmw.cfg
-rw-r--r-- 1 brick brick 211 2012-02-21 14:16 plugins.cfg
brick@zwartevogel:/usr/share/games/openmw$ cat /etc/openmw/openmw.cfg
data="?mw?Data Files"
data="?global?data"
data="?local?data"
data-local="?user?data"
resources=/usr/share/games/openmw/resources