The Witcher 3

File information

Last updated

Original upload

Created by

Myself

Uploaded by

PuppyUnicorn

Virus scan

Safe to use

Tags for this mod

About this mod

Essentially this is just a script that speeds up the process of finding files that contain a certain values (or "strings"). Initially I made this to help find stuff in TW3 script files (.ws), but found that it's pretty handy to use for any other file parsing use. Tried making it user friendly and simple.

Permissions and credits
Changelogs
This script recursively searches through specified filetypes in the selected 
directory for whatever string the user inputs.  Both the filetypes and strings
are case insensitive.  

Tested filetypes: .xml, .txt, .ws, .csv
However I'm confident if it the file has readable text, this script will work.



DISCLAIMER:  I'm aware Notepad++ has a similar functionality that I'm sure is better implemented than
my script -- however that's the fun of programming.  Feel free to skip this and use N++ instead.  I compare
it to eating at and supporting small, local restaurants instead of established and successful chains lol Also
I am not a programmer, I'm just a novice who enjoys using PowerShell in his free time.  So all you nerds
who enjoy PowerShell out there, feel free to mess with / enhance this script in whatever ways you want.

To setup, just change the directory variables ($dir1, $dir3p2, etc) to the 
proper directories on your computer.  If you are only using this for modding
on The Witcher 3, then technically $dir1 is the only variable you need to 
change -- however I've found this script to be much more useful than expected,
so I personally recommend setting up all directories.

To run this script, right click on "RSPv6.ps1" and choose "Run with PowerShell"
 
To run this script inside PowerShell ISE, you will need to run this command as an
Administrator first:

Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted

This command will allow the the currently logged on user to run scripts.

My next plan is to work create some PowerShell scripts that automate the W3STRINGS 
encoding / decoding process, because I wasn't a huge fan of the one PowerShell
W3STRINGS decoding script I found here on Nexus. (DONE. Check out DEEN below.)


My Other Mods / Tools: