Forum: Official Open PS2 Loader Forum - Discussion and information on the Official Open PS2 Loader.


The above video goes away if you are a member and logged in, so log in now!




 
Would you like to get all the new info from
PSX-Scene in your email each day?




Want to learn more about the team keeping you up to date with the latest scene news?

Read about them now!

Check out our Developer bios, too!

 


User Tag List

Thread: Load CNF-Files from HDD
  

Results 1 to 4 of 4
  1. #1 PS2 Load CNF-Files from HDD 
    richi902's Avatar
    richi902 is offline SEGA-fanboy
    Join Date
    May 2009
    Location
    Germany
    Posts
    109
    Downloads
    1
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    hi,

    i have the newest OPL sources on my Ubunut machine and i can compile it without problem.

    i would like to modify OPL so that it reads all it's configs from its HDD partition(in my case"PP.SLPM-12345.OPL.OPL").
    but i lack proper c++ skills to make the needed changes myself.
    i dont think changing the " static char configPath[255] = "mc?:SYS-CONF/IPCONFIG.DAT"; " alone will work.

    but anyway, thanks for anyone who can help me.

    richard
    Hey Ho Let's Go ! ! !
    PSN:majesco1344|XBL:majesco1344
    Reply With Quote  

  2. #2  
    hominem.te.esse is offline Babylon User
    Join Date
    Mar 2011
    Posts
    221
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    4
    Likes Received
    24
    With the latest revision you can already do that (after tenth code modification ...).

    We call it "alternate device mode". OPL can read all the configuration files from the "+OPL" partition directly.

    The easiest way to setup it, is to manually move the conf_opl.cfg to your "hdd0:+OPL" partition using uLaunchElf for example.

    You can let the MC plugged, but there must NOT BE any conf_opl.cfg on it and it must be one on the +OPL partition.

    In that case, OPL will take the +OPL partition as reference for loading/saving every other configuration files.

    I just fixed a bug related to this feature, so use the R607 binary I posted on the other thread ("R606 - need testing"), as I can't commit on bitbucket for the moment.
    Reply With Quote  

  3. #3  
    richi902's Avatar
    richi902 is offline SEGA-fanboy
    Join Date
    May 2009
    Location
    Germany
    Posts
    109
    Downloads
    1
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    0
    sounds pretty good, thanks!

    but i would need a special compiled version, changing the "+OPL" partition to "PP.SLPM-12345.OPL.OPL", i need that for the HDD-OSD/BB-Navigator.

    .richard
    Hey Ho Let's Go ! ! !
    PSN:majesco1344|XBL:majesco1344
    Reply With Quote  

  4. #4  
    hominem.te.esse is offline Babylon User
    Join Date
    Mar 2011
    Posts
    221
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    4
    Likes Received
    24
    In src/hddsupport.c, change the base path to whatever you need:

    const char *oplPart = "hdd0:+OPL";

    With maybe:

    const char *oplPart = "hdd0:PP.SLPM-12345.OPL.OPL";
    Reply With Quote  

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •