Sponsored Links

Sponsored Links

Page 1 of 2 12 LastLast
Results 1 to 10 of 14



  1. #1
    Registered User zhixiang's Avatar
    Join Date
    Jun 2008
    Posts
    66
    Sponsored Links

    How to manually transfer files to PS3 HDD?

    Sponsored Links
    I have manually decrypted and extracted a debug .pkg. Is there anyway I can transfer files directly to debug ps3 hdd? Thank you for your reply. I've tried cellftp.self, but it does not allow me to modify the hdd.

  2. #2
    Toucan Sam CJPC's Avatar
    Join Date
    Apr 2005
    Posts
    2,174
    Sponsored Links
    Sponsored Links
    cellftp.self will allow you to copy files - however the directory needs to first be created. Simplest way would be to use an application to call the Cell FS API, and make a new directory.

    However, if you don't want to do that - you could create a "empty" package (with say, a few dummy files in there), and just set it to the same Title ID of your debug pkg - then you can install it on the PS3, then use cellftp.self to transfer it over.

  3. #3
    Registered User zhixiang's Avatar
    Join Date
    Jun 2008
    Posts
    66
    Sponsored Links

    Wink

    Sponsored Links
    Quote Originally Posted by CJPC View Post
    cellftp.self will allow you to copy files - however the directory needs to first be created. Simplest way would be to use an application to call the Cell FS API, and make a new directory.

    However, if you don't want to do that - you could create a "empty" package (with say, a few dummy files in there), and just set it to the same Title ID of your debug pkg - then you can install it on the PS3, then use cellftp.self to transfer it over.
    I've tried using copydir FOLDER_NAME /dev_hdd0/game/FOLDER_NAME, but it gave an error. What do u mean by creating the directory first? Btw, if I want to install a debug PSN pkg in GAME OS via the install PKG feature, where should I put the .pkg file?

  4. #4
    Toucan Sam CJPC's Avatar
    Join Date
    Apr 2005
    Posts
    2,174
    Quote Originally Posted by zhixiang View Post
    I've tried using copydir FOLDER_NAME /dev_hdd0/game/FOLDER_NAME, but it gave an error. What do u mean by creating the directory first? Btw, if I want to install a debug PSN pkg in GAME OS via the install PKG feature, where should I put the .pkg file?
    You can put the .PKG file in /app_home, or on the root of a USB drive.

    By creating the directory first - you need to make the directory "FOLDER_NAME" before you can copy to it - it's a bit of an inconvenience.

  5. #5
    Registered User zhixiang's Avatar
    Join Date
    Jun 2008
    Posts
    66
    .pkg installed smoothly via /app_home, but mkdir FOLDER_NAME does not work in cellftp.self for /dev_hdd0. Can you be more specific how to "create" a new folder in /dev_hdd0

  6. #6
    Toucan Sam CJPC's Avatar
    Join Date
    Apr 2005
    Posts
    2,174
    Quote Originally Posted by zhixiang View Post
    .pkg installed smoothly via /app_home, but mkdir FOLDER_NAME does not work in cellftp.self for /dev_hdd0. Can you be more specific how to "create" a new folder in /dev_hdd0
    Well, you need to make a simple application that would create the directory in /dev_hdd0/game - that way always seemed to work fine.

    Something like this should do the trick (in your code, of course):
    Code:
    cellFsMkdir("/dev_hdd0/game/TITLEIDHERE", CELL_FS_DEFAULT_CREATE_MODE_1);
    Check out the libfs samples - they should be very useful with larger code examples!

  7. #7
    Registered User danick310's Avatar
    Join Date
    Apr 2010
    Posts
    1

    Smile

    thanks a lot for all the advices

  8. #8
    Registered User warpjavier's Avatar
    Join Date
    Nov 2005
    Posts
    16
    Quote Originally Posted by CJPC View Post
    Well, you need to make a simple application that would create the directory in /dev_hdd0/game - that way always seemed to work fine.

    Something like this should do the trick (in your code, of course):
    Code:
    cellFsMkdir("/dev_hdd0/game/TITLEIDHERE", CELL_FS_DEFAULT_CREATE_MODE_1);
    Check out the libfs samples - they should be very useful with larger code examples!
    I tried that and I always get an error when the cellFsMkDir tries to create the folder into /dev_hdd0/game.

    Can you be more specific or post an example code that you know works please? I'm doing a couple of tests and I would like to create folders in /dev_hdd0/game.

    Thanks
    Last edited by warpjavier; 04-19-2010 at 03:58 AM

  9. #9
    Toucan Sam CJPC's Avatar
    Join Date
    Apr 2005
    Posts
    2,174
    Quote Originally Posted by warpjavier View Post
    I tried that and I always get an error when the cellFsMkDir tries to create the folder into /dev_hdd0/game.

    Can you be more specific or post an example code that you know works please? I'm doing a couple of tests and I would like to create folders in /dev_hdd0/game.

    Thanks
    Well, what kind of error are you getting? Furthermore, paste a segment of your code here so we can take a peek @ it!

  10. #10
    Registered User warpjavier's Avatar
    Join Date
    Nov 2005
    Posts
    16
    Here is the code and the error:

    Code:
    dtccons (Version 1.3 Thu Jun 08 17:05:26 2006)
    Waiting for mounting
    Waiting for mounting done
    cellFsMkdir in
    cellFsMkdir: ret = -2147418071
    error=0x80010029
    Code:
    #include <stdio.h>
    #include <string.h>
    #include <sys/process.h>
    #include <sys/paths.h>
    #include <cell/cell_fs.h>
    #include <cell/sysmodule.h>
    #define USE_PRINT_STAT
    #define USE_CFS
    #include "../../include/common.h"
    
    
    
    SYS_PROCESS_PARAM(1001, 0x10000)
    int
    main(void)
    {
        CellFsErrno err;
    
        /* 
         * loading prx for libfs
         */ 
        int ret;
        ret = cellSysmoduleLoadModule(CELL_SYSMODULE_FS);
        if (ret) {
            printf("cellSysmoduleLoadModule() error 0x%x !\n", ret);
            sys_process_exit(1);
        }
    
        //if (!isMounted(MOUNT_POINT)) {
    	if (!isMounted("/dev_hdd0/game")) {
            sys_process_exit(1);
        }
    
        /*
         * test cellFsMkdir()
         */
        printf("cellFsMkdir in\n");
    	err = cellFsMkdir("/dev_hdd0/game/123456", CELL_FS_DEFAULT_CREATE_MODE_1);
        printf("cellFsMkdir: ret = %d\n", err);
        API_ERROR(err);
    
        /*
         * test cellFsRmdir()
         
        printf("cellFsRmdir in\n");
        err = cellFsRmdir(MOUNT_POINT"/sample");
        printf("cellFsRmdir: ret = %d\n", err);
        API_ERROR(err);
    	*/
        sys_process_exit(0);
    }

 

Sponsored Links
Page 1 of 2 12 LastLast
Advertising - Affiliates - Contact Us - PS3 Downloads - Privacy Statement - Site Rules - Top - © 2014 PlayStation 3 News