PS1/2 Is there a command to batch copy "OPL Manager" art to internal HDD via PFS Shell?

ThaKarra

Well-Known Member
OP
Member
Joined
Aug 17, 2018
Messages
139
Trophies
0
Age
31
XP
780
Country
Australia
I have a PHAT PS2 with an internal HDD. I use OPL to boot my games and everything seems to work perfectly. Today I've been messing around with art work and I discovered an app called OPL Manager for my PC, which downloads it all automatically.

I'm trying to find a way to speed up the process of transferring my ART folder (from OPL Manager) to the internal HDD of PS2. --

Firstly I'm fully aware that I can copy the ART folder to a USB thumb drive and then manually copy it over using something like uLaunch. However I find this to be slow and tedious.

I currently have the internal HDD of my PS2 connected to my PC via a USB dock thingo. I've successfully been able to access it via PFS Shell (command line utility).

I've discovered this command:
Code:
pfs.bat hdd4: +OPL *.JPG

which will successfully copy over all .jpg files in a directory. BUT the only issue is that it copies them to the root of the +OPL partition and I need them in the +OPL/ART directory.

Does anyone know of a command to achieve this?

There isn't much information online regarding PFS Shell and the information that does exist is mainly regarding POPS. No one really talks about transferring over OPL part.
 

Snomannen_kalle

Well-Known Member
Member
Joined
Sep 2, 2018
Messages
350
Trophies
0
Age
29
XP
2,347
Country
Norway
I have a PHAT PS2 with an internal HDD. I use OPL to boot my games and everything seems to work perfectly. Today I've been messing around with art work and I discovered an app called OPL Manager for my PC, which downloads it all automatically.

I'm trying to find a way to speed up the process of transferring my ART folder (from OPL Manager) to the internal HDD of PS2. --

Firstly I'm fully aware that I can copy the ART folder to a USB thumb drive and then manually copy it over using something like uLaunch. However I find this to be slow and tedious.

I currently have the internal HDD of my PS2 connected to my PC via a USB dock thingo. I've successfully been able to access it via PFS Shell (command line utility).

I've discovered this command:
Code:
pfs.bat hdd4: +OPL *.JPG

which will successfully copy over all .jpg files in a directory. BUT the only issue is that it copies them to the root of the +OPL partition and I need them in the +OPL/ART directory.

Does anyone know of a command to achieve this?

There isn't much information online regarding PFS Shell and the information that does exist is mainly regarding POPS. No one really talks about transferring over OPL part.

Have you tried

Code:
pfs.bat hdd4: +OPL/ART *.JPG
 
  • Like
Reactions: Alexander1970

Snomannen_kalle

Well-Known Member
Member
Joined
Sep 2, 2018
Messages
350
Trophies
0
Age
29
XP
2,347
Country
Norway
Yep, legit the first command I tried. Doesn't work.
Well, it was worth a shot :P in that case, perhaps try to bulk move them first onto the +OPL partition, and then into the ART folder. If that doesn't work, I'm afraid I'm out of ideas; it's been a while since I have been messing around with pfsshell
 
  • Like
Reactions: Alexander1970

rs1n

Well-Known Member
Member
Joined
Jul 26, 2013
Messages
309
Trophies
1
XP
1,201
Country
United States
I've discovered this command:
Code:
pfs.bat hdd4: +OPL *.JPG

which will successfully copy over all .jpg files in a directory. BUT the only issue is that it copies them to the root of the +OPL partition and I need them in the +OPL/ART directory.

The original batch file is:
Code:
echo Usage: pfs.bat device partition file_wildcard
echo Usage Example: pfs.bat hdd1: __common *.jpg
echo Must run as administrator
echo device %1 > ps2xfer.txt
echo mount %2 >> ps2xfer.txt
for %%X in (%3) do (echo put "%%X") >> ps2xfer.txt
echo umount >> ps2xfer.txt
echo exit >> ps2xfer.txt
rem type ps2xfer.txt | pfsshell
rem del ps2xfer.txt

The batch file just creates a script that is run then run. You just need to add a "cd" command after the "mount" command. Change

Code:
echo device %1 > ps2xfer.txt
echo mount %2 >> ps2xfer.txt
for %%X in (%3) do (echo put "%%X") >> ps2xfer.txt

to

Code:
echo device %1 > ps2xfer.txt
echo mount %2 >> ps2xfer.txt
echo cd ART >> ps2xfer.txt
for %%X in (%3) do (echo put "%%X") >> ps2xfer.txt
 
  • Like
Reactions: ThaKarra

ThaKarra

Well-Known Member
OP
Member
Joined
Aug 17, 2018
Messages
139
Trophies
0
Age
31
XP
780
Country
Australia
The original batch file is:
Code:
echo Usage: pfs.bat device partition file_wildcard
echo Usage Example: pfs.bat hdd1: __common *.jpg
echo Must run as administrator
echo device %1 > ps2xfer.txt
echo mount %2 >> ps2xfer.txt
for %%X in (%3) do (echo put "%%X") >> ps2xfer.txt
echo umount >> ps2xfer.txt
echo exit >> ps2xfer.txt
rem type ps2xfer.txt | pfsshell
rem del ps2xfer.txt

The batch file just creates a script that is run then run. You just need to add a "cd" command after the "mount" command. Change

Code:
echo device %1 > ps2xfer.txt
echo mount %2 >> ps2xfer.txt
for %%X in (%3) do (echo put "%%X") >> ps2xfer.txt

to

Code:
echo device %1 > ps2xfer.txt
echo mount %2 >> ps2xfer.txt
echo cd ART >> ps2xfer.txt
for %%X in (%3) do (echo put "%%X") >> ps2xfer.txt

Really appreciate this! Thank you :)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    LeoTCK @ LeoTCK: yes for nearly a month i was officially a wanted fugitive, until yesterday when it ended