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

Out of Memory exception #6

Open
RyudoGaming opened this issue May 15, 2018 · 5 comments
Open

Out of Memory exception #6

RyudoGaming opened this issue May 15, 2018 · 5 comments

Comments

@RyudoGaming
Copy link

RyudoGaming commented May 15, 2018

Hi ive been trying to Extract all from a Data.CPK but it extracts a few of the files then gives a Unhandled Exception: OutOfMemoryException. i have tried a few different versions Master, GUI etc and each one gives the error

Im running windows 10 with 16 gigs of Ram
i gave at least 40gigs left and the data.cpk is 2gigs,
even extracted it wouldn't come to above 40.

if it helps the game i am trying to extract is .Hack//Versus
you can see my thread on it here http://forum.xentax.com/viewtopic.php?f=10&t=18099

its happening with Building as well.

https://i.imgur.com/6yWmAPL.png

@esperknight
Copy link
Owner

Looking at your issue. It may be something I fixed a while back and forgot to commit/upload. I did that just now so you'll find a new version under the Build folder (or just click on this https://github.com/esperknight/CriPakTools/blob/master/Build/CriPakTools.exe).

For your screenshot, I'm honestly not sure as i don't use the CpkMaker tool very much preferring my own instead.

If this doesn't fix it let me know though. If you could also upload the CPK somewhere as that'll make it easier.

@RyudoGaming
Copy link
Author

RyudoGaming commented May 16, 2018

Whilst i upload the file as its about 2 gigs just to make sure i am using the correct input its:

CriPakTools Data.cpk data\ui\attention\JP\attention.xfbin data\ui\attention\JP\attention.xfbin

Data.cpk being the og CPK file
first data\ui etc being the location in the data archive
second data etc being the file to replace it with?

https://drive.google.com/open?id=1poDlw0b5hJdG-ybANyq-Cjw6sx2CumdP

@daftinquisitor
Copy link

esperknight, it looks like whatever changes you tried to make didn't commit, as it still shows the last time the exe was updated was several years ago at this point. :-/

@esperknight
Copy link
Owner

Ack, yeah... Forgot to push them. Should be up to date now. Only change is to remove grabbing the timestamps. Can't recall why that was originally done so I took it out.

@Fallenleader
Copy link

I am having a similar issue with Hollow Realization. Extract all gets to this point and returns this error. I snipped out up to the file before the one giving the error for simplicity sake:

`Extracting: effb/sds_debug.bin
Extracting: effect/000.pak

Unhandled Exception: System.IO.EndOfStreamException: Unable to read beyond the end of the stream.
at System.IO.__Error.EndOfFile()
at System.IO.MemoryStream.InternalReadInt32()
at CriPakTools.EndianReader.ReadInt32()
at CriPakTools.CPK.DecompressCRILAYLA(Byte[] input, Int32 USize)
at CriPakTools.Program.Main(String[] args)`

As you can see here, it hangs on 000.pak. I am using the latest binary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants