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
OpenMW 0.28.0
Re: OpenMW 0.28.0
Last edited by dEnigma on 26 Nov 2013, 21:02, edited 1 time in total.
Re: OpenMW 0.28.0
Quoting myself:Even if morrowind engine can't support both styles, what holds us from doing it?
Which means we are supporting loading content files of both styles.reader: Strip terminating 0 from strings.
But we still have to decide what style OpenCS uses when writing and the reasonable thing here is the no-terminator flavour.
Re: OpenMW 0.28.0
Why did Bethesda make the change to begin with? Is there a benefit?
- sirherrbatka
- Posts: 2159
- Joined: 07 Aug 2011, 17:21
Re: OpenMW 0.28.0
Forgot about morrowind compatibility
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.
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.
Re: OpenMW 0.28.0
I think it won't cause any problems, since 3rd party tools must already deal with both flavours.
Re: OpenMW 0.28.0
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.
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.
- psi29a
- Posts: 5361
- Joined: 29 Sep 2011, 10:13
- Location: Belgium
- Gitlab profile: https://gitlab.com/psi29a/
- Contact:
Re: OpenMW 0.28.0
https://code.google.com/p/bullet/issues/detail?id=371
^--- hahahah
^--- hahahah
erwin.coumans wrote: Need to look into this soon, but how did this issue get >200 stars in no time?
^-- I think it is your turn Chris. At least they are listening to us! Cheers!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?
- sirherrbatka
- Posts: 2159
- Joined: 07 Aug 2011, 17:21
Re: OpenMW 0.28.0
http://dl-common.cvs.sourceforge.net/vi ... orrow/esm/
The string class is the EsmSubNameFix.h
From Dave Humphrey
The string class is the EsmSubNameFix.h
From Dave Humphrey
- Mistahtokyo
- Posts: 139
- Joined: 07 Sep 2013, 18:31
Re: OpenMW 0.28.0
Not sure how many people have noticed yet, but it seems the bullet issue has been resolved!