Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Sharedasset detection using checksum can fail when switching between proton and native on second install [no fix needed?]

Đang mở
#200 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Lĩnh vực
cli, tooling

Hướng nghiên cứu

Xem xét logic phát hiện tài nguyên dùng chung của trình cài đặt, có thể nằm trong một tệp xử lý checksum hoặc quản lý tài nguyên. Vấn đề mô tả một kịch bản trong đó tệp sao lưu (sharedassets0.assets.backup) từ bản cài đặt Proton gây ra sự không khớp trên một bản cài đặt Native tiếp theo. Bắt đầu bằng cách tìm nơi checksum được tính cho sharedassets0.assets và bản sao lưu của nó. Hiểu luồng cài đặt để xem bản sao lưu được tạo ra như thế nào và khi nào nó bị ghi đè. Việc kiểm tra liên quan đến việc mô phỏng các bản cài đặt chuyển đổi giữa chế độ Proton và Native.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

For some chapters (eg. ch8), installer chooses sharedassets depending on the checksum of the original sharedassets0.assets.

Because our installer overwrites the sharedassets0.assets file, we also check the checksum of the sharedassets0.assets.backup file to see the "original" sharedassets file. This .backup file is created by our installer when you install the mod.

However, if you:

  • First install using say Proton, it will create a sharedassets0.assets.backup file from the Proton install.
  • Switch back to Native. This will overwrite the sharedassets0.assets with the Native version
  • Perform an install of the mod the first time, the install will work OK (it will overwrite the sharedassets0.assets with the mod version)
    • Because a .backup file already exists, this install won't overwrite the sharedassets0.assets.backup file
  • Now, when you perform the second install or update, the sharedassets0.assets will be the mod version, which the installer does not recognise. Also, the sharedassets0.assets.backup file is from the Proton install, which the mod also does not recognize. This will cause an install error.
Ngôn ngữ chính
JavaScript
Star
214
Fork
12
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của 07th-mod/python-patcher

Tất cả issue của 07th-mod/python-patcher

Issue tương tự

Thêm issue về JavaScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.