"Export PSP screen to PC" on slim 3.71m33 ?

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

ahman
Posts: 22
Joined: Wed May 31, 2006 10:57 am

Post by ahman »

moonlight, the current beta build of iR Shell uses Partition 8 for most of its functions. The Slim Partition 1 & Partition 4 has less free memory when comparing to the Phat, so I moved the whole iR Shell to Partition 8. Looks like people will need to use this new settings in recovery if they want to run iR Shell.

The SFO flag may be a better alternative if Tyranid is willing to implement it. Also, will there be any option to leave like 2MB in Partition 8, and move the rest to Partition 2? Then, kernel mode apps will still have some extra free space to grow.
moonlight
Posts: 567
Joined: Wed Oct 26, 2005 7:46 pm

Post by moonlight »

J.F. wrote:Maybe instead of doing away with the extra partion, you simply change the sizes of the two in question (and the start addr of the second). So instead of two partitions of 24M and 32M, you have two partitions of 48M and 8M. Leave enough memory in the new partition for the me_wrapper/codecs and a small UMD cache, while expanding the first partition to a more useful size.
Well, umdcache is totally shutted down by M33 in its module_start when executing homebrew. It requests 16 MB from the partition, which is too much, and anyways if applications want to use the umd, it will just still work, but without the cache.

About the special setting ahman, the bad thing about these things, is that the hack has to be done before any use of the partition, this is before usersystemlib.prx is loaded (M33 does it currently after shutting down umdcache), so it is not possible to add a function that just repartitions things without causing a mess, unless of course it is done before a loadexec, and the setting applies after the reboot.
ahman
Posts: 22
Joined: Wed May 31, 2006 10:57 am

Post by ahman »

No worries, I know there are always complications with these things. I just use the recovery setting or re-exec with vshMs1. Thanks again for your hardwork.
TyRaNiD
Posts: 907
Joined: Sun Jan 18, 2004 12:23 am

Post by TyRaNiD »

I could add an option in the SFO, in many cases I think that might be the best option if old style stuff still boots into the old 24MB mode. Then again does this actually significantly affect existing apps at all? Any which allocated all ram from partition 2 will still do so and if they previously tried to use more memory than was available in the 24MB they would have failed anyway.
moonlight
Posts: 567
Joined: Wed Oct 26, 2005 7:46 pm

Post by moonlight »

well, appart of breaking irshell and nesterj, normal apps shouldn't be broken, but still I'm under the impression that something unexpected could happen, so it may be better set that flag.

For applications that need a custom use of memory, I can set a function such as

int sctrlHENSetMemory(u32 p1, u32 p8), where p1 and p8 would be the desired size in MB of partition 1 and 8 with p1+p8 <= 52, and the settings would take place in the next VSHMs*.
Sidelve
Posts: 9
Joined: Thu Oct 04, 2007 1:36 am

Post by Sidelve »

weltall wrote:i remember when i used slackware back two years ago that it was crashing my tty whathever i used usbhostfs_pc
OK, now I've tried on Ubuntu 7.04, and there's still all the same like in my slackware:

usbhostfs: "connected to device"
remotejoy: runs, but there's just black window, nothing appears...
TyRaNiD
Posts: 907
Joined: Sun Jan 18, 2004 12:23 am

Post by TyRaNiD »

Okay well I can add an extra tag, say MEMORYSIZE with a 32bit value of maybe 0 for normal mode and 1 for large size perhaps. Might take me slightly more work though as I need to rebuild the sfo binary. Perhaps I might take this opportunity to make mksfo more useful :P
moonlight
Posts: 567
Joined: Wed Oct 26, 2005 7:46 pm

Post by moonlight »

TyRaNiD wrote:Okay well I can add an extra tag, say MEMORYSIZE with a 32bit value of maybe 0 for normal mode and 1 for large size perhaps. Might take me slightly more work though as I need to rebuild the sfo binary. Perhaps I might take this opportunity to make mksfo more useful :P
Yeah, you could add to it a firmware revision option for example :p
weltall
Posts: 310
Joined: Fri Feb 20, 2004 1:56 am
Contact:

Post by weltall »

Sidelve wrote:
weltall wrote:i remember when i used slackware back two years ago that it was crashing my tty whathever i used usbhostfs_pc
OK, now I've tried on Ubuntu 7.04, and there's still all the same like in my slackware:

usbhostfs: "connected to device"
remotejoy: runs, but there's just black window, nothing appears...
doesn't usbhostfs say async connection[..]?
did you try f5?
Sidelve
Posts: 9
Joined: Thu Oct 04, 2007 1:36 am

Post by Sidelve »

OMG !

It works (even on Slackware :) ) ! :)

Everything's great, but is there possibility run fullscreen as REALLY fullscreen (without black borders arround) ?

edit:

after using a while I can see some problems too:

image on psp window (so of course on remotejoy window too) freezes when I try to load some save (I tried in Sega Rally Revo, Hot Wheels and GTA:LS - everywhere the same) - but just freezes and I can clik Home and exit to main menu

Sometimes (for example after finish some race in Hot Wheels, when game tries to load some next step console freezes and then shut offs... - its not nice :(



Are these known problems ?
And just curious - is there any work progress on remotejoy (I saw on svn, that last change was 8 months ago - except move it to trunk few weeks ago) ?
cloudhunter
Posts: 86
Joined: Thu Aug 17, 2006 3:27 am

Post by cloudhunter »

Sidelve wrote: after using a while I can see some problems too:

image on psp window (so of course on remotejoy window too) freezes when I try to load some save (I tried in Sega Rally Revo, Hot Wheels and GTA:LS - everywhere the same) - but just freezes and I can clik Home and exit to main menu

Sometimes (for example after finish some race in Hot Wheels, when game tries to load some next step console freezes and then shut offs... - its not nice :(



Are these known problems ?
And just curious - is there any work progress on remotejoy (I saw on svn, that last change was 8 months ago - except move it to trunk few weeks ago) ?
Yes, they are known problems. As far as I know, IRShell uses a modified iRShell to which it passes the memory location in which to use while loading the prx, therefore alleviating the problems. The problem lies in the fact that it uses the memory space which the PSP dialogues also use.

ahman attached his modified source earlier in this thread I believe, along with a recommended memory location.

Cloudy
:)
Sidelve
Posts: 9
Joined: Thu Oct 04, 2007 1:36 am

Post by Sidelve »

cloudhunter wrote:
Yes, they are known problems. As far as I know, IRShell uses a modified iRShell to which it passes the memory location in which to use while loading the prx, therefore alleviating the problems. The problem lies in the fact that it uses the memory space which the PSP dialogues also use.

ahman attached his modified source earlier in this thread I believe, along with a recommended memory location.

Cloudy
OK, I've tried remotejoy from ahman and it didn't work at all...

With weltall plugins enabled, when I connect running psp to pc (without entering usb mode, just connect the cable) I have some info in /var/log/messages - which informs me, that something new usb has been plugged.

With compiled by myself (maybe I do something wrong - but what ?) remotejoy.prx and usbhostfs.prx from ahman remotejoy source, when I connect psp to pc nothing happens - no info in logs - plugin doesnt work ?

And after this, when I run ./usbhostfs_pc - nothing appears - NO "connected to device"

But when I run remotejoy, in usbhostfs_pc terminal appears:

Code: Select all

Accepting async connection &#40;4&#41; from 127.0.0.1
Closing async connection &#40;4&#41;

What's wrong ? :/
Post Reply