tk102 Posted October 4, 2004 Share Posted October 4, 2004 FindRefs v4.4 6/23/2007 A file search and extraction tool for KoTOR and TSL resources Download from starwarsknights.com Icon by svösh! v4.4 Extended the search to include the inventories of merchants, placeables, and creatures. v4.3 Added ability to search/extract .2da files If search term is numeric and TLK references are enabled, the utility will assume the search term is an index to dialog.tlk and will search accordingly. Source code for .exe and .dll included v4.2 Bug fix: Under certain search criteria, some .bif files were being searched twice needlessly. Bug fix: Under certain search criteria, some resources in models.bif, templates.bif, and scripts.bif were being shown as found in multiple bifs. DLL version numbering now in sync with EXE. DLL compiled with Perl 5.8.8. v4.1 Bug fix! Fixed searches in templates.bif and scripts.bif v4.0 Search extended to .git/.mdl/.mdx/.tpc/.tga files Added filename-only search toggle Multiple selection/extraction now possible Link to comment Share on other sites More sharing options...
T7nowhere Posted October 4, 2004 Share Posted October 4, 2004 I just went to pcgm for another reason and saw this posted Nice. I'll try it out and report back to ya as soon as I can. It looks very cool. Link to comment Share on other sites More sharing options...
tk102 Posted October 4, 2004 Author Share Posted October 4, 2004 I hope it does save people some time. I know that searching for these kinds of references can be frustrating. The global variable detection was actually a side-effect... since .ncs files are not .gff files, I just do a full search of the files looking for strings. Since Global Variables are strings within .ncs, they are just as detectable as those scripts called by the ExecuteScript. Likewise, you can also search for tagnames within .ncs files for the same reason (that just now occurred to me...). Anyway, I apologize somewhat for the command-line format of this utility -- but on the upside, it only took about 4 hours to write. Link to comment Share on other sites More sharing options...
Darth333 Posted October 4, 2004 Share Posted October 4, 2004 This is great ( as I already commented at pcgamemods ) and as you say this will save us time and frustration... I'll make a good use of it... once I find time to mod again Link to comment Share on other sites More sharing options...
tk102 Posted October 4, 2004 Author Share Posted October 4, 2004 v0.2 released already... Increased the search speed (greatly) over v0.1. Link to comment Share on other sites More sharing options...
MTV2 Posted October 4, 2004 Share Posted October 4, 2004 Aw man is the great:D Real helpful tk102:cool: Link to comment Share on other sites More sharing options...
beancounter Posted October 4, 2004 Share Posted October 4, 2004 Very nice work TK, it will save a lot of time. Link to comment Share on other sites More sharing options...
RedHawke Posted October 5, 2004 Share Posted October 5, 2004 Very cool utility TK! And as others have said it will definately be a timesaver. Link to comment Share on other sites More sharing options...
tk102 Posted October 5, 2004 Author Share Posted October 5, 2004 Thank you for the positive responses. Like I said, I'm quite sorry I didn't make it sooner... like back in March. Better late than never, I suppose. For those of you who simply detest command line utilities, I wrapped this one up into an ActiveX object and stuffed it into a simplistic Visual Basic form. You can now download the GUI version from the first post in this thread. Link to comment Share on other sites More sharing options...
Darth333 Posted October 5, 2004 Share Posted October 5, 2004 After the programmer who codes faster than his shadow, we now have the programmer who codes faster than lightspeed (err..that's about the same I think ) Thanks tk102 Link to comment Share on other sites More sharing options...
tk102 Posted October 6, 2004 Author Share Posted October 6, 2004 FindRefs GUI v1.1 released. You can now extract the resource from the .rim/.bif file by double-clicking on it in the results listbox. Link to comment Share on other sites More sharing options...
Darth333 Posted October 6, 2004 Share Posted October 6, 2004 Nice one again! The only thing you forgot is to mention that findrefs is case sensitive Link to comment Share on other sites More sharing options...
svösh Posted October 6, 2004 Share Posted October 6, 2004 Thanks TK Another excellent tool of yours, this will come in handy. Keep it up svösh Link to comment Share on other sites More sharing options...
tk102 Posted October 7, 2004 Author Share Posted October 7, 2004 The only thing you forgot is to mention that findrefs is case sensitive Oh, yeah. Keep it up Ok. v1.2 released -- added case sensitivity and partial matching toggles Screenshot Link to comment Share on other sites More sharing options...
DarthBuzzard Posted October 7, 2004 Share Posted October 7, 2004 Saveth by a nerf herder! but really, nice stuff Link to comment Share on other sites More sharing options...
Fred Tetra Posted October 7, 2004 Share Posted October 7, 2004 You're catching up on the features! Now I have to get the BIF searching done Link to comment Share on other sites More sharing options...
tk102 Posted October 7, 2004 Author Share Posted October 7, 2004 I'm glad that we are helping each other reach our full potential. It keeps things interesting. Edit: Just realized something -- I had turned off the 'auto increment' of version control when I made v1.2 -- it still says v1.1 in the title bar. Doh! So if you're upgrading from v1.1 to v1.2 and you're not sure which is which, v1.2 has the Partial Match/Case Sensitive checkboxes and v1.1 does not. Sorry about that. Link to comment Share on other sites More sharing options...
tk102 Posted October 7, 2004 Author Share Posted October 7, 2004 FindRefs v0.3 (command line) released. Adds case sensitivity and partial matching just like the GUI version. Also adds the ability to search the Tag field in the *.ut* files and expands the search to include *.uti files. (The GUI version does not yet offer that.) The new command line options are: -I (search .uti files) -C (search is case sensitive) -P (allow partial matching) Link to comment Share on other sites More sharing options...
Darth333 Posted October 7, 2004 Share Posted October 7, 2004 Thanks This new function will be very useful to verify if our npc, item or placeable has a "clone" somewhere in another module Edit: And here are some news concerning findrefs: http://www.starwarsknights.com/ Link to comment Share on other sites More sharing options...
tk102 Posted October 7, 2004 Author Share Posted October 7, 2004 And thank you: for the nice write up in starwarsknights.com and for the suggestion regarding Tags! The GUI will be enhanced with the .uti search/Tag field search tonight. Link to comment Share on other sites More sharing options...
tk102 Posted October 8, 2004 Author Share Posted October 8, 2004 FindRefs GUI 1.3 released. - Adds .uti to list of file types to be searched - Adds "Tag" to list of fields searched - Output more readable, using fixed with font in listbox FindRefs (command line) 0.4 released. - Added -q (quiet mode) which makes output more readable when multiple results are found. Link to comment Share on other sites More sharing options...
tk102 Posted December 8, 2004 Author Share Posted December 8, 2004 Updated both the console and GUI versions of FindRefs to fix a bug that ignored .utp-only searches. Link to comment Share on other sites More sharing options...
RedHawke Posted December 8, 2004 Share Posted December 8, 2004 Very cool TK, thanks for the hard work! Link to comment Share on other sites More sharing options...
Darth333 Posted December 9, 2004 Share Posted December 9, 2004 Thansk again I love this utility. It's very useful! Link to comment Share on other sites More sharing options...
tk102 Posted December 14, 2004 Author Share Posted December 14, 2004 FindRefs v2.1 has been released (command-line). The important addition to this utility is the -T option which will extend your search to TLK references as well (ExoLocStrings). Examples of this include Item Descriptions, Area Names, and Dialog text. So the following command: findrefs -DTq Sleheyron will find all Dialogs that have Sleheyron will return korr_m35aa_s.rim kor35_yuthuraban.dlg Entry 12 Text 'Let's see... after escaping from Sleheyron I was found by the Jedi. They took me in and trained me eve n though I was a bit older than most Padawans.' The -T option slows the search noticeably, especially when used in conjunction with the -D option. However, this function in essence merges my KTLK, DLGSearch, and FindRefs utility in one tool. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.