PS2 [Testers Needed] UDPBD - The next generation of loading games through LAN on a PS2!


Thank you for the help. Unfortunately, I returned the router 2 days ago. I may try again in the future, but for now Linux feels just a bit too complex for me.
 
Hi. I got a problem. My games is visible in OPL, but when i launch them, i got only green screen(debug colors on).
SMB, Mx4sio and iLink disabled
IP:static, 192.168.1.10
OS: Windows 11 Pro, Firewall disabled
PS2: 50008, FAT, PAL, original network adaptor with sata mod
Tried VHD, VHDx and usb flash drive. All was formatted in ExFat, 512 sector.
NBD works fine for example
Log:
>udpbd-server.exe \\.\K:
Opened '\\.\K:' as Block Device
- read/write
- size = 274872MB / 262138MiB, sector size = 512
Block size changed to 128
Server running on port 48573 (0xbdbd)
UDPBD_CMD_INFO from 192.168.1.10
UDPBD_CMD_WRITE(cmdId=0, startSector=19968, sectorCount=1)
UDPBD_CMD_WRITE(cmdId=3, startSector=18445, sectorCount=1)
UDPBD_CMD_WRITE(cmdId=4, startSector=14208256, sectorCount=1)

UDPBD_CMD_WRITE is appearing when gamelist read. After launching game, nothing new appears in log.
 
Last edited:
OS: windows 10
PS2: SCPH-90001 modbov5 (disabled)
Network: dirrectly connected
Storage device: exFat formmated VHD

First time it worked perfectly without any game settings (God Of War II, GT4, GTA San Andreeas) with VMC

The next day when i tried it no game boots up, tried with mode1, mode 2, mode 1+2

Debug colors: iopmgr.c
New_Reset_Iop: This function hook reset IOP (Input/Output Processor) if an update sequence is requested
████████ magenta Before SifInitRpc

Server log does not show any kind of output after initial CMD_INFO.
Code:
UDPBD_CMD_INFO from 192.168.1.10
UDPBD_CMD_WRITE(cmdId=3, startSector=10240, sectorCount=1)
UDPBD_CMD_WRITE(cmdId=5, startSector=6178, sectorCount=1)
UDPBD_CMD_WRITE(cmdId=6, startSector=35976704, sectorCount=1)
UDPBD_CMD_WRITE(cmdId=0, startSector=10240, sectorCount=1)
(I tested to write some game settings to check if they get saved, they do, still stuck at magenta debug screen)
 
As im new forum user, im not allowed to place links, so if mods allows, ill provide link/ELF
Hello!

There is OPL 2044 build with UDPBD, floating around.
As i actively use UDPBD, and sometimes switch from OPL to neutrino, i created "patched" version of OPL 2044 UDPBD build, to make it work as neutrino frontend for UDPBD backend. So, when you use this patched OPL 2044 UDPBD, every time you launching game via UDPBD backend, it will launch it by using neutrino.

Short howto:
1. Place neutrino to mc0: in folder NEUTRINO
2. Edit bsd-udpbd.toml (mc0:NEUTRINO/config/bsd-udpbd.toml), to specify ip which will be used by ps2:
Code:
args = ["ip=192.168.0.10"]
3. Yes, i patched hardcoded ip in OPL 2044 UDPBD to 192.168.0.10, so you need your network to be at subnet 192.168.0.255 (and you need to run udpbd-server at any 192.168.0.x ip device, except 0.10, of course, to accept udp broadcast requests from ps2).
4. Just run attached patched OPLNEUT.ELF. That's all. Just use udpbd backend in OPL, and when you launch any game it will be run with neutrino core.

Few notes.
Its a preliminary version, so it uses only game path from OPL. In next version it will use compatibility options (selected modes) from OPL, now its hardcoded to mode 1, as M1 is most compatible and safe for UDPBD.
Also, i patched out config names used by this OPL-NEUTRINO (to udpb_*.cfg) so it will be fine to use with other OPLs simultaneously without risk of config conflicts.

You may ask why i did this OPL-NEUTRINO hybrid. Just because, as i use UDPBD, i found few titles, which have incompatibilities/bugs with OPL 2044 UDPBD and works excellent with neutrino-udpbd.

As im new forum user, im not allowed to place links, so if mods allows, ill provide link

...patched OPL at mediafire.com
/file/7opih7ijtcnxmp5/OPLNEUTR.ELF/file

OPLNEUTRINOv5-UDPBD-2044.ELF

This is last version of "oplneutrino" (patched "OPL UDPBD build 2044" that use neutrino core by Rick Gaiser for udpbd backend. Or you may call it "frontend/gui" for neutrino. However, for other backends, it will works as default OPL UDPBD build 2044).

- now it supports vmc
- supports compatibility modes options
- rewrote reading opl params to more propertly way
- tested and working with current neutrino-1.2.0

Important note: For current udpbd "client-side" projects/builds (opl udpbd build 2044, neutrino-1.2.0, this "oplneutrino") need to use at server side or udpbd-vexfat (R/O), or udpbd-server(R/W), but for the last to work, "disk" need to be partitioned/formatted to exfat not in windows (fdisk/mkfs.exfat in linux is ok, just set cluster to 32k), or it will not mount.
 
Last edited by a moderator:
@TnA, not yet, but joining right now. Thank you for invitation :)

OPLNEUTRINOv6-UDPBD-2044.ELF
- cheats working now

Remeber to place neutrino to mc0:NEUTRINO
and edit mc0:NEUTRINO/config/bsd-udpbd.toml to specify ip 192.168.0.10 as it is used by OPLNEUTRINO

OPLNEUTRINOv9-UDPBD-2044.ELF
Just a few critical fixes (forgot to remove debugging hooks, now everything ok - cheats works for all backends)
To sum it up:
- it is patched OPL-UDPBD-2044, allowing it to use neutrino-udpbd core for udpbd backend. So, you may browse your udpbd "share", change compatibility options, manage/enable vmc, cheats, i.e. do all things you usually do with OPL, but when you launch game, it will be run not by opl-udpbd core, but by neutrino core.

- ip patched to 192.168.0.10 (so you need to edit same ip in neutrino config file at mc0:NEUTRINO/config/bsd-udpbd.toml
- it is using neutrino core for udpbd backend (it is launching it from mc0:NEUTRINO/)
- it is passing OPL vmc/compatibility modes to neutrino and allow OPL cheats to work with it by patching opl's ps2rd core in runtime
- for other backends (not udpbd), it works as default OPL-UDPBD-2044

OPLNEUTRINOv14-UDPBD-2044.ELF
- GSM support added
(but, currently you cant use GSM and Cheats together, because, for now, their patched and relocated cores both share same memory area, so if you use GSM, dont enable cheats, and vice verse.)
- fully refactored patch code and fixed many bugs
 
Last edited by a moderator:
  • Like
Reactions: TnA
New here. Trying to set up my SCPH-75001 with UDPBD using OPL v1.2.0-Beta-2044-767174. My laptop is hosting the server (UDPBD VexFat) with a dedicated internal exfat hard drive, but I have also tried a Fat32 USB under another drive letter with the same results. Every time I load into OPL after setting everything up I can see server side that my ISOs are being detected, but the BDM Games List in OPL is empty. I have SMB disabled, nothing but controller and FMCB card in the PS2, and I have tried BDM in manual mode where it has you start the device with O, but all I ever get is "UDPBD_CMD_INFO from 192.168.1.10:48573" from the server. No games in OPL, and nothing more from the server, no matter how long i wait. Any help would be appreciated!


EDIT:
Disregard, but if anybody else needs to know what finally worked, I had to completely remove OPL from MC0, make sure the fresh OPL folder was then put into the APPS folder, disconnect laptop from wifi/other networks, set BDM to manual. Games list is now populating, and everything is running good so far
 
Last edited by a moderator:
hi guys , just a note I tested 2 of my random USB sticks. One had 50% slower access time and the other was way worse about x8.

Some of you are using USB sticks for testing , but the read speed from a HDD or SSD will show this projects full potential

BTW use HD Tune to measure the access time
 
Last edited:
This is as far as I got. Problem I have now is that there is no /dev/sda1 or sdb1 and OPL doesn't show any games. It would be great if someone figures this out, but I'm giving up on it for now. It's taken way too much of my time so I just bought a PS2 fat instead.


A few months ago I also followed a similar procedure on my Orange Pi Zero with OpenWRT (which I have been using for years with great satisfaction with Samba and an NTFS SSD) but I have always had problems starting the server-udpbd.elf, in the syslog of OpenWRT startup the problem was sometimes access denied, sometimes incorrect syntax, sometimes file not found... A quite annoying behavior. :rolleyes:
But in the end I did it out of curiosity, also because the kernel doesn't support exFAT so it would have been useless to waste any more time on it.
I will try again in the future with one of those routers like the GL.iNET.
 
No, with the kernel used in the OpenWRT release for the Orange Pi Zero it is not possible to install the exFAT drivers either through opkg or manually.
It does not support Kernel-modules or external ExFAT drivers??
Is the orange Pi's Kernel sooo minimal?
So what would need to be done to allow someone to use UDPBD and play online?

is it because OPL uses a different SMAP driver than Sony?
Yes, basically the Stack is not compatible.
 
It does not support Kernel-modules or external ExFAT drivers??
Is the orange Pi's Kernel sooo minimal?


Kernel modules.
The release I use has the kernel version 4.19 which as far as I know has never been released in a stable version and in fact nothing can be found on the download page on the OpenWrt website... It's a release that I found a few years ago on a Russian forum if I remember correctly.
The official releases are missing everything and I would have to install dozens of packages to make them at least usable as a SAMBA server, but it's not worth it given that with the current one, apart from the lack of support for exFAT, it has worked perfectly without any problems for years.
 
UDPBD only requires to additionally install the UDPBD-Server and the FS-drivers. Much less than SAMBA needs and it also uses less processing-power and RAM.
 
Yeah I know, but with my Orange Pi it's basically useless without exFAT.

Anyway, I have another mini router with OpenWrt and I'll try it over the weekend. :cool:
 
It does not support Kernel-modules or external ExFAT drivers??
Is the orange Pi's Kernel sooo minimal?

Yes, basically the Stack is not compatible.

Where can I learn about the network stack of the PS2 and the one used by OPL? Is there documentation. I'd love to get involved tho I haven't done any hardware programming in years.
 
Today I spent a few hours trying to use the UDPBD protocol with OpenWrt on a GL.iNET GL-MT300N-V2 router - for storage I used a 64GB SanDisk Ultra MicroSD formatted in exFAT and an old USB 2.0 multicard reader, the PS2 used it's a SCPH-90004 - and thanks to my basic knowledge of GNU/Linux (the years spent using Debian were useful :D) after a bit of trial and error I managed to make it work and I must say that the increase in performance compared to Samba it is evident. With the same configuration using the router's internal file sharing application in the classic GTA VC loading screen I had a 7 seconds shorter loading time with UDPBD!!! But the game in general loads much faster.

I will also do a comparison with my OrangePi with OpenWrt, Samba and an NTFS SSD.

The work done to bring this protocol to OpenWrt is remarkable, so I congratulate the developer, but in my case the instructions provided were incomplete and I had to make some changes to the files and to the entire procedure itself. I don't know if it's just my problem and if my installation, although it works, is correct, so I don't want to say anything wrong towards the developer to whom I renew my compliments because it is truly a revolution for those like me who are obsessed with loading games via ethernet. THANK YOU! :love heart:

I haven't finished the work so at the moment I don't feel like sharing the instructions, because in the next few days I have to refine some settings (for example the server with the exFAT MicroSD only works with the OPL 1973 version and not with the 2044) and try to simplify installation on OpenWrt. But tomorrow I'll post a video of it working. It's night in Italy and I have to wake up early for work. :D

This is the video of the UDPBD server for OpenWrt.

Please don't pay attention to the setup, it's my workbench for repairing consoles :D.

Unfortunately I haven't improved the installation to write a decent guide because due to work I don't have much time especially during this Christmas period, but I will do my best to do it in the next days.

 
Last edited by a moderator:
Hi, thanks for providing this great new method of loading games. I'm having trouble getting this working on my Windows 11 PC though. I have about 90GB of games on a 256GB ExFAT USB memory stick, in the usual folders (ART, DVD etc.). I've got the UDPBD beta of OPL running on my PS2 Slim (7000-something series), and it lists / plays games fine when the USB stick plugged directly into the PS2.

The server on the PC appears to run OK, and the console shows that the PS2 is connecting. But the game list never populates. I've deactivated my AV's firewall (and Defender's). The server is running as Admin. I've set the PS2's network settings as advised in the first post, though I've heard that it works with DHCP anyway. Any suggestions?
 

Similar threads

Back
Top