Author Topic: New Project - Silly little utilities (With Bug-Fix Report) & Tip  (Read 342 times)

Legacy_Tarot Redhand

  • Hero Member
  • *****
  • Posts: 4165
  • Karma: +0/-0


               A while ago now I created 3 small utilities to aid in custom content creation. Unfortuneately I have not been able to find the thread in which I wrote about them. So I have had to create a new one. Originally these utilities were stored in my dropbox/public folder. I have recently come to the conclusion that they would be better stored in a project on these boards. I have therefore created this new project here . I may from time to time add to the list of utilities included there as and when/if I find a need to create new ones.

Hope they are some use to someone other than me.

TR
               
               

               


                     Modifié par Tarot Redhand, 01 mai 2013 - 01:09 .
                     
                  


            

Legacy_Bannor Bloodfist

  • Hero Member
  • *****
  • Posts: 1578
  • Karma: +0/-0
New Project - Silly little utilities (With Bug-Fix Report) & Tip
« Reply #1 on: April 16, 2013, 06:30:55 pm »


               Thank you for sharing these tools/utilities as they likely will prove useful to many folks.  Keep up the good work, and be sure to add any NEW utils you generate or find on the net.
               
               

               
            

Legacy_Tarot Redhand

  • Hero Member
  • *****
  • Posts: 4165
  • Karma: +0/-0
New Project - Silly little utilities (With Bug-Fix Report) & Tip
« Reply #2 on: April 16, 2013, 11:02:00 pm »


               Thanks for the support Bannor. I do not make any guarantees, but I may have a need for another small, specific use tool soon. If I do and I successfully make it, I will definitely upload it to the project.

TR
               
               

               
            

Legacy_Tarot Redhand

  • Hero Member
  • *****
  • Posts: 4165
  • Karma: +0/-0
New Project - Silly little utilities (With Bug-Fix Report) & Tip
« Reply #3 on: April 23, 2013, 04:36:24 pm »


               Just a short note to let people know that I have just added a small utility to this project. It is called Mass Model Renamer and is designed for changing the internal name of a model. While it is relatively easy to change the filename of a model, the name contained in several places inside a model was a little more difficult. As I was not aware of a standalone utility that could accomplish this for a group of models, I wrote this. It works for me as I have just used it on 128 as yet unreleased models.

Important, while this works (and quite fast too) it needs to be handled with care. If you choose to download it, I urge you to read the manual first.

TR
               
               

               
            

Legacy_Tarot Redhand

  • Hero Member
  • *****
  • Posts: 4165
  • Karma: +0/-0
New Project - Silly little utilities (With Bug-Fix Report) & Tip
« Reply #4 on: April 27, 2013, 11:18:17 am »


               With apologies to the 2 people that have already downloaded Mass Model Renamer, I have discovered a small bug. I have removed the offending file and re-uploaded a fully working and (hopefully) bug-free version to the project page.

The bug was due to my inadvertently using a wrong command and resulted in every line being enclosed in quotation marks. Replacing the single line of code containing this error with one with the right command has fixed the problem.

My apologies again.

TR
               
               

               
            

Legacy_Tarot Redhand

  • Hero Member
  • *****
  • Posts: 4165
  • Karma: +0/-0
New Project - Silly little utilities (With Bug-Fix Report) & Tip
« Reply #5 on: May 01, 2013, 02:09:02 pm »


               Here's a little tip. 2DA-CSV is designed to only work with whole 2da files but sometimes you only need to edit a section of one. There is a simple workaround for this. It involves the use of notepad++

First open the 2da file in npp and also create a new file with it. Copy the first few lines of the 2da file (up to but not including the line starting with 0000) and paste this into your new file. Now copy the actual lines of 2da data that you would like to edit in a spreadsheet and paste them immediately after the lines you copied earlier. Finally save your new file as something.2da (ie I often call mine dummy.2da). Close notepad++. You can now use 2da-csv to convert your new 2da file to a csv file. Once you have finished your editing in the spreadsheet save your result as a csv file. Use 2da-csv to convert it back to a 2da file. Reload the 2da file into npp and copy your edited data (excluding the header lines) back into the original 2da file and save the original.

So why did I stipulate notepad++? It has a very useful feature of remembering where it is in any file that is open in it and it also remembers which if any lines have been highlighted/marked. This makes it easier when you need to reintegrate your edited data. There may well be other free editors with these features, but I only know of notepad++.

TR
               
               

               


                     Modifié par Tarot Redhand, 01 mai 2013 - 01:11 .