#1  
Old 01-08-2019, 09:03 AM
Icedragon3922 Icedragon3922 is offline
Initiate
 
Join Date: Aug 2018
Posts: 13
Default Questions Regarding Problematic DBR files

So ive been messing around with the Cataclysm mod, and ive come across something I have no clue on how to solve.

The problem arose when using GDStash and loading my shared stash of my modded characters (Cataclysm).



My next move was to go to the thread regarding GDStash as i thought it was a problem with that particular program. Ended up coming to the conclusion that the potions (I.e. XP pots, Skill points, etc) are using a template called "database/templates/oneshot_potion.tpl". I was informed that GD has other templates 'database/templates/oneshot_potionhealth.tpl' 'database/templates/oneshot_potionmana.tpl' and 'database/templates/oneshot_scroll.tpl'. Essentially the oneshot_potion.tpl is a copy of oneshot_potionhealth.tpl and its a wonder how GD even recognizes these templates to allow them to work properly in game but not in GDStash.

Examples:


In game>

GDStash>

So i was then presented with an option of either waiting till GDStash is updated and recognizes the templates OR Try to manually change the templates to the oneshot_potionhealth.tpl. So me wanting to learn more about modding decided to go with door #2. Here's where I'm stuck and just don't understand how to proceed.

Side note: I found out exactly which files need the templates changed when trying to combine Cataclysm and Omega, which is fairly easy except the previous issue I had with GDStash is now showing up in AssestManager as well.

>

So upon attempting to go in and change said template issue I get this when I try and open it.

>

and its like that for all 27 listen in the Asset Manager that couldnt load. Pretty much asking how am I to proceed further if I cant open the record to be able to change the template?
Reply With Quote
  #2  
Old 01-09-2019, 11:31 PM
mamba's Avatar
mamba mamba is offline
Praetorian
 
Join Date: Mar 2010
Posts: 11,206
Default

The .dbr is just a text file, so any text editor will do. Alternatively, add the missing template to your mod’s template directory, that should make it known to the modding tool (never tried that though...)

As to how GD recognizes it, I guess it is smart enough to parse them and figure out their meaning. GD Stash on the other hand does not parse them and decides what entry to import based on its template, so it knows about the GD templates but not about custom ones, which therefore never are imported.

Last edited by mamba; 01-09-2019 at 11:34 PM.
Reply With Quote
  #3  
Old 01-11-2019, 01:52 AM
Icedragon3922 Icedragon3922 is offline
Initiate
 
Join Date: Aug 2018
Posts: 13
Default

Well the main reason why I'm trying to figure out how to properly edit it is because when I build it and everything, seeing red tends to not sit well with me. Its just like I just want everything to run smoothly and everything communicate properly so If in the future I encounter something like this creating my own mod from scratch, I can easily troubleshoot it and everything 100%

As far as the GD Stash is concerned, Ill admit it is frustrating not being able to do anything with the potions due to the errors. I really dislike using Cheat Engine simply because the work "Cheat" is in the name. Given the nature and the possibility's GD Stash has ill agree yes it is basically cheating, but you don't HAVE to use the crafting section.

I appreciate the the reply and Ill try either one and see where it leads me
Reply With Quote
  #4  
Old 01-11-2019, 07:13 AM
Icedragon3922 Icedragon3922 is offline
Initiate
 
Join Date: Aug 2018
Posts: 13
Default

Update: So I was successful in opening them in notepad and was able to change the template. I thank you for your advice my good sir.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


Grim Dawn ©2019 Crate Entertainment, LLC.
vBulletin® 3.8.4 ©2000-2014, Jelsoft Enterprises Ltd.