Author : Lonewolf


Reply
Reply
 
Thread Tools Display Modes
Jeff Parrott's Avatar
Old (#1)
So I have a Photoshop action to save a PSD as a TGA and other image formats. It's cool, quick and all. The bad thing is that once I switch to a new level set I have to reset it to that path. Is there anyway to have it be relative file path instead of absolute? So it'll just save like in PSD folder then up folder up instead of the whole path? Thanks for any help.
Offline , veteran polycounter, 2,950 Posts, Join Date Oct 2004, Location Orlando, FL Send a message via AIM to Jeff Parrott Send a message via Skype™ to Jeff Parrott  
   Reply With Quote

HarlequiN's Avatar
Old (#2)
I've actually written a script that does pretty much what you want here (and a whole lot more).

Unfortunately thanks to the way my contract is It's owned by THQ, even though I wrote it at home in my own time. I'll see about geting permission to release it publicly next week, but I don't know how long they take to process the release forms, or whether they'll clear it at all.

I'll let you know if I have any luck.
Offline , spline, 246 Posts, Join Date Oct 2004, Location Champaign IL  
   Reply With Quote

MoP's Avatar
Old (#3)
It would be awesome if you could publically release that, I know it'd come in handy for a whole bunch of people...
Offline , MoP, 11,604 Posts, Join Date Oct 2004, Location London, UK  
   Reply With Quote

HarlequiN's Avatar
Old (#4)
Yeah, I've been meaning to file the form for about 6 months but never got around to it, now someone's asked about it I guess it's time to pull my thumb out - heh.

It only saves TGA's, but has a command line interface, so you can run the TGA through a command line controlled file converter (such as ImageMagick or LEAD) to result in whatever format you want. In theory anyway, I've never tried it [img]/images/graemlins/smile.gif[/img]

If anyone wants more infomration on what the script can do (it's pretty hefty) then let me know and I'll run down the features - but perhaps I should wait until I get permission to release it. If permission for release is denied then I'll have whet your appetite for nothing, heh.
Offline , spline, 246 Posts, Join Date Oct 2004, Location Champaign IL  
   Reply With Quote

Jeff Parrott's Avatar
Old (#5)
Wow Harle that's awesome! I'd definately appreciate it if you can release that publically.
Offline , veteran polycounter, 2,950 Posts, Join Date Oct 2004, Location Orlando, FL Send a message via AIM to Jeff Parrott Send a message via Skype™ to Jeff Parrott  
   Reply With Quote

sprunghunt's Avatar
Old (#6)
[ QUOTE ]
Is there anyway to have it be relative file path instead of absolute? So it'll just save like in PSD folder then up folder up instead of the whole path? Thanks for any help.

[/ QUOTE ]

I solve this problem by checking the 'dialog box' setting on the save sub-action. This makes it pop up a dialog that let's you choose the path that you want to save in. I guess it doesn't help as much as just making the path relative though.
---------------------------------------
sci-fi base
Robot Hunters Room
CER level
Offline , polycounter, 1,293 Posts, Join Date Apr 2005, Location Massachusetts  
   Reply With Quote

HarlequiN's Avatar
Old (#7)
Well, I got permission to release this, and a bunch of other scripts as well.

I need to make some minor changes to them for legal reasons (ensuring there's no references to NDA stuff, that sort of thing), and write up some documentation, but I should have them available in the next week or so.
Offline , spline, 246 Posts, Join Date Oct 2004, Location Champaign IL  
   Reply With Quote

MoP's Avatar
Old (#8)
That's great news, thanks Harl! [img]/images/graemlins/smile.gif[/img]
Offline , MoP, 11,604 Posts, Join Date Oct 2004, Location London, UK  
   Reply With Quote

Jeff Parrott's Avatar
Old (#9)
Can't wait Harl!
Offline , veteran polycounter, 2,950 Posts, Join Date Oct 2004, Location Orlando, FL Send a message via AIM to Jeff Parrott Send a message via Skype™ to Jeff Parrott  
   Reply With Quote

cw's Avatar
Old (#10)
I was gonna volunteer, i have things like this at work to save time and can knock up photoshop scripts reasonably quickly, but seeing as someone beat me to it, now I will wait and see what goodies he has got for us [img]/images/graemlins/laugh.gif[/img]

nice one harlequin! [img]/images/graemlins/smile.gif[/img]
Creative Assembly
Total War
Creature doodles
Offline , polycounter, 777 Posts, Join Date Jan 2006, Location UK  
   Reply With Quote

HarlequiN's Avatar
Old (#11)
vTools: Scripts for Photoshop

Sorry for the delay on this. RL got in the way a little [img]/images/graemlins/smile.gif[/img]

Think it's all good to go, but it's pretty early in the morning, so if something seems iffy let me know, I may have messed something up [img]/images/graemlins/wink.gif[/img].
Offline , spline, 246 Posts, Join Date Oct 2004, Location Champaign IL  
   Reply With Quote

silversteez's Avatar
Old (#12)
thanks very much for this--i love it. works great.
Character Artist, THQ
mattsilverstein.com
Offline , line, 65 Posts, Join Date Sep 2006, Location San Diego, CA  
   Reply With Quote

Jeff Parrott's Avatar
Old (#13)
Awesome Harle! Huge thanks man. It works great.
Offline , veteran polycounter, 2,950 Posts, Join Date Oct 2004, Location Orlando, FL Send a message via AIM to Jeff Parrott Send a message via Skype™ to Jeff Parrott  
   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

Copyright 1998-2012 A. Risch