Finished tut0_1

This commit is contained in:
SPT-dev 2023-03-02 21:10:45 -05:00
parent 3b5321f442
commit c4bf4699a0
3 changed files with 25 additions and 11 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 195 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

View File

@ -27,38 +27,52 @@ To create a new profile:
2. Start SPT-AKI's launcher by going into `%game%\` and double clicking on the launcher executable.
3. Create a new profile through the launcher.
[screenshots (account creation)]
![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)
> Note about fresh profile (being mostly empty; do not edit; ...).
> **Note**\
> At this point the profile file is already created but the file is mostly empty. The profile still need to go through the onboarding process in the game, that will populate the file much more.
4. Starts the game.
5. Go through the onboarding and choose your language, nickname and faction.
[screenshot (fresh account inventory screen)]
![main menu](../assets/img/spt-aki/tutorials/tut_0/006.png)
6. Quit the game.
7. Close the launcher.
8. Close the server.
> Note about profile saving...
## Identifying a profile
...
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 and as such it may seem hard to know where and which file to look for.
### Alternative "quick" way
To find a specific profile:
(by not closing the server and getting the profileID)
1. Go into `%game%\Server\user\profiles\`.
2. One by one, open a profile file in a code editor and look for the `email` and/or `Nickname` properties.
![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**\
> 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 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\`.
> ![profile file content](../assets/img/spt-aki/tutorials/tut_0/008.png)
## Making a backup
...
> **Note**\
> This section talk about a good practices that could save you some time in case of a 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).
## Final review
Making a profile backup will allow you to not loose your work if you make a mistake while editing your profile. It's also very usefull in case of profile corruption due to a server error and/or improper profile save.
...
To backup a profile, it's recommanded to create a new folder outside 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.
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.
## Summary