81 lines
4.0 KiB
Markdown
Raw Normal View History

2023-03-02 21:10:18 -05:00
# Getting started
2023-03-02 21:10:55 -05:00
You will begin by creating a fresh profile using the SPT-AKI launcher. At the end of this tutorial, you will have prepared everything needed to proceed with the next steps.
2023-03-02 21:10:18 -05:00
In this part you will be doing the following:
1. Create a new profile
2. Identify your newly created profile.
3. Learn how to back up a profile simply.
## Legend
2023-03-02 21:10:55 -05:00
The table below is a set of "expressions" that will be used to avoid writing information that might not apply to your use case, such as the path to your SPT-AKI installation, or a randomly generated value.
2023-03-02 21:10:18 -05:00
Expression | What | Example
--------------|-----------------------------|--------
`%game%` | SPT-AKI install location. | `C:\Games\SPT-AKI`
`%profileID%` | File containing a profile. | `C:\Games\SPT-AKI\Server\user\profiles\9dbfcbf0d3be487b9ac20cd8.json`
## Creating a new profile
2023-03-02 21:10:55 -05:00
You want a way to fool around in SPT-AKI, but without also ruining the fun of having a character evolving normally. As such, creating a new dedicated profile is probably the best way of achieving this goal.
2023-03-02 21:10:18 -05:00
To create a new profile:
2023-03-02 21:10:55 -05:00
1. Start SPT-AKI's server by going into `%game%server` and double-clicking on the server executable.
2. Start SPT-AKI's launcher by going into `%game%` and double-clicking on the launcher executable.
2023-03-02 21:10:18 -05:00
3. Create a new profile through the launcher.
2023-03-02 21:10:45 -05:00
![logging out of account 1/2](../assets/img/spt-aki/tutorials/tut_0/002.png)
![logging out of account 2/2](../assets/img/spt-aki/tutorials/tut_0/003.png)
![registering a new account](../assets/img/spt-aki/tutorials/tut_0/004.png)
![account ready](../assets/img/spt-aki/tutorials/tut_0/005.png)
2023-03-02 21:10:18 -05:00
2023-03-02 21:10:45 -05:00
> **Note**\
2023-03-02 21:10:55 -05:00
> At this point the profile file is already created, but the file is mostly empty. The profile still need to go through the on-boarding process in the game that will populate the file much more.
2023-03-02 21:10:18 -05:00
4. Starts the game.
2023-03-02 21:10:55 -05:00
5. Go through the on-boarding and choose your language, nickname and faction.
2023-03-02 21:10:18 -05:00
2023-03-02 21:10:45 -05:00
![main menu](../assets/img/spt-aki/tutorials/tut_0/006.png)
2023-03-02 21:10:18 -05:00
6. Quit the game.
7. Close the launcher.
8. Close the server.
> Note about profile saving...
## Identifying a profile
2023-03-02 21:10:55 -05:00
Now that you have created a new profile, you will need to identify it in the server files. Profiles are stored with a unique random ID. As such, it may seem hard to know where and which file to look for.
2023-03-02 21:10:45 -05:00
To find a specific profile:
2023-03-02 21:10:18 -05:00
2023-03-02 21:10:55 -05:00
1. Go into `%game%Serveruserprofiles`.
2023-03-02 21:10:45 -05:00
2. One by one, open a profile file in a code editor and look for the `email` and/or `Nickname` properties.
2023-03-02 21:10:18 -05:00
2023-03-02 21:10:45 -05:00
![profile file content](../assets/img/spt-aki/tutorials/tut_0/007.png)
After a bit of research you should have now identified which profile you want to use and can proceed with the next step.
> **Alternative "quick" way**\
2023-03-02 21:10:55 -05:00
> You can quickly identify a profile ID by checking for which profile are the request sent to the server. The ID will be listed at the start of each server's request in the server window. Once you've identified the profile ID, you can directly go look for the profile file with the same name in `%game%\Server\user\profiles\`.
2023-03-02 21:10:45 -05:00
> ![profile file content](../assets/img/spt-aki/tutorials/tut_0/008.png)
2023-03-02 21:10:18 -05:00
## Making a backup
2023-03-02 21:10:45 -05:00
> **Note**\
2023-03-02 21:10:55 -05:00
> This section talks about a good practices that could save you some time in case of an error or a corrupted profile. If you want to just move on with the next steps you can directly go to the [next page](./#tutorials/tut_0/tut0_2.md).
2023-03-02 21:10:45 -05:00
2023-03-02 21:10:55 -05:00
Making a profile backup will allow you to not lose your work if you make a mistake while editing your profile. It's also very useful in case of profile corruption due to a server error and/or improper profile save.
2023-03-02 21:10:18 -05:00
2023-03-02 21:10:55 -05:00
To backup a profile, it's recommended to create a new folder out of any of the folders used by the server to write data (like `%game%\Server\user\profiles\`) and to create a 'backups' folder at the root of the server directory.
2023-03-02 21:10:18 -05:00
2023-03-02 21:10:45 -05:00
This way, if you ever wanted to roll back and/or restore a corrupted profile, you would just need to go get a previous version of it and copy/paste it over the faulty file.
2023-03-02 21:10:18 -05:00
## Summary
* You learned how to identify a profile.
* You learned how to simply back up a profile.