Ubisoft LyN Engine (*.BF, BigFile, Rabbids Land)

Extraction and unpacking of game archives and compression, encryption, obfuscation, decoding of unknown files
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Ubisoft LyN Engine (*.BF, BigFile, Rabbids Land)

Post by LolHacksRule »

I am trying to extract the Patch.lin.bf file from Rabbids Land's Update using the Tintin script but QuickBMS eventually outputs this error when extracting:

Code: Select all

Error: incomplete input file 0: C:\Users\LolHacksRule\Desktop\Nintendo\WiiU\Games\EXTRACT\Rabbids Land (UPDATE DATA) (v16) (76.841 MB) (USA) (unpacked)\content\LyN\BinCafe\Patch.lin.bf
       Can't read 4 bytes from offset fafafafa.
       Anyway don't worry, it's possible that the BMS script has been written
       to exit in this way if it's reached the end of the archive so check it
       or contact its author or verify that all the files have been extracted.
       Please check the following coverage information to know if it's ok.

  coverage file 0    92%   21739892   23587388   . offset fafafafa

Last script line before the error or that produced the error:
  41  get ZSIZE long


Will the script be fixed? I tried the others and didn't get everything from the file.

filedropper.com/patchlin
Last edited by LolHacksRule on Fri Jan 08, 2021 3:57 am, edited 4 times in total.
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Ubisoft LyN Engine (*.BF, BigFile, Rabbids Land, Update Data)

Post by LolHacksRule »

Anything?
AlarodJD
Posts: 70
Joined: Thu Mar 21, 2019 1:02 am

Re: Ubisoft LyN Engine (*.BF, BigFile, Rabbids Land, Update Data)

Post by AlarodJD »

Idk but could you send me the file
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Ubisoft LyN Engine (*.BF, BigFile, Rabbids Land, Update Data)

Post by LolHacksRule »

The link above, it's still alive.
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Ubisoft LyN Engine (*.BF, BigFile, Rabbids Land, Update Data)

Post by LolHacksRule »

Ok it's dead, when I get home I'll reup.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Ubisoft LyN Engine (*.BF, BigFile, Rabbids Land, Update Data)

Post by aluigi »

Still dead link
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Ubisoft LyN Engine (*.BF, BigFile, Rabbids Land, Update Data)

Post by LolHacksRule »

Nuts, I'll do it today I swear. UPDATE: DONE
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Ubisoft LyN Engine (*.BF, BigFile, Rabbids Land, Update Data)

Post by aluigi »

The usual tintin ABE format:
http://aluigi.org/bms/tintin.bms

I updated the script only for stopping the extraction when an error is encountered.
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Ubisoft LyN Engine (*.BF, BigFile, Rabbids Land, Update Data)

Post by LolHacksRule »

Thanks so much.
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Ubisoft LyN Engine (*.BF, BigFile, Rabbids Land)

Post by LolHacksRule »

Quick rebump, the following BigFile (119MB) doesn't extract properly with tintin.bms and dies on 10_board.bik. Please note I modified the script to not use subdirectories for files with "_"s in it as I prefer direct filesystems of games. Any plan to fix the script or recommend me a different one? So far every other Wor_********.lin.bf file extracts fine. https://anonfiles.com/l2p1b378p4/Wor_0EC0A6E4.lin_bf

Code: Select all

QuickBMS generic files extractor and reimporter 0.10.1
by Luigi Auriemma
e-mail: me@aluigi.org
web:    aluigi.org
        (Oct 20 2019 - 14:53:23)

                          quickbms.com  Homepage
                            zenhax.com  ZenHAX Forum
                     @zenhax @quickbms  Twitter & Scripts

- start the scanning of the input folder: C:\Users\LolHacksRule\Desktop\Nintendo\WiiU\Games\Rabbids Land [ARBE]\content\LyN\BinCafe
- open input file C:\Users\LolHacksRule\Desktop\Nintendo\WiiU\Games\Rabbids Land [ARBE]\content\LyN\BinCafe\.\Wor_0EC0A6E4.lin.bf
- open script C:\Users\LolHacksRule\Desktop\Software\quickbms\Scripts\tintin - Copy.bms
- set output folder C:\Users\LolHacksRule\Desktop\Nintendo\WiiU\Games\Rabbids Land [ARBE]\content\LyN\BinCafe\wor
- the folder doesn't exist, do you want to create it (y/N)?:
  y

  offset   filesize   filename
--------------------------------------
  000bcda4 1790       BoardGame_GPP.wor
  000bd896 1372       BoardGame_GPP.rdp
  000bde12 1372       BoardGame_GPP_0.rdp
  000be38e 104        BoardGame_GPP.vil
  000be496 2399680    10_Board.bik

Error: incomplete input file 0: C:\Users\LolHacksRule\Desktop\Nintendo\WiiU\Games\Rabbids Land [ARBE]\content\LyN\BinCafe\Wor_0EC0A6E4.lin.bf
       Can't read 1645460047 bytes from offset 07437381.
       Anyway don't worry, it's possible that the BMS script has been written
       to exit in this way if it's reached the end of the archive so check it
       or contact its author or verify that all the files have been extracted.
       Please check the following coverage information to know if it's ok.

  coverage file 0    99%   121087597  121860993  . offset 07437381

Last script line before the error or that produced the error:
  73  clog NAME OFFSET ZSIZE SIZE
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Ubisoft LyN Engine (*.BF, BigFile, Rabbids Land)

Post by LolHacksRule »

Update: Here's some more problematic BigFiles, all "Tex_" files from the game extracted fine. I could be wrong but it could be relating to files with BigFiles with BIK files (So far every BigFile file I have without them extract fine). Listing all content for the problematic files works accurately, using "-e" and/or "-." also doesn't help extract the files. https://anonfiles.com/V5xf2572pc/RLand_ ... iles_2_zip

Code: Select all

  offset   filesize   filename
--------------------------------------
  000042f4 1790       BaseLite.wor
  00004a92 32         BaseLite.vil
  00004ae6 3552116    Loading.bik

Error: incomplete input file 0: C:\Users\LolHacksRule\Desktop\Nintendo\WiiU\Games\Rabbids Land [ARBE]\content\LyN\BinCafe\Wor_16C2297D.lin.bf
       Can't read 1762022989 bytes from offset 00453dd3.
       Anyway don't worry, it's possible that the BMS script has been written
       to exit in this way if it's reached the end of the archive so check it
       or contact its author or verify that all the files have been extracted.
       Please check the following coverage information to know if it's ok.

  coverage file 0    99%   4521399    4537811    . offset 00453dd3

Last script line before the error or that produced the error:
  73  clog NAME OFFSET ZSIZE SIZE
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Ubisoft LyN Engine (*.BF, BigFile, Rabbids Land)

Post by LolHacksRule »

red_steel_2.bms helps with the listed but most files have have extra headers left from packing.
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Ubisoft LyN Engine (*.BF, BigFile, Rabbids Land)

Post by LolHacksRule »

Yep, it's BIK file specific, there are some BigFiles with only them, maybe its because they don't have an extra header after packing? Update: That's the problem, the script is targeting 40 bytes after the BIKi file headers where that only works correctly on files with packing headers.
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Ubisoft LyN Engine (*.BF, BigFile, Rabbids Land)

Post by LolHacksRule »

UPDATE: This also happens with MID files.
LolHacksRule
Posts: 865
Joined: Fri Apr 20, 2018 12:41 am

Re: Ubisoft LyN Engine (*.BF, BigFile, Rabbids Land)

Post by LolHacksRule »

I found might've found another issue with tintin.bms, a portion of files are not detected (like MDF, OSC, GRP, ACK), I tested on the three files I posted here and as of now, all files on me.