Tue, Nov 26, 12:21 PM CST

Renderosity Forums / Poser - OFFICIAL



Welcome to the Poser - OFFICIAL Forum

Forum Coordinators: RedPhantom

Poser - OFFICIAL F.A.Q (Last Updated: 2024 Nov 26 6:57 am)



Subject: Batch renaming of bits inside Poser files?! Possible?


TrekkieGrrrl ( ) posted Thu, 20 September 2007 at 9:49 AM · edited Tue, 26 November 2024 at 12:21 PM

I have a bunch of files where I need to change a lot of texture references from .PNG to .jpg.

Of course, I could open each file and do a Search-and-replace, but it struck me that there just might be a program that could do that in one go. Kinda like what Correct Reference does.

Or CAN CR do it? I do have the Pro version but I don't even know what to look for there?

Help, please!

FREEBIES! | My Gallery | My Store | My FB | Tumblr |
You just can't put the words "Poserites" and "happy" in the same sentence - didn't you know that? LaurieA
  Using Poser since 2002. Currently at Version 11.1 - Win 10.



Ghostofmacbeth ( ) posted Thu, 20 September 2007 at 10:04 AM

Yes it is possible. I am on a Mac so I am not sure of the best text editing program for a PC but I do it all the time in BBEdit. There has to be one of them that does batch editing. I am not sure about CR though. Sorry.



TrekkieGrrrl ( ) posted Thu, 20 September 2007 at 10:10 AM

Thanks. Now I just need to go buy me a Mac ;o)

Hmm that gives me hope at least.

If all else fails, perhaps you could help me with the renaming? For a fee, of course.

FREEBIES! | My Gallery | My Store | My FB | Tumblr |
You just can't put the words "Poserites" and "happy" in the same sentence - didn't you know that? LaurieA
  Using Poser since 2002. Currently at Version 11.1 - Win 10.



grichter ( ) posted Thu, 20 September 2007 at 10:19 AM

I am on a Mac and  use text wrangler. http://www.barebones.com/products/textwrangler/index.shtml
It's free

I assume you are on a PC and I assume some mac users are going to read this post...so I thought it wouldn't hurt to post an alternative solution. There has to be like products that are freeware or shareware for PC's like textwrangler. Not being a PC person google on the words without the quotes "PC mass replace text" and you will get a long list of freeware looking apps it appears to me that seem to do what textwrangler does but for a PC.

I just copy the files to a new folder (keeping the originals in case I make a mistake and need to start over). Select all the files in the finder and Cmd-O to open them all. In the find and replace it has a option to do the find a replace across all open files, save them as you go automatically, so you don't have to save each file one at a time, reports back what it did, etc. Fast easy and simple to do.

There is another program I use for file names called MassReplaceIt.
http://www.hexmonkeysoftware.com/
It is also supposed to go inside the file and do what text wrangler does. But since it is not a text editor and I can see or verify the changes inside the file with MassReplaceIt, I only use it for file names. Really slick for removing all those multi !!! or ! ! ! some artists put in the front of their pz2 to the point you can't read what the full file name is on the Library pallet. I use it to remove spaces in pz2's and make the names of the files readable in lenght and meaning to me all the time.

Gary

"Those who lose themselves in a passion lose less than those who lose their passion"


Indoda ( ) posted Thu, 20 September 2007 at 10:36 AM

Hi TG I use BK ReplaceEm for that type of work http://www.orbit.org/replace/ Freeware - does a great job of replacing jpg with png or even removing .jpg " to .jpg" Sometimes quicker than CRPro for long runs of text replacement, of course, it only works on uncompressed files. You can create groups of replacements that you likely to run more than once too Hope it works for you, Indoda

The important thing is not to stop questioning.
- Albert Einstein

Indoda


mwafarmer ( ) posted Thu, 20 September 2007 at 12:36 PM

You don't say how many files, but TextPad will happily handle twenty (that's how many I've done it with).

Mike


nghayward ( ) posted Thu, 20 September 2007 at 2:03 PM

Free version of Editpad has an option to search and replace in all open files (I'm not sure how many you can open)


MatrixWorkz ( ) posted Thu, 20 September 2007 at 5:24 PM

I use a program that came from WinCustomise with my Window Blinds or one of their other products called "Object Edit". It's basically a Large file text editor. I simply go to edit and replace and it will replace all occurances or just the one's you want.

My Freebies


TrekkieGrrrl ( ) posted Thu, 20 September 2007 at 6:18 PM

Thanks guys! I'll try some of the suggestions and let you know what works best.

There are more than 20 files, but I don't need to open them all in one go of course. :o)

FREEBIES! | My Gallery | My Store | My FB | Tumblr |
You just can't put the words "Poserites" and "happy" in the same sentence - didn't you know that? LaurieA
  Using Poser since 2002. Currently at Version 11.1 - Win 10.



nruddock ( ) posted Thu, 20 September 2007 at 6:30 PM

I usually use one of the utilities that comes with PERL for this sort of thing (but then I'm used to command line stuff).


estherau ( ) posted Thu, 20 September 2007 at 9:49 PM

i'm on a mac and massreplaceit is great. i could just drag and drop a whole runtime into it i think. love esther there is a website called rentacoder if you ever need a little script done

MY ONLINE COMIC IS NOW LIVE

I aim to update it about once a month.  Oh, and it's free!


Arien ( ) posted Fri, 21 September 2007 at 2:47 AM

I second the recommendation for TextPad, and I think I've done around 50 at some point or other. Just open all of them and make sure you choose "all files" for the replacement.

My store


EnglishBob ( ) posted Fri, 21 September 2007 at 5:30 AM

Attached Link: http://www.crimsoneditor.com/

Need another suggestion? ;) Crimson Editor can also do the search/replace in all open files trick. I'm not sure what the limit is on open files: never found it yet.


12rounds ( ) posted Fri, 21 September 2007 at 9:57 AM

Attached Link: http://gnuwin32.sourceforge.net/packages/gsar.htm

I'm a command-line kind of guy myself, so it's natural for me to resort things like "Gsar" which is a Unix port. Gsar=General Search And Replace. It has no limits and can go thru your whole Runtime if you so desire.


TrekkieGrrrl ( ) posted Fri, 21 September 2007 at 2:52 PM

I ended up trying the BK ReplaceEm as the first - and only one. Because that did exactely what I needed it to do, even inside the .ds ascii files :o))))

So thanks for the tip about that program! I can't believe it's free! It's truly awesome!

And thanks for the other suggestions as well, even if I didn't use them :o)

FREEBIES! | My Gallery | My Store | My FB | Tumblr |
You just can't put the words "Poserites" and "happy" in the same sentence - didn't you know that? LaurieA
  Using Poser since 2002. Currently at Version 11.1 - Win 10.



Privacy Notice

This site uses cookies to deliver the best experience. Our own cookies make user accounts and other features possible. Third-party cookies are used to display relevant ads and to analyze how Renderosity is used. By using our site, you acknowledge that you have read and understood our Terms of Service, including our Cookie Policy and our Privacy Policy.