Coder Social home page Coder Social logo

Comments (1)

ShendoXT avatar ShendoXT commented on September 28, 2024

Sorry but this is a bit outside of the scope of MemcardRex but none the less I found a solution for you.
I made a simple batch script which will do the job for you in no time. It works on Windows 10, I tested it.

Simply make a new file called "PSP2Duck.bat", place it in the main directory where all of your other directories are,
paste this code into it and then simply run it.

@echo off
setlocal EnableDelayedExpansion 

if not exist "memcards" mkdir "memcards"

for /d %%a in ("S*") do (
 set DirName=%%a
 set ProdCode=!DirName:~0,4!-!DirName:~4,5!
 echo Converting "!DirName!" directory to "!ProdCode!" Memory Cards

if exist !DirName!\SCEVMC0.VMP (
 powershell "gc !DirName!\SCEVMC0.VMP -Encoding byte -Tail 131072 | sc memcards\!ProdCode!_1.mcd -Encoding byte"
 powershell "gc !DirName!\SCEVMC1.VMP -Encoding byte -Tail 131072 | sc memcards\!ProdCode!_2.mcd -Encoding byte"
)
)

This will make a new directory called memcards and it will take each card from the respective folder and convert it from .VMP to .mcd which DuckStation use.

The reason this works is simply because VMP files are MCD files with extra 128 byte header. This script removes that header and you are left with the raw .mcd file.

Once you run it, it will take a while, depending on the number of directories you have.
Don't forget to configure DuckStation to use Serial as the base for the Memory Cards.
converted
memcards

from memcardrex.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.