Back to the main site

[Solved] Problem by extratcting files


#1

hi everybody !
I am trying to create an installer for blip&blop https://lutris.net/games/blip-and-blop-balls-of-steel/
but i have a problem when i launch my scrypt, i recieve this error message : One of file or src parameter is mandatory for the extract command

Here is my install script :

files:
- file_id: https://tele500.abandonware-france.org/fichiers/jeux/Autres/jeu-00801-blip_blop-pcwin.7z
game:
  exe: /drive_c/Program Files/Blip Blop/BLipBLop.exe
  prefix: $GAMEDIR
  working_dir: $GAMEDIR/drive_c/Program Files/Blip Blop
installer:
- extract:
    arch: win32
    dst: $CACHE/bbsetup
    format: 7z
- task:
    arch: win32
    executable: $CACHE/bbsetup/Blip&blop/bb_install.exe
    name: wineexec
    prefix: $GAMEDIR

Does anybody can help me ? :confused:


#2

You need to specify file: or src: for the extract command. It should be:

- extract:
    arch: win32
    dst: $CACHE/bbsetup
    file: file_id
    format: 7z

file_id being the the name found under the files section. - file_id: https://tele500.abandonware-france.org/fichiers/jeux/Autres/jeu-00801-blip_blop-pcwin.7z You can rename file_id btw.


#3

Thank you very ch cfx, this works ! :slight_smile:


#4

No problem. Also, please stick to editing one installer all those forks aren’t necessary. Lutris keeps revisions until your ready to submit.