1. rs1n

    OP rs1n GBAtemp Regular
    Member

    Joined:
    Jul 26, 2013
    Messages:
    171
    Country:
    United States
    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.
     

    Attached Files:

    Last edited: Jan 17, 2020
  2. imkira3

    imkira3 Newbie
    Newcomer

    Joined:
    Jan 14, 2020
    Messages:
    9
    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.
     
  3. zfreeman

    zfreeman GBAtemp Advanced Fan
    Member

    Joined:
    Mar 9, 2013
    Messages:
    960
    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.
     
  4. rs1n

    OP rs1n GBAtemp Regular
    Member

    Joined:
    Jul 26, 2013
    Messages:
    171
    Country:
    United States
    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.
     
    imkira3 likes this.
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - installation, finalizing, BATCH