[SOLVED] Edelweiss (edelweiss.bms, .tgp files) Extraction Error

Doubts, help and support about QuickBMS and other game research tools
NGCHunter2
Posts: 4
Joined: Mon Feb 14, 2022 4:04 pm

[SOLVED] Edelweiss (edelweiss.bms, .tgp files) Extraction Error

Post by NGCHunter2 »

I am having issues extracting .tgp files from the Steam version of 'Astrebreed' using the edelweiss.bms (http://aluigi.altervista.org/bms/edelweiss.bms) QuickBMS script provided for it. Using the script on the game's .tgp files almost always results in an "incomplete input file" error. While some formats (particulary audio) extract just fine, texture files (.dds) seem to be corrupted; I tried to confirm whether these extracted .dds files merely use an uncommon subformat, but several .dds viewers, including Microsofts DirectXTex, are unable to open them. From what I noticed, if .tgp files contain .dds files, they always seem to result in an error (I managed to extract two .tgp files solely consisting of audio and .png files with no errors).

QuickBMS displays the following error message upon extraction:

Code: Select all

Error: incomplete input file 0: {path-to-file}.tgp
       Can't read 211772 bytes from offset 003f4bde.
       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    98%   4088692    4148190    . offset 003f4bde

Last script line before the error or that produced the error:
  29  log NAME OFFSET SIZE

- OFFSET       0x003d312a
- SIZE         0x000555f0
  coverage file 0    98%   4088692    4148190    . offset 003f4bde

The amount of unreadable bytes, the offset and file coverage percentage is different for each file. Range of file coverage percentage on files resulting in an error appears to be inbetween 97% and 99% for the files I tried so far.

I've been using QuickBMS 0.11.0, and also tried my luck with the latest BETA branch just in case, but I suspect that the script might be outdated and/or incompatible with newer .tgp versions (unless it is an issue on my end which would be difficult for me alone to confirm).

I've attached a few example .tgp files, and would be very happy if I could receive some help to resolve the extraction issue.
Last edited by NGCHunter2 on Mon Feb 21, 2022 3:02 pm, edited 1 time in total.
aluigi
Site Admin
Posts: 12984
Joined: Wed Jul 30, 2014 9:32 pm

Re: Edelweiss (edelweiss.bms, .tgp files) Extraction Error

Post by aluigi »

NGCHunter2
Posts: 4
Joined: Mon Feb 14, 2022 4:04 pm

Re: Edelweiss (edelweiss.bms, .tgp files) Extraction Error

Post by NGCHunter2 »

Thank you very, very much! Tested the script on all the game files and can confirm that it works flawlessly.
Much appreciated, thank you! :D