hermesconrad
Donator
Original poster
Staff member
Donator
Community Contributor
Moderator
Registered
- Jul 12, 2019
- Donations
- £14.47
- 192
- 181
- 43
- AGName
- hermesconrad
- AG Join Date
- 11/july/2019
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.
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.
Once you have finished running the above, you need to start the binfmt-support service using the following command
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
./dsnetm -d 192.168.0.XXX
./dsidb -d 192.168.0.XXX
./dsedb -d 192.168.0.XXX
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
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.
- Press the windows+r keys to open run
- Type "optionalfeatures " and press OK
- Find the Option Windows Subsystem for Linux, tick it and press OK to install.
- Now Install Ubuntu WSL from the microsoft store https://www.microsoft.com/en-us/p/ubuntu/9nblggh4msv6
- 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
- Download the above dsnet tool set and extract the files to somewhere like 'c:\temp\dsnet\'
- In WSL navigate to the above directory "cd /mnt/c/temp/dsnet/" and check you can see the tools with the ls command
./dsnetm -d 192.168.0.XXX
./dsidb -d 192.168.0.XXX
./dsedb -d 192.168.0.XXX
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: