Author Topic: Tileset creation tools  (Read 474 times)

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
Tileset creation tools
« on: January 01, 2014, 02:28:38 pm »


               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 .
                     
                  


            

Legacy_henesua

  • Hero Member
  • *****
  • Posts: 6519
  • Karma: +0/-0
Tileset creation tools
« Reply #1 on: January 01, 2014, 02:47:59 pm »


               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.
               
               

               
            

Legacy_Pstemarie

  • Hero Member
  • *****
  • Posts: 4368
  • Karma: +0/-0
Tileset creation tools
« Reply #2 on: January 01, 2014, 03:34:48 pm »


               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 .
                     
                  


            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
Tileset creation tools
« Reply #3 on: January 01, 2014, 03:58:21 pm »


               

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
               
               

               
            

Legacy_Tarot Redhand

  • Hero Member
  • *****
  • Posts: 4165
  • Karma: +0/-0
Tileset creation tools
« Reply #4 on: January 01, 2014, 04:28:05 pm »


               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 .
                     
                  


            

Legacy_Malagant

  • Sr. Member
  • ****
  • Posts: 391
  • Karma: +0/-0
Tileset creation tools
« Reply #5 on: January 01, 2014, 04:50:08 pm »


               

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 .
                     
                  


            

Legacy_Bannor Bloodfist

  • Hero Member
  • *****
  • Posts: 1578
  • Karma: +0/-0
Tileset creation tools
« Reply #6 on: January 02, 2014, 01:50:01 am »


               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...
               
               

               
            

Legacy_Rolo Kipp

  • Hero Member
  • *****
  • Posts: 4349
  • Karma: +0/-0
Tileset creation tools
« Reply #7 on: January 02, 2014, 02:33:32 pm »


               <plundering his pouches...>

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

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