SaveScum / skyrim-plugin-decoding-project

Automatically exported from code.google.com/p/skyrim-plugin-decoding-project
0 stars 0 forks source link

FNVEDIT Fails to copy BPDT into another file. #164

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Attempt to copy a BPDT record into another file, empty or not, or
2. Attempt to copy a BPDT as a new record into another file, or into the same 
file, then
3. Receive an error.

What is the expected output?
It should work like it used to, no issues.

What do you see instead?
This: Assertion failure (D:\Projects\TES5Edit\wbImplementation.pas, line 4994)

What version of the product are you using? On what operating system?
FNVEdit 3.0.32 x1579 Win7 64bit

Please provide any additional information below.

The only work around I found is after the Assertion Failure, it leaves behind a 
copy of the record in the other file, but only the EDID and Model subrecords 
contain data, everything in the Body Parts section has been deleted. Trying to 
drag all of the information over to the Body Parts subrecord throws the same 
Assertion Failure. Right clicking on the Body Parts and selecting add works, 
and from there I can drag everything over and it works with no issues.

This never happened with previous versions, but I haven't needed to copy BPDT 
records since 3.0.21 so I cannot say when it broke.

I saved the bug report as an attachment.

Original issue reported on code.google.com by harkness...@yahoo.com on 21 May 2014 at 12:04

Attachments:

GoogleCodeExporter commented 9 years ago
I think there were some changes in BPTD for FNV recently.

Original comment by zila...@gmail.com on 21 May 2014 at 4:38

GoogleCodeExporter commented 9 years ago
Some time ago we changed 'Body Parts' to a RUnion to avoid some erros displayed 
by the vanilla FalloutNV.esm. Now TwbMainRecord.Assign expects all 
SubRecordUnion to contain Records with signature, which is not the case here.
I'll work around that to select the proper member in the RUnion.

Original comment by HuguesLe...@gmail.com on 21 May 2014 at 11:20

GoogleCodeExporter commented 9 years ago
I cannot find a proper way to select a RUnion member. I could change it to a 
real union but that would generate other issues. Turns out splitting the RUnion 
into 2 non mandatory RStructS works.

Original comment by HuguesLe...@gmail.com on 21 May 2014 at 8:51

GoogleCodeExporter commented 9 years ago
Strange, this is not the only place where wbRUnion is used.

Original comment by zila...@gmail.com on 22 May 2014 at 8:22

GoogleCodeExporter commented 9 years ago
But that's the only place they are used without signature in a MainRecord.
The other use of a RUnion without signature is in LAND, where it selects 
Members[0] on assign.
I tried defaulting to that for Body parts, but trying to copy "unnamed body 
part" would CTD.

I think the fact that, in LAND, all members have the same count of elements 
makes it possible to copy LAND records without issue. That's the obvious 
difference I saw.

Original comment by HuguesLe...@gmail.com on 22 May 2014 at 11:28

GoogleCodeExporter commented 9 years ago

Original comment by HuguesLe...@gmail.com on 22 May 2014 at 11:29

GoogleCodeExporter commented 9 years ago
Also used in TES5 quest aliases, but they have the same amount of elements too 
and work fine.

Original comment by zila...@gmail.com on 22 May 2014 at 11:55

GoogleCodeExporter commented 9 years ago
Why didn't I closed that ?

Original comment by HuguesLe...@gmail.com on 9 Sep 2014 at 11:20

GoogleCodeExporter commented 9 years ago

Original comment by HuguesLe...@gmail.com on 12 Sep 2014 at 11:25