Steam Workshop has five sample event MODs made by the developer. You can try finished MODs in the game and compare their files with the instructions in this guide.
If this is your first time, start with Event MOD Sample 1: Your First Line (Workshop title: イベントMODサンプル1:はじめての一言). After subscribing, enable it from "MOD" on the title screen and restart the game. Start a new game or load a save, then enter a territory: a line of text appears.
Open the Steam Workshop for The End of History
What the five samples contain and how they are made is explained under "About the sample MODs" on "Event Creation" → "How Event Creation Works" in the top menu.
MODs can change game parameters and data tables; replace or add character faces, flags, images of facilities, soldiers, items and trade goods, and territory main backgrounds; and change translations. MODs from the Workshop and local MODs you made yourself are managed on the same MOD screen.
Adding, updating or removing MODs in the middle of a campaign or sandbox game may leave some changes unapplied, or make the data in your save inconsistent and cause problems with progress.
In particular, for MODs that change how the world is built (characters, countries, factions, territories, technologies, etc.), we strongly recommend starting a new game with the MOD enabled. If you try a MOD on an existing playthrough, keep a save from before the change and test in a different save slot.
Subscribe to the MOD you want on Steam Workshop.
Wait for Steam to finish downloading, then start the game.
Open "MOD" on the title screen and enable the MOD. Subscribing alone does not necessarily enable it in the game.
If needed, adjust the priority with the up/down arrows, then close the MOD screen.
Quit the game and start it again. Enabling, disabling and priority changes take effect after a restart.
If a MOD does not appear in the list, check that the download has finished, then close and reopen the MOD screen. You may also need to restart the game.
You can change a MOD's priority with the up/down buttons. When several MODs change the same thing, the MOD with the higher priority wins. However, what gets overwritten as a unit depends on what is being changed.
If a change you expect does not appear, give that MOD higher priority, or temporarily disable other MODs that change the same data and check again.
Disable the MOD and restart the game. This stops the MOD from being applied. It does not roll back characters or game progress that have already been saved. Backing up the save data you use before trying a MOD is a good idea.
Open "MOD" on the title screen and choose "Create a New MOD".
Enter a MOD name and create it.
Open TheEndOfHistory/MOD/ in your Windows "Documents" folder. A folder with the MOD name you entered has been created.
For example, if you create a MOD named "MyMOD", a MOD folder is created that contains only mod.json. Folders such as Json, Texture and Localization, Parameters.json, data table JSON files, translation.json and image files are not created automatically.
Right after creation, the layout looks like this:
Documents/TheEndOfHistory/MOD/MyMOD/
mod.json
mod.json is the MOD information file created by the game. The MOD name and description are set on the in-game MOD screen, so you do not need to edit mod.json by hand. Leave it in place and add only the folders and files your MOD needs.
In this guide, the name of your MOD folder is written as <MOD name>. In the example above, <MOD name>/Json/ means MyMOD/Json/. "DT" (data table) refers to the game's data tables for characters, items, countries and so on, which you edit as JSON files whose names start with DT_. (General JSON syntax is not explained here.)
To change settings in Parameters.json: Create a Json folder directly under <MOD name> and put Parameters.json in it.
To replace data table JSON: Create a Json folder directly under <MOD name> and put your edited JSON files starting with DT_ in it. You can use the same Json folder as Parameters.json.
To replace or add images: Create a Texture folder directly under <MOD name>, create the matching folders inside it (Facility, Flags, Item, Soldiers, TradeGoods, Units, BG/SpotMainBG) and put your images there. If you assign new images through a DT, prepare a Json folder as well.
To change translations: Create a Localization folder directly under <MOD name> and put translation.json in it.
A MOD that only replaces existing images with files of the same name, or only changes translations, does not need a Json folder. To assign new images through a DT, you need both the images and the DT JSON. A MOD that only has settings/data table JSON, or only translations, does not need a Texture folder. When combining several kinds, create the folders each one needs. The exact file names and how to edit them are explained on the pages below.
Data Editing: Edit in-game parameters and data tables for balance changes, setting up the initial countries and characters, adding items and troop types, and more.
Texture Editing: Replace and add images of characters, flags, facilities, soldiers, items, trade goods and territory main backgrounds.
Event Creation: Create events that run according to start conditions, branches, actions and so on that you define.
Translation: Translate the game into a language it does not support.
You can also make a MOD that combines several of the above.
Use the navigation at the top of the screen to go to each page for detailed instructions and tools.
Save your files, then close and reopen the MOD screen.
Enable your MOD and adjust its priority if needed.
Quit the game and start it again.
Check the scene related to your change, such as the changed prices or settings, the face selection screen, or character generation.
Test your MOD alone first with other MODs disabled, then check priority when used together; this makes the cause of conflicts easier to find. After rewriting files, restart the game before checking again.
To delete a local MOD, use the X icon on the MOD's slot. If you delete the folder directly, close and reopen the MOD screen to refresh the list.
Log in to the Steam client and start the game.
Enable the MOD locally and check that the intended changes appear.
On the MOD screen, press the up-arrow icon to go to the upload screen.
Choose the MOD's name, description text and thumbnail image, then run the upload on the confirmation screen. Wait for the completion notice.
Open the item page you created on Steam Workshop and check its contents and visibility. To distribute it publicly, set the visibility you need on that page.
Finishing the upload and setting the visibility are separate steps. Even after the success notice, check the current visibility on the Workshop side.
For the thumbnail shown in the Workshop list, PNG or JPG is recommended. Steam also accepts GIF. Keep the file under 1 MB.
The whole MOD has no effect: Check that it is enabled, its priority, and that you restarted the game.
A loading error appears: When a MOD fails to load, an error pops up in the middle of the screen. Read the message and fix the file it refers to.
Only the JSON has no effect: Check that the files are directly under Json/, that you removed _jp or _disabled from the file names, and that the JSON syntax is correct.
Some rows disappeared: _fullReplace.json deletes rows you did not write. Check the file names and the order in which MODs are applied. With a normal DT JSON, omitted rows and fields are kept.
The translation does not change: Check the location of Localization/translation.json, that language matches the game's display language, that namespace, key and source match, conflicts with other translation MODs, and that you restarted the game.
An image does not change: Check the category folder, the name without extension, the image field in the DT, and same-named images from other MODs. For character faces, also check Texture/Units/ and the age suffix.
An added face is never chosen at random: Check RandomUnitTexMaxSuffixNum and that the names match the target culture, category and gender.
A Workshop MOD is not in the list: Check that Steam has finished downloading, then reopen the MOD screen or the game.
The upload fails: Check that you are logged in to Steam, your connection, the MOD folder, the thumbnail size, and any guidance shown by the Workshop.