Hacking Can't create PKG

Dave_Chad

Well-Known Member
OP
Member
Joined
Jun 29, 2016
Messages
741
Trophies
0
Age
37
XP
2,341
Country
Trying to backup my own disc of Uncharted Nathan Drake Collection. I've dumped it and got my output folders, i have ran gengp4.exe and got my output from that. I then open the gp4 file with Fake PKG Generator and select my ouyput folder and selected build and i get an error about the size of icon0?! Any ideas from someone who has used this before?

Code:
[Debug]    2018-06-10 22:36:31 Create image Process started.
[Debug]    nptitle.dat: NP Title file.
[Debug]    (online check) Could not set up HTTPS connection. (Could not get proxy)
[Warn]    ( cfwprophet ) Hacked Version.
[Warn]    (online check) SDK Version 02.508 may or may not be used for master submission. (unconfirmed version)
[Debug]    (online check) Could not set up HTTPS connection. (Could not get proxy)
[Warn]    ( cfwprophet ) Hacked Version.
[Warn]    (online check) Publishing Tools Version 2.89 may or may not be used for master submission. (unconfirmed version)
[Debug]    icon0.png: 512x512/24bit.
[Error]    Format of the PNG file is not valid. (icon0.png, invalid filesize, 2741306 > 1048576)
[Error]    2018-06-10 22:36:32 Create image Process finished with error(s).
 

Dave_Chad

Well-Known Member
OP
Member
Joined
Jun 29, 2016
Messages
741
Trophies
0
Age
37
XP
2,341
Country
Are you sure it was dumped 100%? Was there a *.complete file generated like this (link)?

Yes and i tried multiple dumps.

icon is the small icon for the pkg, you have to create the small size picture.

I know what and where it is i'm just not sure why it's not building or why i have to edit it if that's the case :)

OP i already answered this in another thread...

Do you mean here? https://gbatemp.net/threads/wip-psp-injection.503103/#post-7958504 I didn't think of looking at a psp injection post! So i do need to edit and resize the files? Why do i only need to do this for some games and not all?
 

Dave_Chad

Well-Known Member
OP
Member
Joined
Jun 29, 2016
Messages
741
Trophies
0
Age
37
XP
2,341
Country
EDIT: God knows why that posted again... Tested Fifa and it worked ok i'm gonna download GIMP and give resizing a try. I'll check the properties of the Fifa ones and resize accordingly.
 
Last edited by Dave_Chad,
  • Like
Reactions: KiiWii

Dave_Chad

Well-Known Member
OP
Member
Joined
Jun 29, 2016
Messages
741
Trophies
0
Age
37
XP
2,341
Country
Oh i'm using GP4 Generator and not wanting to edit anything from this dump but it just wasn't playing nice. I have opened the icon0 in GIMP, saved as jpg as that has massive compression, then reopened it and saved back to png. It's building now and hopefully reaches complete. I just hope the icon isn't too noticeably compressed.
 

Hayato213

Newcomer
Member
Joined
Dec 26, 2015
Messages
20,058
Trophies
1
XP
21,219
Country
United States
Oh i'm using GP4 Generator and not wanting to edit anything from this dump but it just wasn't playing nice. I have opened the icon0 in GIMP, saved as jpg as that has massive compression, then reopened it and saved back to png. It's building now and hopefully reaches complete. I just hope the icon isn't too noticeably compressed.

I used photoshop when I had to repackage a game, due to the fact I didn't like the icon that was used, I believe the icon needs to be transparent and 512x512 size.
 

Dave_Chad

Well-Known Member
OP
Member
Joined
Jun 29, 2016
Messages
741
Trophies
0
Age
37
XP
2,341
Country
The funny thing is the dumped icon0 from the official game was 512x512, it was a 24bit png as well. Parameters looked ok but the file size was over 2mb. The one i converted ended up 352kb!

Installed and booting fine and no noticeable quality issues with the icon0 :)

Thanks for the suggestions guys.

Saving as jpg then back to png seems to do the trick.
 

protivakid

Well-Known Member
Member
Joined
May 6, 2014
Messages
197
Trophies
1
Age
39
XP
660
Country
United States
Normally 24bit png.

If you have issues outputting to 24bit, export/save as jpeg (which is 24bit), open the jpg, save as png (interlacing Adam), and bingo: 24bit png.

Thanks this just helped me. For whatever reason the icon for the Uncharted Collection was 2MB+. I opened the file in GIMP, exported as JPG, opened that new file, exported as a PNG and it was fine. Shrunk down by at least 1/4
 

RareKirby

Well-Known Member
Member
Joined
Mar 1, 2011
Messages
567
Trophies
1
XP
987
Country
United States
I keep looking everywhere for answers but none of you guys are getting my error which says ''invalid color type'' what does that even mean????
 

CybeX

Member
Newcomer
Joined
Sep 19, 2006
Messages
9
Trophies
0
XP
330
Country
United States
I keep looking everywhere for answers but none of you guys are getting my error which says ''invalid color type'' what does that even mean????

RareKirby I had this same issue my icon0.png file, it must be both below a certain size and the color space of the image has to be 24 bit for the package maker to take it.

I use (compress-or-die . com/png) to fix my issue and resize my image:

1. Open compress-or-die site (I can't post URLs, because I never post here lol)
2. Upload you icon0.png file and let it process (this file will be in the sce_sys folder of your dump)
3. Change the Size % slider on the right until you are under 1048~kb, (most likely it automatically already way below that)
4. Under Compress there is Bit depth. Make sure it is 24/32 Bit NOT 8 Bit.. I think this was your issue)
reize.png

5. Click the Download button to get your compress icon file.
6. Rename the file back to icon0.png and place it back in sce_sys folder (overwriting the old file)
7. Then follow normal build steps (run gengp4) get your gp4 file run it thru orbis-pub-gen to build your package.

Hope this helped get you to a solution.
 

WiiU_Funkionz

Well-Known Member
Newcomer
Joined
Jul 2, 2014
Messages
61
Trophies
0
Age
42
XP
142
Country
United States
The funny thing is the dumped icon0 from the official game was 512x512, it was a 24bit png as well. Parameters looked ok but the file size was over 2mb. The one i converted ended up 352kb!

Installed and booting fine and no noticeable quality issues with the icon0 :)

Thanks for the suggestions guys.

Saving as jpg then back to png seems to do the trick.
Sorry to revive an old thread but I found this thread useful last night trying to dump my copy of the Nathan Drake Collection. Using your suggestions and others I was able to get the fpkg to complete correctly and get around the icon0 error that was occurring, however, once it's installed on my machine i'm getting the CE-34878-00 error when trying to boot it up. I've tried both with just the base game and with the game + the update and i'm getting the same results.

Was there anything else you needed to fix on this one to get it to boot okay by chance? I checked the trophies and they are unencrypted, so that shouldn't be the issue. Keystone was dumped successfully as well it looks like.

If anyone has any tips on this i'd greatly appreciate hearing them. I'll probably try taking another dump of it tonight.

Other thing I was wondering is if maybe I need to go past the main start up screen and load U1, U2, or U3 first in order to get it to load more of it's assets when dumping....
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,180
Country
United States
I've heard of that error before, though never experienced it myself. did you dump the disc, and are you using an external hdd?
 

WiiU_Funkionz

Well-Known Member
Newcomer
Joined
Jul 2, 2014
Messages
61
Trophies
0
Age
42
XP
142
Country
United States
I've heard of that error before, though never experienced it myself. did you dump the disc, and are you using an external hdd?
Yea I dumped it from disc and I am not using an external HDD minus for the dump itself, and for installing the fpkg back onto the console. I checked the trophies and they are unencrypted so I know it's not that.

I was wondering if it might be an issue with goldhen payload and that game? I was thinking I might try Mira with it tonight and see if it boots.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • Quincy @ Quincy:
    Usually when such a big title leaks the Temp will be the first to report about it (going off of historical reports here, Pokemon SV being the latest one I can recall seeing pop up here)
  • K3Nv2 @ K3Nv2:
    I still like how a freaking mp3 file hacks webos all that security defeated by text yet again
  • BigOnYa @ BigOnYa:
    They have simulators for everything nowdays, cray cray. How about a sim that shows you playing the Switch.
  • K3Nv2 @ K3Nv2:
    That's called yuzu
    +1
  • BigOnYa @ BigOnYa:
    I want a 120hz 4k tv but crazy how more expensive the 120hz over the 60hz are. Or even more crazy is the price of 8k's.
  • K3Nv2 @ K3Nv2:
    No real point since movies are 30fps
  • BigOnYa @ BigOnYa:
    Not a big movie buff, more of a gamer tbh. And Series X is 120hz 8k ready, but yea only 120hz 4k games out right now, but thinking of in the future.
  • K3Nv2 @ K3Nv2:
    Mostly why you never see TV manufacturers going post 60hz
  • BigOnYa @ BigOnYa:
    I only watch tv when i goto bed, it puts me to sleep, and I have a nas drive filled w my fav shows so i can watch them in order, commercial free. I usually watch Married w Children, or South Park
  • K3Nv2 @ K3Nv2:
    Stremio ruined my need for nas
  • BigOnYa @ BigOnYa:
    I stream from Nas to firestick, one on every tv, and use Kodi. I'm happy w it, plays everything. (I pirate/torrent shows/movies on pc, and put on nas)
  • K3Nv2 @ K3Nv2:
    Kodi repost are still pretty popular
  • BigOnYa @ BigOnYa:
    What the hell is Kodi reposts? what do you mean, or "Wut?" -xdqwerty
  • K3Nv2 @ K3Nv2:
    Google them basically web crawlers to movie sites
  • BigOnYa @ BigOnYa:
    oh you mean the 3rd party apps on Kodi, yea i know what you mean, yea there are still a few cool ones, in fact watched the new planet of the apes movie other night w wifey thru one, was good pic surprisingly, not a cam
  • BigOnYa @ BigOnYa:
    Damn, only $2.06 and free shipping. Gotta cost more for them to ship than $2.06
    +1
  • BigOnYa @ BigOnYa:
    I got my Dad a firestick for Xmas and showed him those 3rd party sites on Kodi, he loves it, all he watches anymore. He said he has got 3 letters from AT&T already about pirating, but he says f them, let them shut my internet off (He wants out of his AT&T contract anyways)
  • K3Nv2 @ K3Nv2:
    That's where stremio comes to play never got a letter about it
  • BigOnYa @ BigOnYa:
    I just use a VPN, even give him my login and password so can use it also, and he refuses, he's funny.
  • BigOnYa @ BigOnYa:
    I had to find and get him an old style flip phone even without text, cause thats what he wanted. No text, no internet, only phone calls. Old, old school.
  • Psionic Roshambo @ Psionic Roshambo:
    @BigOnYa, Lol I bought a new USB card reader thing on AliExpress last month for I think like 87 cents. Free shipping from China... It arrived it works and honestly I don't understand how it was so cheap.
    Psionic Roshambo @ Psionic Roshambo: @BigOnYa, Lol I bought a new USB card reader thing on AliExpress last month for I think like 87...