Aller au contenu

Photo

Tileset creation tools


  • Veuillez vous connecter pour répondre
7 réponses à ce sujet

#1
Shadooow

Shadooow
  • Members
  • 4 470 messages
Hi, Im looking for some smarter renaming tool, something that allows me to specify that I want to rename only file name and NOT textures, anything you can recommend me?

I already tried Tileset Duplicator and I can't see this option there. So far renaming textures back using SetEditor but its damn slowly.

Anyway what is this crap about renaming tiles created by someone else in vanilla tileset upgrade?

Modifié par ShaDoOoW, 01 janvier 2014 - 02:31 .


#2
henesua

henesua
  • Members
  • 3 871 messages
For unix command line the commands to use would be would be roughtly find -exec rename and find -exec sed (you'd have to fill in arguments etc....)

I don't know the equivalent for windows commandline.

#3
Pstemarie

Pstemarie
  • Members
  • 2 745 messages
I use TextPad's built in replace tool which can do mass find/replace operations in groups of open files. As far as the texture names getting messed up, it all depends on how you configure the strings you're looking for. If the textures share the tileset prefix, after you do the first renaming operation run a second operation looking for "bitmap <tileset prefix>".

For example, if changing "tno01_" (find) to "tno11_" (replace) start with those strings for the first operation. For the followup operation use "bitmap tno11_" (find) and "bitmap tno01_" (replace) to restore the texture names.

Modifié par Pstemarie, 01 janvier 2014 - 03:35 .


#4
Shadooow

Shadooow
  • Members
  • 4 470 messages

Pstemarie wrote...

For example, if changing "tno01_" (find) to "tno11_" (replace) start with those strings for the first operation. For the followup operation use "bitmap tno11_" (find) and "bitmap tno01_" (replace) to restore the texture names.

this is clever, thanks for tip

#5
Tarot Redhand

Tarot Redhand
  • Members
  • 2 686 messages
Try Ant Renamer. I personally use the portable version. The link to the non-portable version is to the features page of the site. The link to the download page is at the top of the page. The portable version mentions the features on the download page which is what I have linked to for it. Whichever version you use is great for such things as renaming a bunch of .mdl files to .mdl.ascii for the model compiler.

If for some reason you want to alter the internal name (or any other text inside a .mdl) of 1 or more (what it is designed for) ascii .mdl files you could always try the "Mass Model Renamer" utility that I wrote a while back.

TR

Modifié par Tarot Redhand, 01 janvier 2014 - 04:48 .


#6
Malagant

Malagant
  • Members
  • 221 messages

ShaDoOoW wrote...

Pstemarie wrote...

For example, if changing "tno01_" (find) to "tno11_" (replace) start with those strings for the first operation. For the followup operation use "bitmap tno11_" (find) and "bitmap tno01_" (replace) to restore the texture names.

this is clever, thanks for tip

Tileset Duplicator can do this as well. It's not as obvious but the program does factor in spaces and will change only those internal references that fit. I run once to batch change the names, which would have the unfortunate effect of changing the internal reference, then would run through with the "bitmap tno01_" which would batch change all internal references back to what they should be for all relevant files.

Modifié par Malagant, 01 janvier 2014 - 04:50 .


#7
Bannor Bloodfist

Bannor Bloodfist
  • Members
  • 935 messages
I typically use Useful File Utilities and some of it's plugins found on that same link page.

Does a great search/replace/rename etc, can find entire sections of a tile, IE multi-line entries and only do it's replace function on specific aspects etc...

#8
Rolo Kipp

Rolo Kipp
  • Members
  • 2 791 messages
<plundering his pouches...>

BB! *So* nice to see you back :-) My holidays are complete now :-)

<...and gleefully dropping a trail of chocolate>