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

An error occurred during packing #2

Open
naturale0 opened this issue Jun 27, 2022 · 2 comments
Open

An error occurred during packing #2

naturale0 opened this issue Jun 27, 2022 · 2 comments

Comments

@naturale0
Copy link

naturale0 commented Jun 27, 2022

I have successfully unpacked the GT PSP iso file. However, when I try packing, the following error occurred:

GTPSPVolTools by Nenkai#9075

Indexing 'C:\Users\user\Desktop\gt-vol-unpacked\' to find files to pack..
Unhandled exception. System.IO.FileNotFoundException: Could not find file 'C:\Users\user\Desktop\gt-vol-unpacked\iles.txt'.
File name: 'C:\Users\user\Desktop\gt-vol-unpacked\iles.txt'
   at System.IO.FileInfo.get_Length()
   at GTPSPVolTools.Packing.VolumeBuilder.Import(VolumeEntry parent, String folder)
   at GTPSPVolTools.Packing.VolumeBuilder.RegisterFilesToPack(String inputFolder)
   at GTPSPVolTools.Program.Pack(PackVerbs verbs)
   at CommandLine.ParserResultExtensions.WithParsed[T](ParserResult`1 result, Action`1 action)
   at GTPSPVolTools.Program.Main(String[] args)

I guess there's something wrong with how the code handles the files.txt file? It would be really appreciated if you could look this through.

EDIT: I am running this in Windows 10 (21H2) x64.

@naturale0 naturale0 changed the title An error occur during packing An error occurred during packing Jun 27, 2022
@naturale0
Copy link
Author

Solved it... Just used C:\Users\user\Desktop\gt-vol-unpacked instead of C:\Users\user\Desktop\gt-vol-unpacked\ as the input. (Notice the last \!)

@Nenkai
Copy link
Owner

Nenkai commented Jun 27, 2022

This is still a bug nonetheless, thanks for reporting.
To be fixed shortly.

@Nenkai Nenkai reopened this Jun 27, 2022
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

2 participants