| View previous topic :: View next topic |
| Author |
Message |
Oguz286

Joined: 30 Oct 2007 Posts: 35
|
Posted: Wed Dec 12, 2007 11:09 pm Post subject: Made a "How to setup the psptoolchain" tutorial... |
|
|
You probably wonder why I did this, since there are so many how-to's out there. Well it's because I followed them all and I still couldn't get my SDL app to run. Here is what worked for me:
http://www.guztech.nl/index.php/tutorials
Comments are welcome!
[UPDATE] I made some changes with the links, i've updated the link. I also have a tutorial about how to make usbhostfs_pc work as non-root (for those like me :P)
Last edited by Oguz286 on Thu Dec 13, 2007 10:32 pm; edited 1 time in total |
|
| Back to top |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Thu Dec 13, 2007 12:30 am Post subject: |
|
|
Looks nice.
It may be a slightly out of date as you've made me remember to add smpeg-psp to psplibraries. Which I have. :) |
|
| Back to top |
|
 |
Oguz286

Joined: 30 Oct 2007 Posts: 35
|
Posted: Thu Dec 13, 2007 12:39 am Post subject: |
|
|
| ooPo wrote: | Looks nice.
It may be a slightly out of date as you've made me remember to add smpeg-psp to psplibraries. Which I have. :) |
*doh* If you'd have said that a couple of days ago, I could have spared me a throbbing headache :P No sweat, i'll change it. Thanks! |
|
| Back to top |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Thu Dec 13, 2007 2:23 am Post subject: |
|
|
| I made the change after reading your guide, it wasn't added a couple days ago. :) |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Thu Dec 13, 2007 9:24 am Post subject: |
|
|
| ooPo wrote: | | I made the change after reading your guide, it wasn't added a couple days ago. :) |
The person compiling DukeNukem 3D for the PSP pointed out another problem - SDL_mixer/timidity/config.h needs
| Code: | | #define LITTLE_ENDIAN |
added to it for the PSP or it won't play MIDI files correctly. It apparently defaults to big endian unless one of the platform definitions switches it to little. You'll notice in config.h that linux and W32 and i386 are all handled, but not the PSP. That probably should be dealt with as well. |
|
| Back to top |
|
 |
ooPo Site Admin
Joined: 17 Jan 2004 Posts: 2032 Location: Canada
|
Posted: Thu Dec 13, 2007 10:51 am Post subject: |
|
|
| Code: | Sending config.h
Transmitting file data .
Committed revision 2348. |
Added. |
|
| Back to top |
|
 |
Oguz286

Joined: 30 Oct 2007 Posts: 35
|
Posted: Thu Dec 13, 2007 11:31 am Post subject: |
|
|
| Oh btw, i forgot to add some info about how to get usbhostfs_pc working as non-root (it only worked as root, before i got it fixed). I'll add that tomorrow :) |
|
| Back to top |
|
 |
Oguz286

Joined: 30 Oct 2007 Posts: 35
|
Posted: Thu Dec 13, 2007 10:33 pm Post subject: |
|
|
| Changed the link and added another tutorial. See first post :) |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Fri Dec 14, 2007 9:34 am Post subject: |
|
|
| Oguz286 wrote: | | Changed the link and added another tutorial. See first post :) |
Nice! but there's one issue with the psplink article - the 054c and 01c9 will NEVER be different. 054c is Sony's manufacturer's code, and will only be different if key 0x43 in the idstorage is bad. The 01c9 is hardcoded in the usbhostfs code and will only be different if you alter the source and recompile. |
|
| Back to top |
|
 |
zilt
Joined: 21 Feb 2006 Posts: 45 Location: Ontario, Canada
|
Posted: Fri Dec 14, 2007 12:17 pm Post subject: |
|
|
| J.F. wrote: | | The 01c9 is hardcoded in the usbhostfs code and will only be different if you alter the source and recompile. |
Not always. You can change the 01c9 value for usbhostfs_pc by adding the '-p <value>' option and changing the 'pid' value in psplink.ini. You only really need to do this if you have more than 1 psp connected (I'm constantly testing with 3 different psp connected at once to my system - and this is the only way to do it). _________________ "We are dreamers, shapers, singers, and makers. We study the mysteries of laser and circuit, crystal and scanner, holographic demons and invocations of equations. These are the tools we employ and we know... many things." -- Elric, B5 |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Fri Dec 14, 2007 4:34 pm Post subject: |
|
|
| zilt wrote: | | J.F. wrote: | | The 01c9 is hardcoded in the usbhostfs code and will only be different if you alter the source and recompile. |
Not always. You can change the 01c9 value for usbhostfs_pc by adding the '-p <value>' option and changing the 'pid' value in psplink.ini. You only really need to do this if you have more than 1 psp connected (I'm constantly testing with 3 different psp connected at once to my system - and this is the only way to do it). |
Oh, right. Thanks for reminding me. So that part should be added to the tutorial. 01c9 unless you change it with the ini... and they may need more than one entry, depending on how many PSPs they're using. |
|
| Back to top |
|
 |
Oguz286

Joined: 30 Oct 2007 Posts: 35
|
Posted: Sat Dec 15, 2007 12:25 am Post subject: |
|
|
So if I understand this correctly, 054c belongs to Sony, so every PSP out there has the same vendor id. 01c9 is built in usbhostfs_pc and doesn't change unless you recompile it with a different value or if you use the -p <value> option and changing the pid value in the config file. I'll change the tutorial, thanks! Btw, J.F., you don't mind that I used a bit of your howto do you? ;)
Can I post this in the sticky? That way the same questions won't be asked again (I hope). |
|
| Back to top |
|
 |
J.F.
Joined: 22 Feb 2004 Posts: 2906
|
Posted: Sat Dec 15, 2007 9:18 am Post subject: |
|
|
| Oguz286 wrote: | So if I understand this correctly, 054c belongs to Sony, so every PSP out there has the same vendor id. 01c9 is built in usbhostfs_pc and doesn't change unless you recompile it with a different value or if you use the -p <value> option and changing the pid value in the config file. I'll change the tutorial, thanks! Btw, J.F., you don't mind that I used a bit of your howto do you? ;)
|
Not at all. Feel free. Much of "my" info was from the Mac OSX howto to begin with. People come along and add a little more info, like you're doing now. So the finished howto gets a little better each time. |
|
| Back to top |
|
 |
noquarter
Joined: 23 Jul 2006 Posts: 17
|
Posted: Thu Dec 20, 2007 8:45 am Post subject: |
|
|
Thanks for the tut,it'll make it easier cause I have to reinstall my macbuntu system.I got some really weird behavior goin so I'm just gonna reinstall.
Thanks a bunch. |
|
| Back to top |
|
 |
|