OpenMW 0.36.0

Anything related to PR, release planning and any other non-technical idea how to move the project forward should be discussed here.
User avatar
psi29a
Posts: 5362
Joined: 29 Sep 2011, 10:13
Location: Belgium
Gitlab profile: https://gitlab.com/psi29a/
Contact:

Re: OpenMW 0.36.0

Post by psi29a »

I've managed to open an total conversion (ashes of apocalypse) mod, export it as an omwgame file. After fixing a few bugs and adding a few features a few months back, we have a perfect duplicate and I can get right to creating omwaddons for the omwgame file. Everything works as expected... terrain, you name it.

You couldn't do that with 0.35.1
User avatar
psi29a
Posts: 5362
Joined: 29 Sep 2011, 10:13
Location: Belgium
Gitlab profile: https://gitlab.com/psi29a/
Contact:

Re: OpenMW 0.36.0

Post by psi29a »

Using GCC 4.9.2 I get these:

Code: Select all


/home/bcurtis/workspace/OpenMW/openmw/extern/ogre-ffmpeg-videoplayer/videostate.cpp: In member function ‘void Video::PacketQueue::put(AVPacket*)’:
/home/bcurtis/workspace/OpenMW/openmw/extern/ogre-ffmpeg-videoplayer/videostate.cpp:98:49: warning: ‘AVPacket::destruct’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:994) [-Wdeprecated-declarations]
     if(pkt->data != flush_pkt.data && pkt1->pkt.destruct == NULL)
                                                 ^
/home/bcurtis/workspace/OpenMW/openmw/extern/ogre-ffmpeg-videoplayer/videostate.cpp:98:49: warning: ‘AVPacket::destruct’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:994) [-Wdeprecated-declarations]
/home/bcurtis/workspace/OpenMW/openmw/extern/ogre-ffmpeg-videoplayer/videostate.cpp: In function ‘int Video::our_get_buffer(AVCodecContext*, AVFrame*)’:
/home/bcurtis/workspace/OpenMW/openmw/extern/ogre-ffmpeg-videoplayer/videostate.cpp:366:15: warning: ‘int avcodec_default_get_buffer(AVCodecContext*, AVFrame*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:3493) [-Wdeprecated-declarations]
     int ret = avcodec_default_get_buffer(c, pic);
               ^
/home/bcurtis/workspace/OpenMW/openmw/extern/ogre-ffmpeg-videoplayer/videostate.cpp:366:48: warning: ‘int avcodec_default_get_buffer(AVCodecContext*, AVFrame*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:3493) [-Wdeprecated-declarations]
     int ret = avcodec_default_get_buffer(c, pic);
                                                ^
/home/bcurtis/workspace/OpenMW/openmw/extern/ogre-ffmpeg-videoplayer/videostate.cpp: In function ‘void Video::our_release_buffer(AVCodecContext*, AVFrame*)’:

/home/bcurtis/workspace/OpenMW/openmw/extern/ogre-ffmpeg-videoplayer/videostate.cpp:375:5: warning: ‘void avcodec_default_release_buffer(AVCodecContext*, AVFrame*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:3494) [-Wdeprecated-declarations]
     avcodec_default_release_buffer(c, pic);
     ^
/home/bcurtis/workspace/OpenMW/openmw/extern/ogre-ffmpeg-videoplayer/videostate.cpp:375:42: warning: ‘void avcodec_default_release_buffer(AVCodecContext*, AVFrame*)’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:3494) [-Wdeprecated-declarations]
     avcodec_default_release_buffer(c, pic);
                                          ^
/home/bcurtis/workspace/OpenMW/openmw/extern/ogre-ffmpeg-videoplayer/videostate.cpp: In static member function ‘static void Video::VideoState::video_thread_loop(Video::VideoState*)’:
/home/bcurtis/workspace/OpenMW/openmw/extern/ogre-ffmpeg-videoplayer/videostate.cpp:414:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if(packet->dts != AV_NOPTS_VALUE)
                        ^
/home/bcurtis/workspace/OpenMW/openmw/extern/ogre-ffmpeg-videoplayer/videostate.cpp:416:61: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         else if(pFrame->opaque && *(int64_t*)pFrame->opaque != AV_NOPTS_VALUE)
                                                             ^
/home/bcurtis/workspace/OpenMW/openmw/extern/ogre-ffmpeg-videoplayer/videostate.cpp: In member function ‘int Video::VideoState::stream_open(int, AVFormatContext*)’:
/home/bcurtis/workspace/OpenMW/openmw/extern/ogre-ffmpeg-videoplayer/videostate.cpp:596:19: warning: ‘AVCodecContext::get_buffer’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:1939) [-Wdeprecated-declarations]
         codecCtx->get_buffer = our_get_buffer;
                   ^
/home/bcurtis/workspace/OpenMW/openmw/extern/ogre-ffmpeg-videoplayer/videostate.cpp:596:19: warning: ‘AVCodecContext::get_buffer’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:1939) [-Wdeprecated-declarations]
/home/bcurtis/workspace/OpenMW/openmw/extern/ogre-ffmpeg-videoplayer/videostate.cpp:597:19: warning: ‘AVCodecContext::release_buffer’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:1953) [-Wdeprecated-declarations]
         codecCtx->release_buffer = our_release_buffer;
                   ^
/home/bcurtis/workspace/OpenMW/openmw/extern/ogre-ffmpeg-videoplayer/videostate.cpp:597:19: warning: ‘AVCodecContext::release_buffer’ is deprecated (declared at /usr/include/libavcodec/avcodec.h:1953) [-Wdeprecated-declarations]


/home/bcurtis/workspace/OpenMW/openmw/extern/ogre-ffmpeg-videoplayer/audiodecoder.cpp: In member function ‘int Video::MovieAudioDecoder::audio_decode_frame(AVFrame*, int&)’:
/home/bcurtis/workspace/OpenMW/openmw/extern/ogre-ffmpeg-videoplayer/audiodecoder.cpp:225:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         if(pkt->pts != AV_NOPTS_VALUE)
                     ^



In file included from /home/bcurtis/workspace/OpenMW/openmw/components/nif/base.hpp:9:0,
                 from /home/bcurtis/workspace/OpenMW/openmw/components/nif/controlled.hpp:27,
                 from /home/bcurtis/workspace/OpenMW/openmw/components/nif/node.hpp:6,
                 from /home/bcurtis/workspace/OpenMW/openmw/components/nif/effect.hpp:27,
                 from /home/bcurtis/workspace/OpenMW/openmw/components/nif/niffile.cpp:2:
/home/bcurtis/workspace/OpenMW/openmw/components/nif/nifkey.hpp: In member function ‘void Nif::KeyMapT<T, getValue>::read(Nif::NIFStream*, bool) [with T = Ogre::Vector3; T (Nif::NIFStream::* getValue)() = &Nif::NIFStream::getVector3]’:
/home/bcurtis/workspace/OpenMW/openmw/components/nif/nifkey.hpp:14:8: warning: ‘key.Nif::KeyT<Ogre::Vector3>::mTension’ may be used uninitialized in this function [-Wmaybe-uninitialized]
 struct KeyT {
        ^
/home/bcurtis/workspace/OpenMW/openmw/components/nif/nifkey.hpp:56:17: note: ‘key.Nif::KeyT<Ogre::Vector3>::mTension’ was declared here
         KeyT<T> key;
                 ^
/home/bcurtis/workspace/OpenMW/openmw/components/nif/nifkey.hpp:14:8: warning: ‘key.Nif::KeyT<Ogre::Vector3>::mBias’ may be used uninitialized in this function [-Wmaybe-uninitialized]
 struct KeyT {
        ^
/home/bcurtis/workspace/OpenMW/openmw/components/nif/nifkey.hpp:56:17: note: ‘key.Nif::KeyT<Ogre::Vector3>::mBias’ was declared here
         KeyT<T> key;
                 ^
/home/bcurtis/workspace/OpenMW/openmw/components/nif/nifkey.hpp:14:8: warning: ‘key.Nif::KeyT<Ogre::Vector3>::mContinuity’ may be used uninitialized in this function [-Wmaybe-uninitialized]
 struct KeyT {
        ^
/home/bcurtis/workspace/OpenMW/openmw/components/nif/nifkey.hpp:56:17: note: ‘key.Nif::KeyT<Ogre::Vector3>::mContinuity’ was declared here
         KeyT<T> key;
                 ^
It would be nice if gcc compiles without complaining for the 0.36 release.
User avatar
Zini
Posts: 5538
Joined: 06 Aug 2011, 15:16

Re: OpenMW 0.36.0

Post by Zini »

You can actually do a lot with OpenMW-CS already. At this point i is easier to list things that do not work:

- moving objects between cells
- deleting records of any kind
- any type of editing done in the 3D scene window (there are some partial implementations, but they are not ready for prime time yet)
- I think there are also some issues with dialogues still, but I am fuzzy on the details
- can't edit meta-data (author, content file description)

I am reproducing this list from memory, so it is possible that I missed something. But if that is not the case, every other editing/load/save function should work.
User avatar
Okulo
Posts: 672
Joined: 05 Feb 2012, 16:11

Re: OpenMW 0.36.0

Post by Okulo »

Sounds fantastic. That's a huge step forward, one that makes OpenMW-CS plenty usable. Just have to watch what you're doing, what with not being able to delete records, but otherwise, great!
User avatar
Greendogo
Posts: 1467
Joined: 26 Aug 2011, 02:04

Re: OpenMW 0.36.0

Post by Greendogo »

We still can't compile OpenMW using gcc for Windows yet can we? That might be a worthwhile fix; Visual Studios a pain to have installed.
User avatar
psi29a
Posts: 5362
Joined: 29 Sep 2011, 10:13
Location: Belgium
Gitlab profile: https://gitlab.com/psi29a/
Contact:

Re: OpenMW 0.36.0

Post by psi29a »

mingw cross compiler ;)
User avatar
Ace (SWE)
Posts: 887
Joined: 15 Aug 2011, 14:56

Re: OpenMW 0.36.0

Post by Ace (SWE) »

I'm planning on moving to a more VM laden future, with more than one GPU, so I can pass-through graphics into a Windows VM. Maybe I should try setting up cross-compiles when I'm at it, what could possibly go wrong?
User avatar
Zini
Posts: 5538
Joined: 06 Aug 2011, 15:16

Re: OpenMW 0.36.0

Post by Zini »

;)
K1ll
Posts: 184
Joined: 06 Aug 2011, 21:54

Re: OpenMW 0.36.0

Post by K1ll »

Greendogo wrote:We still can't compile OpenMW using gcc for Windows yet can we? That might be a worthwhile fix; Visual Studios a pain to have installed.
Just to make sure there is no duplication of work. I have a fully working mingw-w64 branch of OpenMW. I only tried it on my linux setup but i guess with just a few changes to cmake files it should probably work on windows too. Didn't know we had any demand for it so i just have it sitting around locally. If you want i can push it to my OpenMW repo.
User avatar
Greendogo
Posts: 1467
Joined: 26 Aug 2011, 02:04

Re: OpenMW 0.36.0

Post by Greendogo »

Sure, would be nice getting that to work.
Post Reply