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

Does anyone know how I can make a .bat file to automatically run udpbd-server?

This is the command I use to run it:

udpbd-server.exe \\.\F:

Thanks.

EDIT:

Found out how to do it in this tutorial:


the game still won't show on my PS2. I've tried setting BDM on both Auto and Manual start mode, can't see any difference.
I was having this problem and thought I'd tried everything, having internet connection sharing enabled on my PC was interfering with it, I disabled that and the list started to appear (after taking a while to load, does anyone elses do this? I seem to recall SMB was instant...)

EDIT:

Seems I spoke to soon, I am at a loss with this as I had it working last night and now it's not working any more regardless of different builds/servers I try. I'm sure I had it working with the 1973 build and the original server.exe but now I can't get that to work or 2044 with vexfat server.exe

At a loss! :upset:
 
Last edited by a moderator:
I was having this problem and thought I'd tried everything, having internet connection sharing enabled on my PC was interfering with it, I disabled that and the list started to appear (after taking a while to load, does anyone elses do this? I seem to recall SMB was instant...)

EDIT:

Seems I spoke to soon, I am at a loss with this as I had it working last night and now it's not working any more regardless of different builds/servers I try. I'm sure I had it working with the 1973 build and the original server.exe but now I can't get that to work or 2044 with vexfat server.exe

At a loss! :upset:

Lol I was actually trying to repeat what you did, shutting down everything that related to network sharing on my PC. Though it didn't work, I was planing a more thoroughly exam to the network setting someday... Really appraciate your tips though.

I still believe you were looking at the right direction. Consider this same failure happens to both of my consoles, a 50001 and a 77001, my PC still the main suspect at the moment. What OS you are using BTW? Coz both of the instruction video I watched were demostrated on Win11, but mine is Win10. So that's one of the potential cause I'm suspecting.
 
That's interesting. What regular read speed do you need over the network to achieve that? Say if I can transfer files over the LAN at 5-6mb/s will I also achieve that speed in OPL with this method?
 
I read and understood your answer. My question is what LAN speed do you need to achieve ~5-7.5MB/s (eg comparing test result with iperf)? Will I get 7.5MB/s IN-GAME if I only have 7.5MB/s LAN speed? Probably not, but I haven't tested it that's why I'm asking.
 
Of course. What I'm asking is if you have a slow LAN speed where your setup is, is it worth using this method. Say you have 7.5MB/s LAN traffic then you will probably not get 7.5MB/s IN-GAME, right? What's minimum LAN speed to get the full potential 5-7.5MB/s IN-GAME? Is it 15MB/s?
 
Lol I was actually trying to repeat what you did, shutting down everything that related to network sharing on my PC. Though it didn't work, I was planing a more thoroughly exam to the network setting someday... Really appraciate your tips though.

I still believe you were looking at the right direction. Consider this same failure happens to both of my consoles, a 50001 and a 77001, my PC still the main suspect at the moment. What OS you are using BTW? Coz both of the instruction video I watched were demostrated on Win11, but mine is Win10. So that's one of the potential cause I'm suspecting.
I've finally gotten it to work again after a massive amount of pissing about.

The last things I did was rollback the ethernet driver to the original and then re-update it again and also I set a static IP on the ethernet device on the PC to 192.168.1.2 (default gateway 192.168.1.1), subnet mask default).
 
Of course. What I'm asking is if you have a slow LAN speed where your setup is, is it worth using this method. Say you have 7.5MB/s LAN traffic then you will probably not get 7.5MB/s IN-GAME, right? What's minimum LAN speed to get the full potential 5-7.5MB/s IN-GAME? Is it 15MB/s?
Have you ever heard of a router or even just a switch and that the bandwidth of the ports is not shared?
You get that when the game as well as the host can serve it that fast.

Please don't get me wrong, but your questions seem quite senseless, because the answer was evident before you asked.
 
I've finally gotten it to work again after a massive amount of pissing about.

The last things I did was rollback the ethernet driver to the original and then re-update it again and also I set a static IP on the ethernet device on the PC to 192.168.1.2 (default gateway 192.168.1.1), subnet mask default).

I figured it out myself as well last night! I was just about to reply you then I saw your new post LOL Still, much appreciated!

I did about the same things as you. Except I left the gateway address empty on the PC, but set it up on the PS2. I tried your way today, it did work for me as well. And if I setup them up on both PC and PS2, the PC port Gateway address setting overrides the PS2's.

There are some differences though. My IPv4 and Gateway address can be any pair of numbers, but the IPv4 address of PC port has to be exactly 1 number lower than the Gateway: (IPv4:192.168.1.18 / Gateway:192.168.1.19). I tested a couple of different types combination, including yours, same results. Seems the opposite way as yours? Weird but interesting LOL

Another thing, I have to shut off the firewall for the public network on my PC, otherwise neither way works.
 
Last edited:
Another thing, I have to shut off the firewall for the public network on my PC, otherwise neither way works.
Download OneClickFirewall, then right-click the .exe and click restore internet access. Should sort it.

I have some more tips as well to completely automate the process when you start your PC:

Automating the command line:
  1. Create a shortcut of the .exe
  2. Right-click the .exe and select Properties
  3. Under the Target line, add on to the end ' \\.\X:' (minus punctuation marks) for udpbd-server or ' X:' for udpbd-vexfat (with X being the drive location)
  4. Click Apply
Start minimized:
  1. Create a shortcut of the .exe
  2. Right-click the .exe and select Properties
  3. Under the Run line, click the drop-down menu and select minimized
  4. Click Apply
Start with Windows:
  1. Copy the modified shortcut to the following location:
C:\ProgramData\Microsoft\Windows\Start Menu\Programs\StartUp
 
Last edited:
I did make a shortcut for the UDPBD.exe. I actually ran quite a few more tests today. Keep typing in the CMD all the time is exhausting Lol Although I haven't thought about put the shortcut in the Windows StartUp though, that's a really good idea! Thanks for the tips!


Now, here's my new update for the record, in case anyone is interested.

My conclusion is: the UDPBD-vexfat will stop working only when my PC port IPv4 address changed (no matter automaticlly or manually).

The fix to this issue seems solid: manually reset the Gateway to a different address at least once, after the PC port got a new IPv4 address.

In my case, seems any new address will do (I tested a few pair, from 192.168.1.26 to 192.168.1.179), even if the new Gateway address is the same as the current IPv4 address would be fine.

Also, I can reset the new Gateway address on either PC or PS2, both ways solve my issue.

However, reset the Gateway address along with the new IPv4 address simultaneously doesn't work in my case. I have to do it after the 1st attempt. Maybe I'll do some a couple of more tests on this someday.

BTW, I don't need turn off SMB on OPL anymore, just set the ETH game mode to "manual" instead. This way I don't need to turn it on again when I temporarily switch to OPL-DB for SMB PS1 games. I even tried setting the ETH games mode to "automatic", just to see what happens. And OPL just reminds me I got no network adapter for once, then seems that's it. UDPBD still works fine.

About the number matching limitation I experienced yesterday -- PC port IPv4 and Gateway address can be ramdom numbers now, after I set up the Gateway address on PC for the 1st time yesterday. Before I only set it up on PS2. Still not sure what made the difference or what caused the limitation at the first place.

About the firewall failure -- that was my fault. The firewall asked me for permission when I launched UDPBD.exe the 1st time, I only approved the private network permission and left the public network unchecked. I checked my firewall whitelist later, made sure the UDPBD.exe had both private and public network permission. Now it's all good.
 
Has anyone made Beyond Good & Evil work with the UDPBD? The game runs fast for me as if it were on X2 but the audio is normal
 
  • Like
Reactions: TnA
Would anyone happen to know why when I start the server it shows size = 0MB? The drive is properly formatted and I can see the files in Explorer.
 
I am getting able to list all the games from the directory but whenever I launch any one of them I get the green debug screen.
The cover art also is weirdly corrupted sometimes in cases.
I am using the 2044 opl, and udpbd-vexfat by awaken1ng
Log from a sample run ->

UDPBD_CMD_INFO from 192.168.1.10:48573
UDPBD_CMD_INFO from 192.168.1.10:48573
UDPBD_CMD_READ(cmdId=1, startSector=198262808, sectorCount=4)
Block size changed to 512
UDPBD_CMD_READ(cmdId=1, startSector=198262808, sectorCount=4)
UDPBD_CMD_READ(cmdId=2, startSector=198262872, sectorCount=4)
UDPBD_CMD_READ(cmdId=2, startSector=198262872, sectorCount=4)
UDPBD_CMD_READ(cmdId=3, startSector=198263852, sectorCount=4)
UDPBD_CMD_READ(cmdId=3, startSector=198263852, sectorCount=4)
 
  • Like
Reactions: TnA

Similar threads

Back
Top