0 of 0

File information

Last updated

Original upload

Created by

Stryke131

Uploaded by

Stryke131

Virus scan

Safe to use

Tags for this mod

About this mod

A command line program to patch STRINGS files

Permissions and credits
Changelogs
There is now a patch for Better Item Sorting and Full Dialogue Interface on the
mod page of Better Item Sorting. You don't have to use the program if you were
only concerned about compatibility between these two mods.


New in version 0.3
  • compatible with patch 1.4

New in version 0.2.1
  • fixed batch files on Windows 10

New in version 0.2
  • run.bat renamed to merge.bat
  • new optional argument '-o'/'--output' to define the output file
  • new optional argument '-s'/'--source-vanilla' to define the source for vanilla strings, useful for other languages
  • new mode '-p'/'--patch' prepend or append to a list of strings (IDs)

What does it do?
Mods like Full Dialogue Interface and Better Item Sorting are incompatible because they both replace the file
Fallout4_en.STRINGS. So I wrote a program the solve this issue. This program is able to merge STRINGS files.
It currently can NOT merge DLSTRINGS or ILSTRINGS files!

It can also prepend and append text to strings.

A word of warning!
This is an early version! It may not work correctly but neither Fallout 4 nor Fallout4Translator complained. Any
changes in STRINGS files shouldn't affect your save games. If it doesn't work just replace the file with a backup
and everything should be fine. I say "should" because I have no way to be sure how the game works. Use it at
your own risk.

How to use?
This is a command line program. There is no GUI!

Merging the easy way:
1. Copy the files you want to merge into the directory where fo4sp.exe is located
2. Rename the files to file1.STRINGS and file2.STRINGS
3. double-click the file merge.bat
4. Wait for the program to finish. It should have created the file output.STRINGS
5. Replace the old Fallout4_en.STRINGS in your Fallout 4 Data folder with the output file

Merging the hard way:
Copy the two files you want the merge into the directory where the fo4sp.exe is located (you have to rename
one of them). You then have to open cmd.exe and go into the directory where the fo4sp.exe is located. You
then call it like this (replace FILE1 and FILE2 with the file names):

fo4sp.exe -m FILE1 FILE2

For example I renamed the Fallout4_en.STRINGS file from Better Inventory Sorting to sort.STRINGS and copied it
and the file from Full Dialogue Interface into the same directory as fo4sp.exe. Then:

fo4sp.exe -m sort.STRINGS Fallout4_en.STRINGS

does the job.

It merges the 2 files and writes the result into output.STRINGS in the same directory. You then have to replace
your old Fallout4_en.STRINGS in Data\Strings (make a backup!) with the new file.

Beta5 of Full Dialogue Interface added tonal indicators. So this feature is currently useless.

Sarcastic tonal indicator for Full Dialogue Interface (FDI) WITHOUT Better Item Sorting (BIS):
1. Copy FDI's Fallout4_en.STRINGS into the same folder as fo4sp.exe
2. Rename the file to fdi.STRINGS
3. If you want the indicator at the start of the line: double-lick sarcastic_indicator_start.bat
    If you want it at the end of the line: double-lick sarcastic_indicator_end.bat
4. Wait for the program to finsh. It should have created the file output.STRINGS
5. Replace the old Fallout4_en.STRINGS in your Fallout 4 Data folder with the output file

Sarcastic tonal indicator for Full Dialogue Interface (FDI) WITH Better Item Sorting (BIS):
1. Copy FDI's Fallout4_en.STRINGS into the same folder as fo4sp.exe
2. Rename the file to fdi.STRINGS
2. Copy BIS's FDI compatible Fallout4_en.STRINGS into the same folder as fo4sp.exe
3. Rename the file to bis_fdi.STRINGS
4. If you want the indicator at the start of the line: double-lick bis_sarcastic_indicator_start.bat
    If you want it at the end of the line: double-lick bis_sarcastic_indicator_end.bat
5. Wait for the program to finsh. It should have created the file output.STRINGS
6. Replace the old Fallout4_en.STRINGS in your Fallout 4 Data folder with the output file

Order matters!
If both files change the same string (both are different from the vanilla strings) the second file you pass as an
argument takes precedence. For Better Item Sorting and Full Dialogue Interface let Full Dialogue Interface
overwrite Better Item Sorting to get the best solution.

FAQ
Q: Does this work with other languages?
A: Yes, but you have to use merge_non-en.bat instead of merge.bat and copy the original string file
   (Fallout4_de.STRINGS for the german version, Fallout4_fr.STRINGS for the french version, ...) into the
   same directory as fo4sp.exe and rename it to "vanilla.STRINGS".

Q: Is there a way to use this program without fiddling with a command line?
A: There is now. I added a batch file to the archive.

Q: Why is this so complicated? Why no GUI?
A: I'm lazy.

Q: How do I open cmd.exe?
A: Just use google.

Q: Ok I opened cmd.exe. But how do I go into the directory?
A: If fo4sp.exe is on a drive other than C: type the drive letter followed by a colon (for example D:)
    and press enter. If it's already on the C: drive you don't have to do this. Than type:

    cd X:\path\to/the\file

    and press enter. So maybe you downloaded it to D:\Downloads\Fallout 4 stuff\. You then type:

    D:
    press enter
    cd "D:\Downloads\Fallout 4 stuff\"
    press enter

    You can press TAB to autocomplete the path.

Credits
Whoever contributed to this wiki page
REPORT BUG
Top