Jereth_Khan Posted December 3, 2018 Share Posted December 3, 2018 Since Xpath doesn't support regular text files, I threw this together so my Brother-in-law didn't need to be trusted to edit files on his own. I figured I'd share it here as well since, imo, it's kind of spiffy. I don't need nor desire credit; use it as you will. Source code available by dropping it into notepad. This is just a simple batch file for Windows OS users to easily add localizations to the vanilla files. The zip file contains a .bat file and both localization.txt and localization - quest.txt. https://mega.nz/#!GUxFGITT!AGGNIvOcvdRUBvoyr6UC1HN3OttXsO-SearMXu0P1ao All you do is add your custom localizations to the files (leaving the top line blank for safety) and place all 3 files in the same folder as your "ModInfo.xml" file. The end user needs simply run the .bat file and follow the directions (mainly just press 1) and your custom localizations will be added to the bottom of the proper .txt files in the vanilla config folder and back up the pre-modified files. It is just a simple append to EOF so this can not be used to edit existing entries. It is pretty much Plug and Play so you shouldn't need to edit the batch file itself. It reads the directory name of your mod and uses dynamic folder tracking so the installation location of 7D2D shouldn't affect it working. I figured I'd post this here instead of Modding tools since it's less a tool and more in addition to mods and people have been asking here about Xpath and text files so it seems like a good place for those people to see it. Hope it helps someone out until that time something 100x better is made. Special thanks to my Brother-in-law for me needing to do this crap for him. Link to comment Share on other sites More sharing options...
Guppycur Posted December 3, 2018 Share Posted December 3, 2018 I love batch... Link to comment Share on other sites More sharing options...
SixxGunZ Posted December 3, 2018 Share Posted December 3, 2018 Genius way of adding text to a file. Do you have a download link for it lol? Link to comment Share on other sites More sharing options...
Jereth_Khan Posted December 3, 2018 Author Share Posted December 3, 2018 Genius way of adding text to a file. Do you have a download link for it lol? ... Yes... I added it to the post and told the wine to stop making me forget slightly important things lol Also here: https://mega.nz/#!GUxFGITT!AGGNIvOcvdRUBvoyr6UC1HN3OttXsO-SearMXu0P1ao Link to comment Share on other sites More sharing options...
Baobab Posted December 3, 2018 Share Posted December 3, 2018 its early here in germany, can you make a tutorial or some thing where exactlly the files sits. i test it, but it says cant fint the files, if i looked in the vanilla config folder and it does it. Hm. Link to comment Share on other sites More sharing options...
Arop Retim Posted December 3, 2018 Share Posted December 3, 2018 Thank you very much. That's exactly what I was looking for. Tried it and worked very well. Just some non critical error messages if only one file is needed to be added. Link to comment Share on other sites More sharing options...
dragonslayer770 Posted December 3, 2018 Share Posted December 3, 2018 where do I fined the source code at for notepad? Link to comment Share on other sites More sharing options...
DukeW74 Posted December 4, 2018 Share Posted December 4, 2018 where do I fined the source code at for notepad? Most Windows I have ever used, just right click the ".bat" file and chose EDIT. It will open in notepad. "IT WILL NOT RUN BUT WILL OPEN" For that matter a batch file can be opened with most any notepad type replacement Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.