Aller au contenu

Photo

B2B problem, unable to save resource


  • Veuillez vous connecter pour répondre
9 réponses à ce sujet

#1
Charsen

Charsen
  • Members
  • 2 266 messages
I'm trying to load a .dlg file from a B2B. I want to overwrite my copy of the .dlg with the B2B copy.  Every time I do this, I get an error: "Unable to save resource"

Here's what I did:

Checked in the original .dlg
Tools -> Builder -> Builder to Builder Load
Import checked, Create new Not checked, StringID use theirs
My import screen

Posted Image

Still getting this error. I even made a brand new module to import it, but still doesn't work. If the error message was even remotely descriptive i might be able to troubleshoot this further.
<_<

edit:
I should also mention that when I say Create New (file, not StringID) then it makes the file_3.dlg but the Root is empty -- there are no branches at all.

Modifié par Charsen, 09 mai 2010 - 03:53 .


#2
TimelordDC

TimelordDC
  • Members
  • 923 messages
Are you doing this in the Single Player module or your own module? Where was the party_events.dlg modified - in Single Player directly or in another module that extended it?

The reason - if either of the above answers is not Single Player module, the String ID range in that module (and hence, the String IDs added to the party_events dialogue) will be outside the range in your module.

Try checking 'Create New String IDs' and see if it works.


#3
Charsen

Charsen
  • Members
  • 2 266 messages
Hi Timelord -- thanks for the help here!

my party_events.dlg should be in my own module - I have it extended with Single Player:

my module properties

If i create it using New String IDs then it does work.

I checked in my logs for the toolset for details on these errors and realized the string problem was at fault because I kept getting this error:

ERROR, ".\\\\\\\\dbstring.cpp", 267, "CDBString::Add caught an exception: Stored procedure bsp_AddString not successful. The StringID you requested (157660) is already used. http://social.biowar...x.php/Error_101"
ERROR, ".\\\\\\\\dbbase.cpp", 918, "CDBBase::Write caught an exception: Could Not add new String to DB.

edit: i have also tried setting the string ranges to start at 0 and end at some absurdly high number with no success.

Modifié par Charsen, 09 mai 2010 - 04:11 .


#4
TimelordDC

TimelordDC
  • Members
  • 923 messages
You want to retain the old String IDs for the VO, I suppose? For that, you can extract the appropriate wav files and then, rename them and package them with your mod. Of course, if there cutscenes involved, it might prove problematic (I don't know for sure).



String IDs are stored in the database and are associated with a module ID. So, you will not be able to re-use string IDs already used by the Single Player campaign - even if you manually change the module properties.

The other option is to delete the conversation and then, import it (with Use Their String IDs) but again, that might prove problematic with cutscenes/stages, etc.

#5
Charsen

Charsen
  • Members
  • 2 266 messages
there's got to be another way. i have dozens of cutscenes and the VOs are all default from the original campaign. Nothing has changed except for some flags and actions, a few placements. I just want to overwrite the original party_events with the same one that was edited by another person and exported with their B2B. =/



i can't delete party_events because it's referenced by too many things. i've been able to do this before... i have never run across a problem importing a regular file from someone's B2B. =/

#6
Charsen

Charsen
  • Members
  • 2 266 messages
The problem is apparently deeper still (of course, isn't it always?)

I can't even import *any* B2B without getting this error. I've made a brand new module under the same circumstances (Extended: Single Player) and tried to import B2Bs that I know I've imported successfully before, such as Dialogue Tweaks.

Same error. I'm going to have to reinstall the toolset yet again, aren't i. =/
this is getting to be almost too frustrating to bother with, i'll be frank here.

edit.
i tried to make a backup of my own party_events.dlg and it is loading for another modder as only a Root with no branches. 
:pinched:

win7, 64bit, btw.

all of them are loading with this error:

ERROR, ".\\DatabaseImportDlg.cpp", 3323, "Could not find referenced resource bw-db://.\\BWDATOOLSET/bw_dragonage_content?resrefid=21738 for party_events.dlg"Sun May 09 01:03:44 2010, ERROR, ".\\DatabaseImportDlg.cpp", 3323, "Could not find referenced resource bw-db://.\\BWDATOOLSET/bw_dragonage_content?resrefid=21711 for party_events_test.dlg"Sun May 09 01:03:46 2010, ERROR, ".\\DatabaseImportDlg.cpp", 3323, "Could not find referenced resource bw-db://.\\BWDATOOLSET/bw_dragonage_content?resrefid=21723 for party_events_backup.dlg"Sun May 09 01:03:48 2010, ERROR, ".\\DatabaseImportDlg.cpp", 3323, "Could not find referenced resource bw-db://.\\BWDATOOLSET/bw_dragonage_content?resrefid=21745 for party_events_hold.dlg"Sun May 09 01:03:48 2010, INFO, ".\\DatabaseImportDlg.cpp", 3331, "Resource party_events_1.dlg has been imported."Sun May 09 01:03:51 2010, ERROR, ".\\dbstring.cpp", 267, "CDBString::Add caught an exception: Stored procedure bsp_AddString not successful. The StringID you requested (687981391) is already used. http://social.biowar...x.php/Error_101"Sun May 09 01:03:51 2010, ERROR, ".\\toolsoledb.cpp", 971, "Tools::DBTransaction::~Tools::DBTransaction: Abort failed."

Modifié par Charsen, 09 mai 2010 - 06:09 .


#7
Proleric

Proleric
  • Members
  • 2 361 messages
Here's something that should work. We are doing similar things on our project with GUI strings and custom VO, though I haven't tested it on an OC mod.

You can modify the string ID range in the module properties temporarily. String ID Begin and String ID End determine the valid range. String ID Last Used determines the string id for the next new string.

Back up everything first !!!

Make a new module.

Note the values in the module properties String ID Begin and String ID Last Used.

Set the module property String ID Begin to zero.

You should be able to B2B load OC material now, with "Use Existing" string ids.

Now reset String ID Begin to its original value and check that String ID Last Used is unchanged.

#8
Charsen

Charsen
  • Members
  • 2 266 messages
Still gives me the same error. =/

The problem is, i shouldn't need to do this -- i've been able to import other B2B's without editing the range before. so yet again the toolset has some problem that is going to force me to reinstall or give up.

Here's what i am trying to do.

My friend made changed some flags and conditions in party_events.dlg and made a B2B with the file.

I loaded the B2B with her party_events while mine was checked in.

Now I've done this multiple times with Dialogue Tweaks and other instances, and never had a problem. What could have suddenly screwed up?

I can't even make a B2B of my own work now. Again. Every time I make a B2B and send it to someone else, it shows up as Root with no branches because it can't import it correctly.

*edit*
F-orget it. I reinstalled the whole thing, again. 

Modifié par Charsen, 09 mai 2010 - 09:44 .


#9
Charsen

Charsen
  • Members
  • 2 266 messages
Here are some of my thoughts about the problem.



a) it could have been a module identification issue. A friend of mine (Terra_ex) had a similar issue, and suggested this as the cause. (summarized) if my module id was 4 in the import, i'd need a module id of 4 to import it to, or it will fail. Additionally it needed to be the active module.



B) when i recently uninstalled the toolset and database from my previous SQL server issue only 5-6 days ago, i noticed that for some reason it left a few folders in my Add-Ins list. Probably relates to a)



c) i linked cutscenes in my dialogue that i didn't have real tangible copies of (they were not in my old B2B from the previous crash) only exported/compiled copies, so i disassociated all of the cutscenes and was able to make a non-cutscene version of the dialogue file.



In any case, starting over again. but i have some backups so it's not horrible. i just thought i'd post this analysis for future reference.

#10
BloodsongVengeance

BloodsongVengeance
  • Members
  • 590 messages
HEY!!!



i just had this, and forget 'not being able to import' stuff. whatever had that error (dialogues, creatures, placeables) was DESTROYED in the module i tried to import to! my dialogues are empty roots, my nug creature is a naked human male, my placeable barrel is a door!



the only thing not destroyed was the area. for some reason, it created a copy of the area with a _1 appended. a blank, black, empty area.



this is NOT helpful! at least the stuff that was erased was the old versions of things. but now i can't work on it on this machine, only the other.





btw: i dont have win7 OR 64 bit. i have xp sp2 and 32 bit.



also: i used the main menu B2B create to pack eveything at once, not the right click on each thing and B2B create. does that make a difference?



::sigh::