Skip to content

PS2Link Debugging

AKuHAK edited this page May 11, 2022 · 1 revision
  1. Grab any debug version of OPL (like produce with make debug for example)
  2. First you need to set up the network. Skip this step if you already have a working SMB or NBD server
  3. In Network Settings page set PS2 IP Address Type - Static and choose any free IP address in your local network. The easiest way: ping some address from your development PC. set Gateway and DNS server as ip address of your router. Dont touch SMB. Press ok.
  4. In Settings page set Debug Colors On, ETH Device Start Mode Auto, and press Ok.
  5. Just in case, save changes. Go to the Games List (Circle). Choose SMB and Start Device (X). Ignore errors.
  6. Start pinging PS2 IP from your PC. If you can ping, congrats. If you cant, that means that something went wrong. Probably you need to set up an SMB server normally, not sure.
  7. Power off console, download ps2client for your system (https://github.com/ps2dev/ps2client/releases/tag/latest), run the follwoing command in cmd/terminal (replace 192.168.0.10 with your ps2 ip): .\ps2client.exe -h 192.168.0.10 listen NOTE: ps2client doesnt work in WSL
  8. Launch OPL debug version. In your cmd/terminal you should see something like UDPTTY loaded!
  9. If you want to debug USB, plug-unplug your usb flash (of course USB mode should be enabled in settings). NOTE: to properly debug BDM you need to recompile PS2SDK with debug flag.
Clone this wiki locally