Closed GoogleCodeExporter closed 9 years ago
Time to find out if can run TES4Edit on my machine!
Original comment by HuguesLe...@gmail.com
on 16 Jun 2013 at 8:42
First issue, the Cell is not showing up as the first SubRecord. Looks like its
a new issue since 3.30 ! (didn't take long :) )
Original comment by HuguesLe...@gmail.com
on 16 Jun 2013 at 8:50
Issue confirmed ! Looks like the array indexes are totally wrong on save, so it
might be as old a my very first changes. I will try to find which version
tomorrow.
At least copy as override looks ok.
Original comment by HuguesLe...@gmail.com
on 16 Jun 2013 at 8:56
Now that's disturbing :)
Original comment by zila...@gmail.com
on 16 Jun 2013 at 8:56
Btw Cell is not a real subrecord, it is artificial to allow moving cell child
records between cells. It should never be sorted, however don't know for sure,
never checked source code for that part.
Original comment by zila...@gmail.com
on 18 Jun 2013 at 7:37
I know, but the change to sorting subrecord was part of 3.30 and the issue
appeared with 3.31!
Original comment by HuguesLe...@gmail.com
on 19 Jun 2013 at 7:43
OK. That whole Cell thing ? False alert. I was'nt using the correct source
project :(
Back to looking at Copy as Override.
Original comment by HuguesLe...@gmail.com
on 19 Jun 2013 at 8:45
Strange that it happens only with PGRR, array of dynamic sorted arrays. Perhaps
that's the only subrecord that has such structure among all definitions. Or
perhaps wbCalcPGRRSize function fails when saving.
Original comment by zila...@gmail.com
on 20 Jun 2013 at 9:04
It's an unsorted array of a sorted array of integer.
The displayed issue is obviously that array count of the outer array do not
match the original count, but the "concatenation" of all the inner array
content is ok.
Original comment by HuguesLe...@gmail.com
on 20 Jun 2013 at 10:55
So, it looks to me that the issue is NOT is the copying, but in the array count
callback.
Basically, oblivion.esm displays far less points in PGRR compared to what is
specified in PGRP.
Original comment by HuguesLe...@gmail.com
on 26 Jun 2013 at 8:22
The error comes from the optimization I did on not recalculating the count of
an array whose size we already know. The callback assumes it is called on each
iteration of the counting. The good news is I can extract the index from the
label (as in Point #1), but of course this might later break if the array
becomes sorted.
Original comment by HuguesLe...@gmail.com
on 26 Jun 2013 at 8:36
The fnny part is I think Copy as Override was in fact correcting the display
issue from oblivion.esm !
I am also changing the point type to itS16 from itU16 as "evidenced" by Point
#18 of 00030BC9
Assumed solved as of r1347
Original comment by HuguesLe...@gmail.com
on 26 Jun 2013 at 8:53
Original comment by HuguesLe...@gmail.com
on 27 Jun 2013 at 5:58
Original issue reported on code.google.com by
zila...@gmail.com
on 16 Jun 2013 at 5:25