aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS/Paths.vb
blob: 416a44a49dede9ffb191a0b9eb85d281e15fbb8a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
Module Paths



    ' Paths:
    '  Root path - Paths.root - DO NOT USE UNLESS NECISARY (Opening files from the file skimmer, blocking the user from going above C:\ShiftOS, ect)
    '    Software Data - Paths.progdata - This is the base path for all program data. If you are adding a folder to this path, add a variable in here
    '      AdvStart - Paths.advda - Stores stuff like recent files, for example if you go to Paths.advstart\Recent in Explorer, you'll see the same files you see in the Advanced AL's Recent section.
    '      Knowledge Input Data - Paths.kidata - Knowledge Input uses this to save your lists of words you've found
    '      Shiftnet Data - Paths.shiftnetdata - This is where the shiftnet currently saves it's history
    '      Download Manager Data - Paths.dnldata - Not sure what this does
    '    Save Data - Paths.savedata - The game has it's save file in here
    '      Skin Directory - Paths.skindir - Self explanatory.
    '        Loaded Skin Directory - Paths.loadedskin - Where the contents of .skn files are extracted to.
    '          Sound Directory - Paths.sounddir - Where sound files (such as Infobox chime) are stored, coming soon.
    '        Current Skin Directory - Paths.currentskin - ??????????
    '    Home Directory - Paths.home - This is the folder that contains all the user's files
    '      Desktop - Paths.desktop - All the files that appear on your desktop should be stored here
    '      Documents - Paths.documents - The documents folder is where the user puts their documents
    '      Downloads - Paths.downloads - The downloads folder is where the downloader downloads downloads from the Shiftnet
    '      Music - Paths.music - The music folder is where the user puts their music
    '      Pictures - Paths.pictures - The pictures folder is where the user puts their pictures
    '      Skins - Paths.skins - The skins folder is where the user puts their skins



    'Declaration Hierarchy
    Public appData As String = System.Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) + "\ShiftOSLauncher"
    Public root As String = My.Computer.FileSystem.ReadAllText(appData + "\ExecFolder.dat") + "\"
    'Do NOT use this unless it is for files that must go DIRECTLY in C:\ShiftOS\

    Public progdata As String = root & "SoftwareData\"

    Public advdata As String = progdata & "AdvStart\"
    Public kidata As String = progdata & "KnowledgeInput\"
    Public shiftnetdata As String = progdata & "Shiftnet\"
    Public dnldata As String = progdata & "DownloadManager\"

    Public savedata As String = root & "Shiftum42\"

    Public skindir As String = savedata & "Skins\"

    Public loadedskin As String = skindir & "Loaded\"
    Public currentskin As String = skindir & "Current\"

    Public sounddir As String = loadedskin & "Sounds\"

    Public home As String = root & "Home\"

    Public desktop As String = home & "Desktop\"
    Public documents As String = home & "Documents\"
    Public downloads As String = home & "Documents\"
    Public music As String = home & "Music\"
    Public pictures As String = home & "Pictures\"
    Public skins As String = home & "Skins\"
End Module