Modding the in-game text from Sifu

Wanna know how to change subtitles in-game? You came to the right place

 What you will need: 


 * Editing program (Notepad, Sublime, Atom, any other similar app)
 * UAssetGUI
 * Extracted Sifu Game Folder

Download links for apps (optional):


 * Sublime
 * Atom
 * Notepad++

1. Locating Sound File

Now I will show you an example on how to edit the subtitle in Prologue with the person behind the broken

door.

Once you open the extracted Sifu Game folder, follow this path:

/Sifu/Content/Sounds/Dialogs/DBs/

(You should see what is shown below in screenshot)

Now scroll down to the file labeled "Hideout_0_GenericDialogLines".

After you have located it, open UAssetGUI and drag the sound file onto it.

You will now need to click on "File" on top left corner. Click on "Export JSON".

Now this step is IMPORTANT. Make sure you label the file exactly like the original.

(Most people already know that, but I just wanted to give a heads up)

Save the file in a folder you will able to quickly access it.



 2. Downloading JSON editor 

Now open the file in a editing progam you have on your computer.

You can use Notepad, Atom, Sublime, or any other programs (download links provided at top of page)

For this tutorial, I will be using Atom.

If you decide to use Atom as well, please follow these next few steps carefully.

Now before you close any of the tabs, look at the "Welcome Guide" tab.

You will notice a section called "Install a Package". Click on "Open Installer".

Click on "Install" at bottom left. Then, type "json" in the search bar.





You will want to download "pretty-json" by federomero (version 2.1.2).

This will allow you to read the code much easier.

Once you have installed this, open the JSON file you have saved earlier.

(Hideout_0_GenericDialogLines.json)

This is what it should look like:



 3. Opening JSON file 

That looks like a mess right? Now let's fix that.

If the "pretty-json" package installed correctly, you should be able to do CTRL + S and see some new changes.

It's beautiful ain't it?



Now, you could do two options:

a. scroll through the code and find the dialogue lines manually

b. do CTRL + F and search the lines

I like option B, but I'll let you decide.

For this tutorial, we will be changing the Entry Guard's subtitle.

In the prologue, the guard says "What the--?!", so we search "what the".



Now we can change that line to whatever we want.

I will change it to "BEANS!" for this tutorial.



After you change the line, hit CTRL + S and close the app.

You will now need to reopen UAssetGUI and hit "Open".

Then, open the new saved JSON file.

Once it is open, click "File" then click "Save".

You should now have a new uasset and uexp files.

''' 4. Paking the new Dialog file. '''

Create a folder and rename it whatever you want.

Then create folders within following this path:

(MOD NAME)/Sifu/Content/Sounds/Dialogs/DBs/

Now place the new uasset and uexp files in the last folder.

Pak the mod folder, and you should be set!

Here is what it should look like in game: