From 005e61cd980675f333ba9e74b40adb0d7bbbfbdb Mon Sep 17 00:00:00 2001 From: CWX Date: Thu, 19 May 2022 13:47:18 +0000 Subject: [PATCH 1/7] Update 'README.md' --- README.md | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 26b3f68..a0ecf95 100644 --- a/README.md +++ b/README.md @@ -2,19 +2,21 @@ ## EFT - SPT-AKI. - 2.3.1 ### New implementation of an Installer for SPT-AKI. -- uses Spectre Console for a cleaner look +- uses Spectre Console for a cleaner look: +added "SPT-AKI Installer" as Figlet title, +progress bars for extracting and copying of files. + +- pre install checks: +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. + - copies files from registry logged GamePath to new location, -- extracts, runs and deletes patcher with minor user input, +- extracts, runs and deletes patcher with no user input, - extracts Aki -- static: FileHelper, ZipHelper, LogHelper -- nonStatic: ProcessHelper, PreCheckHelper, StringHelper +- deletes both Patcher and AKI zips at the end ### plans: - maybe download right version for EFT patcher and server -- maybe make a cool UI :OWO: -- delete patcher zip and aki zip -- progressBar for CopyDirectory -- add figlet for SPT-AKI INSTALLER -- locales, language selection -- fix PreCheckHelper.AkiCheck currently being hardcoded for 2.3.1 -- get waffle to add exit code on patcher to remove the need for user input bar errors \ No newline at end of file +- locales, language selection \ No newline at end of file From a95b1e4a611f4e206d739171a8c73f92588f3a01 Mon Sep 17 00:00:00 2001 From: CWX Date: Thu, 19 May 2022 13:47:43 +0000 Subject: [PATCH 2/7] Update 'README.md' --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a0ecf95..56f1afa 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ added "SPT-AKI Installer" as Figlet title, progress bars for extracting and copying of files. - pre install checks: -checks installer is not in OG game directory, +checks installer is not in OG game directory, \n 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. From 8db1cdc02951e1edbcb95bd463ceed1ecafe8b03 Mon Sep 17 00:00:00 2001 From: CWX Date: Thu, 19 May 2022 14:14:53 +0000 Subject: [PATCH 3/7] Update 'README.md' --- README.md | 61 ++++++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 47 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 56f1afa..900b61a 100644 --- a/README.md +++ b/README.md @@ -1,22 +1,55 @@ -# SPTinstaller. -## EFT - SPT-AKI. - 2.3.1 +# SPT-AKI Installer made for EFT. -### New implementation of an Installer for SPT-AKI. -- uses Spectre Console for a cleaner look: -added "SPT-AKI Installer" as Figlet title, -progress bars for extracting and copying of files. +![Finished Installer](https://cdn.discordapp.com/attachments/976519592119762994/976845998930419732/unknown.png) -- pre install checks: -checks installer is not in OG game directory, \n -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. +## New implementation of an Installer for SPT-AKI. +### Spectre Console for a cleaner look: +- added "SPT-AKI Installer" as Figlet title, + +![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: +- 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. + +### Installer Processes: - 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 +- extracts Aki, +- deletes both Patcher and AKI zips at the end. ### plans: - maybe download right version for EFT patcher and server -- locales, language selection \ No newline at end of file +- locales, language selection + +---- + +# Setup + +- Requires: .net 6.0 +1. Visual Studio > File > Open > Project/Solution `\SPT_AKI Installer.sln` +2. Visual Studio > Build > Publish Selection > Publish +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 + +# Debug + +- 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 +- you have to be in Debug for this to be used + +#### to run Debug: + +- make sure Visual Studio is in Debug mode. + +![Debug Mode](https://cdn.discordapp.com/attachments/976519592119762994/976850003521835058/unknown.png) + +1. Visual Studio > Debug > Start Debugging or the F5 shortcut Key \ No newline at end of file From 013f6196f4610b30f082d0ef444d9a24ef2ec7c0 Mon Sep 17 00:00:00 2001 From: CWX Date: Thu, 19 May 2022 14:19:23 +0000 Subject: [PATCH 4/7] Update 'README.md' --- README.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 900b61a..3fbb4e4 100644 --- a/README.md +++ b/README.md @@ -31,16 +31,15 @@ ---- -# Setup +# Setup: -- Requires: .net 6.0 1. Visual Studio > File > Open > Project/Solution `\SPT_AKI Installer.sln` 2. Visual Studio > Build > Publish Selection > Publish 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 -# Debug +# Debug: - 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 @@ -52,4 +51,10 @@ ![Debug Mode](https://cdn.discordapp.com/attachments/976519592119762994/976850003521835058/unknown.png) -1. Visual Studio > Debug > Start Debugging or the F5 shortcut Key \ No newline at end of file +1. Visual Studio > Debug > Start Debugging or the F5 shortcut Key + +# Dependencies: + +- .net 6.0 +- SharpCompress +- SpectreConsole From 49d941edfe788431e33c5eb8c19d6aaee45d7678 Mon Sep 17 00:00:00 2001 From: CWX Date: Thu, 19 May 2022 14:20:17 +0000 Subject: [PATCH 5/7] Update 'README.md' --- README.md | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 3fbb4e4..bf61323 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ ## New implementation of an Installer for SPT-AKI. ### Spectre Console for a cleaner look: -- added "SPT-AKI Installer" as Figlet title, +- Added "SPT-AKI Installer" as Figlet title, ![Figlet Picture](https://cdn.discordapp.com/attachments/976519592119762994/976845245553717248/unknown.png) @@ -14,20 +14,20 @@ ![Progress Bars](https://cdn.discordapp.com/attachments/976519592119762994/976845443831070790/unknown.png) ### pre install checks: -- 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. +- 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. ### Installer Processes: -- 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. +- 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. ### plans: -- maybe download right version for EFT patcher and server -- locales, language selection +- Maybe download right version for EFT patcher and server +- Locales, Language selection ---- @@ -35,19 +35,19 @@ 1. Visual Studio > File > Open > Project/Solution `\SPT_AKI Installer.sln` 2. Visual Studio > Build > Publish Selection > Publish -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 +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 # Debug: - 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 -- you have to be in Debug for this to be used +- You have to be in Debug for this to be used #### to run Debug: -- make sure Visual Studio is in Debug mode. +- Make sure Visual Studio is in Debug mode. ![Debug Mode](https://cdn.discordapp.com/attachments/976519592119762994/976850003521835058/unknown.png) From d97d1d22b3d9d086b21bc1ba06a30853da896d54 Mon Sep 17 00:00:00 2001 From: CWX Date: Thu, 19 May 2022 14:20:55 +0000 Subject: [PATCH 6/7] Update 'README.md' --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index bf61323..d841eb0 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ ![Progress Bars](https://cdn.discordapp.com/attachments/976519592119762994/976845443831070790/unknown.png) -### pre install checks: +### Pre install checks: - 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, @@ -25,7 +25,7 @@ - Extracts Aki, - Deletes both Patcher and AKI zips at the end. -### plans: +### Plans: - Maybe download right version for EFT patcher and server - Locales, Language selection @@ -45,7 +45,7 @@ - If you want to change the location for this under L18 make this the path you desire - You have to be in Debug for this to be used -#### to run Debug: +#### Run Debug: - Make sure Visual Studio is in Debug mode. From 823df072c1f3ae4ef5823bf7d5104b5422b87501 Mon Sep 17 00:00:00 2001 From: CWX Date: Thu, 19 May 2022 14:22:22 +0000 Subject: [PATCH 7/7] Update 'README.md' --- README.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index d841eb0..0cf444e 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,7 @@ ![Progress Bars](https://cdn.discordapp.com/attachments/976519592119762994/976845443831070790/unknown.png) ### Pre install checks: +- Checks if EFT is installed, - 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, @@ -26,8 +27,8 @@ - Deletes both Patcher and AKI zips at the end. ### Plans: -- Maybe download right version for EFT patcher and server -- Locales, Language selection +- Maybe download right version for EFT patcher and server, +- Locales, Language selection. ---- @@ -37,13 +38,13 @@ 2. Visual Studio > Build > Publish Selection > Publish 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 +- Only the .exe is needed. # Debug: -- 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 -- You have to be in Debug for this to be used +- 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, +- You have to be in Debug for this to be used. #### Run Debug: