View previous topic :: View next topic |
Author |
Message |
Heimdall
Joined: 10 Nov 2005 Posts: 259 Location: Netherlands
|
Posted: Sat Jun 19, 2010 6:50 pm Post subject: MinPSPW needs help (libusb native port) |
|
|
Hi everyone,
For a long while I've been preparing the 0.9.6 release of minpspw SDK, the packaged build of the homebrew SDK plus plenty of dev libraries to use on windows, solaris and linux.
I have lots of new things coming up in this release but there is one that is giving me some trouble: psplinkusb_pc
I've already a test patch:
http://minpspw.svn.sourceforge.net/viewvc/minpspw/trunk/mingw/patches/psplinkusb-MINPSPW.patch?view=markup&pathrev=149
Where i made pspsh independent of cygwin on windows (so it builds as a native win32 app) and the same for remotejoy pcsdl. However porting the server app turned out to be more complicated with the USB stuff and posix scandir functions.
I would like to ask to the community some help to port it to a native app so we can fix the problem with libusb-win32 on windows vista, 7.
A good start for this would be the use of this project:
http://jjs.at/software/lwbridge.html
Once we manage to get a patch that makes the apps portable lets just merge to the main ps2dev svn reppo so everyone can benefit!!! |
|
Back to top |
|
 |
TyRaNiD
Joined: 18 Jan 2004 Posts: 918
|
Posted: Sun Jun 20, 2010 9:44 pm Post subject: |
|
|
I did have most of the way with a mingw port at one point but I found issues with posix threads making the thing not really work at all for some reason, that could have been libusb/cygwin getting in the way though.
I do now have a version of usbhostfs_pc which can be used directly against winusb thereby removing libusb dependency completely but I would have to be bothered to release it. |
|
Back to top |
|
 |
Heimdall
Joined: 10 Nov 2005 Posts: 259 Location: Netherlands
|
Posted: Mon Jun 21, 2010 4:00 am Post subject: |
|
|
For remotejoy and pspsh, i've created a compat layer that allows posix sockets and winsock to work together. I've a native pthreads and sdl builds and for remotejoy i output text using win msgbox. I think that i can try to port all network code to this compat layer and merge your usb code later on |
|
Back to top |
|
 |
TyRaNiD
Joined: 18 Jan 2004 Posts: 918
|
Posted: Mon Jun 21, 2010 10:55 am Post subject: |
|
|
Could be an idea, I could provide the patches for the normal code to add the winusb stuff as well as providing a pre-configured driver pack which will work across all windows versions in theory (though haven't tested it against XP). |
|
Back to top |
|
 |
|