Editing tgd

Started by mindsap, January 01, 2011, 07:17:09 PM

Previous topic - Next topic

mindsap

I have a problem with a paint shader that when I started to use the erase tool it caused TG to crash.  Then when I went to reload my tgd it caused TG to crash again.  I read someware that if I edit my tgd file (go in and edit the TGD and remove the Painted Shader stroke data.) It may fix this.   My problem is  how do you do this if you can't open the tgd file?
Once a King always a King but once a night is enough...

jaf

Open it with a text editor -- notepad will work fine.  Search for this: "<painted_shader" without the quotes.  Highlite from that, the start of the painted shader, to the end "</painted_shader>" (again, without the quotes) and delete.

I'm doing this from memory since I'm running a render right now.
(04Dec20) Ryzen 1800x, 970 EVO 1TB M.2 SSD, Corsair Vengeance 64GB DDR4 3200 Mem,  EVGA GeForce GTX 1080 Ti FTW3 Graphics 457.51 (04Dec20), Win 10 Pro x64, Terragen Pro 4.5.43 Frontier, BenchMark 0:10:02

choronr

Another thought; after you first open the .tgd again, immediately 'pause' the 'preview window'. Then, go to your node view; select the painted shader and delete it. Hope this works.

mindsap

I tried what you said jaf and when I opened up the tgd it was empty. Very strange.  I don't know what happened to the content.  But you were right about using notepad to edit the tgd file.  It worked fine on other tgds I have.  I guess I will have to start over again from scratch.  Thanks for you help.
Once a King always a King but once a night is enough...

Dune

If you post your tgd, maybe someone else can save it without the painted shader...