Sony PS2 DSNET tools on Windows Subsystem Linux (WSL w/Ubuntu)

Donator
Donator
Community Contributor
Registered
Joined
Jul 12, 2019
Messages
192
Reaction score
181
Points
43
Hey All,

Just a quick guide to enabling i386 support under Windows Subsystem Linux (WSL) and Ubuntu which in turn enables you to run the the Sony PS2 DSNET tools on Windows 10.

  1. Press the windows+r keys to open run
  2. Type "optionalfeatures " and press OK
  3. Find the Option Windows Subsystem for Linux, tick it and press OK to install.
    1598277641833.png
  4. Now Install Ubuntu WSL from the microsoft store https://www.microsoft.com/en-us/p/ubuntu/9nblggh4msv6
  5. Once installed press the Start key and search for the Ubuntu App and launch it.

Once WSL is installed we need to install qemu, binmts and gcc for i386. Run the following commands line by line, don't copy and paste the whole block at once.

Bash:
sudo dpkg --add-architecture i386

sudo apt update

sudo apt install gcc:i386

sudo apt install qemu-user-static

sudo update-binfmts --install i386 /usr/bin/qemu-i386-static --magic '\x7fELF\x01\x01\x01\x03\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\x03\x00\x01\x00\x00\x00' --mask '\xff\xff\xff\xff\xff\xff\xff\xfc\xff\xff\xff\xff\xff\xff\xff\xff\xf8\xff\xff\xff\xff\xff\xff\xff'

Once you have finished running the above, you need to start the binfmt-support service using the following command

Bash:
sudo service binfmt-support start

Note: the above binfmt-support service must be started every time you start WSL, you can append it to your ~/.bashrc if you wish it to start every time you launch WSL

From here you can download the dsnet toolset (https://www.psx-place.com/threads/retail-debugging-startup-card.14027/) and run them from WSL

DSNET tool set (2014/03/28): http://www.mediafire.com/file/oio3fbf81osi526/[140328]dsnet-bin.7z
  1. Download the above dsnet tool set and extract the files to somewhere like 'c:\temp\dsnet\'
    1598278756195.png
  2. In WSL navigate to the above directory "cd /mnt/c/temp/dsnet/" and check you can see the tools with the ls command
    1598278801081.png
From here you can run whatever dsnet tool you wish i.e.

./dsnetm -d 192.168.0.XXX
./dsidb -d 192.168.0.XXX
./dsedb -d 192.168.0.XXX

1598279175211.png

1598279739639.png

Thats about it, if you prefer redhat over ubuntu and stick closer to what was intended by sony, feel free to install a redhat flavor of WSL from the store.

Good Luck
Hermes
 
Last edited:
Member
Registered
Joined
Jun 7, 2019
Messages
11
Reaction score
24
Points
13
I once used CoLinux for RDB... the RDB read file-transfer was so slow, that I think I aged a few years just from waiting for it to complete (I was loading a game from it - it was ~10 times slower than OPL). And the write transfer was even slower.
Though I would prefer if SilverBull releases the sources of the PC-side DECI2 tools, so people can use them native on Windows too. (Not that that would make the protocol any faster.)
And official Windows DECI2 tools might exist somewhere...
 
Top