@@ -118,27 +118,31 @@ public MainScreen()
118
118
119
119
InitializeComponent ( ) ;
120
120
121
+ string DS1_Path = Environment . GetFolderPath ( Environment . SpecialFolder . MyDocuments ) + @"\NBGI\DarkSouls" ;
122
+ string DSR_Path = Environment . GetFolderPath ( Environment . SpecialFolder . MyDocuments ) + @"\NBGI\DARK SOULS REMASTERED" ;
123
+
124
+ if ( ! Directory . Exists ( DSR_Path ) )
125
+ {
126
+ DSR_Path = Environment . GetFolderPath ( Environment . SpecialFolder . MyDocuments ) + @"\FromSoftware\DARK SOULS REMASTERED" ;
127
+ }
128
+
121
129
games = new Dictionary < string , Game >
122
130
{
123
131
{
124
132
"DS1" ,
125
- new Game ( Environment . GetFolderPath ( Environment . SpecialFolder . MyDocuments ) + @"\NBGI\DarkSouls" ,
126
- DefSettings . dirDS1 , Resource1 . initialsDs1 , ds1_found_folder , ds1_last_change_label )
133
+ new Game ( DS1_Path , DefSettings . dirDS1 , Resource1 . initialsDs1 , ds1_found_folder , ds1_last_change_label )
127
134
} ,
128
135
{
129
136
"DS2" ,
130
- new Game ( @"%AppData%\DarkSoulsII" , DefSettings . dirDS2 , Resource1 . initialsDs2 ,
131
- ds2_found_folder , ds2_last_change_label )
137
+ new Game ( @"%AppData%\DarkSoulsII" , DefSettings . dirDS2 , Resource1 . initialsDs2 , ds2_found_folder , ds2_last_change_label )
132
138
} ,
133
139
{
134
140
"DS3" ,
135
- new Game ( @"%AppData%\DarkSoulsIII" , DefSettings . dirDS3 , Resource1 . initialsDs3 ,
136
- ds3_found_folder , ds3_last_change_label )
141
+ new Game ( @"%AppData%\DarkSoulsIII" , DefSettings . dirDS3 , Resource1 . initialsDs3 , ds3_found_folder , ds3_last_change_label )
137
142
} ,
138
143
{
139
144
"DSR" ,
140
- new Game ( Environment . GetFolderPath ( Environment . SpecialFolder . MyDocuments ) + @"\NBGI\DARK SOULS REMASTERED" ,
141
- DefSettings . dirDSR , Resource1 . initialsDsr , ds1R_found_folder , ds1R_last_change_label )
145
+ new Game ( DSR_Path , DefSettings . dirDSR , Resource1 . initialsDsr , ds1R_found_folder , ds1R_last_change_label )
142
146
}
143
147
} ;
144
148
@@ -220,7 +224,7 @@ public void RefreshInfo()
220
224
{
221
225
backupFolderSizeLabel . Text = Resource1 . msgBackupFolderDNE ;
222
226
}
223
-
227
+
224
228
225
229
saveAmountInput . Value = DefSettings . SaveAmount ;
226
230
saveIntervalInput . Value = DefSettings . SaveInterval ;
@@ -270,13 +274,13 @@ private void ChooseDirectory(object sender, EventArgs e)
270
274
271
275
private void SaveAmountInput_ValueChanged ( object sender , EventArgs e )
272
276
{
273
- DefSettings . SaveAmount = ( int ) saveAmountInput . Value ;
277
+ DefSettings . SaveAmount = ( int ) saveAmountInput . Value ;
274
278
DefSettings . Save ( ) ;
275
279
}
276
280
277
281
private void NumericUpDown1_ValueChanged ( object sender , EventArgs e )
278
282
{
279
- DefSettings . SaveInterval = ( int ) saveIntervalInput . Value ;
283
+ DefSettings . SaveInterval = ( int ) saveIntervalInput . Value ;
280
284
DefSettings . Save ( ) ;
281
285
282
286
backupTimer . Interval = ( DefSettings . SaveInterval * 60 * 1000 ) ;
0 commit comments