mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 21:45:54 +01:00
[PR #901] [CLOSED] make_game: read XvcDataLength as 64-bit (XVD-DATALEN-64) #939
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#939
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?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/901
Author: @morodirule
Created: 11/24/2026
Status: ❌ Closed
Base:
main← Head:fix/xvd-datalen-64📝 Commits (1)
7d944bfmake_game: read XvcDataLength as 64-bit (XVD-DATALEN-64)📊 Changes
2 files changed (+8 additions, -2 deletions)
View changed files
📝
make_game.py(+1 -1)📝
tests/test_make_game_container.py(+7 -1)📄 Description
Claimed in the coordination issue as: XVD-DATALEN-64
Carries abnalstlll-byte's finding: xvd_header() read XvcDataLength (file offset 0x290) with <I, but the field is a 64-bit <Q. Reproduced: a synthetic header with length 0x1_0000_0000 reported kind XVD on main; with <Q it reports XVC.
Change: make_game.py reads <Q; the synthetic xvd_bytes() helper in tests/test_make_game_container.py writes <Q; new test_a_length_above_4gib_stays_an_xvc covers 0x1_0000_0001 and low-32-zero 0x1_0000_0000.
Tests: python -I tests/test_make_game_container.py 16/16 OK; test_make_game_preflight.py OK (1 skipped, pre-existing); check_no_game_data.py PASS. Stdlib only, synthetic bytes. No game files, no GPU, nothing online.
AI-assisted.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.