This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Memory stick customizable location
02-06-2014, 01:56 PM (This post was last modified: 02-06-2014 01:58 PM by pal1000.)
Post: #1
Memory stick customizable location
I tried implementing this myself, but after successfully implemented the GUI part I ended up overwhelmed by the code complexity and failed making the functional part.
In essence it needs to allow usage of other locations than JPCSP\ms0 for memory stick. I attached the patch file with the work I made. The patch is compatible with r3454-3455.


Attached File(s)
.zip  memstick1.zip (Size: 3.78 KB / Downloads: 2)
Find all posts by this user
Quote this message in a reply
02-06-2014, 05:50 PM (This post was last modified: 02-06-2014 05:51 PM by gid15.)
Post: #2
RE: Memory stick customizable location
(02-06-2014 01:56 PM)pal1000 Wrote:  I tried implementing this myself, but after successfully implemented the GUI part I ended up overwhelmed by the code complexity and failed making the functional part.
In essence it needs to allow usage of other locations than JPCSP\ms0 for memory stick. I attached the patch file with the work I made. The patch is compatible with r3454-3455.
This is a good start! Smile

I started a long time ago a "virtual file system" (VFS) concept where devices can be easily mounted. This is mostly complete, but not yet active as this might break a lot of games. When the VFS will be active, the functional part for your change will be quite easy: see IoFileMgrForUser, line 674:
Code:
            vfsManager.register("ms0", new LocalVirtualFileSystem("ms0/"));
The fixed string "ms0/" would just need to be replaced by the path selected by the user...

Always include a complete log file at INFO level in your reports. Thanks! How to post a log
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)