Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Tour De France 2022 [PKG]

Featured Replies

  • Author
  • Localization

MSQ, posted Sun Jun 12, 2022 9:45 am (71980)


Good morning everyone.

Please may I request some help making a QuickBMS script for the game Tour De France 2022? The archives in this game have a PKG extension and the files inside the archives are compressed using LZMA from what I can understand.

I cannot seem to decipher the file list at the start of the file due to inexperience.

Image

I have uploaded a sample file here: https://tusfiles.com/hwyvvq9gf4kz

All help is greatly appreciated!

Thanks,
MSQ
  • Author
  • Localization

Ekey, posted Sun Jun 12, 2022 11:45 am (71983)


Please use a better file hosting.
  • Author
  • Localization

MSQ, posted Sun Jun 12, 2022 2:03 pm (71995)


Ekey wrote:
Please use a better file hosting.

My apologies, I did not realise that 1Fichier wasn't suitable. I have swapped for a tusfiles link.
  • Author
  • Localization

spiritovod, posted Sun Jun 12, 2022 2:49 pm (71996)


Update: Actually format is quite simple, I managed to create proper script for extraction with filenames.

tour-de-france-2022_pkg.bms

  • Author
  • Localization

MSQ, posted Sun Jun 12, 2022 3:02 pm (71997)


@spiritovod
Thanks for the script. I did manage to unpack and decompress the streams with VGMToolbox QuickBMS without a script. Fortunately, I was correct about LZMA being used here.

I checked about compressing the data back using comtype lzma_compress however QuickBMS compresses the data a lot smaller to the original stream. Is there a way to get QuickBMS to either compress the decompressed data in an identical or similar fashion to the original compressed stream? Or, read the stream info to recompress with a different tool? I don't know if QuickBMS has support for comtype parameters or not.

Thanks,
MSQ.
  • Author
  • Localization

spiritovod, posted Sun Jun 12, 2022 6:40 pm (72005)


@MSQ: Afaik, comtype accepts additional parameters like they're used in original respective functions in code, but never used them or saw examples, so can't tell anything about this partcular case. If you have another tool, which can produce proper results, you can use it in quickbms via "comtype execute [...]"

Regardless, I've updated the script, it can now properly extract everything with proper names.
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.