OpenMW 0.28.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
dEnigma
Posts: 248
Joined: 24 Nov 2013, 21:24
Location: Hla Oad

Re: OpenMW 0.28.0

Post by dEnigma »

I have an old English version here. But I don't have the Expansion, so the highest version of Morrowind I can test is 1.2.0722 (=latest patch for morrowind without addons), which loads my non-NULL-terminated morrowind.esm just fine.

edit: when I add a null to the end I get a warning message but it still seems to work fine apart from that
Last edited by dEnigma on 26 Nov 2013, 21:02, edited 1 time in total.
User avatar
Zini
Posts: 5538
Joined: 06 Aug 2011, 15:16

Re: OpenMW 0.28.0

Post by Zini »

Even if morrowind engine can't support both styles, what holds us from doing it?
Quoting myself:
reader: Strip terminating 0 from strings.
Which means we are supporting loading content files of both styles.

But we still have to decide what style OpenCS uses when writing and the reasonable thing here is the no-terminator flavour.
User avatar
Greendogo
Posts: 1467
Joined: 26 Aug 2011, 02:04

Re: OpenMW 0.28.0

Post by Greendogo »

Why did Bethesda make the change to begin with? Is there a benefit?
User avatar
Zini
Posts: 5538
Joined: 06 Aug 2011, 15:16

Re: OpenMW 0.28.0

Post by Zini »

Nope. Entirely redundant.
User avatar
sirherrbatka
Posts: 2159
Joined: 07 Aug 2011, 17:21

Re: OpenMW 0.28.0

Post by sirherrbatka »

Forgot about morrowind compatibility :oops:

Anyway ─ I think that getting rid of the null-terminated strings is a logical step. However, Bethesda surely had any hidden intention when going for null-terminated strings. Maybe this is some sort of workaround? Also: will this break compatibility with third party tools like enchanted editor? I know that they are going to be obsolete when OpenCS start up but this is not a reason to break it.
User avatar
Zini
Posts: 5538
Joined: 06 Aug 2011, 15:16

Re: OpenMW 0.28.0

Post by Zini »

I think it won't cause any problems, since 3rd party tools must already deal with both flavours.
User avatar
Zini
Posts: 5538
Joined: 06 Aug 2011, 15:16

Re: OpenMW 0.28.0

Post by Zini »

Did look around a bit more in my Morrowind.esm file. It seems most of the strings actually are 0-terminated. There are only some cases, where the 0 is missing. The gives us an additional complication. What if MW (and 3rd party tools) require the terminating 0 here. We haven't actually seen any copy of Morrowind.esm, where no strings are 0-terminated. Right?

Maybe we should leave the CString function in, but only use non-0-terminated string variant for new records. That way we are on the safe side, even if it is less consistent.
User avatar
psi29a
Posts: 5361
Joined: 29 Sep 2011, 10:13
Location: Belgium
Gitlab profile: https://gitlab.com/psi29a/
Contact:

Re: OpenMW 0.28.0

Post by psi29a »

https://code.google.com/p/bullet/issues/detail?id=371

^--- hahahah
erwin.coumans wrote: Need to look into this soon, but how did this issue get >200 stars in no time?
erwin.coumans wrote: The normalsInWorld is set to true for btScaledBvhTriangleMesh.

OpenMW: it seems that you have some other issue related to convexCast normals, can you create a reproduction case in the Bullet/Demos/RaytestDemo and file a new issue?
^-- I think it is your turn Chris. At least they are listening to us! Cheers!
User avatar
sirherrbatka
Posts: 2159
Joined: 07 Aug 2011, 17:21

Re: OpenMW 0.28.0

Post by sirherrbatka »

http://dl-common.cvs.sourceforge.net/vi ... orrow/esm/

The string class is the EsmSubNameFix.h

From Dave Humphrey
User avatar
Mistahtokyo
Posts: 139
Joined: 07 Sep 2013, 18:31

Re: OpenMW 0.28.0

Post by Mistahtokyo »

Not sure how many people have noticed yet, but it seems the bullet issue has been resolved! :)
Post Reply