Search found 511 matches

by cc9cii
21 Feb 2014, 22:54
Forum: Organisation and Planning
Topic: OpenMW 0.29.0
Replies: 296
Views: 59273

Re: OpenMW 0.29.0

Here is the diff against 29 branch: apps/openmw/engine.cpp | 5 ++++- apps/openmw/mwstate/statemanagerimp.cpp | 2 +- components/esm/esmwriter.cpp | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/apps/openmw/engine.cpp b/apps/openmw/engine.cpp index e80bd95..0975778 100644 --- a/ap...
by cc9cii
21 Feb 2014, 20:48
Forum: Organisation and Planning
Topic: OpenMW 0.29.0
Replies: 296
Views: 59273

Re: OpenMW 0.29.0

I'll summarise the changes I made against 0.29 branch. Screenshot seems to work for me?

Image
Image

Or did you mean in-game one?
by cc9cii
21 Feb 2014, 14:51
Forum: Organisation and Planning
Topic: OpenMW 0.29.0
Replies: 296
Views: 59273

Re: OpenMW 0.29.0

So here is a crazy thing. I go through the chargen process right up to the final door. I then hit F2 and set chargenstate to -1. Save. Go outside the door and save again. The save from inside is ok but the save from outside is not. (still none of them will load properly) I'll try the binary mode now...
by cc9cii
21 Feb 2014, 14:42
Forum: Organisation and Planning
Topic: OpenMW 0.29.0
Replies: 296
Views: 59273

Re: OpenMW 0.29.0

gus wrote:did you try binary mode? Because it does work on my computer.
sorry, please remind me how to try binary mode
by cc9cii
21 Feb 2014, 14:26
Forum: Organisation and Planning
Topic: OpenMW 0.29.0
Replies: 296
Views: 59273

Re: OpenMW 0.29.0

I backed out gus's suggsted change on page 9 of this thread and that particular issue doesn't happen any more. I've discovered that the savefile generated inside the prison ship (debug or release version with int changed to uint32_t) does not have "0D0A" for the size of "PLCE". However the release v...
by cc9cii
21 Feb 2014, 13:25
Forum: Organisation and Planning
Topic: OpenMW 0.29.0
Replies: 296
Views: 59273

Re: OpenMW 0.29.0

Release version has the same issue. But I noticed that a savefile that had only a few entries in it (because I aborted it during debugging) does not have the issue. I'm wondering now whether the file get over-written with junk later. I'll step through the save part once more. EDIT: debug save result...
by cc9cii
21 Feb 2014, 13:00
Forum: Organisation and Planning
Topic: OpenMW 0.29.0
Replies: 296
Views: 59273

Re: OpenMW 0.29.0

Found something: In esmwriter.hpp: struct RecordData { std::string name; std::streampos position; size_t size; }; And then in esmwriter.cpp, ESMWriter::endRecord: write (reinterpret_cast<const char*> (&rec.size), sizeof(int)); The size of size_t is usually not equal the size of an int on the 64 bit...
by cc9cii
21 Feb 2014, 12:57
Forum: Organisation and Planning
Topic: OpenMW 0.29.0
Replies: 296
Views: 59273

Re: OpenMW 0.29.0

I don't see a pattern. There are some topics ("TOPI") with "0D0A0000" as the size while other topics are fine.

The one with odd size has string "ackground" which I've never seen in years of playing morrowind. So it doesn't seem to be consistent.

I'll keep looking.
by cc9cii
21 Feb 2014, 12:35
Forum: Organisation and Planning
Topic: OpenMW 0.29.0
Replies: 296
Views: 59273

Re: OpenMW 0.29.0

Actually that sequence is littered throughout the save file (which is probably why it doesn't load). Is there a good savefile I can try? I don't want to create a linux VM just to get a savefile made. (well, maybe later) I guess I'll start stepping through this: void ESMWriter::startSubRecord(const s...
by cc9cii
21 Feb 2014, 12:15
Forum: Organisation and Planning
Topic: OpenMW 0.29.0
Replies: 296
Views: 59273

Re: OpenMW 0.29.0

With hacked size with a binary editor I can get to the load screen: http://i872.photobucket.com/albums/ab289/cc9cii/Load-success.jpg But notice the malformed cell name: http://i872.photobucket.com/albums/ab289/cc9cii/Load-cell-incorrect.jpg The save game doesn't actually load :cry: I will need someo...