mr.devolver
New member
7 Days to Die Mod Localization loader v4.8a
Coded by mr.devolver
Hello everyone!
This is my first contribution to the mod community.
For those of you who are like me and want to play with a lot of mods installed, but don't feel like
adding all those mod localization files manually to your game, I created a simple batch script
to automate the process. I know I'm not the best coder, so this script is not perfect and it's highly
experimental, but feel free to improve it and share your improved version with us!
Description:
This script is supposed to go through all of your 7 Days to Die mods
and automatically load their localization.txt and localization - quest.txt
files into the original game localization files.
Before making any changes, this script creates a backup of your original
game localization files.
Warning:
It does NOT keep track of your changes, so if you want to keep your
current backup, you should save it to a special directory somewhere
outside of its original location.
Please note that this script must run from your Mods directory.
If you're running it from a different location, it will not work.
UPDATE #1
Please note that for the best experience, you should always make sure that all installed mods that use localizations have their localization files properly named and formatted.
Proper file names are localization.txt and localization - quest.txt (if available).
I've seen at least one mod which did not use proper format and I had to edit it manually to make it work with my script. It was a mod called Sol_RabbitTraps which is a cool mod, but its localization file name was not a proper one and its format assumed that you will manually edit the localization file when adding this mod.
This was the format:
!!!! USE AT YOUR OWN RISK !!!!
This script is provided AS IS. At this point it's a highly experimental
alpha version and may damage your game files.
Feel free to improve it and share your improved version with other users!
Thanks!
Update log (v4.8a):
Hotfix:
* Alpha 18 introduced some changes that made my script incompatible with the latest version of the game. 7 Days to Die Mod Localization loader v4.8a brings an experimental hotfix for Alpha 18. Please test this version and feel free to let me know if any issues occur, thanks!
Update log (v4.6a):
Fixes:
* There was a problem which caused that some lines wouldn't be handled properly in some situations.
Added:
* Script now checks whether the backup was already created or not and gives you a chance to prevent any changes to it.
Changed:
* Script now clears the screen before it does its thing, so that user will be aware of the fact that the process of updating the files already started.
* Small improvements here and there, not really visible to the user.
Old versions:
Download v4.6a from here - Stable version for Alpha 17.
Download v4.0a from here
Coded by mr.devolver
Hello everyone!
This is my first contribution to the mod community.
For those of you who are like me and want to play with a lot of mods installed, but don't feel like
adding all those mod localization files manually to your game, I created a simple batch script
to automate the process. I know I'm not the best coder, so this script is not perfect and it's highly
experimental, but feel free to improve it and share your improved version with us!
Description:
This script is supposed to go through all of your 7 Days to Die mods
and automatically load their localization.txt and localization - quest.txt
files into the original game localization files.
Before making any changes, this script creates a backup of your original
game localization files.
Warning:
It does NOT keep track of your changes, so if you want to keep your
current backup, you should save it to a special directory somewhere
outside of its original location.
Please note that this script must run from your Mods directory.
If you're running it from a different location, it will not work.
UPDATE #1
Please note that for the best experience, you should always make sure that all installed mods that use localizations have their localization files properly named and formatted.
Proper file names are localization.txt and localization - quest.txt (if available).
I've seen at least one mod which did not use proper format and I had to edit it manually to make it work with my script. It was a mod called Sol_RabbitTraps which is a cool mod, but its localization file name was not a proper one and its format assumed that you will manually edit the localization file when adding this mod.
This was the format:
As you can see, this is not something you could just add at the end of the game localization file. Thankfully, my script can deal with this kind of situation automatically, because it automatically replaces the lines starting with the same key word and adds the ones that don't exist yet, so all you have to do in this case is rename the file to localization.txt and my script will add it for you!Replace:
perkTheHuntsmanRank1Desc,progression,Perk,New,Harvest 20% more resources from animals using any bladed tool or weapon. Learn to craft Primative Rabbit Trap.,,,,,
perkTheHuntsmanRank4Desc,progression,Perk,New,Harvest 80% more resources from animals using any bladed tool or weapon. Learn to craft Reusable Rabbit Trap.,,,,,
Add:
Herbivore_Bait_Desc,items,Resources,New,Used to craft Baited Traps.,,,,,
Unbaited_Primitive_Rabbit_Trap_Desc,items,Resources,New,Add Herbivore Bait to this.,,,,,
Baited_Primitive_Rabbit_Trap_Desc,blocks,Block,New,Place on terrain within sunlight and wait.,,,,,
Unbaited_Reusable_Rabbit_Trap_Desc,items,Resources,New,Add Herbivore Bait to this.,,,,,
Baited_Reusable_Rabbit_Trap_Desc,blocks,Block,New,Place on terrain within sunlight and wait.,,,,,
Huntsman_Rank_1_Desc,items,Book,New,"For players who already had the perk when the mod was added because they wont have the recipes.".,,,,,
Huntsman_Rank_4_Desc,items,Book,New,"For players who already had the perk when the mod was added because they wont have the recipes.".,,,,,

!!!! USE AT YOUR OWN RISK !!!!
This script is provided AS IS. At this point it's a highly experimental
alpha version and may damage your game files.
Feel free to improve it and share your improved version with other users!
Thanks!
Update log (v4.8a):
Hotfix:
* Alpha 18 introduced some changes that made my script incompatible with the latest version of the game. 7 Days to Die Mod Localization loader v4.8a brings an experimental hotfix for Alpha 18. Please test this version and feel free to let me know if any issues occur, thanks!
Update log (v4.6a):
Fixes:
* There was a problem which caused that some lines wouldn't be handled properly in some situations.
Added:
* Script now checks whether the backup was already created or not and gives you a chance to prevent any changes to it.
Changed:
* Script now clears the screen before it does its thing, so that user will be aware of the fact that the process of updating the files already started.
* Small improvements here and there, not really visible to the user.
Current version is v4.8a - Now with experimental Alpha 18 support.
Download the current version from here!
Download the current version from here!
Old versions:
Download v4.6a from here - Stable version for Alpha 17.
Download v4.0a from here
Last edited by a moderator: