Olygame


ModChipCentral

Page 201 of 365 FirstFirst ... 101151191199200201202203211251301 ... LastLast
Results 2,001 to 2,010 of 3642
  1. #2001
    multiMAN Developer
    Join Date
    Aug 2011
    Posts
    1,049
    Total Thanks Given
    697
    Total Thanks Received
    4,560
    Total Thanked Posts
    844
    Minor update is available online (04.17.01):

    The only change is installing PKG files when using "PSN/Bubble" mode (or on 4.30 Rogero CFW). It will not reboot the PS3 after quitting mM. The stealthMAN update (or the new standalone installPKG app) will also update your /app_home [*IPF].

    installPKG.pkg (486.72KB)
    http://www.sendspace.com/file/srhvk7

    D

    p.s. CaptainCPS-X, here is how I do it in installPKG and mM:

    method of calling to install "/dev_hdd0/PKG/TestFile.pkg":

    Code:
    bubble_pkg( (char*)"/dev_hdd0/PKG", (char*)"TestFile.pkg");
    The example doesn't include "copying" the PKG to a temp location if using USB HDD. This one just moves the file from one location on the internal hdd to the game_pkg folder. It is very simple (just 20-30 lines or so) and doesn't need explanation - it only creates d0.pdb and the ICON_FILE.

    I only changed the line with the destination folder in mM/installPKG and didn't add anything from your app as I read on other sites. You can see in the source code how simple it is handled A simpler approach is also possible if not using ICON_FILE at all - just the d0.pdb.

    Code:
    u8 bubble_pkg( char* _path, char* _file)
    {
        char task_path[512];
        char temp_path1[512];
        char temp_path2[512];
    
        cellFsMkdir((char*)"/dev_hdd0/vsh/game_pkg", CELL_FS_S_IFDIR | 0777); 
    
        for(u8 n=0;n<99;n++)
        {
            //sprintf(task_path, "/dev_hdd0/vsh/task/000000%02i", n); // this was the old path which required restart
            sprintf(task_path, "/dev_hdd0/vsh/game_pkg/800000%02i", n);
            if(!exist(task_path)) break;
        }
        if(exist(task_path)) return 0;
        cellFsMkdir(task_path, CELL_FS_S_IFDIR | 0777);
    
        sprintf(temp_path1, "%s/%s", _path, _file);
        sprintf(temp_path2, "%s/%s", task_path, _file);
    
        rename(temp_path1, temp_path2); // <-- moves file from one location on internal HDD to another.
                        // if copying from USB you must deal with it here.
        if(!exist(temp_path2)) return 0;
    
        u8 d0[64]={0x00, 0x00, 0x00, 0x00, 
            0x00, 0x00, 0x00, 0x65, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00,
            0x00, 0x00, 0x00, 0x6B, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x03, 
            0x00, 0x00, 0x00, 0x68, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x04, 0x00, 0x00, 0x00, 0x00,
            0x00, 0x00, 0x00, 0xD0, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x08};
        u64 task_size=is_size(temp_path2);
        u64 temp_val1=0;
        u32 temp_val2=0;
        sprintf(temp_path1, "%s/d0.pdb", task_path);
        FILE *fp = fopen(temp_path1, "wb");
        if(fp==NULL) return 0;
    
        fwrite((char*) &d0, 64, 1, fp);
        fwrite((char*) &task_size, 8, 1, fp);
    
        temp_val1=0x000000CE00000008ULL;
        fwrite((char*) &temp_val1, 8, 1, fp);
        temp_val2=0x00000008;
        fwrite((char*) &temp_val2, 4, 1, fp);
        fwrite((char*) &task_size, 8, 1, fp);
        temp_val2=0x00000069;
        fwrite((char*) &temp_val2, 4, 1, fp);
    
        sprintf(temp_path2, "\xE2\x98\x85 Install \x22%s\x22", _file);
        temp_val2=strlen(temp_path2)+1;
    
        fwrite((char*) &temp_val2, 4, 1, fp);
        fwrite((char*) &temp_val2, 4, 1, fp);
        fwrite((char*) temp_path2, strlen(temp_path2), 1, fp);
        temp_val2=0;
        fwrite((char*) &temp_val2, 1, 1, fp);
    
        temp_val2=0x000000CB;
        fwrite((char*) &temp_val2, 4, 1, fp);
    
        temp_val2=strlen(_file)+1;
        fwrite((char*) &temp_val2, 4, 1, fp);
        fwrite((char*) &temp_val2, 4, 1, fp);
        fwrite((char*) _file, strlen(_file), 1, fp);
        temp_val2=0;
        fwrite((char*) &temp_val2, 1, 1, fp);
        
        temp_val2=0x0000006A;
        fwrite((char*) &temp_val2, 4, 1, fp);
        
        sprintf(temp_path2, "%s/ICON_FILE", task_path);
        temp_val2=strlen(temp_path2)+1;
        fwrite((char*) &temp_val2, 4, 1, fp);
        fwrite((char*) &temp_val2, 4, 1, fp);
    
        fwrite((char*) temp_path2, strlen(temp_path2), 1, fp);
        temp_val2=0;
        fwrite((char*) &temp_val2, 1, 1, fp);
    
        fclose(fp);
    
        u8 icon_file[0x85F9]={...your PNG bytes here....}; // change 0x85F9 to the size of the PNG
        array_to_file(temp_path2, icon_file, 0x85F9); // here too
    
        return 1;
    }
    
    u64 is_size(char *path)
    {
            struct CellFsStat s;
            if(cellFsStat(path, &s)==CELL_FS_SUCCEEDED)
                return s.st_size;
            else
                return 0;
    }
    
    int exist(char *path)
    {
        struct stat p_stat;
        return (stat(path, &p_stat)>=0);
    }
    
    void array_to_file(char *_path, unsigned char* _buf, int _size)
    {
        FILE *flistW;
        flistW = fopen(_path, "wb");
        if(flistW!=NULL)
        {
            fwrite( _buf, _size, 1, flistW);
            fclose(flistW);
        }
    }
    Check my explanation of the d0.pdb functions/format in my post here: http://www.ps3crunch.net/forum/threa...ll=1#post63706
    Last edited by deank; 12-21-2012 at 09:30 AM. Reason: added example source
    If you like multiMAN or multiAVCHD, support the development with a small donation. Click here.

  2.          
  3. The Following 11 Users Say Thank You to deank For This Useful Post:

    ajts1989 (12-21-2012), aldostools (12-21-2012), CaptainCPS-X (12-21-2012), gDrive (12-21-2012), Gemma Arden (12-21-2012), hashim97 (12-21-2012), Monj (12-21-2012), pete_uk (12-21-2012), PS3MSL (12-21-2012), siddfur (12-21-2012), xalaros (12-23-2012)

  4. #2002
    Junior Member
    Join Date
    Nov 2012
    Posts
    7
    Total Thanks Given
    9
    Total Thanks Received
    3
    Total Thanked Posts
    3
    Wish you a happy end of the world, too.

  5. The Following User Says Thank You to sinsizer For This Useful Post:

    deank (12-21-2012)

  6. #2003
    Junior Member
    Join Date
    Oct 2011
    Posts
    16
    Total Thanks Given
    2
    Total Thanks Received
    1
    Total Thanked Posts
    1
    Quote Originally Posted by deank View Post
    The file must be named RELOAD.SELF (all capitals).
    Yeah, I have it working on all my other PSN titles but somehow it won't show the covers I made myself. Is 260x300 jpeg (or.png)the only requirement?

  7. #2004
    Ex-Convict
    Join Date
    May 2012
    Posts
    727
    Total Thanks Given
    463
    Total Thanks Received
    1,880
    Total Thanked Posts
    666
    Gamer IDs

    PSN ID: http://techbliss.org/
    Quote Originally Posted by NakedFaerie View Post
    So no answer DeanK?
    How do you remove the update banner every time MM loads? I don't want it to show as I'm staying on an older version.
    Its pretty technical,
    1) Boot up your PS3
    2) disconnect it from the internet
    3) Boot multiMAN

    I personally cant reproduce the issue you so nicely put forward about it looking crap etc.
    Do you like anything to do with Android, Consoles, Retro Emulation, Coding/Hacking or just talking to ME
    http://techbliss.org
    For every person that doesnt sign up, I club a baby fur seal!!

  8. The Following 4 Users Say Thank You to TomatOsaUce For This Useful Post:

    gDrive (12-21-2012), Gemma Arden (12-21-2012), pete_uk (12-21-2012), rednekcowboy (12-21-2012)

  9. #2005
    Senior Member
    Join Date
    Aug 2011
    Posts
    731
    Total Thanks Given
    621
    Total Thanks Received
    664
    Total Thanked Posts
    351
    Quote Originally Posted by NakedFaerie View Post
    So no answer DeanK?
    How do you remove the update banner every time MM loads? I don't want it to show as I'm staying on an older version.
    Typically if you want help/questions answered from a Dev, especially one that works as hard on his product as Dean, calling his product crap isn't the way to go about it.


  10. #2006
    multiMAN Developer
    Join Date
    Aug 2011
    Posts
    1,049
    Total Thanks Given
    697
    Total Thanks Received
    4,560
    Total Thanked Posts
    844
    Quote Originally Posted by jonnyjaeger View Post
    Yeah, I have it working on all my other PSN titles but somehow it won't show the covers I made myself. Is 260x300 jpeg (or.png)the only requirement?
    May be the JPG/PNG format is incompatible or you made some other mistake. I uploaded the cover to the server and your mM should download it (NPEB01096.JPG). Hopefully you posted the correct game-id.

    If you like multiMAN or multiAVCHD, support the development with a small donation. Click here.

  11. The Following User Says Thank You to deank For This Useful Post:

    jonnyjaeger (12-21-2012)

  12. #2007
    multiMAN Developer
    Join Date
    Aug 2011
    Posts
    1,049
    Total Thanks Given
    697
    Total Thanks Received
    4,560
    Total Thanked Posts
    844
    @CaptainCPS-X:

    I just checked your git page and I can see that you don't fully understand the format of the .pdb files. Check my previous post with the source (I skinned it down only to the mandatory data).

    Here is what I've learned so far: After the 4 byte initial header (zeroes) you have function blocks. Function number, length, length, data. You can see below. The only required functions are the following eight: 0x65, 0x68, 0x69, 0x6B, 0xCA, 0xCB, 0xCE and 0xD0. In 0xCE and 0xD0 we use the same file-size so that it makes the file look as completely downloaded. Some other functions indicate the type of file (like PS3 pkg or additional content, etc, etc) but this is the required minimum to have the bubble appear.

    Code:
    00 00 00 00 - Header
    
    00 00 00 65 - Function
    00 00 00 04 - Data Length
    00 00 00 04 - Data Length
    00 00 00 00 - Data
    
    00 00 00 6B - Function (Bit flag for other fields)
    00 00 00 04 - Data Length
    00 00 00 04 - Data Length
    00 00 00 03 - Data
    
    00 00 00 68 - Function (Status of download)
    00 00 00 04 - Data Length
    00 00 00 04 - Data Length
    00 00 00 00 - Data (0 = No errors during download)
    
    00 00 00 D0 - Function (Size of the download so far)
    00 00 00 08 - Data Length (8 bytes / 64bit)
    00 00 00 08 - Data Length
    00 00 00 00 - Data
    01 CE 5E C0 - Data -> 0x0000000001CE5EC0 = 30301888 bytes = ~29MB
    
    00 00 00 CE - Function (Total Size Expected)
    00 00 00 08 - Data Length (8 bytes / 64bit)
    00 00 00 08 - Data Length
    00 00 00 00 - Data
    01 CE 5E C0 - Data -> 0x0000000001CE5EC0 = 30301888 bytes = ~29MB
    
    00 00 00 69 - Function (Title to display)
    00 00 00 3C - Data Length (lenght of title)
    00 00 00 3C - Data Length (lenght of title)
    E2 98 85 20 49 6E 73 74 61 6C 6C 20 22 6D 75 6C |  *  Install "mul
    74 69 4D 41 4E 20 76 65 72 20 30 34 2E 31 37 2E | tiMAN ver 04.17.
    30 30 20 42 41 53 45 20 43 45 58 20 28 32 30 31 | 00 BASE CEX (201
    32 31 32 32 30 29 2E 70 6B 67 22 00             | 21220).pkg"
    
    00 00 00 CB - Function (Name of PKG File)
    00 00 00 2E - Data Length (lenght of file name)
    00 00 00 2E - Data Length (lenght of file name)
    6D 75 6C 74 69 4D 41 4E 20 76 65 72 20 30 34 2E | multiMAN ver 04.
    31 37 2E 30 30 20 42 41 53 45 20 43 45 58 20 28 | 17.00 BASE CEX (
    32 30 31 32 31 32 32 30 29 2E 70 6B 67 00       | 20121220).pkg
    
    00 00 00 6A - Function (Full path of ICON_FILE) 
    00 00 00 2A - Data Length (length of path)
    00 00 00 2A - Data Length (length of path)
    2F 64 65 76 5F 68 64 64 30 2F 76 73 68 2F 67 61 | /dev_hdd0/vsh/ga
    6D 65 5F 70 6B 67 2F 38 30 30 30 30 30 30 30 2F | me_pkg/80000000/
    49 43 4F 4E 5F 46 49 4C 45 00                   | ICON_FILE
    I hope this will help you with your gamePKG application. You can also check the wiki (http://www.ps3devwiki.com/wiki/Proje...base_%28PDB%29) although the information there is outdated and probably incomplete.
    Last edited by deank; 12-21-2012 at 09:22 AM.
    If you like multiMAN or multiAVCHD, support the development with a small donation. Click here.

  13. The Following User Says Thank You to deank For This Useful Post:

    CaptainCPS-X (12-21-2012)

  14. #2008
    Junior Member
    Join Date
    Dec 2012
    Posts
    10
    Total Thanks Given
    5
    Total Thanks Received
    3
    Total Thanked Posts
    2
    CaptainCPS-X and deank i translated gamePKG homebrew in Italian by consolehackdev.com team. Look source code in gitHub.I help you

    This file is translate:
    main(ita).cpp
    CaptainCPS-X and deank CAN I HELP TOO
    Last edited by franzes80; 12-21-2012 at 08:59 AM.

  15. #2009
    Junior Member
    Join Date
    Dec 2012
    Posts
    13
    Total Thanks Given
    3
    Total Thanks Received
    4
    Total Thanked Posts
    3

    ps3

    hi Dean,

    ok that i can undestand, that was only a Question, i have yesterday load the complete base 04.17.00. all fine.

    so i have a lot of game id covers for you, please integrate it in your databank.

    Europe Game ID's:

    BLES01494.JPG (Das Duell Männer vs Frauen Partyspaß Total!)
    BLES01504.JPG (Silent Hill HD Collection)
    BLES01524.JPG (Ninja Gaiden 3)
    BLES01681.JPG (Dead Island Goty Version)
    BLES01683.JPG (Resident Evil 6)
    BLES01703.JPG (Schlag den Raab Das 3. Spiel)
    BLES01719.JPG (Call of Duty Black Ops II)
    NOID.JPG Kein Cover vorhanden (No Cover german)

    NPEB01096.JPG Far Cry 3 PSN Version (done)

    that the covers mM at time not automatical find

    i come from germany berlin, sorry for my english, that is not perfect
    Attached Images Attached Images

  16. The Following 2 Users Say Thank You to kingfr3sh For This Useful Post:

    deank (12-21-2012), gDrive (12-21-2012)

  17. #2010
    Junior Member
    Join Date
    Dec 2012
    Posts
    2
    Total Thanks Given
    0
    Total Thanks Received
    1
    Total Thanked Posts
    1
    Deank,

    will you add support for:

    PSP/PS3 Minis ? (execution of psp_emulator)
    + lv2 syscall 409 fan information ?


 

Posting Permissions

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