When I try to load a b2b made by a friend, I get
E: 21:21:10 - Could not find referenced resource bw-db://.\\BWDATOOLSET/bw_dragonage_content?resrefid=21703 for cli400st_riordan.stg
After that the file appears checked out but without the changes that I wanted to import it for; or in the case of custom content, the file appears but is empty. This happens with some files, but not with others. I can't see a rule.
No combination of options on the load window that I tried had results. I tried creating new, using new stringIDs, showing all dependents - the same error in all cases.
Does anyone know how I can make it work? Or if there's something my friend can do differently when making the b2b to avoid this error? Thanks.
B2B Load error: Could not find referenced resource
Débuté par
Lady Olivia
, avril 17 2010 07:39
#1
Posté 17 avril 2010 - 07:39
#2
Posté 12 septembre 2010 - 02:05
Ummm... sorry to bring this back up. I'm kinda hoping that during the many months since I posted the question, maybe someone learned an answer?
It would be also comforting to know if there are others who experienced the same problem, I find it hard to believe I'm the only one, but if I am, maybe I should look into the set-up of my toolset/database?
I have something to add to the description, too: before I got the error when importing core files, now I encountered it when importing a brand new, custom file.
If I can't get this to work... it will be a major problem for the project I'm working on. So, please, please, if you have any ideas, help me.
It would be also comforting to know if there are others who experienced the same problem, I find it hard to believe I'm the only one, but if I am, maybe I should look into the set-up of my toolset/database?
I have something to add to the description, too: before I got the error when importing core files, now I encountered it when importing a brand new, custom file.
If I can't get this to work... it will be a major problem for the project I'm working on. So, please, please, if you have any ideas, help me.
Modifié par Lady Olivia, 12 septembre 2010 - 02:05 .
#3
Posté 13 septembre 2010 - 02:13
I don't usually get that problem with stages, but I do with plots. I'm thinking that perhaps all dependent resources have to be included as well. But that is just a supposition. I'd be happy to do a toolset test with you to find out for sure.
#4
Posté 13 septembre 2010 - 03:30
Count me in as someone that's annoyed with this issue as well. I'm also in agreement with satans_karma that it appears to be related to dependent resources that aren't available.
#5
Posté 13 septembre 2010 - 05:00
After a lot of trial-and-error, I'd say we understand this now.
The error message occurs when you try to load a resource with dependencies which only exist on the B2B file.
The remedy is to check in the resource, delete it, do the B2B load again, use the Show Dependants button, then select both the resource and its dependents.
Caution - the master copy of some of the dependents may already be on the target data base. Example : an area and contents are sent to a cutscene builder, who sends back a B2B file with the cutscene and one new resource - we only want to load these two resources, because meanwhile the area and contents might have been updated.
One safety strategy is to check out all resources on the target data base before attempting the B2B load. By default, it won't try to overwrite checked out resources.
The behaviour when a resource is loaded with missing dependents is a special case of a more general issue with how B2B behaves when it can create a new resource but cannot populate it successfully. You'll see that there's some debate about whether this is a bug or a feature.
The error message occurs when you try to load a resource with dependencies which only exist on the B2B file.
The remedy is to check in the resource, delete it, do the B2B load again, use the Show Dependants button, then select both the resource and its dependents.
Caution - the master copy of some of the dependents may already be on the target data base. Example : an area and contents are sent to a cutscene builder, who sends back a B2B file with the cutscene and one new resource - we only want to load these two resources, because meanwhile the area and contents might have been updated.
One safety strategy is to check out all resources on the target data base before attempting the B2B load. By default, it won't try to overwrite checked out resources.
The behaviour when a resource is loaded with missing dependents is a special case of a more general issue with how B2B behaves when it can create a new resource but cannot populate it successfully. You'll see that there's some debate about whether this is a bug or a feature.
#6
Posté 15 septembre 2010 - 12:03
Thank you Proleric1; I just tried it and it seems to have worked.
#7
Posté 15 septembre 2010 - 02:47
When a B2B is created, does the creator have to make sure to include all dependent resources or does the creation process do this automatically?
#8
Posté 15 septembre 2010 - 08:14
The dependent resources are generated automatically.
However, IIRC the resources you select explicitly when creating the B2B appear on the load screen even if the recipient doesn't Show Dependents, and are selected for load by default.
So, for example, if someone makes a cutscene with one additional new resource, by selecting both of those resources when making the B2B, they reduce the risk that the recipient will encounter this error.
However, IIRC the resources you select explicitly when creating the B2B appear on the load screen even if the recipient doesn't Show Dependents, and are selected for load by default.
So, for example, if someone makes a cutscene with one additional new resource, by selecting both of those resources when making the B2B, they reduce the risk that the recipient will encounter this error.
#9
Posté 15 septembre 2010 - 10:57
That explains why it takes so long to generate a Builder to Builder file for only two or three items; it's actually including all dependent files, even if you may not want to include them.
#10
Posté 17 septembre 2010 - 06:18
Thank you all for your replies. I feel a bit better now. And a bit more hopeful.
Do you mean... all the dependents? The whole score of core files, which surely haven't been touched by the cutscene author? That makes me twitchy.
I'm asking because I followed your instructions - but didn't check any of the core dependents, just the new ones - and I got the same error as before.
If I import a resource, it will get checked-out. If I then undo the check-out, that reverts the file to the version prior to importing, right? If that's so, then it's safe to import everything, then revert it back to the way it was?
Since we're at it, the usage of "dependent" confuses me. When I "Show Dependents", am I showing the files that my cutscene depends on (which is what I think it means), or do all these files somehow depend on my cutscene (which makes no sense but it doesn't hurt to ask)?
Proleric1 wrote...
The remedy is to check in the resource, delete it, do the B2B load again, use the Show Dependants button, then select both the resource and its dependents.
Do you mean... all the dependents? The whole score of core files, which surely haven't been touched by the cutscene author? That makes me twitchy.
I'm asking because I followed your instructions - but didn't check any of the core dependents, just the new ones - and I got the same error as before.
If I import a resource, it will get checked-out. If I then undo the check-out, that reverts the file to the version prior to importing, right? If that's so, then it's safe to import everything, then revert it back to the way it was?
Since we're at it, the usage of "dependent" confuses me. When I "Show Dependents", am I showing the files that my cutscene depends on (which is what I think it means), or do all these files somehow depend on my cutscene (which makes no sense but it doesn't hurt to ask)?
#11
Posté 17 septembre 2010 - 07:43
There should be module numbers for any newly added content (I'm not at the toolset at the moment so I can't tell you what columns they are) that are displayed as part of the B2B file; sort the dependents by those to make sure you see all the new files to be imported. Sometimes you will need to figure out what default resource might have been modified, as not everyone changes the ownership of core resources to their module.
#12
Posté 17 septembre 2010 - 11:32
Right, thanks. I'll chime in when I try it out again.
#13
Posté 18 septembre 2010 - 10:05
No, I don't mean all the dependents. Certainly not the core files, or any custom resources for which you hold the master copy.Lady Olivia wrote...
Thank you all for your replies. I feel a bit better now. And a bit more hopeful.Proleric1 wrote...
The remedy is to check in the resource, delete it, do the B2B load again, use the Show Dependants button, then select both the resource and its dependents.
Do you mean... all the dependents? The whole score of core files, which surely haven't been touched by the cutscene author? That makes me twitchy.
I'm asking because I followed your instructions - but didn't check any of the core dependents, just the new ones - and I got the same error as before.
If I import a resource, it will get checked-out. If I then undo the check-out, that reverts the file to the version prior to importing, right? If that's so, then it's safe to import everything, then revert it back to the way it was?
Since we're at it, the usage of "dependent" confuses me. When I "Show Dependents", am I showing the files that my cutscene depends on (which is what I think it means), or do all these files somehow depend on my cutscene (which makes no sense but it doesn't hurt to ask)?
The error message tells you the ResRefID of the missing resource, so you can try loading just the main resource and the missing one. That might result in another error message identifying a different missing resource, so keep trying until you've included all of them. (Obviously, if you can anticipate what needs to be included, so much the better).
Can you see the ResRefID of the reported missing resource on the file?
If you check in everything prior to the load, you should be able to undo it as you suggest. It's always wise to back up the data base before doing major changes, though, just in case.
You've correctly understood "dependent". The use of the term in DAO is archaic - it means the resources on which your cutscene depends, i.e. the components. A more modern term would be "dependency".
#14
Posté 26 septembre 2010 - 01:28
I tried adding one missing resource after another, like you said, although they are all Single Player files that might have been used, but were certainly not modified. Anyway, after 5 load attempts, the toolset stopped reporting "new" missing resources, and still could not succeed. To illustrate:
First I checked the main resource. The toolset said: can't find 12116
Then I checked the main resource and 12116. The toolset said: can't find 3264 and 4187
Then I checked the main resource and 12116 and 3264 and 4187. The toolset said: can't find 2830
And so on, until there were no more new reports. At this point 2 out of 6 requested resources could be loaded, but the main resource wasn't one of the two.
All of these experiments were done on a very clean, recently reset remote database.
So I tried to import the same dadbdata into my local database, and the import worked with no error reports! And none of the "missing resources" were imported/checked out. What gives? Obviously it's something on the receiving end, but what?
First I checked the main resource. The toolset said: can't find 12116
Then I checked the main resource and 12116. The toolset said: can't find 3264 and 4187
Then I checked the main resource and 12116 and 3264 and 4187. The toolset said: can't find 2830
And so on, until there were no more new reports. At this point 2 out of 6 requested resources could be loaded, but the main resource wasn't one of the two.
All of these experiments were done on a very clean, recently reset remote database.
So I tried to import the same dadbdata into my local database, and the import worked with no error reports! And none of the "missing resources" were imported/checked out. What gives? Obviously it's something on the receiving end, but what?
Modifié par Lady Olivia, 26 septembre 2010 - 01:29 .
#15
Posté 27 septembre 2010 - 07:46
We've had some path-related issues with the toolset in the past, so I always advise installing everything in the default folders. I'm not sure how well it works with a remote database, for example.
#16
Posté 27 septembre 2010 - 10:23
Most things worked fine with the remote database so far (well, except importing B2Bs), only certain operations are prohibitively slow. Like cutscene editing. It's why the author makes them in his local database.
I'm giving up on this for now. The way we'll do what needs be done is this: I'll make empty cutscenes so I can use the references, then when we're ready to pack the mod, we'll replace the exports from the dummy resources with the exports from the "real" ones. Not very nice, but I ran out of nerves.
If any of you nice people ever find more information about this, please tell me, here or in a pm. Many thanks.
I'm giving up on this for now. The way we'll do what needs be done is this: I'll make empty cutscenes so I can use the references, then when we're ready to pack the mod, we'll replace the exports from the dummy resources with the exports from the "real" ones. Not very nice, but I ran out of nerves.
If any of you nice people ever find more information about this, please tell me, here or in a pm. Many thanks.





Retour en haut






