Planetside Software Forums

General => Terragen Discussion => Topic started by: cyphyr on September 19, 2009, 02:36:39 PM

Title: Feature Req: "Consolidate Project" or "Package Project"
Post by: cyphyr on September 19, 2009, 02:36:39 PM
Off to my girlfriends for the weekend. Thought I might bring some work. When I loaded the file up I found that half the models were in different directories. My fault I know, I should have copied everything over from my various "resource" folders to the "project" folder. I don't really like doing that though as I'll end up with multiple copies of the same file. It wouldn't be so bad if I could zip up all relevant files and then bring that away with me, shouldn't be a problem working out paths and stuff.... This would also clear up all the clutter that I copied into the project folder but ended up not using.
gripe over :)
Richard
ps I know this is an "oldie but goldie"
Title: Re: Feature Req: "Consolidate Project" or "Package Project"
Post by: neuspadrin on September 19, 2009, 02:46:09 PM
Probably wouldn't be to hard to code this as an 3rd party app.  Just load in the tgd file, and scan it for every file it uses. After all with tg2 planetside was very kind in giving us simple xml to read. ;D Only hard thing I can think of is you would need to also pull model material files or something I think.... hmm..

And then once all the files were copied over into a folder, it could rewrite the tgd to have these new paths. 
Title: Re: Feature Req: "Consolidate Project" or "Package Project"
Post by: Oshyan on September 19, 2009, 06:02:31 PM
Once TG2 reads the material file, any referenced images are then in the TGD I believe. So yes you ought to be able to create a 3rd party app for this fairly easily just by parsing the TGD for path statements.

- Oshyan
Title: Re: Feature Req: "Consolidate Project" or "Package Project"
Post by: neuspadrin on September 20, 2009, 09:19:54 AM
Quote from: Oshyan on September 19, 2009, 06:02:31 PM
Once TG2 reads the material file, any referenced images are then in the TGD I believe. So yes you ought to be able to create a 3rd party app for this fairly easily just by parsing the TGD for path statements.

- Oshyan

Oh well then yes quite easy to target and copy those files over after just reading the tgd.