Modding: Difference between revisions

From Ara: History Untold Wiki
m This is procedure update following V1.06 and V1.1 game updates.
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{UnderConstruction}}
[[File:SettingsFile.png|thumb|Example of the Settings_v121.txt file]]
[[File:SettingsFile.png|thumb|Example of the Settings_v121.txt file]]
As of [[Patch_Notes_1.0.4|Patch 1.0.4]] it is possible to create mods. However at the time of writing this is not yet officially supported. That's where this Wiki comes in.


== Steps to start using Mods ==
= Ara Modding Setup Guide =
# First navigate to <code>%LocalAppData%\Ara History Untold</code> on your computer and open <code>Settings_v121.txt</code>. Scroll to the bottom and add <code>EnableMods=1</code> to the end and save it.
This document will show you how to get started with modding Ara: History Untold.
# Find the line with <code>GameCoreMod0Source=</code> and add the name of the mod after the '=' character.
# Next create a new folder called <code>Mods</code> in <code>Documents\My Games\Ara History Untold</code>.


== Creating your own Mods ==
In this initial version of mod support, we provide a copy of our source game data files in the Ara installation directory. You can install these source files as a mod in your Documents folder and enable mod loading in the Ara settings. We will walk through each step below.
# Browse to the game's directory, for Steam users this is often <code>C:\Program Files (x86)\Steam\steamapps\common\Ara History Untold</code>. In the folder <code>assets\SourceMods</code> should be a zip file called <code>GameDataSource_v1.0.4.zip</code> containing .zdata files.
# Exctact these somewhere and open them with your text editor of choice such as Notepad++ and set the language to C++ for easy reading.
# After making the desired changes, place all the contents of the extracted zip file into <code>Documents\My Games\Ara History Untold\Mods\NAMEOFYOURMOD</code>


== Other ==
== QuickStart ==
''From oxide_dan09876 on Discord:''
# Find the game data source files in the Ara installation folder at `assets\SourceMods\.
# Copy the folder SourceMods (files and sub-folders) it into `Documents\My Games\Ara History Untold\Mods\`. Create the "Mods" folder first if it does not exist.
# Navigate to `%LOCALAPPDATA%\Ara History Untold` with File Explorer (open File Explorer with WinKey + E) and open the latest settings text file (e.g. `Settings_V122.txt`).
# Set the line `EnableMods=0` to `EnableMods=1`. If this line is missing, add it to the end of the file.
# Set the line `GameCoreMod0Source=` to `GameCoreMod0Source=YourModName`. If this line is missing, add it to the end of the file.
# Start Ara – it will load your modified source files from your Documents folder into the game. Multiplayer and achievements will be disabled while mods are enabled.
== Step 1: Find the game data source mods files ==
If you own the game through Steam, you can get to your installation files quickly through the Steam Library tab. For Windows Store installations (e.g. from Game Pass), you can find the top-level Ara folder by starting at `%LOCALAPPDATA%\Microsoft\WindowsApps`.


<blockquote>
=== Find Ara in your Steam library ===
oh, just be aware that some of the fields are dead - e.g. they were hooked up but then aren't anymore, we didn't have time to purge it. I'm sure the community will figure that out quick enough
Right-click the game in the library list, select Manage -> Browse Local Files.
</blockquote>
 
You should have a File Explorer window (WinKey + E) open with the following folder:
 
Open the `assets\SourceMods` folder and copy the whole folder (files and sub-folders).
 
== Step 2: Paste SourceMods into Mods folder ==
Use File Explorer to open your Documents folder and navigate to `My Games` and then, in a separate window, the `Ara History Untold` folder.
 
In `Documents\My Games\Ara History Untold`, create a `Mods` folder (if it does not already exist).
 
Open the Mods folder and select the Paste the whole SourceMods folder into it.
 
You should end up with a folder SourceMods in the Mods folder, containing all of the game data files.
 
== Step 3: Enable modding in Ara settings ==
Open a File Explorer window and navigate to `%LOCALAPPDATA%\Ara History Untold`.
 
This folder contains a settings file, such as `Settings_v121.txt`. Open the one with the largest version number (the "v121" or similar at the end).
 
You can open this file using a text editor such as Notepad or Visual Studio Code.
 
In the file, you should find two lines: `EnableMods=0` and `GameCoreMod0Source=`. If you haven't run the game since the last update, you may need to do so for these to show up. Alternatively, you can also add them to the end of the file manually.
 
Change these lines to: EnableMods=1 GameCoreMod0Source=YourModName
 
Save and close the file.
 
== Step 4: Run Ara ==
If you launch Ara again, you should now start with mods enabled and the source files from YourModName loaded as your active game rules.
 
If there are errors loading the mod files, you will receive a data error popup, and the game will proceed loading only its built-in, un-modded data.
 
(Note: Pressing 'Ctrl-C' will copy all the text from the error popup)
 
`%LOCALAPPDATA%\Ara History Untold\logs\Ara.log` contains a diagnostic log of the mods loaded (if any) and errors found.
 
While you are running with mods enabled, achievements and multiplayer will be disabled.
 
== Guides ==
 
* [[Modding for fun and profit]]

Latest revision as of 22:32, 21 November 2024

Example of the Settings_v121.txt file

Ara Modding Setup Guide[edit | edit source]

This document will show you how to get started with modding Ara: History Untold.

In this initial version of mod support, we provide a copy of our source game data files in the Ara installation directory. You can install these source files as a mod in your Documents folder and enable mod loading in the Ara settings. We will walk through each step below.

QuickStart[edit | edit source]

  1. Find the game data source files in the Ara installation folder at `assets\SourceMods\.
  2. Copy the folder SourceMods (files and sub-folders) it into `Documents\My Games\Ara History Untold\Mods\`. Create the "Mods" folder first if it does not exist.
  3. Navigate to `%LOCALAPPDATA%\Ara History Untold` with File Explorer (open File Explorer with WinKey + E) and open the latest settings text file (e.g. `Settings_V122.txt`).
  4. Set the line `EnableMods=0` to `EnableMods=1`. If this line is missing, add it to the end of the file.
  5. Set the line `GameCoreMod0Source=` to `GameCoreMod0Source=YourModName`. If this line is missing, add it to the end of the file.
  6. Start Ara – it will load your modified source files from your Documents folder into the game. Multiplayer and achievements will be disabled while mods are enabled.

Step 1: Find the game data source mods files[edit | edit source]

If you own the game through Steam, you can get to your installation files quickly through the Steam Library tab. For Windows Store installations (e.g. from Game Pass), you can find the top-level Ara folder by starting at `%LOCALAPPDATA%\Microsoft\WindowsApps`.

Find Ara in your Steam library[edit | edit source]

Right-click the game in the library list, select Manage -> Browse Local Files.

You should have a File Explorer window (WinKey + E) open with the following folder:

Open the `assets\SourceMods` folder and copy the whole folder (files and sub-folders).

Step 2: Paste SourceMods into Mods folder[edit | edit source]

Use File Explorer to open your Documents folder and navigate to `My Games` and then, in a separate window, the `Ara History Untold` folder.

In `Documents\My Games\Ara History Untold`, create a `Mods` folder (if it does not already exist).

Open the Mods folder and select the Paste the whole SourceMods folder into it.

You should end up with a folder SourceMods in the Mods folder, containing all of the game data files.

Step 3: Enable modding in Ara settings[edit | edit source]

Open a File Explorer window and navigate to `%LOCALAPPDATA%\Ara History Untold`.

This folder contains a settings file, such as `Settings_v121.txt`. Open the one with the largest version number (the "v121" or similar at the end).

You can open this file using a text editor such as Notepad or Visual Studio Code.

In the file, you should find two lines: `EnableMods=0` and `GameCoreMod0Source=`. If you haven't run the game since the last update, you may need to do so for these to show up. Alternatively, you can also add them to the end of the file manually.

Change these lines to: EnableMods=1 GameCoreMod0Source=YourModName

Save and close the file.

Step 4: Run Ara[edit | edit source]

If you launch Ara again, you should now start with mods enabled and the source files from YourModName loaded as your active game rules.

If there are errors loading the mod files, you will receive a data error popup, and the game will proceed loading only its built-in, un-modded data.

(Note: Pressing 'Ctrl-C' will copy all the text from the error popup)

`%LOCALAPPDATA%\Ara History Untold\logs\Ara.log` contains a diagnostic log of the mods loaded (if any) and errors found.

While you are running with mods enabled, achievements and multiplayer will be disabled.

Guides[edit | edit source]