Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Playgo Chunk hash file was not allocated enough space #64

Open
NikolausC opened this issue Jul 27, 2020 · 4 comments
Open

Playgo Chunk hash file was not allocated enough space #64

NikolausC opened this issue Jul 27, 2020 · 4 comments
Labels
bug Something isn't working

Comments

@NikolausC
Copy link

NikolausC commented Jul 27, 2020

When creating a pkg from a gp4, the following error is shown in the Log Window:

Preparing inner PFS...
 [innerpfs] Setting up filesystem structure...
 [innerpfs] Creating inodes (5 dirs and 29 files)...
 [innerpfs] Calculating data block layout...
Preparing outer PFS...
 [outerpfs] Setting up filesystem structure...
 [outerpfs] Creating inodes (0 dirs and 1 files)...
 [outerpfs] Calculating data block layout...
Preparing PKG header and body...
Error: System.Exception: Playgo Chunk hash file was not allocated enough space. Report this as a bug
   at LibOrbisPkg.PKG.PkgBuilder.BuildPkg(Int64 pfsSize)
   at LibOrbisPkg.PKG.PkgBuilder.Write(String filename, Action`1 logger)
   at PkgEditor.Views.GP4View.<>c__DisplayClass22_0.<buildPkg_Click>b__2()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at PkgEditor.Views.GP4View.<buildPkg_Click>d__22.MoveNext()
   at LibOrbisPkg.PKG.PkgBuilder.BuildPkg(Int64 pfsSize)
   at LibOrbisPkg.PKG.PkgBuilder.Write(String filename, Action`1 logger)
   at PkgEditor.Views.GP4View.<>c__DisplayClass22_0.<buildPkg_Click>b__2()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at PkgEditor.Views.GP4View.<buildPkg_Click>d__22.MoveNext()
@maxton
Copy link
Owner

maxton commented Jul 28, 2020

Aw, I really thought I had fixed this particular bug. Can you attach a project that reproduces this error?

@alicepergatta
Copy link

I have same issue
Project - P5R.pkg, that cursed thing.
But i can build pkg succesfully if i remove/comment size comparsion check

@hippie68
Copy link

hippie68 commented Feb 1, 2021

I got the same error today with PkgTool.Core! It said I should report this as a bug.
I extracted a PKG with "PkgTool.Core pkg_makegp4", then (without changing anything) I tried to rebuild it with "PkgTool.Core pkg_build", and then the error showed up.
project.zip

@maxton maxton added the bug Something isn't working label Feb 3, 2021
@manuelx98
Copy link

Exact same error using PkgEditor to build a PKG from a GP4 project.
Project.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants