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: OPL debug binary and catch the log into a file , how ?
  

Results 1 to 9 of 9
  1. #1 OPL debug binary and catch the log into a file , how ? 
    s8n
    s8n is offline Member
    Join Date
    Dec 2003
    Posts
    262
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    13
    Likes Received
    0
    hola OPL sceners , i need a little help and coaching on how to launch OPL debug binary and catch the log into a file. I apparently need to launch OPL via ps2link , I dont have any files to do the job atm so i am at square one.


    I am trying to help jimmi and izdubar with getting a game running in OPL that is currently not working.


    any tips help

    s8n





    edit.........


    I have XLink and ps2link V1.24.elf , i still need opl debug binary ..........ive Googled for it but cant find it , can anyone point me in the right direction.
    Last edited by s8n; 01-02-2011 at 03:25 AM.
    Reply With Quote  

  2. #2  
    jimmikaelkael is offline Member
    Join Date
    Mar 2008
    Location
    France
    Posts
    1,191
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Likes Given
    0
    Likes Received
    10
    If you're able to compile opl, you're able to compile a debug binary.
    Have you got a working ps2SDK ?
    Reply With Quote  

  3. #3  
    s8n
    s8n is offline Member
    Join Date
    Dec 2003
    Posts
    262
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    13
    Likes Received
    0
    hi jimmi , yes i can compile OPL i downloaded loki7777's ' Ubuntu Virtual Machine + enviroment to compile OPL ' package

    and have compiled multi releases of OPL with success
    Reply With Quote  

  4. #4  
    jimmikaelkael is offline Member
    Join Date
    Mar 2008
    Location
    France
    Posts
    1,191
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    1 Thread(s)
    Likes Given
    0
    Likes Received
    10
    Then a simple :
    make clean
    make iopcore_debug

    Will let you have the debug binary built
    Reply With Quote  

  5. #5  
    RandQalan's Avatar
    RandQalan is online now Wanabe Beta Tester
    Join Date
    May 2010
    Location
    USA
    Posts
    3,635
    Downloads
    17
    Uploads
    37
    Mentioned
    18 Post(s)
    Tagged
    4 Thread(s)
    Likes Given
    727
    Likes Received
    406
    Then I would suggest to open opl folder open make file the first line says debug = 0 change to debug = 1 open console cd open-ps2-loader make rebuild Then after done open folder should be elf about 4.8 M in size that is debug elf

    Their you go

    To slow for Jimmi i see

    V10 SCPH-50001 with Network adapter SCPH-10281 500 G HD
    PSP 3000 9G 6.20 PRO CFW Perm
    Unofficial FMCB v1.8C OPL self compiled HD and SMB preferred
    Is how all good gaming systems came to be
    Reply With Quote  

  6. #6  
    izdubar's Avatar
    izdubar is offline Babylon User
    Join Date
    Nov 2009
    Posts
    869
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    2
    Quote Originally Posted by RandQalan View Post
    Then I would suggest to open opl folder open make file the first line says debug = 0 change to debug = 1 open console cd open-ps2-loader make rebuild Then after done open folder should be elf about 4.8 M in size that is debug elf
    Just to be clear, while the above also make a "debug" binary of OPL, there are different level of debugging available.

    So if Jimmi ask you to "make iopcore_debug", please do so, as it is not the same as the simple debug level you'll get by changing the Makefile.
    It's too late to think that we can worship human emotions
    Because we've already evolved into machines in our minds
    Reply With Quote  

  7. #7  
    RandQalan's Avatar
    RandQalan is online now Wanabe Beta Tester
    Join Date
    May 2010
    Location
    USA
    Posts
    3,635
    Downloads
    17
    Uploads
    37
    Mentioned
    18 Post(s)
    Tagged
    4 Thread(s)
    Likes Given
    727
    Likes Received
    406
    Quote Originally Posted by izdubar View Post
    Just to be clear, while the above also make a "debug" binary of OPL, there are different level of debugging available.

    So if Jimmi ask you to "make iopcore_debug", please do so, as it is not the same as the simple debug level you'll get by changing the Makefile.
    Thanks for the information I will keep that in mind.

    V10 SCPH-50001 with Network adapter SCPH-10281 500 G HD
    PSP 3000 9G 6.20 PRO CFW Perm
    Unofficial FMCB v1.8C OPL self compiled HD and SMB preferred
    Is how all good gaming systems came to be
    Reply With Quote  

  8. #8  
    izdubar's Avatar
    izdubar is offline Babylon User
    Join Date
    Nov 2009
    Posts
    869
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    0
    Likes Received
    2
    Quote Originally Posted by s8n View Post
    I have XLink and ps2link V1.24.elf , i still need opl debug binary ..........ive Googled for it but cant find it , can anyone point me in the right direction.
    Here are the binaries (ELF) of PS2Link version 1.52. There are two versions, the standard one and the "high" one. The high loads its data at a higher memory address.

    Use the standard one (but keep the other somewhere).

    HOWTO:

    Save the PS2link.elf to your mc?:/SYS-CONF/ folder, at the same level as the IPCONFIG.DAT file, as it will try to read it to setup your PS2 network configuration (if it can't find the IPCONFIG.DAT it will use a default IP/Gateway/mask).

    Then, on your PC, you should compile OPL as said above "make clean", then "make iopcore_debug". Stay in this folder, and do a directory listing after the compilation. You should have a single ELF as output: opl.elf

    Then run these PS2client commands on your PC, in the same directory:

    Code:
    ps2client -h 192.168.1.10 netdump
    ps2client -h 192.168.1.10 execee host:opl.elf
    You must use the IP address of your PS2 instead of course.

    OPL will start on the PS2. Due to all the traces being outputed, it may freeze due to concurrent IO. In that case, stop ps2client (CTRL + C), reset ps2Link:

    Code:
    ps2client -h 192.168.1.10 reset
    And then try again.

    In attachment is also the ps2client for linux (if you use one of the VM).

    ---

    Another solution (and probably it is this one we need), without using "ps2client", is to copy the "opl.elf" to your memory card. Start it with uLaunchELF, and make a wireshark capture.

    As all debug traces are sent in broadcast, you will get them in the capture along with the usual SMB (or even without using SMB) packets.
    Attached Files
    It's too late to think that we can worship human emotions
    Because we've already evolved into machines in our minds
    Reply With Quote  

  9. #9  
    s8n
    s8n is offline Member
    Join Date
    Dec 2003
    Posts
    262
    Downloads
    0
    Uploads
    0
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Likes Given
    13
    Likes Received
    0
    i want to say thanks to.........

    jimmi
    Rand
    izdubar


    alot of great help as usual and great insight..........

    i have been playing around and tinkering and have generated a debug.txt

    i will post my findings in the Game Compatibilty section of this site.


    see you there


    s8n
    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
  •