SPT-AKI-Installer/README.md

61 lines
1.9 KiB
Markdown
Raw Normal View History

2022-05-19 14:14:53 +00:00
# SPT-AKI Installer made for EFT.
2022-05-13 22:41:15 +01:00
2022-05-19 14:14:53 +00:00
![Finished Installer](https://cdn.discordapp.com/attachments/976519592119762994/976845998930419732/unknown.png)
2022-05-19 13:47:18 +00:00
2022-05-19 14:14:53 +00:00
## New implementation of an Installer for SPT-AKI.
2022-05-19 13:47:18 +00:00
2022-05-19 14:14:53 +00:00
### Spectre Console for a cleaner look:
2022-05-19 14:20:17 +00:00
- Added "SPT-AKI Installer" as Figlet title,
2022-05-19 14:14:53 +00:00
![Figlet Picture](https://cdn.discordapp.com/attachments/976519592119762994/976845245553717248/unknown.png)
- progress bars for extracting and copying of files.
![Progress Bars](https://cdn.discordapp.com/attachments/976519592119762994/976845443831070790/unknown.png)
### pre install checks:
2022-05-19 14:20:17 +00:00
- Checks installer is not in OG game directory,
- Checks install folder does not have game files already in it,
- Checks if gameversion matches aki version, if so skip patcher process,
- Checks both zips are there, other than when the above match, patcher isnt checked for.
2022-05-19 14:14:53 +00:00
### Installer Processes:
2022-05-19 14:20:17 +00:00
- Copies files from registry logged GamePath to new location,
- Extracts, runs and deletes patcher with no user input,
- Extracts Aki,
- Deletes both Patcher and AKI zips at the end.
2022-05-13 22:41:15 +01:00
### plans:
2022-05-19 14:20:17 +00:00
- Maybe download right version for EFT patcher and server
- Locales, Language selection
2022-05-19 14:14:53 +00:00
----
2022-05-19 14:19:23 +00:00
# Setup:
2022-05-19 14:14:53 +00:00
1. Visual Studio > File > Open > Project/Solution `\SPT_AKI Installer.sln`
2. Visual Studio > Build > Publish Selection > Publish
2022-05-19 14:20:17 +00:00
3. Check your folder for the project `\bin\Debug\net6.0\publish\`
4. In here should be an .Exe and a .pdb
- Only the .exe is needed
2022-05-19 14:14:53 +00:00
2022-05-19 14:19:23 +00:00
# Debug:
2022-05-19 14:14:53 +00:00
- The project has PreProccessor Directives for the location to test installing too
- If you want to change the location for this under L18 make this the path you desire
2022-05-19 14:20:17 +00:00
- You have to be in Debug for this to be used
2022-05-19 14:14:53 +00:00
#### to run Debug:
2022-05-19 14:20:17 +00:00
- Make sure Visual Studio is in Debug mode.
2022-05-19 14:14:53 +00:00
![Debug Mode](https://cdn.discordapp.com/attachments/976519592119762994/976850003521835058/unknown.png)
2022-05-19 14:19:23 +00:00
1. Visual Studio > Debug > Start Debugging or the F5 shortcut Key
# Dependencies:
- .net 6.0
- SharpCompress
- SpectreConsole