Go Back  
Reply
 
Thread Tools
Old 12-21-2012   #21
franzes80
Apprentice
null
 
Join Date: Jan 2011
Location: Italy
Posts: 26
Likes: 6
Liked 16 Times in 7 Posts
Mentioned: 8 Post(s)
Tagged: 0 Thread(s)
Translate in italian

CaptainCPS-X I translated your homebrew in Italian by consolehackdev.com team. Look your source code in gitHub.I help you

This file is translate:
main(ita).cpp
franzes80 is offline   Reply With Quote
Likes: (1)
Old 12-21-2012   #22
CaptainCPS-X
Homebrew Developer
 
CaptainCPS-X's Avatar
 
Join Date: Sep 2010
Location: Puerto Rico, U.S.
Posts: 906
Likes: 1,066
Liked 2,021 Times in 512 Posts
Mentioned: 347 Post(s)
Tagged: 0 Thread(s)
Thumbs up

Woah! thanks @deroad ! I didn't knew about that source, I appreciate it

@deank posted some nice info on how he handles PDB files too, so later I will take some time to update my code and upload to the repository.

It's been long time since I coded something LOL, I'm kinda rusty.

SeeYa!
__________________
gamePKG / FB Alpha RL - [ https://github.com/CaptainCPS ]
FB ALPHA DEV TEAM - [ http://neosource.1emu.net ] [ http://www.barryharris.me.uk/ ]
PS3 - [CECH-2501A][NOR][160GB HDD][REBUG CFW 4.41.2 LITE]
CaptainCPS-X is offline   Reply With Quote
Likes: (1)
Old 12-21-2012   #23
deroad
Homebrew Developer
 
deroad's Avatar
 
Join Date: Jun 2010
Location: Outher Heaven
Posts: 344
Likes: 65
Liked 344 Times in 119 Posts
Mentioned: 107 Post(s)
Tagged: 0 Thread(s)
Originally Posted by CaptainCPS-X View Post
Woah! thanks @deroad ! I didn't knew about that source, I appreciate it
seems you use psp and psv folders..

http://www.ps3devwiki.com/wiki/Talk:...base_%28PDB%29
http://www.ps3devwiki.com/wiki/Proje...base_%28PDB%29

your pdb seems strange:

this is how it should be:
Code:
00000000  00 00 00 00 00 00 00 64  00 00 00 04 00 00 00 04  |.......d........|
00000010  00 00 00 00 00 00 00 65  00 00 00 04 00 00 00 04  |.......e........|
00000020  00 00 00 00 00 00 00 66  00 00 00 01 00 00 00 01  |.......f........|
00000030  00 00 00 00 6b 00 00 00  04 00 00 00 04 00 00 00  |....k...........|
00000040  03 00 00 00 68 00 00 00  04 00 00 00 04 00 00 00  |....h...........|
00000050  00 00 00 00 6c 00 00 00  04 00 00 00 04 00 00 00  |....l...........|
00000060  00 00 00 00 d0 00 00 00  08 00 00 00 08 00 00 00  |................|
00000070  00 00 09 6a 10 00 00 00  ce 00 00 00 08 00 00 00  |...j............|
00000080  08 00 00 00 00 00 09 6a  10 00 00 00 cc 00 00 00  |.......j........|
00000090  1e 00 00 00 1e 54 68 75  2c 20 30 32 20 53 65 70  |.....Thu, 02 Sep|
000000a0  20 32 30 31 30 20 31 37  3a 32 38 3a 31 30 20 47  | 2010 17:28:10 G|
000000b0  4d 54 00 00 00 00 6a 00  00 00 26 00 00 00 26 2f  |MT....j...&...&/|
000000c0  64 65 76 5f 68 64 64 30  2f 76 73 68 2f 74 61 73  |dev_hdd0/vsh/tas|
000000d0  6b 2f 30 30 30 30 30 30  30 32 2f 49 43 4f 4e 5f  |k/00000002/ICON_|
000000e0  46 49 4c 45 00 00 00 00  69 00 00 00 11 00 00 00  |FILE....i.......|
000000f0  11 30 30 30 30 30 30 30  30 30 30 30 30 30 30 30  |.000000000000000|
00000100  30 00 00 00 00 ca 00 00  00 6a 00 00 00 6a 68 74  |0........j...jht|
00000110  74 70 3a 2f 2f 7a 65 75  73 2e 64 6c 2e 70 6c 61  |tp://zeus.dl.pla|
00000120  79 73 74 61 74 69 6f 6e  2e 6e 65 74 2f 63 64 6e  |ystation.net/cdn|
00000130  2f 55 50 30 30 30 31 2f  49 4e 53 54 41 4c 4c 50  |/UP0001/INSTALLP|
00000140  4b 5f 30 30 2f 49 6e 73  74 61 6c 6c 5f 50 61 63  |K_00/Install_Pac|
00000150  6b 61 67 65 2e 67 6e 70  64 72 6d 2e 70 6b 67 3f  |kage.gnpdrm.pkg?|
00000160  70 72 6f 64 75 63 74 3d  30 30 38 34 26 63 6f 75  |product=0084&cou|
00000170  6e 74 72 79 3d 75 73 00  00 00 00 cb 00 00 00 1b  |ntry=us.........|
00000180  00 00 00 1b 49 6e 73 74  61 6c 6c 5f 50 61 63 6b  |....Install_Pack|
00000190  61 67 65 2e 67 6e 70 64  72 6d 2e 70 6b 67 00 00  |age.gnpdrm.pkg..|
000001a0  00 00 d9 00 00 00 25 00  00 00 25 55 50 30 30 30  |......%...%UP000|
000001b0  31 2d 49 4e 53 54 41 4c  4c 50 4b 5f 30 30 2d 30  |1-INSTALLPK_00-0|
000001c0  30 30 30 30 30 30 30 30  30 30 30 30 30 30 30 00  |000000000000000.|
000001d0  00 00 00 da 00 00 00 01  00 00 00 01 01 00 00 00  |................|
000001e0  cd 00 00 00 01 00 00 00  01 00 00 00 00 eb 00 00  |................|
000001f0  00 12 00 00 00 12 68 74  74 70 3a 2f 2f 67 6f 6f  |......http://goo|
00000200  67 6c 65 2e 63 6f 6d 00  00 00 00 ec 00 00 00 01  |gle.com.........|
00000210  00 00 00 01 00                                    |.....|
00000215
this is yours
Code:
00000000  00 00 00 00 00 00 00 64  00 00 00 04 00 00 00 04  |.......d........|
00000010  00 00 00 00 00 00 00 65  00 00 00 04 00 00 00 04  |.......e........|
00000020  00 00 00 00 00 00 00 66  00 00 00 01 00 00 00 01  |.......f........|
00000030  00 00 00 00 6b 00 00 00  04 00 00 00 04 00 00 00  |....k...........|
00000040  03 00 00 00 68 00 00 00  04 00 00 00 04 00 00 00  |....h...........|
00000050  00 00 00 00 6c 00 00 00  04 00 00 00 04 00 00 00  |....l...........|
00000060  00 00 00 00 d0 00 00 00  08 00 00 00 08 00 00 00  |................|
00000070  00 00 09 6a 10 00 00 00  ce 00 00 00 08 00 00 00  |...j............|
00000080  08 00 00 00 00 00 09 6a  10 00 00 00 69 00 00 00  |.......j....i...|
00000090  29 00 00 00 29 e2 98 85  20 49 6e 73 74 61 6c 6c  |)...)... Install|
000000a0  20 22 49 6e 73 74 61 6c  6c 5f 50 61 63 6b 61 67  | "Install_Packag|
000000b0  65 2e 67 6e 70 64 72 6d  2e 70 6b 67 22 00 00 00  |e.gnpdrm.pkg"...|
000000c0  00 cb 00 00 00 1b 00 00  00 1b 49 6e 73 74 61 6c  |..........Instal|
000000d0  6c 5f 50 61 63 6b 61 67  65 2e 67 6e 70 64 72 6d  |l_Package.gnpdrm|
000000e0  2e 70 6b 67 00 00 00 00  da 00 00 00 01 00 00 00  |.pkg............|
000000f0  01 01 00 00 00 cd 00 00  00 01 00 00 00 01 00 00  |................|
00000100  00 00 00 00 00 00 2a 00  00 00 2a 2f 64 65 76 5f  |......*...*/dev_|
00000110  68 64 64 30 2f 76 73 68  2f 67 61 6d 65 5f 70 6b  |hdd0/vsh/game_pk|
00000120  67 2f 38 30 30 30 30 30  30 30 2f 49 43 4f 4e 5f  |g/80000000/ICON_|
00000130  46 49 4c 45 00 00 00 00  6a 00 00 00 2a 00 00 00  |FILE....j...*...|
00000140  2a 2f 64 65 76 5f 68 64  64 30 2f 76 73 68 2f 67  |*/dev_hdd0/vsh/g|
00000150  61 6d 65 5f 70 6b 67 2f  38 30 30 30 30 30 30 30  |ame_pkg/80000000|
00000160  2f 49 43 4f 4e 5f 46 49  4c 45 00                 |/ICON_FILE.|
0000016b
deroad is offline   Reply With Quote
Likes: (1)
Old 12-21-2012   #24
CaptainCPS-X
Homebrew Developer
 
CaptainCPS-X's Avatar
 
Join Date: Sep 2010
Location: Puerto Rico, U.S.
Posts: 906
Likes: 1,066
Liked 2,021 Times in 512 Posts
Mentioned: 347 Post(s)
Tagged: 0 Thread(s)
Originally Posted by deroad View Post
seems you use psp and psv folders..

http://www.ps3devwiki.com/wiki/Talk:...base_%28PDB%29
http://www.ps3devwiki.com/wiki/Proje...base_%28PDB%29

your pdb seems strange:

this is how it should be:
Click here to see full text
Code:
00000000  00 00 00 00 00 00 00 64  00 00 00 04 00 00 00 04  |.......d........|
00000010  00 00 00 00 00 00 00 65  00 00 00 04 00 00 00 04  |.......e........|
00000020  00 00 00 00 00 00 00 66  00 00 00 01 00 00 00 01  |.......f........|
00000030  00 00 00 00 6b 00 00 00  04 00 00 00 04 00 00 00  |....k...........|
00000040  03 00 00 00 68 00 00 00  04 00 00 00 04 00 00 00  |....h...........|
00000050  00 00 00 00 6c 00 00 00  04 00 00 00 04 00 00 00  |....l...........|
00000060  00 00 00 00 d0 00 00 00  08 00 00 00 08 00 00 00  |................|
00000070  00 00 09 6a 10 00 00 00  ce 00 00 00 08 00 00 00  |...j............|
00000080  08 00 00 00 00 00 09 6a  10 00 00 00 cc 00 00 00  |.......j........|
00000090  1e 00 00 00 1e 54 68 75  2c 20 30 32 20 53 65 70  |.....Thu, 02 Sep|
000000a0  20 32 30 31 30 20 31 37  3a 32 38 3a 31 30 20 47  | 2010 17:28:10 G|
000000b0  4d 54 00 00 00 00 6a 00  00 00 26 00 00 00 26 2f  |MT....j...&...&/|
000000c0  64 65 76 5f 68 64 64 30  2f 76 73 68 2f 74 61 73  |dev_hdd0/vsh/tas|
000000d0  6b 2f 30 30 30 30 30 30  30 32 2f 49 43 4f 4e 5f  |k/00000002/ICON_|
000000e0  46 49 4c 45 00 00 00 00  69 00 00 00 11 00 00 00  |FILE....i.......|
000000f0  11 30 30 30 30 30 30 30  30 30 30 30 30 30 30 30  |.000000000000000|
00000100  30 00 00 00 00 ca 00 00  00 6a 00 00 00 6a 68 74  |0........j...jht|
00000110  74 70 3a 2f 2f 7a 65 75  73 2e 64 6c 2e 70 6c 61  |tp://zeus.dl.pla|
00000120  79 73 74 61 74 69 6f 6e  2e 6e 65 74 2f 63 64 6e  |ystation.net/cdn|
00000130  2f 55 50 30 30 30 31 2f  49 4e 53 54 41 4c 4c 50  |/UP0001/INSTALLP|
00000140  4b 5f 30 30 2f 49 6e 73  74 61 6c 6c 5f 50 61 63  |K_00/Install_Pac|
00000150  6b 61 67 65 2e 67 6e 70  64 72 6d 2e 70 6b 67 3f  |kage.gnpdrm.pkg?|
00000160  70 72 6f 64 75 63 74 3d  30 30 38 34 26 63 6f 75  |product=0084&cou|
00000170  6e 74 72 79 3d 75 73 00  00 00 00 cb 00 00 00 1b  |ntry=us.........|
00000180  00 00 00 1b 49 6e 73 74  61 6c 6c 5f 50 61 63 6b  |....Install_Pack|
00000190  61 67 65 2e 67 6e 70 64  72 6d 2e 70 6b 67 00 00  |age.gnpdrm.pkg..|
000001a0  00 00 d9 00 00 00 25 00  00 00 25 55 50 30 30 30  |......%...%UP000|
000001b0  31 2d 49 4e 53 54 41 4c  4c 50 4b 5f 30 30 2d 30  |1-INSTALLPK_00-0|
000001c0  30 30 30 30 30 30 30 30  30 30 30 30 30 30 30 00  |000000000000000.|
000001d0  00 00 00 da 00 00 00 01  00 00 00 01 01 00 00 00  |................|
000001e0  cd 00 00 00 01 00 00 00  01 00 00 00 00 eb 00 00  |................|
000001f0  00 12 00 00 00 12 68 74  74 70 3a 2f 2f 67 6f 6f  |......http://goo|
00000200  67 6c 65 2e 63 6f 6d 00  00 00 00 ec 00 00 00 01  |gle.com.........|
00000210  00 00 00 01 00                                    |.....|
00000215
this is yours
Code:
00000000  00 00 00 00 00 00 00 64  00 00 00 04 00 00 00 04  |.......d........|
00000010  00 00 00 00 00 00 00 65  00 00 00 04 00 00 00 04  |.......e........|
00000020  00 00 00 00 00 00 00 66  00 00 00 01 00 00 00 01  |.......f........|
00000030  00 00 00 00 6b 00 00 00  04 00 00 00 04 00 00 00  |....k...........|
00000040  03 00 00 00 68 00 00 00  04 00 00 00 04 00 00 00  |....h...........|
00000050  00 00 00 00 6c 00 00 00  04 00 00 00 04 00 00 00  |....l...........|
00000060  00 00 00 00 d0 00 00 00  08 00 00 00 08 00 00 00  |................|
00000070  00 00 09 6a 10 00 00 00  ce 00 00 00 08 00 00 00  |...j............|
00000080  08 00 00 00 00 00 09 6a  10 00 00 00 69 00 00 00  |.......j....i...|
00000090  29 00 00 00 29 e2 98 85  20 49 6e 73 74 61 6c 6c  |)...)... Install|
000000a0  20 22 49 6e 73 74 61 6c  6c 5f 50 61 63 6b 61 67  | "Install_Packag|
000000b0  65 2e 67 6e 70 64 72 6d  2e 70 6b 67 22 00 00 00  |e.gnpdrm.pkg"...|
000000c0  00 cb 00 00 00 1b 00 00  00 1b 49 6e 73 74 61 6c  |..........Instal|
000000d0  6c 5f 50 61 63 6b 61 67  65 2e 67 6e 70 64 72 6d  |l_Package.gnpdrm|
000000e0  2e 70 6b 67 00 00 00 00  da 00 00 00 01 00 00 00  |.pkg............|
000000f0  01 01 00 00 00 cd 00 00  00 01 00 00 00 01 00 00  |................|
00000100  00 00 00 00 00 00 2a 00  00 00 2a 2f 64 65 76 5f  |......*...*/dev_|
00000110  68 64 64 30 2f 76 73 68  2f 67 61 6d 65 5f 70 6b  |hdd0/vsh/game_pk|
00000120  67 2f 38 30 30 30 30 30  30 30 2f 49 43 4f 4e 5f  |g/80000000/ICON_|
00000130  46 49 4c 45 00 00 00 00  6a 00 00 00 2a 00 00 00  |FILE....j...*...|
00000140  2a 2f 64 65 76 5f 68 64  64 30 2f 76 73 68 2f 67  |*/dev_hdd0/vsh/g|
00000150  61 6d 65 5f 70 6b 67 2f  38 30 30 30 30 30 30 30  |ame_pkg/80000000|
00000160  2f 49 43 4f 4e 5f 46 49  4c 45 00                 |/ICON_FILE.|
0000016b


Thanks for the info man, there are some entries I didn't knew about, so that is why my PDB is not properly structured.

I will re-write some modules on my application now that I know the proper PDB structure.

Thanks again @deroad

EDIT: To be honest, I didn't even check ps3devwiki when I started working on this (lol), I just used multiMAN to install PKGs and then after the PS3 restarted I went to the HDD "game_pkg" directory and started investigating the file structures from my PC. It seemed familiar since I previously worked on a CD-ROM ISO reading application, so I started discovering the data entries and such. But now everything is clear thanks to the information and reference you and @deank have provided .

SeeYa!
__________________
gamePKG / FB Alpha RL - [ https://github.com/CaptainCPS ]
FB ALPHA DEV TEAM - [ http://neosource.1emu.net ] [ http://www.barryharris.me.uk/ ]
PS3 - [CECH-2501A][NOR][160GB HDD][REBUG CFW 4.41.2 LITE]

Last edited by CaptainCPS-X; 12-21-2012 at 01:49 PM.
CaptainCPS-X is offline   Reply With Quote
Old 12-21-2012   #25
runtimmy
Member
 
Join Date: Jan 2011
Posts: 81
Likes: 11
Liked 5 Times in 4 Posts
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
great job dude
runtimmy is offline   Reply With Quote
Old 12-21-2012   #26
deroad
Homebrew Developer
 
deroad's Avatar
 
Join Date: Jun 2010
Location: Outher Heaven
Posts: 344
Likes: 65
Liked 344 Times in 119 Posts
Mentioned: 107 Post(s)
Tagged: 0 Thread(s)
@CaptainCPS-X well, i reversed a pure psn pdb, then i went to the wiki and i searched for the old ps3utils
all the infos i see are there.
deroad is offline   Reply With Quote
Likes: (1)
Old 12-22-2012   #27
nosmokingbandit
Apprentice
 
Join Date: Sep 2011
Posts: 16
Likes: 0
Liked 1 Time in 1 Post
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Do you intend on adding a GUI later? If you do I'd love to help out. I know nothing about the coding side of things, but I'd be glad to draw up the ui elements. PM me if you want to work together.
nosmokingbandit is offline   Reply With Quote
Old 12-23-2012   #28
mad3d
Apprentice
 
Join Date: Sep 2010
Posts: 15
Likes: 0
Liked 2 Times in 2 Posts
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
CaptainCPS-X do you mind adding same feature of deank's multiman that doesnt reset the ps3 after pdb is generated? Maybe he can share with you this piece of code.
mad3d is offline   Reply With Quote
Old 12-24-2012   #29
CaptainCPS-X
Homebrew Developer
 
CaptainCPS-X's Avatar
 
Join Date: Sep 2010
Location: Puerto Rico, U.S.
Posts: 906
Likes: 1,066
Liked 2,021 Times in 512 Posts
Mentioned: 347 Post(s)
Tagged: 0 Thread(s)
Originally Posted by mad3d View Post
CaptainCPS-X do you mind adding same feature of deank's multiman that doesnt reset the ps3 after pdb is generated? Maybe he can share with you this piece of code.
It already support it, it was just not working on all PS3 for some reason.

Today I uploaded my most recent source to the repository, and soon after I finish working on some new features I will make a new v1.1 release.

https://github.com/CaptainCPS/gamePKG#changelog

1.1

* Improved application performance by cleaning up, organizing and simplifying lot of code.
* Added scan of PKG files on root of USB devices as well (from "/dev_usb000/" to "/dev_usb003/")
* Copy of PKG files is faster now.
* Rewrote module to write the PDB & Icon files.
* Other source code improvements.
SeeYa!
__________________
gamePKG / FB Alpha RL - [ https://github.com/CaptainCPS ]
FB ALPHA DEV TEAM - [ http://neosource.1emu.net ] [ http://www.barryharris.me.uk/ ]
PS3 - [CECH-2501A][NOR][160GB HDD][REBUG CFW 4.41.2 LITE]
CaptainCPS-X is offline   Reply With Quote
Old 01-09-2013   #30
CaptainCPS-X
Homebrew Developer
 
CaptainCPS-X's Avatar
 
Join Date: Sep 2010
Location: Puerto Rico, U.S.
Posts: 906
Likes: 1,066
Liked 2,021 Times in 512 Posts
Mentioned: 347 Post(s)
Tagged: 0 Thread(s)
Arrow [Released] gamePKG v1.01 (PKG Installer) (20130109) [by CaptainCPS-X]

[Released] gamePKG v1.01 (PKG Installer) (20130109) [by CaptainCPS-X]

Was bored and decided to work a little more on gamePKG tool

Repository has been updated:

https://github.com/CaptainCPS/gamePKG/commits/master

And here is the PKG in case anyone wanna try it out or add it to Brewology

Some details were updated on the readme, so please check it out:

https://github.com/CaptainCPS/gamePK...ster/README.md

1.1 (20130109)

- Implemented PKG list sorting by filename.
- Added feature to remove previously queued PKG by pressing ([ ]) square.
- Added scan of PKG files on root of USB devices as well (from "/dev_usb000/" to "/dev_usb003/")
- Added scan of PKG files on "/dev_cf/..." (compact flash), "/dev_sd/..." (sd card), "/dev_ms/..." (memory stick)
- Improved application performance by cleaning up, organizing and simplifying lot of code.
- Copy of PKG files is faster now.
- Re-wrote module to write the PDB & Icon files from scratch.
- Other source code improvements.
[mediafire] gamePKG_1.01_[20130109].pkg (826 KB)

@deroad , can you add this to Brewology ? thanks in advance

SeeYa!
__________________
gamePKG / FB Alpha RL - [ https://github.com/CaptainCPS ]
FB ALPHA DEV TEAM - [ http://neosource.1emu.net ] [ http://www.barryharris.me.uk/ ]
PS3 - [CECH-2501A][NOR][160GB HDD][REBUG CFW 4.41.2 LITE]

Last edited by CaptainCPS-X; 01-09-2013 at 05:33 AM.
CaptainCPS-X is offline   Reply With Quote
Likes: (3)
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



PS3Hax.net is Copyright © 2010-2013.
Use of this site is governed by our Terms of Use and Privacy Policy. All Trademarks and images are owned by their respected owners.
Posts and links are subject to each author on this forum and are no way affiliated with the operations and/or opinions of ps3hax.net
All times are GMT -5. The time now is 07:33 AM.