aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS/File Skimmer.vb
diff options
context:
space:
mode:
authorwilliam1008 <[email protected]>2015-03-23 12:57:33 +1300
committerwilliam1008 <[email protected]>2015-03-23 12:57:33 +1300
commit965207dac55e9e1cfbfcab7d229eca417d41d118 (patch)
treecfdb8c1f32e5acf59ce22e665dab9e3d44eade6c /ShiftOS/File Skimmer.vb
parenta276b027fb14540aaae66b1e0f42706174b77938 (diff)
downloadshiftos-965207dac55e9e1cfbfcab7d229eca417d41d118.tar.gz
shiftos-965207dac55e9e1cfbfcab7d229eca417d41d118.tar.bz2
shiftos-965207dac55e9e1cfbfcab7d229eca417d41d118.zip
Mod workpr/18
Improved SRIP mod communication system and tested with mod, will soon release mod template files and documentation. Currently only has 4 commands, please add more. This is a starter.
Diffstat (limited to 'ShiftOS/File Skimmer.vb')
-rw-r--r--ShiftOS/File Skimmer.vb5
1 files changed, 3 insertions, 2 deletions
diff --git a/ShiftOS/File Skimmer.vb b/ShiftOS/File Skimmer.vb
index 0cc9085..b3756c1 100644
--- a/ShiftOS/File Skimmer.vb
+++ b/ShiftOS/File Skimmer.vb
@@ -718,6 +718,9 @@ Public Class File_Skimmer
infobox.showinfo("Application Not Found", "ShiftOS could not find an application able the open audio files.")
End If
+ ElseIf path Like "*.smf" Then
+ NewAPI.OpenModFile(path)
+
ElseIf path Like "*.saa" Then
File_Crypt.DecryptFile(path & "\" & path, ShiftOSDesktop.ShiftOSPath + "Shiftum42\Drivers\HDD.dri", ShiftOSDesktop.sSecretKey)
Dim sr As StreamReader = New StreamReader(ShiftOSDesktop.ShiftOSPath + "Shiftum42\Drivers\HDD.dri")
@@ -810,8 +813,6 @@ Public Class File_Skimmer
ElseIf path Like "*.stp" Then
Installer.Show()
Installer.txtfilepath.Text = (path)
- ElseIf path Like "*.smf" Then
- NewAPI.UseCode(path)
ElseIf path Like "*.trm" Then
Terminal.Show()
Terminal.runterminalfile(path)