05-20-2016, 04:00 AM
If you are curious about how to edit many files at once, this may be a good place to start:
Notepad++: A guide to using regular expressions and extended search mode
http://www.gjbenterprises.com/tips/notep...earch-mode
Semi-guide by Swamp Dog
This has been a great time-saver for me. Use the "Find in Files" feature, and set all the files you want to edit into one folder (such as "/svencoop/maps/") (MAKE A BACKUP COPY OF YOUR FILES! I always copy files over to another folder to edit - this is just an example folder!). Use the search feature to find the text you want to find, and search through all the files in the folder. You must set a *.cfg* or *.res* or *.txt* (examples) as the file extension, and must set the directory to look for files to edit. If you want to replace the text with something else, in "Replace with" and enter the data you want to replace the text with, and click "Replace in Files".
If you want to remove lines or entries or create new lines, there are also ways to do that, but you must learn how to use "Regular Expressions". There is more information about how to use Regular Expressions in the link above, and I am not capable at the moment to explain how all of that works. I taught myself through trial-and-error (lots of errors! lol). Hope this helps someone be able to have an easier life. It does for me. Ever since I found out how to do this, I have been able to handle tasks much more efficiently.
Get Notepad++ here:
https://notepad-plus-plus.org/
Notepad++: A guide to using regular expressions and extended search mode
http://www.gjbenterprises.com/tips/notep...earch-mode
Semi-guide by Swamp Dog
This has been a great time-saver for me. Use the "Find in Files" feature, and set all the files you want to edit into one folder (such as "/svencoop/maps/") (MAKE A BACKUP COPY OF YOUR FILES! I always copy files over to another folder to edit - this is just an example folder!). Use the search feature to find the text you want to find, and search through all the files in the folder. You must set a *.cfg* or *.res* or *.txt* (examples) as the file extension, and must set the directory to look for files to edit. If you want to replace the text with something else, in "Replace with" and enter the data you want to replace the text with, and click "Replace in Files".
If you want to remove lines or entries or create new lines, there are also ways to do that, but you must learn how to use "Regular Expressions". There is more information about how to use Regular Expressions in the link above, and I am not capable at the moment to explain how all of that works. I taught myself through trial-and-error (lots of errors! lol). Hope this helps someone be able to have an easier life. It does for me. Ever since I found out how to do this, I have been able to handle tasks much more efficiently.
Get Notepad++ here:
https://notepad-plus-plus.org/