PS1/2 OPL BATCH - finalizing the installation of a PS2 HDD

rs1n

Well-Known Member
OP
Member
Joined
Jul 26, 2013
Messages
309
Trophies
1
XP
1,214
Country
United States
26-APR-2020: Updated downloads to fix an extra space character in the generated .CFG files

TL; DR -- Batch file to add artwork, VMCs, CFGs, VCDs. Batch file at the bottom; extract to your hdl_hdd folder inside your OPL Manager folder. Connect your PS2 HDD to your PC and install the games you want using HDLBATCH (link at bottom). Then run OPL Manager with admin rights, and set OPL Manager to scan PS2 HDD for the games list. Batch download the art files and adjust them to your liking using OPL Manager. Then run OPLBATCH.BAT by right-clicking on it and choosing Run as administrator and answer the prompts.

This batch file was written to speed up the process of finalizing an new PS2 HDD setup. My preferred workflow for setting up a PS2 with an internal HDD for gaming -- from scratch -- is as follows.

EQUIPMENT NEEDED:
- PS2
- PS2 Network Adapter (NA)
- HDD
- USB adapter for HDD
- USB flash drive (formated FAT32)
- (optional) IDE-to-SATA modkit for NA
- (optional) official Sony memory card (MC)

WORKFLOW:
  1. Use an FMCB HDD boot image to copy onto the HDD via your PC.
  2. Boot the PS2 using the HDD and run uLaunchELF to create your own FMCB memory card.
  3. Format the PS2 HDD and install FHDB.
  4. Create the +OPL partition on the PS2; additionally create the __.POPS partition for PS1 games
  5. Re-connect the HDD to the PC and use HDLBATCH to install games.
  6. Run OPL Manager (with admin rights) and scan the PS HDD for its games list; batch download art and adjust to personal preference.
  7. Run OPLBATCH (with admin rights) to add the art, VMCs, and possibly any PS1 VCDs placed in the hdl_hdd/POPS folder.
OPLBATCH can also be used to update an existing install with new assets (whether it be art, VMCs, CFGs, or VCDs) and can even be used as a backup tool for all your existing VMCs.

DETAILED INFO:

So you've installed a list of games, and now you want to make your installation a bit more complete with artwork (covers, screenshots, etc.) and even dabble in some PS1 gaming via POPSTARTER. The simplest way to transfer the necessary files is either via USB or ethernet, with USB being simplest (no configuring to do). Unfortunately USB is the slowest method of transfer since we're dealing with USB 1.1. Fortunately, it is possible to transfer all that you want using PFSSHELL and connecting your HDD to your computer. However, PFSSHELL is much like a command terminal and only deals with single files. So copying over hundreds of files one by one is not ideal. This is where OPLBATCH can make the process much easier. OPLBATCH basically just creates scripts for each subfolder from OPL Manager. If there are files in the ART folder, it makes a script for copying all the PNG and JPG files over onto the HDD and feeds the script to PFSSHELL. Additionally, it will do the same for POPS (the folder that presumably contains the PS1 VCD files that were converted from PS1 BIN/CUE files). It will also make virtual memory cards (VMCs) for use with OPL. The more recent daily builds of OPL are bugged with VMC creation -- when you create a new VMC in OPL on your PS2, you will run into an error that says the VMC is too fragmented despite being newly created. But even if this bug did not exist, creating VMCs for hundreds of games is a very tedious process. OPLBATCH will create these files and also adjust your CFG files accordingly, or create one if one does not already exist. (The CFG file is necessary so that OPL knows to use the correct VMC file.)

When creating VMCs and CFG files, the existing VMC and CFG folder will be renamed to VCM.bkp and CFG.bkp. Any files in these backed up folders will have higher priority over creating new ones. OPLBATCH will then back up the existing VMCS and CFG files on the PS2 HDD (unless directed to skip this step) and store them in the VMC and CFG folders, respectively. When creating new VMCs, it will give priority to the files in VMC or CFG (i.e. the ones pulled from the PS2 HDD), followed by VMC.bkp and CFG.bkp, and then lastly create new ones if none are found in the aforementioned folders. If a .bkp folder already exists, then OPLBATCH will exit until you fix this discrepancy (e.g. re-running OPLBATCH). In general, after running OPLBATCH, the VMC and CFG folders have the "merged" content and the .bkp folders can be discarded. But this is left up to you to decide what to do with the .bkp folders (the idea is that theoretically you might have placed files into VMC and CFG folders that actually don't correspond to any installed games, and so do not get used after being moved into the .bkp folders).

All the scripts that it builds are in the TMP folder that it creates. You can delete the TMP folder once done.

ABOUT OPL MANAGER AND ARTWORK:

Those of you who have used this wonderful tool know that there are certain rules that can, at first glance, make life seemingly tedious. OPL Manager has two folders: CD and DVD for games of that type. It would seem that you would have to sort your game files before you can do any batch art downloads. However, you DO NOT need to sort any of your games at all. Use HDLBATCH to install your games into the HDD first, and then use the PS2 HDD mode within OPL Manager. Go to Settings > Change Mode/OPL Folder and select the PS2 HDD. Then update the games list and proceed to use the batch downloader for artwork. The art files are stored in the hdl_hdd/ART folder (which is itself inside the OPL Manager folder). When done, you can then click on Manage ARTs and adjust any of the artwork for each individual game.

HDLBATCH: https://gbatemp.net/download/hdlbatch.36256/

Please send any bug reports via this thread.

WARNING: Only compatible with installations where games were installed using either HDLBATCH or installers that used HDLDUMP 0.9.2.
 

Attachments

  • OPLBATCH.7z
    126.7 KB · Views: 813
Last edited by rs1n,

imkira3

Member
Newcomer
Joined
Jan 14, 2020
Messages
10
Trophies
0
Age
30
XP
147
Country
Canada
This reminds me of PS2 HDD BatchKit. Does this offer any additional options? PFS HDD Manager has the ability to take images straight from the OPL Manager image archives and rename them so Open PS2 Loader can recognize them. Anyway, there is a .iso file in this post here that comes with all the ART files anyone might need for this, already named in a style Open PS2 Loader can recognize: https://www.psx-place.com/threads/fhdb-pre-conf-fhdb-pre-configured-with-art-and-emulators.27742/

Great work, glad to see the PS2 scene isn't dead yet.
 

zfreeman

Well-Known Member
Member
Joined
Mar 9, 2013
Messages
1,559
Trophies
2
Location
USA
XP
3,999
Country
United States
Thank you for this. I could never get PS2 HDD BatchKit to transfer ART, etc. However, I have found that the latest OPL Daily Build seems to create VMCs without issue.
 

rs1n

Well-Known Member
OP
Member
Joined
Jul 26, 2013
Messages
309
Trophies
1
XP
1,214
Country
United States
This reminds me of PS2 HDD BatchKit. Does this offer any additional options?

If I am not mistaken the batchkit focuses on the initial install. If one installs 100 games and then at a later time installs another 100 games then one would have to maintain two separate archives. Only after installing the second collection (treating it like a new install) can one then merge the archives (and do it manually) into one on the PC side. Otherwise VMC and CFG files on the PS2 that have already been modified might get reset. My batch file uses the HDD contents itself to determine what is missing and then installs the missing art, vmcs, etc. All game files, art, etc. can be kept where they are with the only PC side maintenance being the deletion of the .bkp directories for adding new content.

VMCs are simply copies of a single blank VMC generated by genvmc rather than calling genvmc for each game. Also the PS2 and the PC files are synced. In particular if one has an existing installation, adding new games does not affect the config files or VMCs of existing games. Also, updating say from using one VMC to two VMCs with a config file that already has existing changes saved will not be an issue. One can also import VMCs and CFGs from other installations, too.

OPL Manager handles the art, so only the art for installed games get downloaded. The batchkit you mention downloads an entire archive and then migrates the ones corresponding to the games that are to be installed. I prefer to go back and make adjustments to the art as many games have multiple screenshots or even covers to choose from. This can be done from OPL Manager. This allows a more customizable look for users rather than forcing them to accept random art. Once the art is configured as desired, a user would run my batch file to load art as well as all other remaining files.
 
  • Like
Reactions: imkira3

rs1n

Well-Known Member
OP
Member
Joined
Jul 26, 2013
Messages
309
Trophies
1
XP
1,214
Country
United States
Sorry for my lack of clarity. I meant that all the files (despite extensions) are actually text files. In particular the .pfs files are the scripts that were generated and they would likely be the source of errors, if any.
 
  • Like
Reactions: nickcheney21791

nickcheney21791

Member
Newcomer
Joined
Mar 23, 2020
Messages
5
Trophies
0
Age
33
XP
57
Country
United States
Sorry for my lack of clarity. I meant that all the files (despite extensions) are actually text files. In particular the .pfs files are the scripts that were generated and they would likely be the source of errors, if any.

For some reason im not able to upload the .pfs file here. Do you know of any other way I can share it to you?

Update: Got it. Had to put it in a 7Z
 

Attachments

  • VMC.7z
    2.2 KB · Views: 200
Last edited by nickcheney21791,

rs1n

Well-Known Member
OP
Member
Joined
Jul 26, 2013
Messages
309
Trophies
1
XP
1,214
Country
United States
Based on the video I was following, 2gb.

Oh my! You have 689 games installed, and if you created a VMC for each game at 8MB each, that's 689 x 8 = 5512MB, or over 5GB worth of files for just the VMCs! You should create your +OPL partition to be at least (number of games) x 8MB + (wiggle room). The wiggle room is for art files, cfg files, etc. In your case, I would just create an 8GB partition, or at least a 12GB partition (if you want two VMCs per game).
 
  • Like
Reactions: nickcheney21791

nickcheney21791

Member
Newcomer
Joined
Mar 23, 2020
Messages
5
Trophies
0
Age
33
XP
57
Country
United States
Oh my! You have 689 games installed, and if you created a VMC for each game at 8MB each, that's 689 x 8 = 5512MB, or over 5GB worth of files for just the VMCs! You should create your +OPL partition to be at least (number of games) x 8MB + (wiggle room). The wiggle room is for art files, cfg files, etc. In your case, I would just create an 8GB partition, or at least a 12GB partition (if you want two VMCs per game).

I thought it was a little odd only having a 2gb partition lol I'll try a 12gb partition. But wouldn't you want it to be 2tb since thats the size of the HDD?
 

nickcheney21791

Member
Newcomer
Joined
Mar 23, 2020
Messages
5
Trophies
0
Age
33
XP
57
Country
United States
The +OPL partition only houses config files, VMCs, artwork etc. When games are installed they are placed in their own partitions.

Oh I see. Well I reformatted the HDD last night, made the +OPL partition 12gb, transfered the games to it and just ran the OPL Batch and everything transfered! Thanks so much for all the help man!!
 

Kazvall

Member
Newcomer
Joined
Oct 5, 2020
Messages
5
Trophies
0
Age
37
XP
44
Country
United States
I couldn't get VCDs to transfer over to the HDD through usb on the PC. When I ran oplbatch inside hdl_hdd/pops, and hit Y for VCDs to transfer, it didn't seem to do anything. __.POPS is properly set up on the hdd. Art and VMCs worked fine. What am I doing wrong?
 

zfreeman

Well-Known Member
Member
Joined
Mar 9, 2013
Messages
1,559
Trophies
2
Location
USA
XP
3,999
Country
United States
I think you need to replace/remove the spaces with something else, like underscores. I recall that it couldn't handle any " ".
 

Kazvall

Member
Newcomer
Joined
Oct 5, 2020
Messages
5
Trophies
0
Age
37
XP
44
Country
United States
Okay, I am pretty positive I set it in kHn right as "__.POPS" underscore underscore period POPS, no spaces. I will double check, though!
 

Kazvall

Member
Newcomer
Joined
Oct 5, 2020
Messages
5
Trophies
0
Age
37
XP
44
Country
United States
That did not seem to work. I made sure there were no spaces in the vcd files. The art copies over, and the VCD process says it has completed, but when I look on the hdd in the ps2, there is nothing.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: Also touch is better.... Well at least better than the launch DS, the lite one improved that a ton