Skip to content

Commit

Permalink
added default file type selection ; *.sl2 and *.co2
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMemoman committed Jan 5, 2023
1 parent bab5252 commit 1fd38de
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions EldenRingSaveCopy/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ private void sourceFileBrowse(object sender, EventArgs e)
sourceSaveGames.Clear();
OpenFileDialog openFileDialog = new OpenFileDialog();
setCurrentUserDirectory(ref openFileDialog);
openFileDialog.Filter = "Elden Ring Save File |ER0000.sl2|Elden Ring Coop Save File |ER0000.co2";
openFileDialog.Filter = "All Elden Ring Save File Types|*.sl2;*.co2|"
+ "Elden Ring Save File|ER0000.sl2|Elden Ring Coop Save File|ER0000.co2";
DialogResult result = openFileDialog.ShowDialog(); // Show the dialog.
if (result == DialogResult.OK) // Test result.
{
Expand Down Expand Up @@ -112,7 +113,8 @@ private void targetButtonBrowse(object sender, EventArgs e)
targetSaveGames.Clear();
OpenFileDialog openFileDialog = new OpenFileDialog();
setCurrentUserDirectory(ref openFileDialog);
openFileDialog.Filter = "Elden Ring Save File |ER0000.sl2|Elden Ring Coop Save File |ER0000.co2";
openFileDialog.Filter = "All Elden Ring Save File Types|*.sl2;*.co2|"
+ "Elden Ring Save File|ER0000.sl2|Elden Ring Coop Save File|ER0000.co2";
DialogResult result = openFileDialog.ShowDialog();
if (result == DialogResult.OK)
{
Expand Down

2 comments on commit 1fd38de

@icyredstar
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

built using your changes and I am now able to transfer my save from my old steam account. sorry if this comment section is not for this but thanks for making this! you helped me immensely.

@TheMemoman
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

built using your changes and I am now able to transfer my save from my old steam account. sorry if this comment section is not for this but thanks for making this! you helped me immensely.

Very glad to be of service, fellow tarnished.
Thy gratitude befits a crown.

Please sign in to comment.