Skip to content

Commit

Permalink
Added support for vmc file extension used by POPSstarter
Browse files Browse the repository at this point in the history
  • Loading branch information
ShendoXT committed Dec 18, 2022
1 parent 75fb97c commit a4e125a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
10 changes: 5 additions & 5 deletions MemcardRex/GUI/mainWindow.cs
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ private void openCardDialog()
OpenFileDialog openFileDlg = new OpenFileDialog
{
Title = "Open Memory Card",
Filter = "All supported|*.bin;*.ddf;*.gme;*.mc;*.mcd;*.mci;*.mcr;*.mem;*.ps;*.psm;*.srm;*.vgs;*.vm1;*.vmp|Standard Memory Card|*.mcr;*.bin;*.ddf;*.mc;*.mcd;*.mci;*.ps;*.psm;*.srm;*.VM1|PSP/Vita Memory Card|*.VMP|Vita \"MCX\" PocketStation Memory Card|*.BIN|DexDrive Memory Card|*.gme|VGS Memory Card|*.mem;*.vgs|All files|*.*",
Filter = ps1card.mcExtensions + "|All files|*.*",
Multiselect = true
};

Expand Down Expand Up @@ -459,7 +459,7 @@ private void saveCardDialog(int listIndex)
SaveFileDialog saveFileDlg = new SaveFileDialog
{
Title = "Save Memory Card",
Filter = "Standard Memory Card|*.mcr;*.bin;*.ddf;*.mc;*.mcd;*.mci;*.ps;*.psm;*.srm;*.vm1|PSP/Vita Memory Card|*.VMP|Vita \"MCX\" PocketStation Memory Card|*.BIN|DexDrive Memory Card|*.gme|VGS Memory Card|*.mem;*.vgs",
Filter = ps1card.mcExtensions,
FilterIndex = mainSettings.lastSaveFormat
};

Expand Down Expand Up @@ -912,7 +912,7 @@ private void exportSaveDialog()
{
Title = "Export save",
FileName = outputFilename,
Filter = "PSXGameEdit/Memory Juggler|*.mcs;*.ps1|PS3 single save|*.PSV|Smart Link/XP, AR, GS, Caetla/Datel|*.mcb;*.mcx;*.pda;*.psx|RAW single save|B???????????*",
Filter = ps1card.ssExtensions,
FilterIndex = mainSettings.lastExportFormat
};

Expand Down Expand Up @@ -983,7 +983,7 @@ private void importSaveDialog()
OpenFileDialog openFileDlg = new OpenFileDialog
{
Title = "Import save",
Filter = "All supported|*.mcs;*.psv;*.psx;*.ps1;*.mcb;*.mcx;*.pda;B???????????*|PSXGameEdit single save|*.mcs|PS3 signed save|*.PSV|XP, AR, GS, Caetla single save|*.psx|Memory Juggler|*.ps1|Smart Link|*.mcb|Datel|*.mcx;*.pda|RAW single save|B???????????*"
Filter = ps1card.ssExtensions
};

//If user selected a save load it
Expand Down Expand Up @@ -1099,7 +1099,7 @@ private void showPluginsWindow()
//Create and show about dialog
private void showAbout()
{
new AboutWindow().initDialog(this, appName, appVersion, appDate, "Copyright © Shendo 2021", "Authors: Alvaro Tanarro, Nico de Poel,\nRobxnano, Shendo\n\nBeta testers: Gamesoul Master, Xtreme2damax,\nCarmax91.\n\nThanks to: @ruantec, Cobalt, TheCloudOfSmoke,\nRedawgTS, Hard core Rikki, RainMotorsports,\nZieg, Bobbi, OuTman, Kevstah2004, Kubusleonidas, \nFrédéric Brière, Cor'e, Gemini, DeadlySystem.\n\n" +
new AboutWindow().initDialog(this, appName, appVersion, appDate, "Copyright © Shendo 2022", "Authors: Alvaro Tanarro, bitrot-alpha, Nico de Poel,\nKuromeSan, Robxnano, Shendo\n\nBeta testers: Gamesoul Master, Xtreme2damax,\nCarmax91.\n\nThanks to: @ruantec, Cobalt, TheCloudOfSmoke,\nRedawgTS, Hard core Rikki, RainMotorsports,\nZieg, Bobbi, OuTman, Kevstah2004, Kubusleonidas, \nFrédéric Brière, Cor'e, Gemini, DeadlySystem.\n\n" +
"Special thanks to the following people whose\nMemory Card utilities inspired me to write my own:\nSimon Mallion (PSXMemTool),\nLars Ole Dybdal (PSXGameEdit),\nAldo Vargas (Memory Card Manager),\nNeill Corlett (Dexter),\nPaul Phoneix (ConvertM).");
}

Expand Down
6 changes: 6 additions & 0 deletions MemcardRex/ps1card.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,12 @@ namespace MemcardRex
{
class ps1card
{
//Supported Memory Card extensions
public const string mcExtensions = "Standard Memory Card|*.mcr;*.bin;*.ddf;*.mc;*.mcd;*.mci;*.ps;*.psm;*.srm;*.vm1;*.vmc|PSP/Vita Memory Card|*.VMP|PS Vita \"MCX\" PocketStation Memory Card|*.BIN|DexDrive Memory Card|*.gme|VGS Memory Card|*.mem;*.vgs";

//Supported single save extensions
public const string ssExtensions = "PSXGameEdit/Memory Juggler|*.mcs;*.ps1|PS3 single save|*.PSV|Smart Link/XP, AR, GS, Caetla/Datel|*.mcb;*.mcx;*.pda;*.psx|RAW single save|B???????????*";

//Memory Card's name
public string cardName = null;

Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@
* PCSX ReARMed/RetroArch(*.srm)
* PSP virtual Memory Card(*.VMP)
* PS3 virtual Memory Card(*.VM1)
* PS Vita "MCX" PocketStation Memory Card(*.BIN)
* POPStarter Virtual Memory Card(*.VMC)

<b>Supported single save formats:</b>
* PSXGame Edit single save(*.mcs)
Expand Down

0 comments on commit a4e125a

Please sign in to comment.