OpenMW 0.12.0

Anything related to PR, release planning and any other non-technical idea how to move the project forward should be discussed here.
Post Reply
User avatar
lgromanowski
Site Admin
Posts: 1193
Joined: 05 Aug 2011, 22:21
Location: Wroclaw, Poland
Contact:

Re: OpenMW 0.12.0

Post by lgromanowski »

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.
User avatar
Zini
Posts: 5538
Joined: 06 Aug 2011, 15:16

Re: OpenMW 0.12.0

Post by Zini »

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.
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.

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.
User avatar
psi29a
Posts: 5361
Joined: 29 Sep 2011, 10:13
Location: Belgium
Gitlab profile: https://gitlab.com/psi29a/
Contact:

Re: OpenMW 0.12.0

Post by psi29a »

@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?
Last edited by psi29a on 23 Feb 2012, 10:36, edited 1 time in total.
User avatar
Zini
Posts: 5538
Joined: 06 Aug 2011, 15:16

Re: OpenMW 0.12.0

Post by Zini »

Huh? We haven't addressed the spaces/boost problem yet. It was not supposed to work.
User avatar
lgromanowski
Site Admin
Posts: 1193
Joined: 05 Aug 2011, 22:21
Location: Wroclaw, Poland
Contact:

Re: OpenMW 0.12.0

Post by lgromanowski »

Zini wrote:Huh? We haven't addressed the spaces/boost problem yet. It was not supposed to work.
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).
User avatar
psi29a
Posts: 5361
Joined: 29 Sep 2011, 10:13
Location: Belgium
Gitlab profile: https://gitlab.com/psi29a/
Contact:

Re: OpenMW 0.12.0

Post by psi29a »

Zini wrote:Huh? We haven't addressed the spaces/boost problem yet. It was not supposed to work.
But it does...
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:
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
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.
User avatar
Zini
Posts: 5538
Joined: 06 Aug 2011, 15:16

Re: OpenMW 0.12.0

Post by Zini »

Ah, sorry. Somehow I thought you were one of the people running an older version of Ubuntu.
User avatar
psi29a
Posts: 5361
Joined: 29 Sep 2011, 10:13
Location: Belgium
Gitlab profile: https://gitlab.com/psi29a/
Contact:

Re: OpenMW 0.12.0

Post by psi29a »

Zini wrote:Ah, sorry. Somehow I thought you were one of the people running an older version of Ubuntu.
I'm running 11.11 and on my other laptop 12.04 (alpha with the bad libOgre).

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.
User avatar
lgromanowski
Site Admin
Posts: 1193
Joined: 05 Aug 2011, 22:21
Location: Wroclaw, Poland
Contact:

Re: OpenMW 0.12.0

Post by lgromanowski »

BrotherBrick wrote: From the launcher:
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.
edit: yeah... boost was 46 not 40.
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?
User avatar
psi29a
Posts: 5361
Joined: 29 Sep 2011, 10:13
Location: Belgium
Gitlab profile: https://gitlab.com/psi29a/
Contact:

Re: OpenMW 0.12.0

Post by psi29a »

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
Post Reply