Results 1 to 7 of 7

Thread: PFM v.01

                  
   
  1. #1

    Default Psp File Manager V0.2

    Hi, i have worked a lot with my very little knowledge on the file manager to get some very easy things to work like it must, so here is the second version of it.
    I wait for bug reports or requests. If someone would like to make a nice background image wich will act as a GUI (don't forget to incorpore all infos) , it will be cool.

    PspFileManager_v0.2.zip

    PSP FiLE MANAGER V0.2
    =====================



    Features
    --------

    - Remove Files.
    - Replace a target file with a selected file. (Nice for all emus/homebrew with no roms/file selector)
    - Copy/Move a selected file to a selected folder. (For moving delet the copied file...)
    - Better interface with colors


    Usage
    -----

    IMPORTANT : BE SURE TO PUT THE EBOOT IN A FOLDER CALLED "PFM" ELSE IT WONT WORK.

    - Circle button to enter a dir or select a file to bind the file options.
    - Cross button to return.
    - Start to set the target file.
    - Select to set the target folder.



    V0.2
    ----

    - Better organisation ...
    - Verry little better GUI.
    - Abillity to copy file to a folder.
    - Some bugs fix ..



    GREATS goes to Ps2dev.org, psp-news.dcemu.co.uk, psphackers.com, gueux.be, Nem, and all people
    who like the PSP.



    Cpasjuste - psp.neuf.fr

  2. #2
    Won Hung Lo wraggster's Avatar
    Join Date
    Apr 2003
    Location
    Nottingham, England
    Age
    52
    Posts
    139,834
    Blog Entries
    3209
    Rep Power
    50

    Default

    awesome

    Will post news on main site

  3. #3
    DCEmu Regular shizzle's Avatar
    Join Date
    May 2005
    Posts
    488
    Rep Power
    71

    Default

    Cool, this will be really usefull, thanks

  4. #4

    Default

    Hi, if there is a confirmed coder who look at this message i would like to ask him a stupid thing that i cant figure :

    So my problem is that i try to open a file with 2 "variables" for the path :

    Here i define the path writed in the file "ms0:/PFM2.DAT" as tfolder so for exemple tfolder = ms0:/PSP/
    fd3 = sceIoOpen("ms0:/PFM2.DAT",O_RDONLY, 0777);
    sceIoRead(fd3, tfolder, 255);
    Here i define the name of the file writed in the file "ms0:/PFM3.DAT" as tfile so for exemple tfile = eboot.pbp
    fd4 = sceIoOpen("ms0:/PFM3.DAT",O_RDONLY, 0777);
    sceIoRead(fd4, tfile, 255);
    So my prob is here, i dont know how to use tfolder + tfile in the function, i hope you understand me, so tfolder+tfile should be "ms0:/PSP/eboot.pbp"
    fd1 = sceIoOpen(target,O_RDONLY, 0777);

    bad code :
    fd2 = sceIoOpen(tfolder+tfile,O_WRONLY | O_CREAT | O_TRUNC, 0777);
    Thanks in advance if someone is able to help
    Bye, Cpasjuste.

  5. #5

    Default

    Try strcat(char *s, char *t) which is available from string.h, which copies the string t to the end of s, like this:

    char path[256] = "ms0:/psp/game/sokoban";
    char file[] = "eboot.pbp";
    strcat(path, "/"); // add directory separator
    strcat(path, file); // path is now "ms0:/psp/game/sokoban/eboot.pbp"

  6. #6

    Default

    Thanks, i have lurn another basic thing, i now understand how it work, many thanks.

  7. #7

    Default

    Main post Updated to v0.2

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •