Now let me tell you what I know about editing JSON files in Slave Matrix.
This is not all that can be taught here. This game is very cleverly produced and the files are as huge as the creator's passion.
If you feel you want to do something with this game, the best thing to do is to actually get hands-on with it. I hope this information will help you in that case.
Assumptions
Of course, everything is at your own risk.
You should make a duplicate of the original file and keep it.
JSON files can only be created using mods.
Even if you use a mod, you cannot create the file as it is.
Start the Config file and replace JsonButton:0 with JsonButton:1.
Set TranslateJson to 1 to translate the text.
The JSON file is complicated as it is, so please open it using a formatting application such as Notepad++.
All subsequent explanations conform to the Notepad++ display.
(When using Notepad++, if the length of the file is more than 200000000 or 200000kb, it may not be recognized as a JSONfile. This is roughly 60-70 slaves, so if there are other apps that can casually edit JSON with data larger than this, please let me know...)
If there is a problem with the edited JSON file, Slave Matrix will freeze.
The main causes of freezing are as follows
The upper or lower limit of the numerical value setting is exceeded.
Missing or duplicated commas or periods in numerical values or sentences.
Duplicate sentences or missing sentences.
Information is not placed with correct indentation.
ID numbers are not in ascending order.
It is a good idea to keep the data before the change by using screenshots, etc., as it can be troublesome if mistakes are made.
Since it is troublesome to rewrite data only by hand, it is a good idea to prepare slave data as a reference source and copy and paste it.
The JSON file contains two main pieces of information: the game's progress status (flags) and the game's character information.
You can change the information in the game by editing the text or characters.
The characters to be edited are Viola, the protagonist, the slaves, and their parents.
The file is written in such a way that the larger items sandwich the smaller ones.
The file structure for slaves, protagonists, and Viola is almost identical.
We will tell you about the most common slave edits.
Editing Slaves
Slaves have files in "TrainingTarget" or "Dungeon".
Slaves selected at the time of JSON file generation are in the "TrainingTarget" and all others are in the "Dungeon".
Slaves have files for themselves, their mothers, and their fathers.
There are two elements, one reflecting only the slave's own information, and the other reflecting information including both parents.
If you have edited the file and there is no change, you may have edited the father's or mother's file. Please be careful.
The slave's own physical information is in "ChaD".
Useful Edits
"PregnancyProgressionPeriod" is the gestation period of the slave; the closer to 0, the shorter. It can also be negative.
RecoveryValue" is the slave's recovery of health. 1 is infinite, 0.5 is sufficient.
IsCanGrow" is the slave's self-propagation. The "IsCanGrow" is the slave's self-growth, and must be set to true for himself and his parents.
"ChaD" contains "Composition" and "BodyColor."
Composition" contains type, display, and size information for each slave's body part.
Each body part consists of information from "$type" to "ThisType" respectively.
The part type can be changed by changing both the part content in the "$type" and "ThisType" statements.
The display content of the body part can be changed by interchanging true and false. Depending on the part contents, the display contents may differ.
The newest part, the waist, has connections to all other parts.
By opening a connection, you can edit the other body parts it has.
Body parts can adjust their position according to standard and position, and their size according to scale and size.
The "Weight2" and "Height" allow you to change the size of the body part in detail.
Size", "SizeX", and "SizeY" are more intuitive size changes.
ScaleB" and "ScaleC" allow you to change the size to very large or very small magnifications.
"$values" in "Lineage" under "BodyColor" describes rare characteristics such as albino. If you put in a rare characteristic that is not originally so, it will be handled without any problem in the game.
The color of the slave can be changed by entering the RGB color code or the name of the color.