My Time at Portia
0 of 0

File information

Last updated

Original upload

Created by

aedenthorn

Uploaded by

aedenthorn

Virus scan

Safe to use

Tags for this mod

About this mod

Allows for global text substitution in whole or in part.

Requirements
Permissions and credits
This mod provides a means of editing the game's text piece by piece. It allows users to create simple txt files with entries that either replace an entire text entry with specified text or replace specific text in all entries with replacement text.

To use, create a txt file in your language from one of the following:

Chinese.txt
English.txt
German.txt
French.txt
T_Chinese.txt
Italian.txt
Spanish.txt
Japanese.txt
Russian.txt
Turkish.txt
Korean.txt
Portuguese.txt
Vietnamese.txt

and place this file in Mods\DialogueEdit\Assets\

There should be an example English.txt file there already.


In your file, you can add two types of lines:


<TextId>=<NewText>

If you want to replace an entire line of dialogue, you must find the ID of the line in the game's database table Translation_hint. I have uploaded a text file in the optional files with that table in it if you want to use that to search for a line. The example English.txt has an example of this type of line:

103936=[1|4000001], I've done a bunch of work, check it out!

The number before the = is the ID for this string, which is the text Ack sometimes says when you meet him outside in the morning. The original text was:

[1|4000001], I've have done a bunch of work, check them out!

The [1|4000001] at the beginning is used by the game to substitute the player's name. You can use such a tag in your replacement strings as you like.


<OldText>=<NewText>

If you want to replace a word or phrase in ALL strings in the database, you can use this format. The example English.txt has an example of this type of line:

ingredience=ingredients

This will change all instances in the game of ingredience to ingredients. Note that this should be used sparingly and not as a replacement for the first type because you're too lazy to look up the id. This method may impact performance if used indiscriminately.


If you want to include new lines in your replacement text (in mail, for example), use \r\n in place of new lines. There is a third line in the example English.txt that shows how this is done.


If you are interested in helping correct strings in the game, please post lines in the comments and I can start to create more complete replacement files to include with the mod.


Requires Unity Mod Manager. Install by extracting to your Mods directory, or via the UMM interface.

Source code at https://github.com/aedenthorn/mytimeatportia.

If you want to complain or ask for help or help me test my mods, you can visit my Discord server.