Any way to search scripts?

Post » Wed Jun 20, 2012 10:09 pm

OK, all of a sudden, when my mod is loaded, I get a bit of text in the notification area that says "Quest does not exist" - Now I haven't deleted or even edited any vanilla quests, and there is no such Debug.Notification() in any of my scripts...is there any way to search through the script source files to find out what script has this message in it so I can figure out what's causing it?
User avatar
Deon Knight
 
Posts: 3363
Joined: Thu Sep 13, 2007 1:44 am

Post » Wed Jun 20, 2012 11:37 pm

You can use a program like http://regain.sourceforge.net/ or http://www.fileseek.ca/ or http://code.google.com/p/dngrep/ to search C:\Program Files\Steam\steamapps\common\skyrim\Data\Scripts

I often use such a search to understand how parts of scripts work so I can use it for my own scripts. Great way to learn.
User avatar
Stephani Silva
 
Posts: 3372
Joined: Wed Jan 17, 2007 10:11 pm

Post » Wed Jun 20, 2012 7:56 pm

Set Windows up to search file contents in the source folder, then you can type a string and any hits will pop up quickly once indexing has done its thing.
User avatar
Dj Matty P
 
Posts: 3398
Joined: Sat Jun 09, 2007 12:31 am

Post » Wed Jun 20, 2012 10:43 pm

I use http://skyrim.nexusmods.com/downloads/file.php?id=9790
Skyrim Script Dumper port from Oblivion which unpacks all the scripts into easy to view htm files and even makes 3 custom lists of all the function etc.
User avatar
Lilit Ager
 
Posts: 3444
Joined: Thu Nov 23, 2006 9:06 pm

Post » Thu Jun 21, 2012 12:00 am

Awesome 3djake! Ive been needing something like what you posted. Wasn't sure where to look. That's going to help me a lot
User avatar
TRIsha FEnnesse
 
Posts: 3369
Joined: Sun Feb 04, 2007 5:59 am

Post » Thu Jun 21, 2012 5:38 am

3rd party tools are preferable, I find.

Search in Windows7 is even worse than Vista, because it appears to search for strings in an indexed folder, but doesn't necessarily report all the instances.

I've found http://www.freecommander.com/fc_downl_en.htm to be reliable, but no doubt the other tools mentioned above are good, too.
User avatar
Alberto Aguilera
 
Posts: 3472
Joined: Wed Aug 29, 2007 12:42 am

Post » Wed Jun 20, 2012 10:36 pm

My own preference: install cygwin. Unix shell tools are great for this sort of thing.
User avatar
Jessica White
 
Posts: 3419
Joined: Sun Aug 20, 2006 5:03 am


Return to V - Skyrim