diff options
Diffstat (limited to 'ShiftOS-TheRevival/Functions/InGame')
| -rw-r--r-- | ShiftOS-TheRevival/Functions/InGame/ROMs/Strings.vb | 6 | ||||
| -rw-r--r-- | ShiftOS-TheRevival/Functions/InGame/StoreManager/Shiftoriums.vb | 42 |
2 files changed, 47 insertions, 1 deletions
diff --git a/ShiftOS-TheRevival/Functions/InGame/ROMs/Strings.vb b/ShiftOS-TheRevival/Functions/InGame/ROMs/Strings.vb index 325f583..25794b5 100644 --- a/ShiftOS-TheRevival/Functions/InGame/ROMs/Strings.vb +++ b/ShiftOS-TheRevival/Functions/InGame/ROMs/Strings.vb @@ -3,7 +3,7 @@ Public Shared ComputerInfo(6) As String Public Shared IsFree As Boolean Public Shared OnceInfo(8) As String - Public Shared AvailableFeature(31) As String + Public Shared AvailableFeature(35) As String Public Shared CLIInterpreter As String Public Shared SaveFile As String Public Shared Achievement As String @@ -80,6 +80,8 @@ '29 = Date by general [Shows date in general DD/MM/YYYY format] (0.2.5) (default : 0) '30 = Batch-file support for ShiftOS [Gives execution support for ShiftOS Script File (.scr)] (0.2.5) (default : 0) '31 = Rename support [Ability to rename files in ShiftOS] (default : 0) + '32 = Zip command [Ability to compress file in a zip file] (default : 0) + '33 = Unzip command [Ability to extract file in a zip file] (default : 0) ' 'Features bought hierarchy : 'ShiftOS Key (KEY) (5 CP) @@ -100,6 +102,8 @@ '>>>>>>RGB Variant (rgb2) (75 CP) '>>>>>>>4-bit Color Display (4BITCOLOR) (80 CP) '>>>>>>>>Terminal Read-Only Memory Driver (ROMDRIVER, DIR, MKDIR, RMDIR, CD, PWD) (90 CP) + '>>>>>>>>>ZIP command (ZIP) (95 CP) + '>>>>>>>>>UNZIP command (UNZIP) (95 CP) '>>>>>>>>>Rename support (RENAME) (95 CP) '>>>>>>>>>TextPad (100 CP) '>>>>>>>>>>ShiftOS Batch Script Support (BATCHSCRIPT) (100 CP) diff --git a/ShiftOS-TheRevival/Functions/InGame/StoreManager/Shiftoriums.vb b/ShiftOS-TheRevival/Functions/InGame/StoreManager/Shiftoriums.vb index dcc0fb1..af57f18 100644 --- a/ShiftOS-TheRevival/Functions/InGame/StoreManager/Shiftoriums.vb +++ b/ShiftOS-TheRevival/Functions/InGame/StoreManager/Shiftoriums.vb @@ -59,6 +59,12 @@ If Strings.AvailableFeature(31) = "0" Then NewLine("(rename | 95 CP) Rename command") End If + If Strings.AvailableFeature(32) = 0 Then + NewLine("(zip | 95 CP) Zip command") + End If + If Strings.AvailableFeature(33) = 0 Then + NewLine("(unzip | 95 CP) Unzip command") + End If End If End If End If @@ -392,6 +398,28 @@ NewLine(ManHeader(1)) NormalCommand() End If + Case "zip" + If Strings.AvailableFeature(32) = "0" Then + ManHeader(0) = "Zip command" + ManHeader(1) = "95 CP" + NewLine(ManHeader(0)) + NewLine(Nothing) + NewLine("Gives ShiftOS support for compressing a file or directory into a ZIP file") + NewLine(Nothing) + NewLine(ManHeader(1)) + NormalCommand() + End If + Case "unzip" + If Strings.AvailableFeature(33) = "0" Then + ManHeader(0) = "Unzip command" + ManHeader(1) = "95 CP" + NewLine(ManHeader(0)) + NewLine(Nothing) + NewLine("Gives ShiftOS support for compressing extracting a file or directory from a ZIP file") + NewLine(Nothing) + NewLine(ManHeader(1)) + NormalCommand() + End If Case Else NormalCommand() Console.TextBox1.Text = Console.TextBox1.Text & Environment.NewLine & "Shiftorium: Bad command or not available" @@ -497,6 +525,12 @@ Case "rename" Shiftorium_InstallFeatures(True, "rename", 31, 95) NormalCommand() + Case "zip" + Shiftorium_InstallFeatures(True, "zip", 32, 95) + NormalCommand() + Case "unzip" + Shiftorium_InstallFeatures(True, "unzip", 33, 95) + NormalCommand() Case Else NormalCommand() NewLine("Shiftorium: Bad command or not available") @@ -588,6 +622,8 @@ Strings.AvailableFeature(16) = "1" Strings.AvailableFeature(17) = "0" Strings.AvailableFeature(31) = "0" + Strings.AvailableFeature(32) = "0" + Strings.AvailableFeature(33) = "0" success = True Case "textpad" Strings.AvailableFeature(17) = "1" @@ -648,6 +684,12 @@ Case "rename" Strings.AvailableFeature(31) = "1" success = True + Case "zip" + Strings.AvailableFeature(32) = "1" + success = True + Case "unzip" + Strings.AvailableFeature(33) = "1" + success = True End Select If success = False Then If IsCLI = True Then |
