Skip to content

Please bump 7z version #181

@denilsonsa

Description

@denilsonsa

The current version of 7z in lutris is 16.02, which was released in 2016, nine years ago. Unfortunately, that version is buggy and cannot correctly uncompress a certain NSIS installer file.

How to reproduce (1)

  1. Try using the install script from https://lutris.net/games/mega-man-2-dot-5d/

That script may still be under review, so please try this local copy:

files:
- installer: https://archive.org/download/megaman-2.5d-v1.1/Megaman%202.5D%20v1.1%20Installer.exe
game:
  exe: drive_c/MM25D/MM25DGame.exe
  prefix: $GAMEDIR
installer:
- task:
    install_gecko: false
    install_mono: false
    name: create_prefix
    prefix: $GAMEDIR
- extract:
    dst: $GAMEDIR/drive_c/MM25D
    file: installer
    format: nsis

How to reproduce (2)

Using Lutris 0.5.19 installed from Manjaro, run:

~/.local/share/lutris/runtime/p7zip/7z x 'Mega Man 2.5D 1.1 Installer.exe' -o/tmp/MM -aoa -tnsis

Which is essentially the same command that Lutris executes, but running it on the terminal lets us see the output.

Alternatively, if using the Flatpak version, run:

/var/lib/flatpak/app/net.lutris.Lutris/current/active/files/lib/p7zip/7z x 'Mega Man 2.5D 1.1 Installer.exe' -o/tmp/MM -aoa -tnsis

What happens

The files are corrupted after decompression, with several ERROR: Data Error : messages printed on the terminal. (You can't see those messages when installing from Lutris GUI.)

If you try running the game afterwards, it crashes after the intro movie.

What should happen

If you re-run the exact same command-line, but instead using the system-wide /usr/bin/7z (which is now in version 24.09), then the files will be correctly extracted without any error.

If you try running the game extracted with a modern 7z version, it works fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions