Install: nup.py: "unsafe path in the package: 'Event/EventFlow/'" – title 1 romfs size parsed as ~791 billion GB #1240
Labels
No labels
area/accessibility
area/audio
area/input
area/install
area/menu
area/renderer
area/saves
area/tooling
area/upscaling
beanstalk: approved
beanstalk: failed
beanstalk: needs approval
beanstalk: running
beanstalk: tested
ci: approved
good first issue
gpu/amd
gpu/igpu
gpu/intel
gpu/nvidia
help wanted
kind
bug
kind
chore
kind
docs
kind
feature
kind
performance
kind
question
needs measurements
platform/linux
platform/macos
platform/steam-deck
platform/windows
preview
priority
critical
priority
high
priority
low
regression
risk
high
risk
low
risk
medium
status
blocked
status
confirmed
status
duplicate
status
invalid
status
needs-info
status
wontfix
ci: approved
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
MagicBeanDev/Longshot#1240
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What you used
Longshot Launcher
Version
v1.0.0-rc.9 (Windows 10.0.26300, x64, .NET 10.0.15)
Channel
Release
Where it stopped
Reading the game files
The error
Operating system and free space on the output drive
Windows 11 Pro 26H2 internal ssd with 426GB free space
Visual Studio or Build Tools version, and Windows SDK version
icrosoft Windows 10.0.26300, X64, .NET 10.0.15
Log
Title: nup.py: "unsafe path in the package: 'Event/EventFlow/'" – title 1 romfs size parsed as ~791 billion GB
Environment:
25.62 GB, 2 titles, 1199 dirs, 372587 files
SHA256: <HASH HIER EINFÜGEN>
What happens:
Title 0 (0400486024dec000 v65536) is read normally. Extraction of title 1
(0400486024dec800 v131072) stops after ~11k–15k files with:
unsafe path in the package: 'Event/EventFlow/'
error: nup.py stopped (exit status 1)
Notable in the log:
(title 0: 185994 files, 26.23 GB)
What I ruled out:
so the file is read consistently
The same .nup file works fine in Hookshot: it extracts and the game runs
without problems. So the file itself seems to be OK, and the problem looks
specific to Longshot's nup.py.
Additional observation:
With Launcher 1.0.0 (not rc.9) the error occurred at a different path:
unsafe path in the package: 'PreComputedCulling/RuntimeId/'
title 1 romfs: 466421810928.50 GB, 48 files with two different sizes
Guess:
It looks like a directory entry (trailing slash) in the update title's romfs
is parsed as a file, which also breaks the size calculation.
Logs attached:
1_launcher-rc9_build-rc5_workers-auto.txt
2_launcher-1.0.0_build-rc5_PreComputedCulling.txt
3_launcher-rc9_build-rc5_workers-1.txt
4_launcher-rc9_build-nightly-363_workers-1.txt
Before you send it
Possibly related, for context:
Did work again