Repository navigation
Conversation
Converting an image, converting a package to an image, and editing the details of an FFPFSC image or a package unpack the whole game first. That always went to the system temporary folder, which could fill the C: drive. - Settings > Temporary folder picks another folder; blank keeps the system temporary folder. "Keep temporary files next to the output instead" puts them in a .Packwright-* folder beside the output, on the same drive. - The command line follows the setting, and --temp <folder> overrides it. - A folder that cannot be created fails the job with a message naming it, instead of falling back to the system drive. Only each job's own subfolder is deleted, never the chosen folder. - The library scan skips .Packwright-* work folders, so a half-unpacked game next to an output is not listed as a title. - New smoke test: SmokeTests temp-folders <work folder>. Closes itsmemac#2 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #2
Problem
Converting an image (for example exFAT to ZArchive), converting a package to an image, and editing the details of an FFPFSC image or a package all unpack the whole game first. Those work files always went to the system temporary folder, so a big game could fill the C: drive and the job failed with "disk full".
What changes
.Packwright-<job>-<id>folder beside the output, on the same drive. This is the same naming the exFAT and FFPKG edit staging already use. Ticking it greys out the folder box.--temp <folder>overrides it for one run (listed inhelp)..Packwright-*work folders are skipped, so a half-unpacked game or an image copy sitting next to an output isn't listed as a title. This also covers the existing.Packwright-exfat-edit-and.Packwright-ffpkg-edit-folders.The shared helper is
TemporaryFoldersinPackwright.Containers. It's set up the same way as the key file: the app configures it from settings at startup and on every settings change, and the command line configures it before running a job.Not changed: the unused
ToolPreset.TempDirectoryfield is left in place so old settings files still load (presets never hold paths), andProsperoPfsImage.VerifyRoundTripstill uses system temp because nothing calls it.Testing
--temp, a saved folder, and the "next to the output" setting.🤖 Generated with Claude Code